LiveCodeServer: redirecting with 'put header'

Andre Garzia andre at andregarzia.com
Thu Dec 8 10:26:44 EST 2011


Matthias,

This will sound crazy ok... but try the script with an extra put with
content, like this:

>
> <?lc
> put "http://www.google.com" into tURL
> put  header "Status: 301"
> put header "Location:" && tURL
>
   put "redirecting..."

> ?>


And tell me if it works.

-- 
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.



More information about the use-livecode mailing list