Reply
Use GET automatically
Old 07-09-2004, 05:37 PM Use GET automatically
Skilled Talker

Posts: 55
ok, so i have pages where it does things like

edit.php?action=post

and what it used to do was grab $action automatically...but now im having to edit through all my pages that are coded similarly...and put

$action = $HTTP_GET_VARS["action"];

before it used to grab it automatically so, their has to be a setting in my php.ini or httpd or something that allows it to get automatically, can anyone please help out
xFrozenxSoulsx is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 07-09-2004, 05:41 PM
Republikin's Avatar
Super Moderator

Posts: 3,191
Register Globals was on before and now its off. This is probably for the best anyways. Also you could save yourself some time and trouble down the road ($HTTP_*_VARS, is going to be deprecated in future releases of php) by using $_GET['action']
Republikin is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Use GET automatically
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10893 seconds with 12 queries