php-general Digest 23 Oct 2009 06:24:38 -0000 Issue 6405

2009-10-23 Thread php-general-digest-help
php-general Digest 23 Oct 2009 06:24:38 - Issue 6405 Topics (messages 299229 through 299248): Re: Trapping failure of file_get_contents() 299229 by: Robert Cummings 299230 by: Gerardo Benitez 299240 by: Marshall Burns Re: Spam opinions please 299231 by:

php-general Digest 23 Oct 2009 19:00:51 -0000 Issue 6406

2009-10-23 Thread php-general-digest-help
php-general Digest 23 Oct 2009 19:00:51 - Issue 6406 Topics (messages 299249 through 299274): Re: Spam opinions please 299249 by: Peter Ford 299252 by: Ashley Sheridan Re: Is there any way to get all the function name being called in a process? 299250 by: Andrea

Re: [PHP] php mail() function

2009-10-23 Thread kranthi
i faced the same problem quite a few times. the general email route is php script - sender smtp server - receiving mail server in your case path 2 is broken. meaning port 25 is blocked by your ISP the work around is: 1. see if your ISP provides you with an SMTP account that is not blocked (OR)

[PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Satya Narayan Singh
Hi, I am working on reverse engineering for a web project. I was trying to know that, is there any way(function by PHP, Zend, extension etc) to find out how many function has been called to perform a task. If no, can you suggest is it possible/feasible or not? Thanks in advance -- Satya

Re: [PHP] Spam opinions please

2009-10-23 Thread Peter Ford
Ashley Sheridan wrote: Won't stop a bot worth it's salt either, hence the need for more complex and confusing captchas. The best way to stop spam, is to use linguistic testing on the content being offered, which protects against bot and human spammer alike. Thanks, Ash

RE: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Andrea Giammarchi
http://uk3.php.net/manual/en/function.get-defined-functions.php get_defined_functions Regards Date: Fri, 23 Oct 2009 11:54:34 +0530 From: astra.sat...@gmail.com To: php-general@lists.php.net Subject: [PHP] Is there any way to get all the function name being called in aprocess?

Re: [PHP] input form save and display conflict

2009-10-23 Thread Ashley Sheridan
On Thu, 2009-10-22 at 21:32 -0400, PJ wrote: I have several input fields to update a book database. There seems to be a conflict in the way tags and text are input through php/mysql and phpMyAdmin. If I enter the data with phpMyAdmin the input fields in the php page see quotation marks

Re: [PHP] Spam opinions please

2009-10-23 Thread Ashley Sheridan
On Fri, 2009-10-23 at 08:55 +0100, Peter Ford wrote: Ashley Sheridan wrote: Won't stop a bot worth it's salt either, hence the need for more complex and confusing captchas. The best way to stop spam, is to use linguistic testing on the content being offered, which protects against

RE: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Ashley Sheridan
On Fri, 2009-10-23 at 10:27 +0200, Andrea Giammarchi wrote: http://uk3.php.net/manual/en/function.get-defined-functions.php get_defined_functions Regards Date: Fri, 23 Oct 2009 11:54:34 +0530 From: astra.sat...@gmail.com To: php-general@lists.php.net Subject: [PHP] Is there any way

Re: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Satya Narayan Singh
Thank a lot. APD is just doing what I was looking for. On Fri, Oct 23, 2009 at 5:13 PM, Andrea Giammarchi an_...@hotmail.comwrote: That won't do what the OP asked, it will just return a list of all the functions defined, which could be a lot more than is actually being used in a

Re: [PHP] php mail() function

2009-10-23 Thread John Black
Paul M Foster wrote: Regarding the rejection of dynamic IPs by smarthosts, are you saying that it's a blacklist of sorts that lets them know an IP is dynamic? (Serious question. I don't know the mechanism by which they determine what is and isn't a dynamic IP.) I run my own mail server and use

Re: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread kranthi
even APD is not up to the task xdebug trace http://devzone.zend.com/article/2871 is sufficient, but the output will be in a separate file. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php mail() function

2009-10-23 Thread Bob McConnell
From: Paul M Foster Regarding the rejection of dynamic IPs by smarthosts, are you saying that it's a blacklist of sorts that lets them know an IP is dynamic? (Serious question. I don't know the mechanism by which they determine what is and isn't a dynamic IP.) You are talking about two

Re: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Eddie Drapkin
There's xdebug, as mentioned, that'll do it as an extension. What you REALLY probably are looking for is http://php.net/debug_backtrace And what kind of reverse engineering would you be doing without reflection? ( http://php.net/reflection ) ;] -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Is there any way to get all the function name being called in a process?

2009-10-23 Thread Andrea Giammarchi
even APD is not up to the task xdebug trace http://devzone.zend.com/article/2871 is sufficient, but the output will be in a separate file. Thank a lot. APD is just doing what I was looking for. -- Satya Bangalore. Regards

[PHP] Fedora 11 PHP install problems

2009-10-23 Thread Ashley Sheridan
Hiya, I know this isn't the best place to ask, but I figured enough people here would have at some point installed PHP on some Linux variant, and I'm hoping that some of you may have even done it on Fedora 11. I'm using the built in gui package manager in Fedora (kpackagekit) to install php,

Re: [PHP] Fedora 11 PHP install problems

2009-10-23 Thread Israel Ekpo
On Fri, Oct 23, 2009 at 11:54 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Hiya, I know this isn't the best place to ask, but I figured enough people here would have at some point installed PHP on some Linux variant, and I'm hoping that some of you may have even done it on Fedora 11.

[PHP] regex pattern for extracting URLs

2009-10-23 Thread Brad Fuller
I'm looking for a regular expression to accomplish a specific task. I'm hoping someone who's really good at regex patterns can lend a quick hand. I need a regex pattern that will grab URLs out of HTML that have a certain link text. (i.e. the word Continue) This is what I have so far but it does

Re: [PHP] Fedora 11 PHP install problems

2009-10-23 Thread Ashley Sheridan
On Fri, 2009-10-23 at 13:19 -0400, Israel Ekpo wrote: On Fri, Oct 23, 2009 at 11:54 AM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Hiya, I know this isn't the best place to ask, but I figured enough people here would have at some point

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Jim Lucas
Brad Fuller wrote: I'm looking for a regular expression to accomplish a specific task. I'm hoping someone who's really good at regex patterns can lend a quick hand. I need a regex pattern that will grab URLs out of HTML that have a certain link text. (i.e. the word Continue) This is

Re: [PHP] Fedora 11 PHP install problems

2009-10-23 Thread Israel Ekpo
What about the error libphp5.so: undefined symbol: OnUpdateLong Are you still observing that error? On Fri, Oct 23, 2009 at 1:23 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Fri, 2009-10-23 at 13:19 -0400, Israel Ekpo wrote: On Fri, Oct 23, 2009 at 11:54 AM, Ashley Sheridan

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Ashley Sheridan
On Fri, 2009-10-23 at 13:23 -0400, Brad Fuller wrote: I'm looking for a regular expression to accomplish a specific task. I'm hoping someone who's really good at regex patterns can lend a quick hand. I need a regex pattern that will grab URLs out of HTML that have a certain link text.

Re: [PHP] Fedora 11 PHP install problems

2009-10-23 Thread Ashley Sheridan
On Fri, 2009-10-23 at 13:29 -0400, Israel Ekpo wrote: What about the error libphp5.so: undefined symbol: OnUpdateLong Are you still observing that error? On Fri, Oct 23, 2009 at 1:23 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Fri, 2009-10-23 at 13:19 -0400, Israel Ekpo

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Brad Fuller
On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Fri, 2009-10-23 at 13:23 -0400, Brad Fuller wrote: I'm looking for a regular expression to accomplish a specific task. I'm hoping someone who's really good at regex patterns can lend a quick hand. I need a

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Ashley Sheridan
On Fri, 2009-10-23 at 13:45 -0400, Brad Fuller wrote: On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Fri, 2009-10-23 at 13:23 -0400, Brad Fuller wrote: I'm looking for a regular expression to accomplish a specific task. I'm hoping someone who's

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Israel Ekpo
On Fri, Oct 23, 2009 at 1:48 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Fri, 2009-10-23 at 13:45 -0400, Brad Fuller wrote: On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Fri, 2009-10-23 at 13:23 -0400, Brad Fuller wrote: I'm

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Brad Fuller
On Fri, Oct 23, 2009 at 1:48 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Fri, 2009-10-23 at 13:45 -0400, Brad Fuller wrote: On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Fri, 2009-10-23 at 13:23 -0400, Brad Fuller wrote: I'm looking

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Brad Fuller
On Fri, Oct 23, 2009 at 1:54 PM, Israel Ekpo israele...@gmail.com wrote: On Fri, Oct 23, 2009 at 1:48 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2009-10-23 at 13:45 -0400, Brad Fuller wrote: On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan

Re: [PHP] Sessions seems to kill db connection

2009-10-23 Thread Kim Madsen
Kim Madsen wrote on 2009-10-22 17:51: Hi PHPeople I have an odd problem at my new work and wonder if it's some sort of odd setup that is causing this problem when using sessions: Like I said, my new work and odd setup, an include file had a mysql_close() in the bottom Speaking of

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Paul M Foster
On Fri, Oct 23, 2009 at 01:54:40PM -0400, Brad Fuller wrote: Thanks Ash you are awesome! Brad, you're violating list rules. We never say that kind of thing to Ash *where he can hear it*. Only behind his back. ;-} Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Ashley Sheridan
On Fri, 2009-10-23 at 15:17 -0400, Paul M Foster wrote: On Fri, Oct 23, 2009 at 01:54:40PM -0400, Brad Fuller wrote: Thanks Ash you are awesome! Brad, you're violating list rules. We never say that kind of thing to Ash *where he can hear it*. Only behind his back. ;-} Paul --

Re: [PHP] Fedora 11 PHP install problems

2009-10-23 Thread Kim Madsen
Ashley Sheridan wrote on 2009-10-23 19:29: On Fri, 2009-10-23 at 13:29 -0400, Israel Ekpo wrote: What about the error libphp5.so: undefined symbol: OnUpdateLong Are you still observing that error? [removed a bunch of old posting] Ashley, you quotefucker :-) Well, I'm not compiling from

Re: [PHP] How to pronounce PHP code over the phone?

2009-10-23 Thread Dotan Cohen
But I think for the OP's purposes, he could simply DEFINE any word he wanted at the beginning of the conversation: Listen up duder. When I say 'de-ref' you make hyphen and a greater-than sign. Capiche?. He could just as easily say, Listen up duder. When I say 'arrow-thingy' you make hyphen and

Re: [PHP] php mail() function

2009-10-23 Thread James Prentice
I found the mail server for my ISP (shawmail.vc.shawcable.net) and edited main.cf in the following manner: myhostname = shawcable.net relayhost = [shawmail.vc.shawcable.net] I still don't receive the mail from the PHP script though. The error log from /var/log/mail.log is this: Oct 23 21:00:31

Re: [PHP] php mail() function

2009-10-23 Thread kranthi
i never worked with postfix, but form my experience with hmail server i can say that you need to relay through a mail account of ISP(not the server itself) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php mail() function

2009-10-23 Thread Paul M Foster
On Fri, Oct 23, 2009 at 09:11:25PM -0700, James Prentice wrote: I found the mail server for my ISP (shawmail.vc.shawcable.net) and edited main.cf in the following manner: myhostname = shawcable.net relayhost = [shawmail.vc.shawcable.net] I still don't receive the mail from the PHP script

Re: [PHP] Sessions seems to kill db connection

2009-10-23 Thread kranthi
Db error: Access denied for user 'www-data'@'localhost' (using password: NO) WTF? I´m not using a user called www-data for MySQL connections, but apache runs as this user in the case where $test is true there is an open mysql connection, but when $test is false there is no open connection is