Re: [PHP] include html

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 12:50 AM, Karl DeSaulniers wrote: > > On Nov 2, 2010, at 12:37 AM, Nathan Nobbe wrote: > > On Mon, Nov 1, 2010 at 11:22 PM, Karl DeSaulniers >> wrote: >> I need to basically grab the source of the page as text. Then I can do a >> replace() on the tag. Then insert the text

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

2010-11-02 Thread Tamara Temple
On Nov 1, 2010, at 7:43 AM, Daniel P. Brown wrote: On Sun, Oct 31, 2010 at 21:06, Tamara Temple wrote: Is this something I need to worry about?? Is my mail sending some malware?? No, you're safe in this case. (reason: 550 This message contains malware (winnow.malware.wa.webinjecti

Re: [PHP] PHP for Android

2010-11-02 Thread Daniel P. Brown
On Tue, Nov 2, 2010 at 19:21, Daniel P. Brown wrote: > >    Yeah, I gave it a shot when it came out.  Didn't work well at all > for me, but I have a feeling that's more to do with the version of > Android that Verizon pushed out.  Our DROIDs became little better than > $300/mo. paperweights.

Re: [PHP] PHP for Android

2010-11-02 Thread Daniel P. Brown
On Tue, Nov 2, 2010 at 19:10, Daevid Vincent wrote: > http://www.slideshare.net/ivmos/phpforandroid-en Yeah, I gave it a shot when it came out. Didn't work well at all for me, but I have a feeling that's more to do with the version of Android that Verizon pushed out. Our DROIDs became littl

[PHP] PHP for Android

2010-11-02 Thread Daevid Vincent
http://www.slideshare.net/ivmos/phpforandroid-en

RE: [PHP] updating sub-request parameters

2010-11-02 Thread admin
So let me get this straight. Your script.php has all the passed variable positions of $_GET? Once it has passed you want to change the value? You can change the value of a $_GET very easy. If(isset($_GET['param1'])) { $_GET['param1'] == "no Chew"; } By changing the global value or using filters

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

2010-11-02 Thread Tamara Temple
On Nov 1, 2010, at 3:29 AM, 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 cheap

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

2010-11-02 Thread Daniel Brown
On Tue, Nov 2, 2010 at 18:44, Tamara Temple wrote: > > Ah, that does explain it, thanks. You bet. -- Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] updating sub-request parameters

2010-11-02 Thread Tamara Temple
On Nov 1, 2010, at 9:21 AM, Daniela Floroiu wrote: hi, I need to make an apache sub-request like: virtual('.../script.php?param1=val1¶m2=val2...'); where the parameters are different from the parameters of the original request. I tried to set param1 and param2 in $_GET, $_REQUEST, $_SERVE

[PHP] Re: HU2.PHP.NET

2010-11-02 Thread Daniel Brown
2010/11/2 "Bacsi Gábor // ENEXIS Kft." : > Hello Daniel, > > Thank you for the notice, fixed. Thanks, Gabor. I saw that you had upgraded to 5.2.14, and figured it was due to that. -- Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General Mailing L

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

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 2:33 PM, Suyash R wrote: > No, we didn't try it our dept.'s admin wants to know where is sockets.so > file on disk > lol, tell your dept.'s 'admin' to run locate sockets.so > and why should we try this when the phpinfo() displays sockets being > enabled? > probly there

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

2010-11-02 Thread Nicholas Kell
On Nov 2, 2010, at 3:23 PM, Suyash R wrote: > > No, our dept.'s admin wants to know where is sockets.so file on disk and why > should we try this when the phpinfo() displays sockets being enabled? > > Can help me find sockets.so file I don't know where it is It's a shared > object right are t

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

2010-11-02 Thread Suyash R
Sorry for the bad formatting and grammar in the previous mail. No, we didn't try it our dept.'s admin wants to know where is sockets.so file on disk and why should we try this when the phpinfo() displays sockets being enabled? Can you please help me find sockets.so file. I can't find it. It's a s

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

2010-11-02 Thread Suyash R
No, our dept.'s admin wants to know where is sockets.so file on disk and why should we try this when the phpinfo() displays sockets being enabled? Can help me find sockets.so file I don't know where it is It's a shared object right are they stored on disk as individual files or all together compil

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

2010-11-02 Thread Nicholas Kell
On Nov 2, 2010, at 2:50 PM, Suyash R wrote: > My admin disagrees and I have questions too. > > The phpinfo() fuction displays that sockets have been enabled. If > extension=sockets.so is an alternate way to enable sockets, then why should > this be done twice? > > Suyash Ramineni > On Mon, Nov

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

2010-11-02 Thread Suyash R
My admin disagrees and I have questions too. The phpinfo() fuction displays that sockets have been enabled. If extension=sockets.so is an alternate way to enable sockets, then why should this be done twice? Suyash Ramineni On Mon, Nov 1, 2010 at 2:35 PM, Nicholas Kell wrote: > > On Nov 1, 2010,

Re: [PHP] Password protected directory

2010-11-02 Thread Daniel P. Brown
On Tue, Nov 2, 2010 at 13:05, Ben Miller wrote: > I need to access and read the files in a password protected directory with a > PHP script using the readdir function.  I'm already making users login to a > secure area, so I don't want to make them enter a password again to access > the files - is

Re: [PHP] Password protected directory

2010-11-02 Thread Bastien Koert
On Tue, Nov 2, 2010 at 1:05 PM, Ben Miller wrote: > I need to access and read the files in a password protected directory with a > PHP script using the readdir function.  I'm already making users login to a > secure area, so I don't want to make them enter a password again to access > the files -

[PHP] Password protected directory

2010-11-02 Thread Ben Miller
I need to access and read the files in a password protected directory with a PHP script using the readdir function. I'm already making users login to a secure area, so I don't want to make them enter a password again to access the files - is there a way to include the password with the readdir/ope

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

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 11:37 AM, Nathan Nobbe wrote: > dude at this point i dont want to sound too much like a troll, but php 5.1 > is some really old software.  frankly this is why i chose not to run on > centos during my evaluation of it.  i understand the concept behind running > proven stable

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

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 10:37 AM, Nathan Nobbe wrote: > dude at this point i dont want to sound too much like a troll, but php 5.1 > is some really old software. frankly this is why i chose not to run on > centos during my evaluation of it. i understand the concept behind running > proven stable

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

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 10:11 AM, Dan Yost wrote: > On Tue, Nov 2, 2010 at 11:02 AM, Nathan Nobbe > wrote: > >> >> > >> >> So now I suppose the thread becomes: how do I get a valid US/Central > >> >> (America/Chicago) timezone in PHP5? > >> > > >> > give the timezonedb extension a shot > >> > htt

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

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 11:02 AM, Nathan Nobbe wrote: >> >> >> >> So now I suppose the thread becomes: how do I get a valid US/Central >> >> (America/Chicago) timezone in PHP5? >> > >> > give the timezonedb extension a shot >> > http://pecl.php.net/package/timezonedb >> >> >> Tried it, no change. I

RE: [PHP] search is not case insensitive

2010-11-02 Thread Tommy Pham
> -Original Message- > From: tedd [mailto:tedd.sperl...@gmail.com] > Sent: Tuesday, November 02, 2010 8:09 AM > To: Tommy Pham; g...@holisticgp.com.au; php-general@lists.php.net > Subject: RE: [PHP] search is not case insensitive > > At 10:23 PM -0700 11/1/10, Tommy Pham wrote: > > >

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

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 8:44 AM, Dan Yost wrote: > On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe > wrote: > > On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost wrote: > >> > >> So now I suppose the thread becomes: how do I get a valid US/Central > >> (America/Chicago) timezone in PHP5? > > > > give the ti

RE: [PHP] search is not case insensitive

2010-11-02 Thread tedd
At 10:23 PM -0700 11/1/10, Tommy Pham wrote: > -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, D

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

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 9:19 AM, Nathan Nobbe wrote: > On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost wrote: >> >> So now I suppose the thread becomes: how do I get a valid US/Central >> (America/Chicago) timezone in PHP5? > > give the timezonedb extension a shot > http://pecl.php.net/package/timezonedb

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

2010-11-02 Thread Nathan Nobbe
On Tue, Nov 2, 2010 at 7:52 AM, Dan Yost wrote: > > > So now I suppose the thread becomes: how do I get a valid US/Central > (America/Chicago) timezone in PHP5? > give the timezonedb extension a shot http://pecl.php.net/package/timezonedb -nathan

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

2010-11-02 Thread Dan Yost
On Tue, Nov 2, 2010 at 12:29 AM, Nathan Nobbe wrote: > a few thoughts, > 1. set error_reporting to E_ALL to see if the engine is trying to tell you > something you may be overlooking Sorry, failed to mention that I did this, and it says nothing. > 2. for grins, maybe see if the TZ environment

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

2010-11-02 Thread Steve Staples
On Tue, 2010-11-02 at 11:10 +, Nathan Rixham wrote: > Ben Brentlinger wrote: > > it could be that you tried a cheap hosting account with a company that > > have a bulk mailing script meant for sending spam. I can imagine a spammer > > hijacking your site to send malware from it, one of the more

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

2010-11-02 Thread Nathan Rixham
Ben Brentlinger wrote: it could be that you tried a cheap hosting account with a company that have a bulk mailing script meant for sending spam. I can imagine a spammer hijacking your site to send malware from it, one of the more likely possibilities especially if you have a hosting account with

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

2010-11-02 Thread Nathan Rixham
Richard Quadling wrote: Hi. I have an abstract base class (call it genericServiceHandler). I have concrete classes (FaxService, EmailService). ... What would you all do? If you've got fixed logic then just add all the onStart onPause and similar methods to the abstract class, stub them to ac