On Fri, May 27, 2005 1:26 pm, Jeremy Reynolds said:
> I'm using the rawurldecode() function to try and polish up some data
> I get from a parameter
>
> I use the function below and this is what it does. It's as-if it
> only unencodes the last part. Anybody have ideas on what I'm doing
> wrong?
>
I'm using the rawurldecode() function to try and polish up some data
I get from a parameter
I use the function below and this is what it does. It's as-if it
only unencodes the last part. Anybody have ideas on what I'm doing
wrong?
$order = rawurldecode($HTTP_GET_VARS["x"]);
3445%252520Cau
I'm using the rawurldecode() function to try and polish up some data
I get from a parameter
I use the function below and this is what it does. It's as-if it
only unencodes the last part. Anybody have ideas on what I'm doing
wrong?
$order = rawurldecode($HTTP_GET_VARS["x"]);
3445%252520Cau
I'm using the rawurldecode() function to try and polish up some data
I get from a parameter
I use the function below and this is what it does. It's as-if it
only unencodes the last part. Anybody have ideas on what I'm doing
wrong?
$order = rawurldecode($HTTP_GET_VARS["x"]);
3445%252520Cau
I got it. After you said I shouldn't need it I started playing around and
found that you were right...I didnt need it for spaces and other
punctuation. But I was then having a problem with amperstands. It was
dropping everything after an amperstand off. I ended up doing a
rawurldecode of $_
Aaron Todd wrote:
All I am doing is adding a file name as a variable in the
URL.http://www.mysite.com/mypage.php?variable=this is my image.jpg
You should write:
echo 'here';
Then $_GET['variable'] will be equal to 'this is my image.jpg'.
When I do a echo $_GET['variable']; it only writes the
All I am doing is adding a file name as a variable in the
URL.http://www.mysite.com/mypage.php?variable=this is my image.jpg
When I do a echo $_GET['variable']; it only writes the first word. Is
there some setting that might be turned off in the php.ini file that would
disable this functi
Could you use parse_url() and just take the [query] section of it, then maybe
do an explode on "&" to get the different parts of it?
-TG
= = = Original message = = =
I am trying to use the rawurldecode() function to decode a variable that is
begin passed from a different page through the url.
Aaron Todd wrote:
I am trying to use the rawurldecode() function to decode a variable that is
begin passed from a different page through the url. The PHP manual doesnt
say much for this function, but it does have quite a bit on the urldecode()
function which says using urldecode on a $_GET vari
I am trying to use the rawurldecode() function to decode a variable that is
begin passed from a different page through the url. The PHP manual doesnt
say much for this function, but it does have quite a bit on the urldecode()
function which says using urldecode on a $_GET variable wont produce
10 matches
Mail list logo