RE: PHP redirect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If $data['feed_link'] is extracted from $_POST, then it's already
urldecoded.

BTW, what's the problem? It's not redirecting you, or just redirecting you
to az unavailable/wrong page? ( most browsers change the  & in titlebar
to '&', so you don't have to worry about that )

-----Original Message-----
From: muad shibani [mailto:muad.shibani@xxxxxxxxx] 
Sent: Saturday, September 24, 2011 12:36 PM
To: php-general@xxxxxxxxxxxxx
Subject:  PHP redirect

when I try to go to a URL by using PHP header function so if the URL
contains & it converts it to & so the needed page will not
display correctly I tried to use:

 $url = urldecode($data['feed_link']);

 header ( "Location: $url" );

but I can't get it


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux