Re: Sending parameters
| From: | Jason Wong | Date: | Tue, 30 Sep 2003 10:50:29 +0000 |
| Subject: | Re: Sending parameters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164368@lists.php.net to get a copy of this message | ||
On Tuesday 30 September 2003 18:20, Shaun wrote:
> I need to send the following link
>
> view_day.php?mysql_date=2003-09-23&user_id=35&set_form_actions=true&new_use
>r
> =yes&user_name=Kate%20Dickie&link_text=diary&link_action=availability.php?n
>e w_user=yes&user_name=Kate%20Dickie.
>
> This may seem strange that I have 2 ?'s in the link but the point here is
> that I need everything after the 2nd ? to be used as a link on the
> following page - which is actually held in a session.
>
> However when I try to do this, the link_action held is
> 'availability.php?new_user=yes', how can I get everything after the 2nd ?
> to be held in the session var?
urlencode() or rawurlencode() the value of 'link_action'.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
He thinks the Gettysburg Address is where Lincoln lived.
-- Wanda, "A Fish Called Wanda"
*/