On Thu, Dec 20, 2001 at 04:33:57PM -0800, K.L. Hayes wrote: > <CODE> > print "Location: >https://secure.whatever.com/business=email\@address.com\&item_name=Product+Name\&item_number=QX000\&amount=$total_amount\&shipping=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.
In what way isn't it working? Your code has no problem with it, and it prints out what it should, as far as I can tell. You've escaped a bit too much (the & don't need it), but that doesn't cause a problem. > If the above code is wrapped, sorry... my e-mail client _insisted_. It wasn't wrapped, though my mail viewer wrapped it. Michael -- Administrator www.shoebox.net Programmer, System Administrator www.gallanttech.com -- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]