Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP with Apache 2

Status
Not open for further replies.

Cagliostro

Programmer
Sep 13, 2000
4,226
GB
Hi,
I have a small issue with PHP. All php works fine, but all values I send like ?xxx=yyy PHP does not recognize. All of them worked on Apache1.3 but now I use APACHE 2.0. Ion Filipski
1c.bmp


filipski@excite.com
 
In my opinion is APACHE specific issue because it worked fine with older version of apache. Ion Filipski
1c.bmp


filipski@excite.com
 
Sounds like register_globals is off in PHP.ini. Has the PHP install been updated? It's been turned off by default for security reasons. With register globals off, variables from the URL won't be automatically registered as variables. You can either turn it on yourself in PHP.ini
register_globals = On
or use $_REQUEST['varname'] to get GET, POST or Cookie data, or the individual $_GET['varname'], $_POST['varname'], or $_COOKIE ['varname'] superglobals.

Check out the PHP manual on your install, or the searchable online version:
 
Thanks all of you. Both you're right. Ion Filipski
1c.bmp


filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top