php-general Digest 27 Jul 2012 09:55:51 - Issue 7899
Topics (messages 318564 through 318571):
Re: How to write and read serial or parallel port
318564 by: Ian
318565 by: Lester Caine
318566 by: Alex Nikitin
318567 by: Curtis Maurand
318568 by: Curtis
On 26/07/2012 13:37, Alex Nikitin wrote:
snip
Real question is
why in the world would you want to use PHP for this to begin with.
snip
Hi,
I cannot speak for the OP, but personally I am doing this so I can hook
up to a web application and re-use existing code.
Regards
Ian
--
--
PHP
Dear list -
I've tried everything and am still stuck.
A regex that will accept numbers, letters, comma, period and no other
characters
Thanks.
Ethan Rosenberg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
#[0-9a-zA-Z,.]#
2012/7/27 Ethan Rosenberg eth...@earthlink.net
Dear list -
I've tried everything and am still stuck.
A regex that will accept numbers, letters, comma, period and no other
characters
Thanks.
Ethan Rosenberg
--
PHP General Mailing List (http://www.php.net/)
To
On 27 Jul 2012, at 18:07, Ethan Rosenberg eth...@earthlink.net wrote:
I've tried everything and am still stuck.
A regex that will accept numbers, letters, comma, period and no other
characters
/^[0-9a-zA-Z,\.]+$/
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/
--
PHP General
Hi,
Am 27.07.2012 19:07, schrieb Ethan Rosenberg:
Dear list -
I've tried everything and am still stuck.
A regex that will accept numbers, letters, comma, period and no other
characters
This?
/^[0-9a-zA-Z,.]$/
Regards,
Sebastian
Thanks.
Ethan Rosenberg
--
PHP General Mailing
Simon Dániel simondan...@gmail.com wrote:
#[0-9a-zA-Z,\.]#
You should escape out that period as it will match any character otherwise.
Thanks,
Ash
http://ashleysheridan.co.uk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, Jul 27, 2012 at 10:16 AM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
Simon Dániel simondan...@gmail.com wrote:
#[0-9a-zA-Z,\.]#
You should escape out that period as it will match any character otherwise
The dot only matches a period inside a character class [...].
David
#[0-9a-zA-Z,\.]#
You should escape out that period as it will match any character otherwise.
Thanks,
Ash
Ash, Thats not true. In character class only meta-characters are \ ^ - [
and ]. This is the rule of PCRE (see
On 7/27/2012 1:07 PM, Ethan Rosenberg wrote:
Dear list -
I've tried everything and am still stuck.
A regex that will accept numbers, letters, comma, period and no other characters
Thanks.
Ethan Rosenberg
%[\w\d,.]%
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
On Fri, Jul 27, 2012 at 11:43 AM, Al n...@ridersite.org wrote:
%[\w\d,.]%
\w will match digits so \d isn't necessary, but it will also match
underscores which isn't desired.
David
On 7/27/2012 2:56 PM, David Harkness wrote:
On Fri, Jul 27, 2012 at 11:43 AM, Al n...@ridersite.org wrote:
%[\w\d,.]%
\w will match digits so \d isn't necessary, but it will also match
underscores which isn't desired.
David
You're correct, I forgot about the darn _ and \w includes
Am 27.07.2012 19:54, schrieb shiplu:
#[0-9a-zA-Z,\.]#
You should escape out that period as it will match any character otherwise.
Thanks,
Ash
Ash, Thats not true. In character class only meta-characters are \ ^ - [
And the dash only when it's not the first, or the last in the class.
Please correct me if I'm wrong and IMAP is available (maybe a known config
issue?)
Mac OSX 10.7, Using the pre-installed Apache Php, IMAP is not installed,
pulled out my Apple for this server OS.
$ php -v
PHP Warning: PHP Startup: Unable to load dynamic library
Hi,
In my experience there are 2 ways of installing php, conpile or
download a package for your OS that already been built.
On windows, you can build php or you download a msi/exe file and use
that to install it
Linux, you can use yum or apt-get to install php or you can compile it.
Regarding
Look for software called mamp. It's independent installs of apache, MySQL, php,
all for the mac.. They might have it enabled with what you need...
I can tell you though if you can handle writing php code.. Installing with the
developer tools is a piece of cake :) its not as hard as it sounds..
JeffPGMT jeffp...@gmail.com wrote:
Please correct me if I'm wrong and IMAP is available (maybe a known config
issue?)
Mac OSX 10.7, Using the pre-installed Apache Php, IMAP is not installed,
pulled out my Apple for this server OS.
I don't know if it is, but something below seems very odd
17 matches
Mail list logo