On Fri, Jan 16, 2009 at 5:38 PM, Al 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 switch back to using
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 6:18 PM, Kevin Waterson wrote:
> This one time, at band camp, Eric Butera 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
>
> --
>
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 t
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 a
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 pa
This one time, at band camp, Eric Butera 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 unsubscribe, visit: ht
This one time, at band camp, mike wrote:
> On Fri, Jan 16, 2009 at 10:58 AM, mike 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 g
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 caused
>
> * 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 ... re
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 st
> -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: Frid
> -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
> >> t
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 run
>> 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
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:
> -Orig
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
> -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 L
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 se
> -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
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 th
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 actually
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,
On Fri, Jan 16, 2009 at 13:35, 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 through the entire instr
On Fri, Jan 16, 2009 at 1:59 PM, mike wrote:
> On Fri, Jan 16, 2009 at 10:58 AM, mike 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 ge
On Fri, Jan 16, 2009 at 10:58 AM, mike 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 wonder
how well
On Fri, Jan 16, 2009 at 10:54 AM, Eric Butera 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: http://www.php.net/unsub.php
On Thu, Jan 15, 2009 at 5:13 PM, Edmund Hertle
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 = ' href="/foo/bar.php" >';
>
> I tried using regular expressions but my knowledge of R
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-attr
On Fri, Jan 16, 2009 at 1:03 PM, Neil Rosewarm 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 and Lucene which a
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
> -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 ch
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 (secur
> $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 sim
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
it'l
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.
";
$messages= "Hi \n\n Your password for login to our website is
retrieved.\n\n"
Lars Torben Wilson wrote:
> 2009/1/15 tedd :
>> 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' ":
>>
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
be
> -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 f
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 modul
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 :
> On Fri, Jan 16, 2009 at 10:36 AM, Sergio Jovani wrote:
>>
>> Hi!
>>
>> I have working at SourceForge.net project web space Drupal as CMS. I
>>
At 11:01 PM -0800 1/15/09, Lars Torben Wilson wrote:
2009/1/15 tedd :
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 users, mysql_num_rows() tel
On Fri, Jan 16, 2009 at 10:36 AM, Sergio Jovani 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
> function. I did it
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:
Message successfully sent!");
} else {
echo("Message deliv
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
>
> Hi there, I'm not sure if this is the same problem b
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 l
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 include
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?
preg_match_all("/\{\{lang:(.*)
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';
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:
> > >
>
> > > >
> > > >The pages are s
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 maint
51 matches
Mail list logo