[Info-vax] simple image processing

Arne Vajhøj arne at vajhoej.dk
Mon Aug 15 18:25:59 EDT 2011


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




More information about the Info-vax mailing list