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:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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/
--- End Message ---
--- Begin Message ---
|
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
: [EMAIL PROTECTED] 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 : [EMAIL PROTECTED] 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 [EMAIL PROTECTED] or by
telephone at (+40) 744507700.
|
smime.p7s
Description: S/MIME cryptographic signature
--- End Message ---
--- Begin Message ---
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 :
> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 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 : [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> 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 [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>_ or by
> telephone at _(+40) 744507700_.
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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/
pgppbphrn8Lxu.pgp
Description: PGP signature
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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
--- End Message ---