Re: [PHP] Re: strtotime

2010-10-18 Thread Tamara Temple
On Oct 17, 2010, at 9:57 PM, Tommy Pham wrote: -Original Message- From: Tamara Temple [mailto:tamouse.li...@gmail.com] On Oct 17, 2010, at 2:34 PM, John Taylor-Johnston wrote: Here is another nifty piece of code I found. How does this work? What is 31556926? Number of second in a

Re: [PHP] Re: strtotime

2010-10-18 Thread Richard Quadling
On 17 October 2010 20:34, John Taylor-Johnston john.taylor-johns...@cegepsherbrooke.qc.ca wrote: Yaay, I'm 45 now :). Happy Birthday. ;-) -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To

[PHP] Formatting an ECHO statement.

2010-10-18 Thread Shreyas Agasthya
Team, A bit of silly one but like my book says, there are no dumb questions, I am asking it here. If I have : $other=Whatever; and I do: echo 'Other Comments:' .$other. 'br/ works perfectly well and prints the value. What if I want to, now, italicize the value of $other with the above

RE: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Ford, Mike
-Original Message- From: Shreyas Agasthya [mailto:shreya...@gmail.com] Sent: 18 October 2010 11:10 A bit of silly one but like my book says, there are no dumb questions, I am asking it here. If I have : $other=Whatever; and I do: echo 'Other Comments:' .$other. 'br/

Re: [PHP] Re: Zip files: generate text file in archive on the fly

2010-10-18 Thread Steve Staples
On Sun, 2010-10-17 at 17:22 -0700, Justin Martin wrote: On 10-10-17 03:55 PM, Dotan Cohen wrote: I need to provide a download of a zip archive containing three files. This is fairly straightforward in PHP so long as one is working with files that already exist. However, I need to customise

[PHP] mytr...@mail.us auto responder

2010-10-18 Thread Steve Staples
I think I recall seeing a post about this earlier, but can this PLEASE get removed, or use an email account that doesn't require me to be friends with you?? Granted, a simple reply would get rid of it, but why use an account that requires authorization in the first place? snipped at english

[PHP] work online

2010-10-18 Thread Jordan Jovanov
Hello Everybody, Does somebody know company for PHP programing where people can work from home? Actual I only want to know does have regular or part time job for PHP developers who work from home via internet. Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] Questions from a Newbie

2010-10-18 Thread Tommy Pham
-Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Sunday, October 17, 2010 9:46 PM To: php-general@lists.php.net Subject: Re: [PHP] Questions from a Newbie On Sun, Oct 17, 2010 at 01:00:44AM -0400, Ethan Rosenberg wrote: Dear List - Here are some

RE: [PHP] mytr...@mail.us auto responder

2010-10-18 Thread Ethan Rosenberg
At 12:07 PM 10/18/2010, Tommy Pham wrote: -Original Message- From: Steve Staples [mailto:sstap...@mnsi.net] Sent: Monday, October 18, 2010 6:59 AM To: php-general Subject: [PHP] mytr...@mail.us auto responder I think I recall seeing a post about this earlier, but can this PLEASE

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread tedd
At 9:47 AM -0400 10/18/10, Steve Staples wrote: or create a style sheet, with a class definition for italic. Steve. +1 The best practices way to do it. Don't style output in an echo statement, but rather put styling in a css sheet, It's much cleaner there. Cheers, tedd -- ---

RE: [PHP] mytr...@mail.us auto responder

2010-10-18 Thread Tommy Pham
-Original Message- From: Ethan Rosenberg [mailto:eth...@earthlink.net] Sent: Monday, October 18, 2010 9:40 AM To: Tommy Pham; sstap...@mnsi.net; 'php-general' Subject: RE: [PHP] mytr...@mail.us auto responder At 12:07 PM 10/18/2010, Tommy Pham wrote: -Original Message-

Re: [PHP] Error message not understood

2010-10-18 Thread sueandant
I'm running PHP as module with Apache. The version I downloaded was your [1], tho it wa version 5.2.14. When I downloaded and unzipped the files I had already installed MySql Ver 14.14 Distrib 5.1.51 for Win32(ia32). Thanks for the help. tholland - Original Message - From: Tommy

Re: [PHP] PDO working via Apache but not at the command line?

2010-10-18 Thread a...@ashleysheridan.co.uk
It's most likely because both cli and web modules are using different php.ini config files. See what the output of a phpinfo() call in both browser and command line. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Scott Baker bak...@canbytel.com Date: Mon, Oct 18,

Re: [PHP] PDO working via Apache but not at the command line?

2010-10-18 Thread Scott Baker
On 10/18/2010 02:17 PM, a...@ashleysheridan.co.uk wrote: It's most likely because both cli and web modules are using different php.ini config files. See what the output of a phpinfo() call in both browser and command line. I didn't even think about it parsing different php.ini files. Checking

RE: [PHP] Error message not understood

2010-10-18 Thread Tommy Pham
-Original Message- From: sueandant [mailto:hollandsath...@tiscali.co.uk] Sent: Monday, October 18, 2010 1:52 PM To: Tommy Pham Cc: 'PHP' Subject: Re: [PHP] Error message not understood I'm running PHP as module with Apache. The version I downloaded was your [1], tho it wa

[PHP] Re: [PDO] Re: [PHP] PDO working via Apache but not at the command line?

2010-10-18 Thread Wez Furlong
Things to check: - Environment: what env vars are set or not set in your Apache vs. CLI - Owner: are you running as the same user as your web server? - Do you or the web server have some kind of rc file that might impact how things run? Suggestion: Use sudo -u webserverusername -s to run a

[PHP] Re: [PDO] Re: [PHP] PDO working via Apache but not at the command line?

2010-10-18 Thread Scott Baker
On 10/18/2010 06:27 PM, Wez Furlong wrote: Things to check: - Environment: what env vars are set or not set in your Apache vs. CLI - Owner: are you running as the same user as your web server? - Do you or the web server have some kind of rc file that might impact how things run? Wez you're

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Cris S
At 13:03 18 10 10, a...@ashleysheridan.co.uk wrote: There's nothing wrong with using em as it indicates emphasised text, which is semantic. Use span tags with classes only when the content you're styling has no semantic alternative. strongimportant message/strong is much better for machines

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Cris S
At 15:12 18 10 10, Shreyas Agasthya wrote: Thanks all for their input. Some of the learnings from the thread : 1. i tag is getting deprecated. Not in HTML5. 2. Use em and strong Both? Read that shit again, buckwheat. And by that shit I do mean the standards, not what Joe Bloe told you.

[PHP] require_once

2010-10-18 Thread jim
I'm having a problem including files using Zend Framework. I have in a controller file this require_once models/Member.php; and it doesn't work ,nor does require_once ../models/Member.php; Anyone know what's going on with this? Jim W. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] require_once

2010-10-18 Thread 惠新宸
hi: print_r(get_include_path()); thanks; Best regards 惠新宸 Xinchen Hui http://www.laruence.com/ On 10/19/2010 10:46, jim wrote: I'm having a problem including files using Zend Framework. I have in a controller file this require_once models/Member.php; and it doesn't work ,nor does

[PHP] Re: [PDO] Re: [PHP] PDO working via Apache but not at the command line?

2010-10-18 Thread Stanley Sufficool
Sounds like the error message SQLSTATE[HY000] Unable to connect: Adaptive Server is unavailable or does not exist (severity 9) could be more informative, but I think this is returned by FreeTDS, not PDO. On Mon, Oct 18, 2010 at 7:35 PM, Scott Baker bak...@canbytel.com wrote: On 10/18/2010 06:27

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Paul M Foster
On Mon, Oct 18, 2010 at 10:46:41PM -0400, Cris S wrote: At 15:12 18 10 10, Shreyas Agasthya wrote: Thanks all for their input. Some of the learnings from the thread : 1. i tag is getting deprecated. Not in HTML5. 2. Use em and strong Both? Read that shit again, buckwheat. And by