July 21st, 2000, 09:20 AM
I just swapped all my .php3 files to .php4,
and there seems to be an odd error. When passing variables via the URL, PHP4's version
of rawurldecode seems to convert all %27's
to ' rather than just ' (which is what PHP3
Any ideas? Is it just me, my setup of PHP4
or am I missing something obvious?
July 21st, 2000, 09:50 AM
Could be a bug... Simple fix for that: use a StripSlashes() around the rawurldecode() function. :P
To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson
July 21st, 2000, 10:09 AM
Thanks for that....
I get so bogged down in trying to solve
the bug that I forget work-arounds.
July 21st, 2000, 10:31 AM
It's not a bug - you just didn't have magic quotes enabled before and now you do. Better to just disable them than use stripslashes() all the time...
July 21st, 2000, 10:33 AM
Sorry - what are magic quotes?
July 21st, 2000, 11:15 AM
Ah - ignore that - I've got it!