Thanks. That's what I needed.

Joseph

"Richard Lynch" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]...
> >I have a 5-step (5 page) process in which users must answer various 
> >questions. Each page passes along the data to the next page, at the same 
> >time capturing the data from the previous page and passing that along too.
> >
> >To capture all the data submitted previously, I have the following code:
> >
> >$a = "?";
> >$url = "";
> >while(list($key, $value) = each($HTTP_POST_VARS)) 
> >{ 
> >$url .= "$a$key=" . htmlspecialchars(addslashes($value));
> 
> These should be http://php.net/URLEncode, not
> htmlspecialchars(addslashes(..))
> 
> -- 
> Like Music?  http://l-i-e.com/artists.htm
> 


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

Reply via email to