Jump to content

Archived

This topic is now archived and is closed to further replies.

dusty22

PHP- apache problem> casting of arguments

Recommended Posts

PHP- apache problem > casting of arguments by url eg. .../file.php?id=2&delete=yes doesn\'t work on my apache server(file.php doesn\'t recive any arguments - can\'t see id and delete). What shoul I do to make it work??

Share this post


Link to post
Share on other sites

this could be due to your register_globals setting in the php.ini file.

 

try using:

 

$_POST[\'id\']

or

$_GET[\'id\']

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.