| PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >> |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread |
|
|
#1 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Oct 2003
10 posts
Gave thanks: 0
Thanked 0 times
|
Passing parameters through url after upgrade
My site is totally broken after the upgrade. I created a ticket but support said the server was fine, so I am debugging my page now. It seems like php doesn't recognize parameters being passed through the url. I use url parameters a lot for ajax sections on my page. Has anyone heard of this or have any ideas to fix it?
The page is firstlookout.com and the server is viva. Thanks for any help! |
|
|
|
|
|
#2 (permalink) |
|
URB4N 5K1LLZ
Super #1
Joined in Sep 2005
Lives in Orlando, FL
Hosted on SH63
2,648 posts
Gave thanks: 81
Thanked 127 times
|
For now I can suggest uploading a php.ini file into all of your folders, including root, that use php. Here is a copy that you may use: http://surmunity.com/images/thephp5%21/php.ini
Also, going to your website I see no problems. Not sure if the problem is internal or not?
__________________
Roxanne Surpass Staff Urban Roxy -Personal Blog SH63 - the best darn shared server!
|
|
|
|
|
|
#3 (permalink) |
|
Surpass Developer
On a golden path...
Joined in Jan 2004
Lives in Florida
Hosted on decc.surpasshosting.com
396 posts
Gave thanks: 10
Thanked 68 times
|
Most likely your coding required register_globals to be on. You can turn it on by creating a php.ini in your site's directory and putting "register_globals = On" inside of it. But the reason it is turned off is to prevent exploits of certain outdated/un-patched scripts. I recommend if this is the case, that you use the long notation of $_REQUEST['varname'], $_GET['varname'], or $_POST['varname'] instead of $varname. Register_globals will also be fully depreciated in PHP6, so now is a good time to get your code ready
![]()
__________________
Mark Surpass Hosting Developer sɹnoʎ uɐɥʇ ɹǝʇʇǝq sı bıs ʎɯ |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Fresh Surpasser
Joined in Oct 2003
10 posts
Gave thanks: 0
Thanked 0 times
|
The problem is visible when you try to post to the guestbook, view previous articles, previous/upcoming shows, etc.
I am going to try the changes Mark suggested with the variable stuff now. Thanks!! |
|
|
|
|
|
#6 (permalink) |
|
Surpass Developer
On a golden path...
Joined in Jan 2004
Lives in Florida
Hosted on decc.surpasshosting.com
396 posts
Gave thanks: 10
Thanked 68 times
|
You are very welcome. You hopefully shouldn't be affected once php6 is rolled out now
![]()
__________________
Mark Surpass Hosting Developer sɹnoʎ uɐɥʇ ɹǝʇʇǝq sı bıs ʎɯ |
|
|
|