|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
php-general Digest 13 Jan 2006 14:35:09 -0000 Issue 3903
php-general-digest-help
lists.php.net
Date: Fri Jan 13 2006 - 08:35:09 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
php-general Digest 13 Jan 2006 14:35:09 -0000 Issue 3903
Topics (messages 228551 through 228560):
PHP for Mac
228551 by: Richard Correia
228554 by: David Grant
Greetings
228552 by: Pop Mihai Sergiu
228553 by: Gabor Hojtsy
I have stange problem
228555 by: sufinoon
Regex help
228556 by: Mike Smith
228557 by: Albert
228558 by: Eric Martel
Parsing a large file
228559 by: Wolf
PHP 4.4.2 released!
228560 by: Derick Rethans
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscribe
lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscribe
lists.php.net
To post to the list, e-mail:
php-general
lists.php.net
----------------------------------------------------------------------
attached mail follows:
Hi,
I want to install PHP5 on Mac powerbook G4. Can someone please let me know
where I can find it and it's related module?
I am mainly looking for GD and mingswf module on Mac.
Thanks
Richard
attached mail follows:
Richard,
Caveat: I'm not a OS X user, so this information may not help you.
Richard Correia wrote:
> I want to install PHP5 on Mac powerbook G4. Can someone please let me know
> where I can find it and it's related module?
The installation instructions for OS X on PHP.net[1] points to this[2]
resource for installing a portfile. It appears to come with GD compiled
in already, but you'll have to look a bit further for Ming.
> I am mainly looking for GD and mingswf module on Mac.
1. http://www.php.net/manual/en/install.macosx.php
2. http://php5.darwinports.com/
David
--
David Grant
http://www.grant.org.uk/
attached mail follows:
Greetings,
The scope of this document is to file a complain related to privacy of our offices e-mail address published all over the internet.
If you would care to query google for the e-mail : Research
popservice.ro you would easily see what im talking about !
A while ago i`we send one or two emails to PHP.NET, requesting some info related to capturing the CPU / Storage ID using php,
info which would have helped me in finishing a php web application at that time. Since then my e-mail address and comments were
posted through the internet, making my e-mail public to all sorts of SPAMMERS.
I understand that maybe this action was to keep the Question/Answer for others to see, but i do intend to kindly ask you [if possible]
to hide my e-mail address from all the web posts.
Since my e-mail appeared online, my Inbox is constantly flooded with unneccessary documents that stall my timeline.
Maybe it is to already too late to change anything, but if anything can be done, please support me in any way you can to get rid of this issue.
Sincerely,
------------------------------------------------------------
Pop Mihai Sergiu
SOFTWARE POP SERVICE ELECTRONIC
Research & Developement department
------------------------------------------------------------
A : Str. Calea Severilului, Bl 317 a.b.
200233, DOLJ, Craiova, Romania
E : Research
popservice.ro
W : Http://www.popservice.ro
P : +(40) - 251 483 627
F : +(40) - 251 418 773
M : +(40) - 744 507 700
Y : res3arch
------------------------------------------------------------
This mail is scanned and proven not to contain any virus.
------------------------------------------------------------
CONFIDENTIALITY NOTICE: This communication and any accompanying document(s) contains information from the offices of
SOFTWARE POP SERVICE ELECTRONIC and may be confidential or privileged. The information is intended for the personal and
confidential sole use of the individual or entity named above. If you receive this transmission in error, you are advised that any
review, disclosure, copying, distribution, or the taking of any action in reliance upon the communication is strictly prohibited.
If you have received this communication in error, please contact us immediately by e-mail at research
popservice.ro or by
telephone at (+40) 744507700.
attached mail follows:
Dear Pop Mihai Sergiu,
By sending this email you (again) posted to a public mailing list which
is archived at multiple places, of which really few are under our
control. There would be no point in removing your message from our
archives, as it is also posted to an unknown number of other archives
around the internet.
Also there is no point in attaching a signature below your message which
prohibits the review of the contents, as the signature is only read
after the message is alread read.
Regards,
Gabor Hojtsy
Pop Mihai Sergiu wrote:
> Greetings,
>
> The scope of this document is to file a complain related to privacy of
> our offices e-mail address published all over the internet.
> If you would care to query google for the e-mail :
> Research
popservice.ro <mailto:Research
popservice.ro> you would easily
> see what im talking about !
> A while ago i`we send one or two emails to PHP.NET, requesting some info
> related to capturing the CPU / Storage ID using php,
> info which would have helped me in finishing a php web application at
> that time. Since then my e-mail address and comments were
> posted through the internet, making my e-mail public to all sorts of
> SPAMMERS.
>
> I understand that maybe this action was to keep the Question/Answer for
> others to see, but i do intend to kindly ask you [if possible]
> to hide my e-mail address from all the web posts.
>
> Since my e-mail appeared online, my Inbox is constantly flooded with
> unneccessary documents that stall my timeline.
> Maybe it is to already too late to change anything, but if anything can
> be done, please support me in any way you can to get rid of this issue.
>
> Sincerely,
> ------------------------------------------------------------
> Pop Mihai Sergiu
> SOFTWARE POP SERVICE ELECTRONIC
> Research & Developement department
> ------------------------------------------------------------
> A : Str. Calea Severilului, Bl 317 a.b.
> 200233, DOLJ, Craiova, Romania
> E : Research
popservice.ro <mailto:Research
popservice.ro>
> W : Http://www.popservice.ro <http://www.popservice.ro>
> P : +(40) - 251 483 627
> F : +(40) - 251 418 773
> M : +(40) - 744 507 700
> Y : res3arch <ymsgr:sendIm?res3arch>
> ------------------------------------------------------------
> *This mail is scanned and proven not to contain any virus.*
> ------------------------------------------------------------
>
>
> *CONFIDENTIALITY NOTICE: *This communication and any accompanying
> document(s) contains information from the offices of
> SOFTWARE POP SERVICE ELECTRONIC and may be confidential or privileged.
> The information is intended for the personal and
> confidential sole use of the individual or entity named above. If you
> receive this transmission in error, you are advised that any
> review, disclosure, copying, distribution, or the taking of any action
> in reliance upon the communication is strictly prohibited.
> If you have received this communication in error, please contact us
> immediately by e-mail at _research
popservice.ro
> <mailto:research
popservice.ro>_ or by
> telephone at _(+40) 744507700_.
attached mail follows:
Hi,
I'm trying to install winxp\apache2\php5.1.2\MySql.
The installation was good i have apache recognized php
(
Apache/2.0.55 (Win32) PHP/5.1.2 Server at localhost Port 8080
)
so i wrote test script (<? phpinfo();?>) and sometimes the script is working and i got the data and some time i got "Cannot find server or DNS Error" or 404 error
can you tell me what is wrong?
Thnaks in advenced
attached mail follows:
Message-ID: <d46325db0601130525u45b73e95pb7c1bab0ababeaf
mail.gmail.com>
Date: Fri, 13 Jan 2006 08:25:57 -0500
From: Mike Smith <mikeosmith
gmail.com>
To: php-general
lists.php.net
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Subject: Regex help
I'm trying to save myself some time by extracting certain variables
from a string:
102-90 E 42 X 42 X 70 3/8
I've been testing with: http://www.quanetic.com/regex.php
and have been somewhat successful. Using this pattern:
/[0-9]{2,}( X| x|x )/
I have:
102-90 E [!MATCH!] [!MATCH!] 70 3/8
Ideally what I want to do is update the db table that holds these records.
ID: 1
Unit: 102-90 E 42 X 42 X 70 3/8
Panel: 42
Width: 42
Height: 70 3/8
$pattern1 = '/[0-9]{2,}( X| x|x )/';
$units = array of units above
foreach($units AS $unit){
preg_match($pattern1,$unit[1],$match);
print_r($match);
echo "Panel: ".$match[0];
}
The $match array is empty.
Actually looking at the data there are so many typos (imported from
Excel) that I will probably have to update by hand, but out of
curiosity now what would be a good regex for the info given?
Thanks,
Mike Smith
attached mail follows:
Mike Smith wrote:
> I'm trying to save myself some time by extracting certain variables
> from a string:
>
> 102-90 E 42 X 42 X 70 3/8
If this string is always in this format
<xxx> E <panel> X <width> X <height>
then you could try something like:
// Very much untested
$unit = '102-90 E 42 X 42 X 70 3/8';
$split1 = explode('E', $unit);
list($panel, $width, $height) = explode('X', $split1[1]);
Albert
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.371 / Virus Database: 267.14.17/228 - Release Date: 2006/01/12
attached mail follows:
This should do the trick:
/(\d+) ?X ?(\d+) ?X ?(\d+ [\d\/]+)/i
(at least it would in Perl)
Le 13 Janvier 2006 08:25, Mike Smith a écrit :
> I'm trying to save myself some time by extracting certain variables
> from a string:
>
> 102-90 E 42 X 42 X 70 3/8
>
> I've been testing with: http://www.quanetic.com/regex.php
> and have been somewhat successful. Using this pattern:
> /[0-9]{2,}( X| x|x )/
>
> I have:
> 102-90 E [!MATCH!] [!MATCH!] 70 3/8
>
>
> Ideally what I want to do is update the db table that holds these records.
> ID: 1
> Unit: 102-90 E 42 X 42 X 70 3/8
> Panel: 42
> Width: 42
> Height: 70 3/8
>
> $pattern1 = '/[0-9]{2,}( X| x|x )/';
> $units = array of units above
> foreach($units AS $unit){
> preg_match($pattern1,$unit[1],$match);
> print_r($match);
> echo "Panel: ".$match[0];
> }
>
> The $match array is empty.
>
> Actually looking at the data there are so many typos (imported from
> Excel) that I will probably have to update by hand, but out of
> curiosity now what would be a good regex for the info given?
>
> Thanks,
> Mike Smith
--
Eric Martel
Sainte-Foy (Québec)
Canada
Ce courriel est signé numériquement avec la clef suivante:
This e-mail is digitally signed with the following key:
ED3F191C (key://pgp.mit.edu, http://key.ericmartel.net/)
Empreinte/fingerprint:
023D EFB7 8957 CBC0 C4E7 243D F01E D8A8 ED3F 191C
Pour plus d'information: http://gpg.ericmartel.net/
For more info:
http://kmself.home.netcom.com/Rants/gpg-signed-mail.html
"There are flaws in Windows so great that they would
threaten national security if the Windows source code
were to be disclosed." --Microsoft VP Jim Allchin, under oath
"The intrinsic parallelism and free idea exchange in open
source software has benefits that are not replicable with
our current licensing model." --Microsoft
Read more on http://opensource.org/halloween/
Read between lines: get Linux! It's free, open source,
more secure, more reliable and more performant than
Window$.
http://www.linuxiso.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQBDx7Qk8B7YqO0/GRwRAri3AJ44vRoFDhRKR5O9KInXnGBcotOjJwCaA1OG
tZmQbiG9YpdF6HZ+AeDEOVM=
=j5TK
-----END PGP SIGNATURE-----
attached mail follows:
I have large log files from a web server (about a gig in size) and need
to parse each line looking for a string, and when encountered push that
line to a new file. I was thinking I could have PHP read in the whole
file, but thinking it could be a major pain since I have about 20 log
files to read through.
Anyone have some suggestions?
Thanks,
Robert
attached mail follows:
Hello!
The PHP Development Team would like to announce the immediate release of
PHP 4.4.2. This is a maintenance release that addresses a number of
minor security problems and fixes a few regressions that shown up in PHP
4.4.1. All users of PHP 4 are recommended to upgrade to PHP 4.4.2.
A separate release announcement is also available. For changes in PHP
4.4.2 since PHP 4.4.1, please consult the PHP 4 ChangeLog.
Release Announcement: http://www.php.net/release_4_4_2.php
Downloads: http://www.php.net/downloads.php#v4
Changelog: http://www.php.net/ChangeLog-4.php#4.4.2
regards,
Derick
- application/x-pkcs7-signature attachment: smime.p7s
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]