php-general Digest 8 Jan 2011 17:07:12 - Issue 7122
Topics (messages 310595 through 310605):
Re: Command line PHP
310595 by: Larry Garfield
310596 by: David Hutto
310602 by: TR Shaw
310603 by: David Hutto
310604 by: Lester Caine
310605 by:
Michelle Konzack wrote:
Hello David Robley,
Am 2011-01-08 16:25:38, hacktest Du folgendes herunter:
You might find http://xchm.sourceforge.net/ useful :-)
[ 'apt-cache policy xchm' ]-
xchm:
Installiert: 2:1.14-4
Kandidat: 2:1.14-4
On Jan 8, 2011 9:53 AM, David Robley robl...@aapt.net.au wrote:
Michelle Konzack wrote:
Hello David Robley,
Am 2011-01-08 16:25:38, hacktest Du folgendes herunter:
You might find http://xchm.sourceforge.net/ useful :-)
[ 'apt-cache policy xchm'
On Jan 7, 2011, at 8:50 PM, David Hutto wrote:
On Fri, Jan 7, 2011 at 8:44 PM, TR Shaw ts...@oitc.com wrote:
On Jan 7, 2011, at 8:36 PM, David Hutto wrote:
I'm with some of the others above on using Python. Writing a command
line app is about as simple as:
import subprocess
word =
Like i said, my introduction to php is browser,and desktop app is
python, but I will try php in the command line out.
1) set a variable
2) call an external program with the variable as an argument
this is something I recognize very well:)
--
PHP General Mailing List (http://www.php.net/)
To
David Hutto wrote:
I'm with some of the others above on using Python. Writing a command
line app is about as simple as:
snip
I think of PHP as more browser, than desktop app/webapp.
The point I was trying to make was one where there are two paths to doing the
same job ...
Example
On Sat, Jan 8, 2011 at 07:25, TR Shaw ts...@oitc.com wrote:
Sorry, David I should not reply quickly when I have a cold but again its all
pretty similar. Here it is on unix/linux.
PHP:
$word = hello;
exec(say \$word\);
Bash:
word=hello
say $word
?php txt2wav('Hello','hello.wav'); ?
On Sat, Jan 8, 2011 at 00:23, Larry Garfield la...@garfieldtech.com wrote:
On Friday, January 07, 2011 9:34:42 pm David Hutto wrote:
Which yielded this as the first result:
http://php.net/manual/en/features.commandline.php
As noted in my original email, I find the native SAPI clunky and
On Sat, 2011-01-08 at 16:55 +0800, WalkinRaven wrote:
PHP 5.3 PCRE
Regular Express to match domain names format according to RFC 1034 -
DOMAIN NAMES - CONCEPTS AND FACILITIES
/^
(
[a-z] |
[a-z] (?:[a-z]|[0-9]) |
[a-z] (?:[a-z]|[0-9]|\-){1,61} (?:[a-z]|[0-9])
On Jan 8, 2011, at 12:09 PM, Ashley Sheridan wrote:
On Sat, 2011-01-08 at 16:55 +0800, WalkinRaven wrote:
PHP 5.3 PCRE
Regular Express to match domain names format according to RFC 1034 -
DOMAIN NAMES - CONCEPTS AND FACILITIES
/^
(
[a-z] |
[a-z] (?:[a-z]|[0-9])
On 1/8/2011 3:55 AM, WalkinRaven wrote:
PHP 5.3 PCRE
Regular Express to match domain names format according to RFC 1034 - DOMAIN
NAMES - CONCEPTS AND FACILITIES
/^
(
[a-z] |
[a-z] (?:[a-z]|[0-9]) |
[a-z] (?:[a-z]|[0-9]|\-){1,61} (?:[a-z]|[0-9]) ) # One label
(?:\.(?1))*+ # More labels
\.? #
On 01/09/2011 01:09 AM, Ashley Sheridan wrote:
On Sat, 2011-01-08 at 16:55 +0800, WalkinRaven wrote:
PHP 5.3 PCRE
Regular Express to match domain names format according to RFC 1034 -
DOMAIN NAMES - CONCEPTS AND FACILITIES
/^
(
[a-z] |
[a-z] (?:[a-z]|[0-9]) |
[a-z]
12 matches
Mail list logo