Re: Use PHP to populate a Mailing list from a webpage [message #185598 is a reply to message #185597] |
Sat, 19 April 2014 19:15 |
Lew Pitcher
Messages: 60 Registered: April 2013
Karma:
|
Member |
|
|
On Saturday 19 April 2014 14:26, in comp.lang.php, "Richard Yates"
<richard(at)yatesguitar(dot)com> wrote:
> On Fri, 18 Apr 2014 21:52:44 -0400, Graham Hobbs <ghobbs(at)cdpwise(dot)net>
> wrote:
>
>> On Thu, 17 Apr 2014 16:49:34 +0200, Thomas 'PointedEars' Lahn
>> <PointedEars(at)web(dot)de> wrote:
>>
>>> Graham Hobbs wrote:
>>>
>>>> I am at PHP 101 level.
>>>
>>> Pardon my saying so, but you are at *Internet* 101 level.
>> Why? Can't you use PHP to program non-internet tasks?
>
> You can but you have to have a server with a php interpreter installed
> on your computer.
That's not entirely true.
If you have PHP installed on your local system, you can use it as a
stand-alone scripting language, by invoking it from the commandline.
PHP can read local files for it's language code, or accept code from stdin
~ $ echo '<?php printf("Hello, world\n"); ?>' | php
Hello, world
PHP also has a built-in webserver "for application development purpose",
so a local installation of PHP does not require a separate "server with a
php interpreter installed" to run PHP code.
[snip]
HTH
--
Lew Pitcher
"In Skills, We Trust"
PGP public key available upon request
|
|
|