FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to create a user friendly URL with parameters?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
How to create a user friendly URL with parameters? [message #182536] Sun, 11 August 2013 20:09 Go to previous message
carapooz is currently offline  carapooz
Messages: 1
Registered: August 2013
Karma:
Junior Member
Hello,
I have a search form using a POST method (not a GET one!).
After recieving the request I would like to have my page (the same page) be reloaded on the server with user friendly url in the browser address box.
http://exemple.com/spage.php?id=12&ci=13

I did it like this:

....

page = 'spage.php?id=' . $received['sloc'] . '&ci=' .$received['sdef'];

if($redirect == 1){
header('Location: ' . $page);
exit();
}
....

And it works on my local computer but it does not work on Godaddy server.
How it can be done? And wthat is the best way to make a transfer from POST to GET?

Thank you.
A+
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Please evaluate my cache-control & pragma etc. code
Next Topic: Re: Sexy CATHERINE ZETA JONES Sex Scandals
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 21:40:10 GMT 2024

Total time taken to generate the page: 0.04622 seconds