[Info-vax] simple image processing

Jan-Erik Soderholm jan-erik.soderholm at telia.com
Tue Aug 16 04:44:51 EDT 2011


Arne Vajhøj wrote 2011-08-16 00:25:
> On 8/14/2011 5:46 AM, Jan-Erik Soderholm wrote:
>> VAXman- @SendSpamHere.ORG wrote 2011-08-14 01:53:
>>> In article<j26umk$3ub$2 at online.de>, helbig at astro.multiCLOTHESvax.de
>>> (Phillip Helbig---undress to reply) writes:
>>>> In article<00AB3D70.195A8D10 at SendSpamHere.ORG>, VAXman-
>>>> @SendSpamHere.ORG writes:
>>>>
>>>>> Mark Berryman ported it and it works well. Simple to install. Execute
>>>>> the PHP_SETUP and off you go.
>>>>
>>>> Today, I tried out his Ghostscript. Quite easy!
>>>>
>>>> I'm not using PHP with a web server (nor do I plan to anytime soon).
>>>> Can PHP be used in a "standalone mode" to do what I want? (For now, I'm
>>>> thinking mainly of things NOT served via HTTP but rather viewed in a
>>>> browser with file:///.)
>>>
>>>
>>> $ PHP -a ... for interactive mode...
>>> $ PHP -a -f<filename> ... will process a PHP source...
>>>
>>> $ PHP -a
>>> Interactive mode enabled
>>>
>>> <?php echo "Hello world!" ?>
>>> ^Z
>>> Hello world!
>>
>> So you need that html-like program style even when not
>> running within a web-server environment ?
>
> <?php ?> is not particular HTML like, but yes PHP requires those
> to indicate code as opposed to literal text.
>
> Given almost all PHP is web where literal text is common
> unlike most other languages, then it is not so bad.
>
>  > Well, why not a simple Python example at the same time
>
> Python does not have the same web percentage.
>
> Arne
>

That was not the point. The question was :
 >>>> Can PHP be used in a "standalone mode" to do what I want?
and my point is that Python 1. is cleaner as stand-alone language
and 2. has a lot of VMS "things" built-in in the current port.

As a serverside, scripting tool, PHP might be better, but,
as I said, that was not the question at hand.






More information about the Info-vax mailing list