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 > http:/

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 dif

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

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 t

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

2009-10-23 Thread Andrea Giammarchi
> 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 process, such as in the case of included libraries of functions. uhm, right, I guess APD then: http://uk3.php.net/manual/en/book.apd.php Reg

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 wrote: > > > 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 process, such as

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 us

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, mysq

Re: [PHP] Fedora 11 PHP install problems

2009-10-23 Thread Israel Ekpo
On Fri, Oct 23, 2009 at 11:54 AM, Ashley Sheridan wrote: > 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 bui

[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 doe

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 > wrote: > > Hiya, > > I know this isn't the best place to ask, but I figured enough > people > here would have at some point installed PHP

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") > > Th

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 wrote: > 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

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 > wrote: > > > On Fri, 2009-10-23 at 13:19 -0400, Israel Ekpo wrote: > > > >

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Brad Fuller
On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan wrote: > 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

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 > wrote: > > > 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 a

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Israel Ekpo
On Fri, Oct 23, 2009 at 1:48 PM, Ashley Sheridan wrote: > On Fri, 2009-10-23 at 13:45 -0400, Brad Fuller wrote: > > > On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan > > wrote: > > > > > On Fri, 2009-10-23 at 13:23 -0400, Brad Fuller wrote: > > > > > > I'm looking for a regular expression to acc

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Brad Fuller
On Fri, Oct 23, 2009 at 1:48 PM, Ashley Sheridan wrote: > On Fri, 2009-10-23 at 13:45 -0400, Brad Fuller wrote: > > On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan > wrote: > > > On Fri, 2009-10-23 at 13:23 -0400, Brad Fuller wrote: > > > > I'm looking for a regular expression to accomplish a s

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Brad Fuller
On Fri, Oct 23, 2009 at 1:54 PM, Israel Ekpo wrote: > > > On Fri, Oct 23, 2009 at 1:48 PM, Ashley Sheridan > wrote: >> >> On Fri, 2009-10-23 at 13:45 -0400, Brad Fuller wrote: >> >> > On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan >> > wrote: >> > >> > >  On Fri, 2009-10-23 at 13:23 -0400, Brad

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 mysql_clo

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 u

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 th

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 hyph

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 h

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

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 connecti