Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 01-26-2005, 12:47 PM   #1 (permalink)
Inactive
 
Join Date: 04-15-04
Location: Out there ...
Posts: 197
iTrader: 0 / 0%
Latest Blog:
None

nextGoal100kVisitors is liked by many
php cannot read value passed in url

The following is the code that I have:
Code:
<? chdir("script"); require('common.php'); $amazonurl = myurldecode($amazonurl); ?>
The file name is frame.php, and as I access
Code:
frame.php?something&amazonurl=somethingElse
amazonurl returns empty string. What are possibly problems here?
nextGoal100kVisitors is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-26-2005, 08:19 PM   #2 (permalink)
Inactive
 
insitedev's Avatar
 
Join Date: 12-14-04
Posts: 108
iTrader: 0 / 0%
Latest Blog:
None

insitedev is liked by somebodyinsitedev is liked by somebodyinsitedev is liked by somebodyinsitedev is liked by somebody
Try changing $amazonurl to $_GET['amazonurl'].

Most likely, register_globals is off.
insitedev is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-26-2005, 09:11 PM   #3 (permalink)
Inactive
 
Join Date: 04-15-04
Location: Out there ...
Posts: 197
iTrader: 0 / 0%
Latest Blog:
None

nextGoal100kVisitors is liked by many
Thank you for the suggestion, and yes, you are right on. I found that out earlier today. BTW, does Plesk 7.x turn off register_globals by default?
nextGoal100kVisitors is offline  
Add Post to del.icio.us
Reply With Quote
Old 01-26-2005, 11:44 PM   #4 (permalink)
Inactive
 
insitedev's Avatar
 
Join Date: 12-14-04
Posts: 108
iTrader: 0 / 0%
Latest Blog:
None

insitedev is liked by somebodyinsitedev is liked by somebodyinsitedev is liked by somebodyinsitedev is liked by somebody
Ever since PHP 4.2.0, the default setting for register_globals has been off. This is set right off the bat when you install PHP.
insitedev is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting passed .US restrictions epromo Domain Name Forum 1 08-24-2007 12:26 AM
passed 100 posts gderoo Forum Lobby 9 05-26-2007 06:10 AM
Bob Woolmer passed away :(! farooqaaa Forum Lobby 9 04-01-2007 05:37 AM
Was there new Domain Legislation/Guidelines Passed? ! ! Domain Name Forum 0 05-01-2005 04:24 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 02:34 AM.
© Copyright 2008 V7 Inc