Re-2: on-rev example: 'globals.cgi' conversion

Mark Smith lists at futilism.com
Sat Apr 18 10:37:59 EDT 2009


Got it working - I though I'd set the permissions (with Transmit),  
but they hadn't taken - all working now.

Best,

Mark

On 18 Apr 2009, at 15:22, runrev260805 at m-r-d.de wrote:

> Hi,
>
> asked support already, if this is possible. But had the time to  
> test it myself. Made it as described in Jacqueline´s tutorial
> at http://www.hyperactivesw.com/cgitutorial/
>
> Worked here.  http://www.multitronic.me/cgi-bin/test.cgi
>
> Regards,
>
> Matthias
>
>
>
> -------- Original Message --------
> Subject: Re: on-rev example: 'globals.cgi' conversion (18-Apr-2009  
> 16:16)
> From:    Mark Smith <lists at futilism.com>
> To:      runrev260805 at m-r-d.de
>
>> I just uploaded the 3.5 linux engine (which works fine for cgis in
>> Dreamhost) to on-rev, and so far can't make it work - getting 500
>> server errors...will keep trying.
>>
>> Best,
>>
>> Mark
>>
>> On 18 Apr 2009, at 06:58, Jim Ault wrote:
>>
>>> Very cool, Phil.
>>>
>>> And now it could be time for the benchmark wizard (Richard) to
>>> establish a standard for the routine posting of speed comparisons.
>>> By that I mean CGI running on other host configurations doing
>>> exactly the same tasks.  The results could be posted or submitted
>>> execution times, load times, etc. (like Google Urchin).  Perhaps
>>> each site could have a standard test page.  I know that I have a
>>> few places to install a test page and submit a report to a central
>>> location.
>>>
>>> My belief is that a few of my tech friends (non-Revers) would be
>>> blown away by the rendering speed.
>>>
>>> The idea is to get several instances of real installations and user-
>>> level tasks.  By plotting the averages, this could yield strong
>>> evidence that changing hosts, then changing to Rev code would
>>> deliver a superior product
>>>
>>> It would be cool if the test page included some of the 'tricks'
>>> that on-rev.com could do.
>>>
>>> Jim Ault
>>> Las Vegas
>>>
>>> On Apr 17, 2009, at 9:03 PM, Phil Davis wrote:
>>>
>>>> A quick on-rev example:
>>>> Just to get started, I converted my 'globals' CGI script to an on-
>>>> rev web page:
>>>>
>>>>   <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>>>>   <HTML>
>>>>   <HEAD LANG="en">
>>>>   <TITLE><?rev  put the short date && the long time  ?></TITLE>
>>>>   </HEAD>
>>>>   <BODY>
>>>>
>>>>   <p>Server Globals</p>
>>>>   <div style="padding-left: 12px">
>>>>   <?rev
>>>>   put the long seconds into tStart
>>>>   put the keys of $_SERVER into tList
>>>>   sort lines of tList
>>>>   repeat for each line gVar in tList
>>>>     put gVar && "=" && $_SERVER[gVar] & "<br>"
>>>>   end repeat
>>>>   put "version,processor,systemVersion,platform,environment" into
>>>> tExtras
>>>>   replace comma with cr in tExtras
>>>>   repeat for each line tLine in tExtras
>>>>     put "the" && tLine into tLine2
>>>>     put tLine2 && "=" && value(tLine2) & "<br>"
>>>>   end repeat
>>>>   ?>
>>>>   </div>
>>>>   <p><?rev  put "This page of code executed in" && the long  
>>>> seconds -
>>>>   tStart && "secs."  ?> </p>
>>>>
>>>>   </BODY>
>>>>   </HTML>
>>>>
>>>> And here's what it looks like in the browser:
>>>>  http://phildavis.on-rev.com/globals/index.irev
>>>>
>>>>
>>>> I love being able to reuse my Rev know-how this way!
>>>> -- 
>>>> Phil Davis
>>>>
>>>> PDS Labs
>>>> Professional Software Development
>>>> http://pdslabs.net
>>>>
>>>> _______________________________________________
>>>> use-revolution mailing list
>>>> use-revolution at lists.runrev.com
>>>> Please visit this url to subscribe, unsubscribe and manage your
>>>> subscription preferences:
>>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>>
>>> _______________________________________________
>>> use-revolution mailing list
>>> use-revolution at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your
>>> subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>>
>>
>> To: use-revolution at lists.runrev.com
>
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list