Re: [PHP] Re: strtotime

2010-10-18 Thread Richard Quadling
On 17 October 2010 20:34, John Taylor-Johnston 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 unsubscribe, visit: http://www.php.net/unsub.php

[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. ' works perfectly well and prints the value. What if I want to, now, italicize the value of $other with the above syntax?

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:' .

RE: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Tommy Pham
> -Original Message- > From: Shreyas Agasthya [mailto:shreya...@gmail.com] > Sent: Monday, October 18, 2010 3:10 AM > To: PHP General List > Subject: [PHP] Formatting an ECHO statement. > > Team, > > A bit of silly one but like my book says, there are no dumb questions, I am > asking it h

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Paul M Foster
On Mon, Oct 18, 2010 at 03:40:03PM +0530, Shreyas Agasthya wrote: > 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. ' > > works perfectly well and

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 cust

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Steve Staples
On Mon, 2010-10-18 at 09:25 -0400, Paul M Foster wrote: > On Mon, Oct 18, 2010 at 03:40:03PM +0530, Shreyas Agasthya wrote: > > > 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"; > > > >

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

[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, v

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

2010-10-18 Thread Tommy Pham
> -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 get > removed, or use an email account

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

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 PL

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

2010-10-18 Thread Daniel P. Brown
On Mon, Oct 18, 2010 at 12:07, Tommy Pham wrote: > > I don't think you do.  Moreover, I think it's a scam to try to get your > e-mail address upon reply so they can then spam you since it's a 'confirmed > e-mail address' ... >.>  I honestly think this address should just be removed > from the l

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 -- --- htt

Re: [PHP] work online

2010-10-18 Thread tedd
At 4:40 PM +0200 10/18/10, Jordan Jovanov wrote: 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. All of my work i

Re: [PHP] work online

2010-10-18 Thread Govinda
At 4:40 PM +0200 10/18/10, Jordan Jovanov wrote: 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. All of my work

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 Messa

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread tedd
At 6:03 PM +0100 10/18/10, a...@ashleysheridan.co.uk wrote: There's nothing wrong with using as it indicates emphasised text, which is semantic. Use span tags with classes only when the content you're styling has no semantic alternative. important message is much better for machines (includi

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Andrew Ballard
On Mon, Oct 18, 2010 at 1:28 PM, tedd wrote: > At 6:03 PM +0100 10/18/10, a...@ashleysheridan.co.uk wrote: >> >> There's nothing wrong with using as it indicates emphasised text, >> which is semantic. Use span tags with classes only when the content you're >> styling has no semantic alternative.

Re: [PHP] work online

2010-10-18 Thread Matt M.
On Mon, 2010-10-18 at 13:03 -0400, Govinda wrote: > > At 4:40 PM +0200 10/18/10, Jordan Jovanov wrote: > >> 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

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Shreyas Agasthya
Thanks all for their input. Some of the learnings from the thread : 1. tag is getting deprecated. 2. Use and 3. Have CSS used to do the kind of stuff I was trying. I must inform, this was already in place. 4. Keep an eye on the SE monster. Regards, Shreyas On Mon, Oct 18, 2010 at 11:43 PM, A

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

2010-10-18 Thread Scott Baker
I have the following very simple script that uses PDO/FreeTDS to connect to a mssql server. I have PHP Version 5.3.3 running on Linux under Apache. When I view this script via apache/firefox I get proper output. If I try and run this via the command line like "php db_dump.php" I get an error c

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" Date: Mon, Oct 18, 2010 21:20 Subject:

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 i

Re: [PHP] work online

2010-10-18 Thread Enrico Weigelt
* Jordan Jovanov wrote: Hi, > 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. I'm not just php programmer (more software architect and systems in

RE: [PHP] Formatting an ECHO statement.

2010-10-18 Thread admin
I ask as you look at the comments and replies to your post, you think long term. Today you want the italic option, tomorrow you want to change the display to something else. Now you have to go back and change ever place you set the italic symbols to make your change. BUT if you use styles you c

[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

[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

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 as it indicates emphasised text, which is semantic. Use span tags with classes only when the content you're styling has no semantic alternative. important message is much better for machines (including search

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. tag is getting deprecated. Not in HTML5. 2. Use and Both? Read that shit again, buckwheat. And by "that shit" I do mean the standards, not what Joe Bloe told you. 3. Have

[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/)

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 wrote: > On 10/18/2010 06:27 PM, Wez Furlong w

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. tag is getting deprecated. > > Not in HTML5. > > >2. Use and > > Both? Read that shit again, buckwheat. And b

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Shreyas Agasthya
Thanks for that detailed mail, Admin. The was an example and I wanted to understand how does one go about the whole formatting. Nonetheless, I am pretty well informed after this thread. Thanks once again, everyone. Regards, Shreyas On Tue, Oct 19, 2010 at 10:09 AM, Paul M Foster wrote: > On Mo

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread a...@ashleysheridan.co.uk
Steady on now, this thread started as a php question, and has only deviated a little. Most people on the list don't work purely with php, and I for one dont mind the odd off-topic thread, especially when the majority of the list is made of good php threads. Thanks, Ash http://www.ashleysheridan