Re: [PHP] Strings in URL

2001-03-26 Thread trogers
the href should be print "http://www.contus.com/test_quote/quotepage.php3?site=$site&page=miniquote&; subject=$headline'\"> I think.. Tom At 09:41 PM 26/03/01 -0500, Claudia wrote: >I am attempting to pass a string value via a URL. I have tried using >urlencode and ereg_replace--with no luck. >

Re: [PHP] Strings in URL

2001-03-26 Thread CC Zona
In article <99ou1p$tif$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Claudia") wrote: > $headline=urlencode("$headline"); > print " ='http://www.contus.com/test_quote/quotepage.php3?site=$site&page=miniquote&; > subject=$headline'>Contact us for more information"; > > Then in the quotepage.php3 file

Re: [PHP] Strings in URL

2001-03-26 Thread David Robley
On Tue, 27 Mar 2001 12:11, Claudia wrote: > I am attempting to pass a string value via a URL. I have tried using > urlencode and ereg_replace--with no luck. > > Here is sample code: > > $headline=urlencode("$headline"); > print " ='http://www.contus.com/test_quote/quotepage.php3?site=$site&page=m

RE: [PHP] Strings in URL

2001-03-26 Thread Jack Dempsey
I believe you have to urldecode. Try that and see what happens... -jack -Original Message- From: Claudia [mailto:[EMAIL PROTECTED]] Sent: Monday, March 26, 2001 9:41 PM To: [EMAIL PROTECTED] Subject: [PHP] Strings in URL I am attempting to pass a string value via a URL. I have tried u