PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
pelegk2
Forum Regular
Posts: 633 Joined: Thu Nov 27, 2003 5:02 am
Location: Israel - the best place to live in after heaven
Contact:
Post
by pelegk2 » Sat Jul 24, 2004 5:03 pm
i am passing to the server values
with chars like :
is it a problem?
for exapleL
will something like this:
1.php?file=#f,ldsf$rwer
won't it recognize "$rwer" as a varibale?
thnaks in advance
peleg
kettle_drum
DevNet Resident
Posts: 1150 Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England
Post
by kettle_drum » Sat Jul 24, 2004 5:28 pm
encode it first in base64 and then decode it again when you want the decoded version.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Sat Jul 24, 2004 10:46 pm
or [php_man]urlencode[/php_man] the string if you are just concatenating it...