php-general Digest 1 Nov 2010 06:56:10 -0000 Issue 7015

2010-11-01 Thread php-general-digest-help
php-general Digest 1 Nov 2010 06:56:10 - Issue 7015 Topics (messages 309172 through 309190): Re: questions about if statements regarding a checkbox 309172 by: admin.buskirkgraphics.com 309177 by: tedd 309182 by: Ben Brentlinger 309183 by: Ben Brentlinger

Re: [PHP] Fwd: Mail delivery failed: returning message to sender

2010-11-01 Thread Ashley Sheridan
On Sun, 2010-10-31 at 20:06 -0500, Tamara Temple wrote: Is this something I need to worry about?? Is my mail sending some malware?? Begin forwarded message: From: Mail Delivery Subsystem mailer-dae...@immosky.ch Date: October 31, 2010 7:37:54 PM CDT To: Tamara Temple

Re: [PHP] Fwd: Mail delivery failed: returning message to sender

2010-11-01 Thread Ben Brentlinger
it could be that the person whom you tried email has reached the quota on their inbox. It's also possible that the person you tried emailing gave you a fake email address and it's also possible that your domain might be hosted on a cheap hosting account with a company that has been known for

Re: [PHP] Fwd: Mail delivery failed: returning message to sender

2010-11-01 Thread a...@ashleysheridan.co.uk
It's not to do with hosting, its an auto reply when you email sascha.braun which gave the same aware reply to me, and I'm on a Linux box at home! Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Ben Brentlinger b...@benbrent.com Date: Mon, Nov 1, 2010 08:29 Subject:

Re: [PHP] Fwd: Mail delivery failed: returning message to sender

2010-11-01 Thread Ben Brentlinger
her inbox is probably full than On 11/1/2010 5:30, a...@ashleysheridan.co.uk wrote: It's not to do with hosting, its an auto reply when you email sascha.braun which gave the same aware reply to me, and I'm on a Linux box at home! Thanks, Ash http://www.ashleysheridan.co.uk - Reply

Re: [PHP] Fwd: Mail delivery failed: returning message to sender

2010-11-01 Thread TR Shaw
It looks like someone is using a very old copy of the winnow unofficial clamav files. There was a pastie that contained a zeus injection some time ago but it has been removed and the former signature was removed from our database at that time. Tom Begin forwarded message: From: Tamara

Re: [PHP] a question about user and permission on linux

2010-11-01 Thread Daniel P. Brown
On Sun, Oct 31, 2010 at 13:50, Ryan Sun ryansu...@gmail.com wrote: which user it is executed as when request a php script on browser?(suppose we are on a shared LAMP hosting) Find out: ?php echo trim(`whoami`); ? -- /Daniel P. Brown Dedicated Servers, Cloud and Cloud Hybrid

Re: [PHP] Fwd: Mail delivery failed: returning message to sender

2010-11-01 Thread David McGlone
On Mon, 2010-11-01 at 04:29 -0400, Ben Brentlinger wrote: it could be that the person whom you tried email has reached the quota on their inbox. It's also possible that the person you tried emailing gave you a fake email address and it's also possible that your domain might be hosted on a

Re: [PHP] Fwd: Mail delivery failed: returning message to sender

2010-11-01 Thread Daniel P. Brown
On Sun, Oct 31, 2010 at 21:06, Tamara Temple tamouse.li...@gmail.com wrote: Is this something I need to worry about?? Is my mail sending some malware?? No, you're safe in this case. sascha.br...@immosky.ch   (reason: 550 This message contains malware

Re: [PHP] Fwd: Mail delivery failed: returning message to sender

2010-11-01 Thread Daniel P. Brown
On Mon, Nov 1, 2010 at 04:29, Ben Brentlinger b...@benbrent.com wrote: should be ok.  If you do, though, and you're not sure who to switch to, I'd recommend hostgator http://secure.hostgator.com/%7Eaffiliat/cgi-bin/affiliates/clickthru.cgi?id=?php echo

[PHP] updating sub-request parameters

2010-11-01 Thread Daniela Floroiu
hi, I need to make an apache sub-request like: virtual('.../script.php?param1=val1param2=val2...'); where the parameters are different from the parameters of the original request. I tried to set param1 and param2 in $_GET, $_REQUEST, $_SERVER['QUERY_STRING'] but without success: what

[PHP] Implementing optional methods in a concrete class, but calling them from an abstract class.

2010-11-01 Thread Richard Quadling
Hi. I have an abstract base class (call it genericServiceHandler). I have concrete classes (FaxService, EmailService). The genericServiceHandler is watching for commands from an external source. The commands will always be one of a fixed set, no matter what the concrete service is. They are

Re: [PHP] Implementing optional methods in a concrete class, but calling them from an abstract class.

2010-11-01 Thread Nathan Nobbe
On Mon, Nov 1, 2010 at 9:13 AM, Richard Quadling rquadl...@gmail.comwrote: Hi. I have an abstract base class (call it genericServiceHandler). I have concrete classes (FaxService, EmailService). The genericServiceHandler is watching for commands from an external source. The commands will

Re: [PHP] Implementing optional methods in a concrete class, but calling them from an abstract class.

2010-11-01 Thread Richard Quadling
On 1 November 2010 16:27, Nathan Nobbe quickshif...@gmail.com wrote: On Mon, Nov 1, 2010 at 9:13 AM, Richard Quadling rquadl...@gmail.com wrote: Hi. I have an abstract base class (call it genericServiceHandler). I have concrete classes (FaxService, EmailService). The

[PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread crrrrrrr errrrrrr
Hello, I was trying to create a socket connection from a Solaris machine to a Red Hat machine to get the PATH in Red Hat machine remotely on Solaris machine and display it to the user. We have a PHP 5.1.6 installation on a Linux server (Apache) and PHP 5.2.6. on a Unix(Solaris) server(Apache) .

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Bastien Koert
On Mon, Nov 1, 2010 at 12:40 PM, crrr errr r.suy...@gmail.com wrote: Hello, I was trying to create a socket connection from a Solaris machine to a Red Hat machine  to get the PATH in Red Hat machine remotely on Solaris machine and display it to the user. We have a PHP 5.1.6

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread crrrrrrr errrrrrr
Yes, the phpinfo() shows that sockets are enabled in both machines. On Mon, Nov 1, 2010 at 12:43 PM, Bastien Koert phps...@gmail.com wrote: On Mon, Nov 1, 2010 at 12:40 PM, crrr errr r.suy...@gmail.com wrote: Hello, I was trying to create a socket connection from a Solaris machine

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Nicholas Kell
On Nov 1, 2010, at 11:44 AM, crrr errr wrote: Yes, the phpinfo() shows that sockets are enabled in both machines. On Mon, Nov 1, 2010 at 12:43 PM, Bastien Koert phps...@gmail.com wrote: On Mon, Nov 1, 2010 at 12:40 PM, crrr errr r.suy...@gmail.com wrote: Hello, I was

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread crrrrrrr errrrrrr
Yes, the http ( Apache user) has rl ( read permission) on the php file with sockets code in it. I think write access is unnecessary for Apache user. On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell n...@monkeyknight.comwrote: On Nov 1, 2010, at 11:44 AM, crrr errr wrote: Yes, the

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Nicholas Kell
On Nov 1, 2010, at 12:08 PM, crrr errr wrote: Yes, the http ( Apache user) has rl ( read permission) on the php file with sockets code in it. I think write access is unnecessary for Apache user. On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell n...@monkeyknight.com wrote: On Nov

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Nicholas Kell
On Nov 1, 2010, at 12:08 PM, crrr errr wrote: Yes, the http ( Apache user) has rl ( read permission) on the php file with sockets code in it. I think write access is unnecessary for Apache user. On Mon, Nov 1, 2010 at 12:50 PM, Nicholas Kell n...@monkeyknight.comwrote: On Nov

Re: [PHP] Implementing optional methods in a concrete class, but calling them from an abstract class.

2010-11-01 Thread Andrew Ballard
On Mon, Nov 1, 2010 at 11:13 AM, Richard Quadling rquadl...@gmail.com wrote: Hi. I have an abstract base class (call it genericServiceHandler). I have concrete classes (FaxService, EmailService). The genericServiceHandler is watching for commands from an external source. The commands will

Re: [PHP] PHP sockets enabled but socket_create() gives an error callto undefined function

2010-11-01 Thread rek
I don't think the unix permission will cause a function undefined error. 於 2010年11月02日 01:08, crrr errr 提到: Yes, the http ( Apache user) has rl ( read permission) on the php file with sockets code in it. I think write access is unnecessary for Apache user. On Mon, Nov 1, 2010 at 12:50

Re: [PHP] PHP sockets enabled but socket_create() gives an error callto undefined function

2010-11-01 Thread Nicholas Kell
On Nov 1, 2010, at 12:36 PM, rek wrote: I don't think the unix permission will cause a function undefined error. 於 2010年11月02日 01:08, crrr errr 提到: Yes, the http ( Apache user) has rl ( read permission) on the php file with sockets code in it. I think write access is unnecessary

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Suyash R
No, sockets.so in not included in any of the machines php.ini file. However, I found that Linux machine's php.ini doesn't include sockets.so and sockets work fine on it but don't work on the Solaris machine. Is it required to be included only in Solaris? On Mon, Nov 1, 2010 at 1:41 PM, Nicholas

Re: [PHP] PHP sockets enabled but socket_create() gives an error call to undefined function

2010-11-01 Thread Nicholas Kell
On Nov 1, 2010, at 1:12 PM, Suyash R wrote: No, sockets.so in not included in any of the machines php.ini file. However, I found that Linux machine's php.ini doesn't include sockets.so and sockets work fine on it but don't work on the Solaris machine. Is it required to be included only

[PHP] OLE-DB to Pervasive

2010-11-01 Thread Richard Sharp
Hello, Does anyone have a way to connect to Pervasive DB. I cannot use ODBC, because I am on a 64 bit OS. Thanks Richard Sharp Database Administrator PH: 316-942-8604 ext 108

Re: [PHP] Implementing optional methods in a concrete class, but calling them from an abstract class.

2010-11-01 Thread David Harkness
On Mon, Nov 1, 2010 at 10:42 AM, Andrew Ballard aball...@gmail.com wrote: Right up to here, it sounded more like an interface than an abstract base class. I think there's an interface in there *and* a basic (HTTP? RPC?) implementation that receives and dispatches the messages. I would split

Re: [PHP] OLE-DB to Pervasive

2010-11-01 Thread Daniel P. Brown
On Mon, Nov 1, 2010 at 14:38, Richard Sharp rsh...@aerotecheng.org wrote: Hello,                Does anyone have a way to connect to Pervasive DB.  I cannot use ODBC, because I am on a 64 bit OS. That's the first I've heard of not being able to use ODBC on a 64-bit platform. Looks like

RE: [PHP] OLE-DB to Pervasive

2010-11-01 Thread Richard Sharp
I tried to look for the drive for pervasive but I couldn't find one for 64 bit. If there is one out that please let me know. Sorry I am very new to PHP, but is there a way to pull data from a data through the JDBC using PHP? -Original Message- From: paras...@gmail.com

[PHP] time zone ignored (both via ini or in code)

2010-11-01 Thread Dan Yost
Greetings, I've looked through a number of different archived threads (some rather heated) and samples as well, but clearly I'm just missing something. PHP 5.1.6 CentOS release 5.5 (Final) My server is in Central Time (US). We do observe DST. I noticed functions like strftime() display UTC

Re: [PHP] OLE-DB to Pervasive

2010-11-01 Thread Daniel P. Brown
On Mon, Nov 1, 2010 at 14:49, Richard Sharp rsh...@aerotecheng.org wrote: I tried to look for the drive for pervasive but I couldn't find one for 64 bit.  If there is one out that please let me know. That's beyond the scope of this list. You should contact the manufacturer for information

Re: [PHP] include html

2010-11-01 Thread Nathan Nobbe
On Sunday, October 31, 2010, a...@ashleysheridan.co.uk a...@ashleysheridan.co.uk wrote: This can only be done with javascript, as the iframe is client-side, which php knows nothing about. sounds to me like OP is building the page which will have the iframe in it which means this is totally

RE: [PHP] search is not case insensitive

2010-11-01 Thread Tommy Pham
-Original Message- From: a...@ashleysheridan.co.uk [mailto:a...@ashleysheridan.co.uk] Sent: Sunday, October 31, 2010 2:10 AM To: Dr Michael Daly; php-general@lists.php.net Subject: Re: [PHP] search is not case insensitive This isn't a php question but a mysql one. Take out the

Re: [PHP] include html

2010-11-01 Thread Karl DeSaulniers
I need to basically grab the source of the page as text. Then I can do a replace() on the link tag. Then insert the text into an Iframe. In theory, this I thought would be handled better server side. Is this possible? I think the problem I'm having is that the domain I'm requesting from is

RE: [PHP] search is not case insensitive

2010-11-01 Thread Tommy Pham
-Original Message- From: tedd [mailto:tedd.sperl...@gmail.com] Sent: Sunday, October 31, 2010 9:00 AM To: g...@holisticgp.com.au; php-general@lists.php.net Subject: Re: [PHP] search is not case insensitive At 3:47 PM +1100 10/31/10, Dr Michael Daly wrote: Hi Using a php search

Re: [PHP] time zone ignored (both via ini or in code)

2010-11-01 Thread Nathan Nobbe
On Mon, Nov 1, 2010 at 12:54 PM, Dan Yost yod...@gmail.com wrote: Greetings, I've looked through a number of different archived threads (some rather heated) and samples as well, but clearly I'm just missing something. PHP 5.1.6 CentOS release 5.5 (Final) My server is in Central Time

Re: [PHP] include html

2010-11-01 Thread Nathan Nobbe
On Mon, Nov 1, 2010 at 11:22 PM, Karl DeSaulniers k...@designdrumm.comwrote: I need to basically grab the source of the page as text. Then I can do a replace() on the link tag. Then insert the text into an Iframe. In theory, this I thought would be handled better server side. Is this possible?