On Thu, 2009-01-15 at 23:54 -0500, Paul M Foster wrote:
On Thu, Jan 15, 2009 at 04:20:16AM -0500, Robert Cummings wrote:
On Wed, 2009-01-14 at 21:17 -0500, Paul M Foster wrote:
Incidentally, I would differ from the reviewer in the link above only in
this respect: He maintains that
On Fri, 2009-01-16 at 00:06 -0500, Paul M Foster wrote:
On Thu, Jan 15, 2009 at 04:17:51AM -0500, Robert Cummings wrote:
On Wed, 2009-01-14 at 21:17 -0500, Paul M Foster wrote:
On Wed, Jan 14, 2009 at 01:39:02PM -0800, Daevid Vincent wrote:
snip
The pages are significantly
paragasu schreef:
i have this cute little problem.
sounds more like a homework assignment. by now you know range(),
by all means have array_map() too:
array_map(print_r, range(a,z));
i want to print a to z for site navigation
my first attempt work fine
for($i = '65'; $i '91'; ++$i)
Hi All,
Having an issue with regular expressions, never been my strong point!
The following pattern only picks up one instance per line, if more than
one instance exists all text from first {{ to last }} is included, can
anyone point out where I am going wrong?
On Fri, 2009-01-16 at 09:42 +, Phil Ewington - iModel Ltd. wrote:
Hi All,
Having an issue with regular expressions, never been my strong point!
The following pattern only picks up one instance per line, if more than
one instance exists all text from first {{ to last }} is included,
Robert Cummings wrote:
On Fri, 2009-01-16 at 09:42 +, Phil Ewington - iModel Ltd. wrote:
Hi All,
Having an issue with regular expressions, never been my strong point!
The following pattern only picks up one instance per line, if more than
one instance exists all text from first {{ to
Good question, according to the author 'There was only a little problem with
_calculateSharedStringsSizes() and _storeSharedStringsTable() functions
within the Workbook.php. They did not support unicode strings.'
Ewen
2009/1/15 Thodoris t...@kinetix.gr
Hi there, I'm not sure if this is the
Hi!
I have working at SourceForge.net project web space Drupal as CMS. I
have many modules installed related with email like Contact, Notify...
This modules never worked and I tried send an email from email php
function. I did it with:
?php
$to = myem...@gmail.com;
$subject = Hi!;
$body =
On Fri, Jan 16, 2009 at 10:36 AM, Sergio Jovani lese...@gmail.com wrote:
Hi!
I have working at SourceForge.net project web space Drupal as CMS. I
have many modules installed related with email like Contact, Notify...
This modules never worked and I tried send an email from email php
At 11:01 PM -0800 1/15/09, Lars Torben Wilson wrote:
2009/1/15 tedd tedd.sperl...@gmail.com:
You want to use mysql_num_rows() there instead of
mysql_affected_rows(). (Just a typo in this case, I suspect, but for
the benefit of the less experienced it's worth pointing out.)
For the newer PHP
Hi,
Thanks for replying. Adding From header did not solve the problem.
I'm thinking is a server limitation. Could it be?
2009/1/16 Thiago H. Pojda thiago.po...@gmail.com:
On Fri, Jan 16, 2009 at 10:36 AM, Sergio Jovani lese...@gmail.com wrote:
Hi!
I have working at SourceForge.net project
The next release of the Chisimba PHP5 framework is now available
(Chisimba-2.1.0).
Major enhancements included in this release are:
- Numerous enhancements to the database abstraction layer for increased
performance
- Numerous core bugfixes and enhancements
- Patch descriptions added in
-Original Message-
From: bruce [mailto:bedoug...@earthlink.net]
Sent: Thursday, January 15, 2009 12:18 PM
To: php-general@lists.php.net
Subject: [PHP] Looking for an app...
Hi List!
I know this is somewhat basic.. and I am searching google as I type!
I'm
looking for a
It is not the case that they are running your old PHP code.
Their messages may be passing through your filters.
Save one of them and try it yourself, with a lot of debug echo statements or
whatever you like.
They may be accessing your old PHP file still on your server, if you left it
Lars Torben Wilson wrote:
2009/1/15 tedd tedd.sperl...@gmail.com:
At 9:46 AM -0800 1/15/09, Chris Carter wrote:
Chris:
That's not the way I would do it. After establishing a connection with the
database, I would use the query:
$query SELECT email FROM owners WHERE email = '$emailAddress'
Hi,
Here is a code for PHP password sending. There is some strange thing
happening. This code DOES WORK but not always. So I might be able to get the
password in my mailbox once but not always. What could be wrong.
?
// database information
$host = 'xxx';
$user = 'xxx';
Chris Carter wrote:
There must be something that I am doing wrong. Otherwise I could have always
gotten the password in my mailbox. Please help.
when the php mail function sends an email, there is a brief time while
the connection to the mail server resets, if you hit again in this time
$result = mysql_query($query) or die(mysql_error());
You know guys, after seeing all this talk of sql injection over the
past few days, I'd also like to point out or die is pretty bad too.
Especially when coupled with mysql_error(). It can expose sensitive
system info (security vuln) when a
Eric Butera wrote:
$result = mysql_query($query) or die(mysql_error());
You know guys, after seeing all this talk of sql injection over the
past few days, I'd also like to point out or die is pretty bad too.
Especially when coupled with mysql_error(). It can expose sensitive
system info
-Original Message-
From: farn...@googlemail.com [mailto:farn...@googlemail.com] On Behalf
Of Edmund Hertle
Sent: Thursday, January 15, 2009 4:13 PM
To: PHP - General
Subject: [PHP] Parsing HTML href-Attribute
Hey,
I want to parse a href-attribute in a given String to check if
Dear Friends,
I am planning to launch a Vertical Jobs Search Engine (Ref: www.linkup.com and
www.indeed.com) which crawls, spiders and Indexes the job listings.
I have com across couple of open sources like Nutch and Lucene which are very
compatable for Java. But, I would like to know similiar
On Fri, Jan 16, 2009 at 1:03 PM, Neil Rosewarm neil_rosew...@yahoo.com wrote:
Dear Friends,
I am planning to launch a Vertical Jobs Search Engine (Ref: www.linkup.com
and www.indeed.com) which crawls, spiders and Indexes the job listings.
I have com across couple of open sources like Nutch
Boyd, Todd M. wrote:
-Original Message-
From: farn...@googlemail.com [mailto:farn...@googlemail.com] On Behalf
Of Edmund Hertle
Sent: Thursday, January 15, 2009 4:13 PM
To: PHP - General
Subject: [PHP] Parsing HTML href-Attribute
Hey,
I want to parse a href-attribute in a given
On Thu, Jan 15, 2009 at 5:13 PM, Edmund Hertle
edmund.her...@student.kit.edu wrote:
Hey,
I want to parse a href-attribute in a given String to check if there is a
relative link and then adding an absolute path.
Example:
$string = 'a class=sample [...additional attributes...]
On Fri, Jan 16, 2009 at 10:54 AM, Eric Butera eric.but...@gmail.com wrote:
You could also use DOM for this.
http://us2.php.net/manual/en/domdocument.getelementsbytagname.php
only if it's parseable xml :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Fri, Jan 16, 2009 at 10:58 AM, mike mike...@gmail.com wrote:
only if it's parseable xml :)
Or not! Ignore me. Supposedly this can handle HTML too. I'll have to
try it next time. Normally I wind up having to use tidy to scrub a
document and try to get it into xhtml and then use simplexml. I
On Fri, Jan 16, 2009 at 1:59 PM, mike mike...@gmail.com wrote:
On Fri, Jan 16, 2009 at 10:58 AM, mike mike...@gmail.com wrote:
only if it's parseable xml :)
Or not! Ignore me. Supposedly this can handle HTML too. I'll have to
try it next time. Normally I wind up having to use tidy to scrub
On Fri, Jan 16, 2009 at 13:35, chandan9sha...@yahoo.com wrote:
Hi Daniel,
Thanks for your help, I appreciate it.
My pleasure, Chris. Please keep all replies on-list, though, so
that others from the list - and, for the future, in the archives - can
benefit from the discussion.
I went
Shawn McKenzie wrote:
Boyd, Todd M. wrote:
-Original Message-
From: farn...@googlemail.com [mailto:farn...@googlemail.com] On Behalf
Of Edmund Hertle
Sent: Thursday, January 15, 2009 4:13 PM
To: PHP - General
Subject: [PHP] Parsing HTML href-Attribute
Hey,
I want to parse a
Here's a little recursion problem I'd like some input on - the task, to
remove recursion from this little set of 3 classes, without removing any
functionality.
more classes and interfaces can be added - if I get a solution I'll mail
it in.
additional question.. quite sure this isn't
Nathan Rixham wrote:
Here's a little recursion problem I'd like some input on - the task, to
remove recursion from this little set of 3 classes, without removing any
functionality.
to be very specific; the problem is caused by a serializer (which cannot
change); now this serializer calls
-Original Message-
From: Shawn McKenzie [mailto:nos...@mckenzies.net]
Sent: Friday, January 16, 2009 1:08 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Parsing HTML href-Attribute
Shawn McKenzie wrote:
Boyd, Todd M. wrote:
-Original Message-
From:
On January 16, 2009 14:45:13 Nathan Rixham wrote:
Nathan Rixham wrote:
Here's a little recursion problem I'd like some input on - the task, to
remove recursion from this little set of 3 classes, without removing any
functionality.
to be very specific; the problem is caused by a serializer
-Original Message-
From: Robert Cummings [mailto:rob...@interjinn.com]
Sent: Friday, January 16, 2009 4:31 AM
To: Phil Ewington - iModel Ltd.
Cc: php-general@lists.php.net
Subject: Re: [PHP] preg_match_all question
On Fri, 2009-01-16 at 09:42 +, Phil Ewington - iModel Ltd.
Is there a way to check not only if a function exists, but also to
check that the number and types of parameters desired match a function
definition?
The reason being that additional options have been added in php 4 and
5 to various standard function calls, but I'm still running a php3 and
Boyd, Todd M. wrote:
-Original Message- From: Shawn McKenzie
[mailto:nos...@mckenzies.net] Sent: Friday, January 16, 2009 1:08
PM To: php-general@lists.php.net Subject: Re: [PHP] Parsing HTML
href-Attribute
Shawn McKenzie wrote:
Boyd, Todd M. wrote:
-Original Message-
I believe the OP wanted to leave already-absolute paths alone
(i.e., only convert relative paths). The regex does not take into
account fully-qualified URLs (i.e.,
http://www.google.com/search?q=php) and it does not determine if a
given path is relative or absolute. He was wanting to take the
Matt Pagel wrote:
Is there a way to check not only if a function exists, but also to check
that the number and types of parameters desired match a function
definition?
The reason being that additional options have been added in php 4 and 5
to various standard function calls, but I'm still
-Original Message-
From: Shawn McKenzie [mailto:nos...@mckenzies.net]
Sent: Friday, January 16, 2009 2:37 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Parsing HTML href-Attribute
Hey, I want to parse a href-attribute in a given String to
check if
there
is a relative
-Original Message-
From: Boyd, Todd M. [mailto:tmbo...@ccis.edu]
Sent: Friday, January 16, 2009 2:13 PM
To: php-general@lists.php.net
Subject: RE: [PHP] preg_match_all question
-Original Message-
From: Robert Cummings [mailto:rob...@interjinn.com]
Sent: Friday, January
Matt Pagel wrote:
Is there a way to check not only if a function exists, but also to check
that the number and types of parameters desired match a function
definition?
The reason being that additional options have been added in php 4 and 5
to various standard function calls, but I'm still
* http://www.google.com/search?q=php ... absolute path (yes, it's a URL,
but treat it as absolute)
* https://www.example.com/index.php ... absolute path (yes, it's a URL,
but to the local server)
* /index.php ... absolute path (no protocol given, true absolute path)
* index.php ... relative
Philip Graham wrote:
On January 16, 2009 14:45:13 Nathan Rixham wrote:
Nathan Rixham wrote:
Here's a little recursion problem I'd like some input on - the task, to
remove recursion from this little set of 3 classes, without removing any
functionality.
to be very specific; the problem is
This one time, at band camp, mike mike...@gmail.com wrote:
On Fri, Jan 16, 2009 at 10:58 AM, mike mike...@gmail.com wrote:
only if it's parseable xml :)
Or not! Ignore me. Supposedly this can handle HTML too. I'll have to
try it next time. Normally I wind up having to use tidy to scrub
This one time, at band camp, Eric Butera eric.but...@gmail.com wrote:
You could also use DOM for this.
http://us2.php.net/manual/en/domdocument.getelementsbytagname.php
http://www.phpro.org/examples/Get-Links-With-DOM.html
Kevin
--
PHP General Mailing List (http://www.php.net/)
To
Edmund Hertle wrote:
* http://www.google.com/search?q=php ... absolute path (yes, it's a URL,
but treat it as absolute)
* https://www.example.com/index.php ... absolute path (yes, it's a URL,
but to the local server)
* /index.php ... absolute path (no protocol given, true absolute path)
*
I need a script that will crawl a list of websites and download all .jpg,
.gif, .png files.
I can think of some ways how to start like, fopen() or maybe curl(). And it
downed on me I'd need to handle files writing over with the same name. And
it would be cool to save the full URL to the file in
Sam Smith wrote:
I need a script that will crawl a list of websites and download all .jpg,
.gif, .png files.
I can think of some ways how to start like, fopen() or maybe curl(). And it
downed on me I'd need to handle files writing over with the same name. And
it would be cool to save the
On Fri, Jan 16, 2009 at 6:18 PM, Kevin Waterson ke...@phpro.org wrote:
This one time, at band camp, Eric Butera eric.but...@gmail.com wrote:
You could also use DOM for this.
http://us2.php.net/manual/en/domdocument.getelementsbytagname.php
port23user wrote:
I have a site (done in CodeIgniter) where users can upload pictures. When
they upload a picture, I want to rotate it (rotating is optional, depending
on how much cpu/ram I end up needing), resize it, and create a thumbnail.
Right now I'm doing it all in that order using GD,
On Fri, Jan 16, 2009 at 5:38 PM, Al n...@ridersite.org wrote:
Imagick class. Has more image manipulating functions than you'll ever use.
You name, and there's function to do it.
http://pecl.php.net/package/imagick/
it's very cool, although it does coredump often enough to where i had
to
51 matches
Mail list logo