Hello Mr. Showalter, Friday, December 21, 2001, 7:14:40 AM, you wrote:
BS> As Michael said, your code looks OK. The &'s don't need to be BS> escaped. BS> When you construct a URL, you should run it through URI::Escape's BS> uri_escape() method to encode any URI-special chars. Thanks for the advise on URI::Escape/method. I didn't know it existed until now. Also wanted to thank you for _ALL_ your "inadvertent" help over the last 4-5 months. I've got over 700 "Of Interest" mails saved from this list & most involve you & Japhy. Just want to let you know that your time, knowledge & patience is greatly appreciated. I wish you & yours, health & prosperity in the coming year. Thank you. -- Best regards, K.L. Hayes mailto:[EMAIL PROTECTED] +=====================================================+ + "Only two things are infinite, the universe and + + human stupidity, and I'm not sure about the former."+ + -- Albert Einstien + +=====================================================+ >> -----Original Message----- >> From: K.L. Hayes [mailto:[EMAIL PROTECTED]] >> Sent: Thursday, December 20, 2001 7:34 PM >> To: [EMAIL PROTECTED] >> Subject: Interpolate in Location: >> >> >> Hello All, >> >> Could somebody please help me with this? >> >> <CODE> >> print "Location: >> https://secure.whatever.com/business=email\@address.com\&item_ >> name=Product+Name\&item_number=QX000\&amount=$total_amount\&sh >> ipping=0.00\&return=https://blah.com/ty.html\n\n"; >> </CODE> >> >> I'm trying to interpolate the $total_amount in the above URL while >> escaping the other special characters. I've never tried to do this >> before & just can't wrap my ears around it now when I need to -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]