Security Alert

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
seo-105
Posts: 23
Joined: Sun 18. Apr 2004, 00:07

Security Alert

Post by seo-105 »

Hi everyone:

You may get an error when you manually replace "function include_int_php"

This is probably because this line

//$s = preg_replace('/^\$(.*?)/si',
'$GLOBALS["$1"]', $s);

needs to be all on one line, like this

//$s = preg_replace('/^\$(.*?)/si', '$GLOBALS["$1"]', $s);

Sometimes your email will chop it in two.

hope this helps
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

You can, of course, cut & paste from Oliver's STICKY in these forums:
http://www.phpwcms.de/forum/viewtopic.php?p=11306#11306
seo-105
Posts: 23
Joined: Sun 18. Apr 2004, 00:07

Post by seo-105 »

It's cut into 2 lines there also. :?
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post by DeXXus »

seo-105 wrote:It's cut into 2 lines there also. :?
NOT in MY browser (IE6) !!!

Code: Select all

//$s = preg_replace('/^\$(.*?)/si', '$GLOBALS["$1"]', $s); 
seo-105
Posts: 23
Joined: Sun 18. Apr 2004, 00:07

Post by seo-105 »

Bingo! :D

I went and checked the post on a larger screen and it's all on one line there.

It's dependent on the size of your monitor not the browser.

thanks dexxus
alwaysLearning
Posts: 5
Joined: Mon 26. Jan 2004, 02:32

OK am I going mad ?

Post by alwaysLearning »

Hi guys

I'm running 1.1 RC2 and I can't find
FUNCTION include_int_php
anywhere in the include/inc_front/front.func.inc.php file.

I found the function include_ext_php no problems, but does the FUNCTION include_int_php maybe exist in later releases only on somewhere else in the site files (I did a search and couldn't find it in any code in the release I have).

Thanks for any help
Best regards
Carl
Assume I'm stupid and a newbie.
Then if I've accidentally said something intelligent above, it may come as a nice surprise to both of us.
;-)
Post Reply