$url = "http://...=\"1406746\"";;
print '<META HTTP-EQUIV="refresh" content="1;URL=$url">';

Plugging in the variable gives:
<META HTTP-EQUIV="refresh" content="1;URL=http://...=\"1406746\"";>'
Should there be a " after the URL=?
That may be screwing it up.
You also probably want to call a function (don't of its name) to convert the
"s into the proper HTTP encoded format. (%22 ?)

On 3/29/07, Ravi Malghan <[EMAIL PROTECTED]> wrote:

Hi: I am having trouble passing double quotes when passing a url string.
Everything after the double quotes does not go through. For example in the
perl script below, the browser ends up going to
http://appserver/arsys/forms/rearsp01/HPD%3AHelp+Desk/Default+User+View/?&qual='TRS%20Ticket%20Number'=

--------SCRIPT----------
$url = "
http://appserver/arsys/forms/rearsp01/HPD%3AHelp+Desk/Default+User+View/?&qual='TRS%20Ticket%20Number'=\
"1406746\"";
<HTML>
<HEAD>
<TITLE>Redirect to my Trouble Ticket</TITLE>
</HEAD>
$url = "
http://appserver/arsys/forms/rearsp01/HPD%3AHelp+Desk/Default+User+View/?&qual='TRS%20Ticket%20Number'=\
"1406746\"";
print '<META HTTP-EQUIV="refresh" content="1;URL=$url">';
</HTML>
-----------------------------------

How do I pass double quotes so the browser goes to
http://appserver/arsys/forms/rearsp01/HPD%3AHelp+Desk/Default+User+View/?&qual='TRS%20Ticket%20Number'="1406746"
?

Thanks
Ravi




____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/





--
- Yitzchok Good

Reply via email to