Problem with iRev refresh

Alex Tweedly alex at tweedly.net
Tue Mar 8 08:20:05 EST 2011


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.foraker at 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 "&currency_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 at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>





More information about the use-livecode mailing list