[PHP] Need pro advice: Is Pear installed and/or setup correctly?

2011-05-27 Thread Micky Hulse
What do you think this means. This code: [code] ?php ini_set('display_errors', 1); error_reporting(E_ALL | E_STRICT); include_once('Mail.php'); include_once('Mail_Mime/mime.php'); ? [/code] Outputs these error messages:

[PHP] Re: Need pro advice: Is Pear installed and/or setup correctly?

2011-05-27 Thread Micky Hulse
On Fri, May 27, 2011 at 10:27 AM, Micky Hulse mickyhulse.li...@gmail.com wrote: Would it be safe for me to conclude that Pair is not setup properly? Haha, Pear the package, not the host. :D http://www.pair.com/ Typo. My bad. Also, what the heck does this mean: It is not safe to rely on the

Re: [PHP] Re: Need pro advice: Is Pear installed and/or setup correctly?

2011-05-27 Thread Philip Thompson
On Fri, May 27, 2011 at 1:36 PM, Micky Hulse mickyhulse.li...@gmail.comwrote: On Fri, May 27, 2011 at 10:27 AM, Micky Hulse mickyhulse.li...@gmail.com wrote: Would it be safe for me to conclude that Pair is not setup properly? Haha, Pear the package, not the host. :D http://www.pair.com/

Re: [PHP] Re: Need pro advice: Is Pear installed and/or setup correctly?

2011-05-27 Thread Micky Hulse
On Fri, May 27, 2011 at 12:06 PM, Philip Thompson philthath...@gmail.com wrote: The host is apparently using PHP 5.3 - this message started to appear in this version. Use date_default_timezone_set() somewhere in your code to explicitly set your timezone. I'm in the central US, so I use

Re: [PHP] Re: Need pro advice: Is Pear installed and/or setup correctly?

2011-05-27 Thread Micky Hulse
Looks like the host changed my include path: (include_path='.:/usr/lib/php:/usr/local/lib/php:/usr/local/lib/php/PEAR') I am still getting file not found include errors. I am guess that Mail.php and Mail_Mime/mime.php are extras that are not installed. This is my first time trying to use Pear.

[PHP] phpsadness

2011-05-27 Thread Daevid Vincent
A friend sent me this URL today. While amusing, he's got many valid points and I certainly share in his frustration. http://www.phpsadness.com

Re: [PHP] Re: Need pro advice: Is Pear installed and/or setup correctly?

2011-05-27 Thread Micky Hulse
On Fri, May 27, 2011 at 12:48 PM, Micky Hulse rgmi...@gmail.com wrote: Looks like the host changed my include path: I will probably ditch the whole Pear idea and use something else. Well, actually, it looks like having PEAR on the include path did help. Mail.php was found... It was

Re: [PHP] phpsadness

2011-05-27 Thread David Harkness
On Fri, May 27, 2011 at 12:52 PM, Daevid Vincent dae...@daevid.com wrote: A friend sent me this URL today. While amusing, he's got many valid points and I certainly share in his frustration. http://www.phpsadness.com Some points are valid, but many others show a lack of understanding of PHP

Re: [PHP] phpsadness

2011-05-27 Thread Richard Quadling
On 27 May 2011 20:52, Daevid Vincent dae...@daevid.com wrote: A friend sent me this URL today. While amusing, he's got many valid points and I certainly share in his frustration. http://www.phpsadness.com WOW. That's a LOT of unhappiness.

Re: [PHP] phpsadness

2011-05-27 Thread Robert Cummings
On 11-05-27 03:52 PM, Daevid Vincent wrote: A friend sent me this URL today. While amusing, he's got many valid points and I certainly share in his frustration. http://www.phpsadness.com What a whiner! Many of the things listed are things which give PHP character and history. Cheers, Rob.

Re: [PHP] phpsadness

2011-05-27 Thread Nathan Nobbe
On Fri, May 27, 2011 at 3:52 PM, Robert Cummings rob...@interjinn.comwrote: On 11-05-27 03:52 PM, Daevid Vincent wrote: A friend sent me this URL today. While amusing, he's got many valid points and I certainly share in his frustration. http://www.phpsadness.com What a whiner! Many of

RE: [PHP] Detecting HTTPS connections under Apache

2011-05-27 Thread Geoff Shang
On Thu, 26 May 2011, ad...@buskirkgraphics.com wrote: So when you echo $_SERVER['SERVER_PORT']; You get port 80 even if the url currently is https://www.yoursite.com ? Yes. If this is the case good luck. Because you have serious issues. OK. This on its own is not particularly helpful.

Re: [PHP] phpsadness

2011-05-27 Thread Robert Cummings
On 11-05-27 05:54 PM, Nathan Nobbe wrote: On Fri, May 27, 2011 at 3:52 PM, Robert Cummings rob...@interjinn.com mailto:rob...@interjinn.com wrote: On 11-05-27 03:52 PM, Daevid Vincent wrote: A friend sent me this URL today. While amusing, he's got many valid points

[PHP] Urgent help - Token Generation code!

2011-05-27 Thread Shreyas Agasthya
I am re-visiting the world of PHP after a really big hiatus and I am finding things veryslippery. Can someone please help me with the below code and let me know how I can print the token that is getting generated? I am using EasyPHP and I am trying to echo the $token but it wouldn't print

RE: [PHP] Urgent help - Token Generation code!

2011-05-27 Thread Jasper Mulder
From: lord_fa...@hotmail.com To: shreya...@gmail.com Subject: RE: [PHP] Urgent help - Token Generation code! Date: Sat, 28 May 2011 00:41:02 +0200 Date: Sat, 28 May 2011 03:56:26 +0530 From:

RE: [PHP] Urgent help - Token Generation code!

2011-05-27 Thread Jasper Mulder
From: shreya...@gmail.com To: lord_fa...@hotmail.com Subject: Re: [PHP] Urgent help - Token Generation code! Date: Sat, 28 May 2011 04:15:59 +0530 Jasper, Tried echoing $sToken but wouldn't work. Regards, Shreyas On 28-May-2011, at 4:11 AM,

Re: [PHP] phpsadness

2011-05-27 Thread Daniel Brown
On Fri, May 27, 2011 at 17:59, Robert Cummings rob...@interjinn.com wrote: It's common trait of whiners to give criticism but not take any :) Where's my Like button when I need it? -- /Daniel P. Brown Network Infrastructure Manager http://www.php.net/ -- PHP General Mailing List

Re: [PHP] Detecting HTTPS connections under Apache

2011-05-27 Thread Curtis Maurand
$_SERVER['HTTPS'] ?php if($_SERVER['HTTPS']){ echo 'you are secured'; }else{ echo 'you are not secured'; } ? --Curtis On 5/26/2011 3:37 PM, Geoff Shang wrote: Hi, Apologies if this is covered somewhere but I've searched fairly extensively and not found anything. I'm working on an

[PHP] What's up with Quercus?

2011-05-27 Thread Arnold Hesnod
Although I've been mostly using Java and Ruby in my professional software development work for the past decade or so, in the past two or three years I've started to do more and more PHP. I originally started using PHP because I needed to set-up and customize Drupal for a project. Although as