Page 1 of 1

I turned register globals off and..

Posted: Tue Apr 13, 2004 5:00 pm
by John Cartwright
Now my include won't work...

the line was include ("form.php"); but now nothing is coming up... I made sure the code was getting to that point etc etc... tried single quotes etc etc but nothing is working? why?

thanks 4 any help :p

Posted: Tue Apr 13, 2004 5:05 pm
by markl999
register_globals shouldn't affect the include call, maybe it's something inside form.php?

Posted: Tue Apr 13, 2004 5:08 pm
by John Cartwright
OMG WILL YOU MARRY ME? haha...you always look outside the box don't you...


BTW: I had a problem with turning register global off and you suggested:

php_flag register_globals off which didn't work in .htaccess....

I asked someone else they suggested this:

<IfModule mod_php4.c>
php_flag register_globals off
</IfModule>

and it worked... just thought i'd let you know.

Posted: Tue Apr 13, 2004 5:11 pm
by markl999
Ah, good to know, will store it away for future reference ;)