Re: Use PHP to populate a Mailing list from a webpage [message #185612 is a reply to message #185598] |
Mon, 21 April 2014 19:29 |
Thomas 'PointedEars'
Messages: 701 Registered: October 2010
Karma:
|
Senior Member |
|
|
Lew Pitcher wrote:
> "Richard Yates" wrote:
>> Graham Hobbs wrote:
>>> Thomas 'PointedEars' Lahn 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.
More, it is utter nonsense.
> 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
5.4+
> 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.
ACK. However, my point was, of course, that the World Wide Web and e-mail
are different Internet applications, and are both implementing the client-
server model. Assuming that a *public* *Web* *server* could communicate
with an *e-mail* *client* (running on another, *private* machine) shows a
lack of basic Internet knowledge required to arrive at a working
implementation.
PointedEars
--
When all you know is jQuery, every problem looks $(olvable).
|
|
|