I think the quotes are strangely placed in the 'format' statement below
(assuming it was copied/pasted).
put format("<meta http-equiv=\"refresh\" content=\"0;URL="&tURL& ">") into
would produce
<meta http-equiv="refresh" content="0;URL=https......
There should be another \" after the 0 for content.
Might be that some browsers can figure out what was intended and some can't.
-- Alex.
On 08/03/2011 01:19, Sarah Reichelt wrote:
On 08/03/2011, at 9:44 AM, Paul Foraker<paul.fora...@gmail.com> wrote:
I'm working on a registration page for a training (
www.blueskytrainings.com/register.irev ). I'm having a problem with Safari
and Chrome improperly refreshing to a PayPal page. I'm on a Mac.
The following code works perfectly in Firefox and Camino. It fails to go to
PayPal in Safari and Chrome.
When I copy the URL and paste it into Safari, it works. But, from the irev
page, I get a blank page and no PayPal URL (keeps the original URL).
Any suggestions?
put "https://www.paypal.com/cgi-bin/webscr" into tURL
if getsDiscount then put "Discounted" into tuitionValue else put
"Full+Tuition" into tuitionValue
put "?cmd=_s-xclick&hosted_button_id=D88XBUTK3GS2A&on0=Training+Fee" into
tPost
put "&os0="& tuitionValue after tPost
put "¤cy_code=USD" after tPost
put tPost after tURL
put format("<meta http-equiv=\"refresh\" content=\"0;URL="&tURL& ">") into
thePlaceToGo
put thePlaceToGo
My only suggestion would be to try using lower case url in the meta tag.
All the examples I have seen are lower case e.g.
content=0;url=http://whatever.com
Maybe some browsers are more picky than others about such things.
Cheers,
Sarah
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode