Pass it through that function (or one of the others) on:
http://www.php.net/manual/en/ref.url.php
On Tue, 2002-12-03 at 12:01, Shawn McKenzie wrote:
I'm trying to pass a URL as a var in a URL:
The url var should equal:
http://www.someothersite.com/index.php?something=something&x=100&y=200
And I'm passing it to this URL:
http://www.somesite.com/index.php?var=val
So if I use:
http://www.somesite.com/index.php?var=val&url="">
ndex.php?something=something&x=100&y=200
The problem is, if I echo $url; I get the following:
http://www.someothersite.com/index.php?something=something
So the vars after the & in the url var are being truncated, I'm assuming
that they are treated as vars of the main URL.
Any help appreciated,
Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc |
signature.asc
Description: This is a digitally signed message part