revLet: what url am I?

David Bovill david at vaudevillecourt.tv
Thu May 20 15:37:57 EDT 2010


Playing with a revLet:

   put the revletParams of this stack into someArray
>    combine someArray with CR and tab
>    put $HTTP_HOST & CR & CR & someArray into someText
>    answer someText
>

But I am not getting anything for $HTTP_HOST.... it looks like that global
is not supported. This is what I get for "the globals":

gRevAppIcon
> gRevSmallAppIcon
> $JAVA_JVM_VERSION
> $XRE_BINARY_PATH
> $XUL_APP_FILE
> $NO_EM_RESTART
> $XRE_IMPORT_PROFILES
> $XRE_START_OFFLINE
> $XRE_PROFILE_NAME
> $XRE_PROFILE_LOCAL_PATH
> $XRE_PROFILE_PATH
> $MOZ_LAUNCHED_CHILD
> $MOZ_CRASHREPORTER_STRINGS_OVERRIDE
> $MOZ_CRASHREPORTER_DATA_DIRECTORY
> $MOZ_CRASHREPORTER_RESTART_ARG_2
> $MOZ_CRASHREPORTER_RESTART_ARG_1
> $MOZ_CRASHREPORTER_RESTART_ARG_0
> $COMMAND_MODE
> $SECURITYSESSIONID
> $Apple_PubSub_Socket_Render
> $SSH_AUTH_SOCK
> $DISPLAY
> $LOGNAME
> $USER
> $HOME
> $SHELL
> $TMPDIR
> $PATH
> $#
>

Can't see anything that is going to give the url of the actual revLet -
$HOME and $PATH give the same thing - a realtive path on the server!



More information about the use-livecode mailing list