Jump to content

passing &arguments in a url.


ubaldc36

Recommended Posts

this is my current url:

http://axe03.asi.sikorsky.com/snonline_sn2565/snonline/SearchSn.php?snidnum=2565&sntitle=&chrgnum=&snstatus=Active&sncategory=*&person=*&role=*&snstdwk=*&op=2

 

at some point I create a new independent page with some actions on it,

the user makes a choice, this window goes away and i want redirect automatically back to the url at the top of the page.

 

since I seemingly can only use javascript.go(-2) from an event,  i have tried to pass that whole url into an argument, say redurl, and when I come back I can redirect using this string..

here is the problem..

 

the redurl only comes back to "http://axe03.asi.sikorsky.com/snonline_sn2565/snonline/SearchSn.php?snidnum=2565", i am guess the _GET or _POST is attempting to parse the string, so it only returns the first piece of it.

 

so, how do I direct back with this url as an argument in another url?

 

or can I execute js:go(-2) anywhere in the php? i tried echo"js:go(-2)" and it only echoes it.

 

 

thanks.

 

-very confused

Link to comment
https://forums.phpfreaks.com/topic/161099-passing-arguments-in-a-url/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.