[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] [/code] Outputs these error messages: http://pastebin.com/ZKtyELT1 But this code: [code] [/code] Returns "bool(true)" Looking at these docs: http://pear.php.net/manual/en/installation.checking.php ... it says: "In every case, PEAR's p

[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 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 system's timezone settin

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 wrote: > On Fri, May 27, 2011 at 10:27 AM, Micky Hulse > 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 d

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 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 > 'America/Chicago'. See the

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 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 Mail_Mime/mime.php that was

Re: [PHP] phpsadness

2011-05-27 Thread David Harkness
On Fri, May 27, 2011 at 12: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 > Some points are valid, but many others show a lack of understanding of PHP and OOP in g

Re: [PHP] phpsadness

2011-05-27 Thread Richard Quadling
On 27 May 2011 20:52, 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 WOW. That's a LOT of unhappiness. http://twitter.com/#!/topaz2078/status/73982006681276416 -- Rich

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 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 >> and I certainly share in his frustration. >> >> http://www.phpsadness.com >> > > What a whiner! > > Many of the t

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. Su

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 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 and I certainly shar

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

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

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

Re: [PHP] phpsadness

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

Re: [PHP] Detecting HTTPS connections under Apache

2011-05-27 Thread Curtis Maurand
$_SERVER['HTTPS'] --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 application which has a function for redirecting to a given URL. This is generally used for red

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

[PHP] about getting a site

2011-05-27 Thread Negin Nickparsa
if i don't have any site can i share my php files in somewhere 4 free? if yes, what u suggest?

Re: [PHP] about getting a site

2011-05-27 Thread Joshua Kehn
On May 28, 2011, at 2:18 AM, Negin Nickparsa wrote: > if i don't have any site can i share my php files in somewhere 4 free? > if yes, what u suggest? Nergin- Several small points. 1. Use correct punctuation. Use capitalization. 2. Don't use phrases like "what u suggest" or "somewhere 4 free"

Re: [PHP] about getting a site

2011-05-27 Thread Sharl.Jimh.Tsin
On 2011年05月28日 14:18, Negin Nickparsa wrote: if i don't have any site can i share my php files in somewhere 4 free? if yes, what u suggest? here,or try googlecode. -- Best regards, Sharl.Jimh.Tsin (From China *Obviously Taiwan INCLUDED*) Using Gmail? Please read this important notice: http:/

Re: [PHP] about getting a site

2011-05-27 Thread Negin Nickparsa
*Joshua You are right,I **apologize**.*

Re: [PHP] about getting a site

2011-05-27 Thread Negin Nickparsa
thanks Sharl,I'll study it Joshua,Yes,I mean host and Run