php script problem

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
Darksybesis
-


Joined: 20 Aug 2004
Posts: 2

PostPosted: Fri Aug 20, 2004 3:40 am    Post subject: php script problem Reply with quote

i used urldecode on my script but when a go on the addresse like ....file.php?mode=file
the variable don't seem to get the value of file. if someone want i can post my script. But i need to go now.
Back to top View user's profile Send private message
aprelium-beta
-


Joined: 24 Jun 2004
Posts: 383

PostPosted: Fri Aug 20, 2004 6:08 pm    Post subject: Re: php script problem Reply with quote

Darksybesis wrote:
i used urldecode on my script but when a go on the addresse like ....file.php?mode=file
the variable don't seem to get the value of file. if someone want i can post my script. But i need to go now.

Use $_REQUEST['mode'] instead of $mode in your PHP code. For the explanation and to have other solutions, please search this forum for "Undefined variable".
_________________
Beta Testing Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Darksybesis
-


Joined: 20 Aug 2004
Posts: 2

PostPosted: Fri Aug 20, 2004 11:44 pm    Post subject: Reply with quote

it worrrkkkks yes. Now i just need to put a redirect link if i don't want undefined variable.:P or just change some part of the code but it works fine thanq you
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group