Re: Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread Tim Streater
On 04 Jan 2012 at 21:59, Robert Williams wrote: > On 1/4/12 14:34, "Tim Streater" wrote: > >> As I hinted in my previous mail, client and server side of my app are >> always on the user's machine. When the user starts the app, I create an >> apache config file on the fly and run an instance of

Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread Robert Williams
On 1/4/12 14:34, "Tim Streater" wrote: >As I hinted in my previous mail, client and server side of my app are >always on the user's machine. When the user starts the app, I create an >apache config file on the fly and run an instance of apache just for the >user. So I'm not messing with the stand

Re: Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread Tim Streater
On 04 Jan 2012 at 21:01, Robert Williams wrote: > On 1/4/12 13:33, "Tim Streater" wrote: > > Also, if I remember right, Apple sets up Apache so that each user has > his/her own config file inside the conf folder. You should make any config > changes, such as turning on PHP, in there, rather tha

Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread Robert Williams
On 1/4/12 13:33, "Tim Streater" wrote: >What I do seem to have is /etc/php.ini.default which I suppose you could >rename to php.ini if you really wanted to modify it. Yes, this is correct. I'm not sure if Apple started doing this with Lion or before, but they give you the .default file to renam

Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread Tim Streater
On 04 Jan 2012 at 14:09, Richard Quadling wrote: > Where do I put my php.ini file for a MacBook Air? I've only had it 2 > days and having trouble with the date.timezone setting. Hmmm, looks like I haven't got one on my Mini. Which doesn't appear to matter as a number of PHP scripts will have b

Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread Bastien
On 2012-01-04, at 10:03 AM, L M Andrews wrote: > Hi, > >> Or should I just be looking somewhere else? > > Yes, if you're setting up a local development environment on a Mac, the > painless solution is to install MAMP ("m" as in Mac). Everything installs > into a single folder (easily deletabl

Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread L M Andrews
Hi, >Or should I just be looking somewhere else? Yes, if you're setting up a local development environment on a Mac, the painless solution is to install MAMP ("m" as in Mac). Everything installs into a single folder (easily deletable, too) without modifying any of the original versions that might

Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread TR Shaw
On Jan 4, 2012, at 9:09 AM, Richard Quadling wrote: > Hi. > > Where do I put my php.ini file for a MacBook Air? I've only had it 2 > days and having trouble with the date.timezone setting. > Open terminal type php -i search for php.ini you will find it in /etc where is should be on unix.

Re: [PHP] New Service - Short URL Unshortener

2011-09-26 Thread m...@smtp.fakessh.eu
Le lundi 26 septembre 2011 02:08, Mike Mackintosh a écrit : > Hey All, > > Wanted to pass a kind word of a new service we launched called Unshortenr > (www.unshortenr.com) - which was linkrater.com. > > Input a short url and you'll get the target address, the page title, and a > description of the

Re: [PHP] New Service - Short URL Unshortener

2011-09-26 Thread Daniel Brown
On Sun, Sep 25, 2011 at 20:08, Mike Mackintosh wrote: > Hey All, > > Wanted to pass a kind word of a new service we launched called Unshortenr > (www.unshortenr.com) - which was linkrater.com. > > Input a short url and you'll get the target address, the page title, and a > description of the pag

[PHP] New Service - Short URL Unshortener

2011-09-25 Thread Mike Mackintosh
Hey All, Wanted to pass a kind word of a new service we launched called Unshortenr (www.unshortenr.com) - which was linkrater.com. Input a short url and you'll get the target address, the page title, and a description of the page. Soon to add an option to preview it with a images on/off type

Re: [PHP] New version : EasyPHP (Wamp Server) 5.3.7.0 with PHP 5.3.7

2011-08-19 Thread Sharl.Jimh.Tsin
在 2011-08-19五的 15:16 +0800,EasyPHP写道: > Hi > > EasyPHP (Wamp Server) 5.3.7.0 is out and includes PHP 5.3.7 > > PHP 5.3.7 VC9 | Apache 2.2.19 VC9 | MySQL 5.5.15 | PhpMyAdmin 3.4.3.2 > | Xdebug 2.1.2 > > * Features * > - avalaible server port automatically detected (no more port conflict) > - admi

[PHP] New version : EasyPHP (Wamp Server) 5.3.7.0 with PHP 5.3.7

2011-08-19 Thread EasyPHP
Hi EasyPHP (Wamp Server) 5.3.7.0 is out and includes PHP 5.3.7 PHP 5.3.7 VC9 | Apache 2.2.19 VC9 | MySQL 5.5.15 | PhpMyAdmin 3.4.3.2 | Xdebug 2.1.2 * Features * - avalaible server port automatically detected (no more port conflict) - administration page :  > apache configuration manager (timezon

[PHP] New version : EasyPHP 5.3.7 RC5 with PHP 5.3.7 RC5

2011-08-13 Thread EasyPHP
Hi PHP 5.3.7 RC5 is now included in the Wamp package EasyPHP 5.3.7 RC5. Enjoy! Website : www.easyphp.org Screenshots : www.easyphp.org/screenshots.php Facebook page : www.facebook.com/easywamp Twitter : www.twitter.com/easyphp -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

[PHP] New version : EasyPHP 5.3.7 RC4 with PHP 5.3.7 RC4

2011-08-02 Thread EasyPHP
Hi PHP 5.3.7 RC4 is now included in a the Wamp package EasyPHP 5.3.7 RC4. Enjoy! Website : www.easyphp.org Screenshots : www.easyphp.org/screenshots.php Facebook page : www.facebook.com/easywamp Twitter : www.twitter.com/easyphp -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] New to list and to PHP

2011-02-21 Thread Bastien Koert
On Mon, Feb 21, 2011 at 9:37 AM, Pete Woodhead wrote: > On 2/20/2011 6:41 PM, Richard Quadling wrote: >> >> On 20 February 2011 23:34, Richard Quadling  wrote: >>> >>> On 18 February 2011 19:03, Pete Woodhead >>>  wrote: Hi I'm Pete Woodhead. Â I'm new to the list and to PHP. Â To be hon

Re: [PHP] New to list and to PHP

2011-02-21 Thread Pete Woodhead
On 2/20/2011 6:41 PM, Richard Quadling wrote: On 20 February 2011 23:34, Richard Quadling wrote: On 18 February 2011 19:03, Pete Woodhead wrote: Hi I'm Pete Woodhead. Â I'm new to the list and to PHP. Â To be honest I very new to code writing. Thought this would be a good way to learn good ha

Re: [PHP] New to list and to PHP

2011-02-21 Thread Pete Woodhead
On 2/20/2011 3:47 PM, tedd wrote: At 2:03 PM -0500 2/18/11, Pete Woodhead wrote: Hi I'm Pete Woodhead. I'm new to the list and to PHP. To be honest I very new to code writing. Thought this would be a good way to learn good habits as well as good code writing. Looking forward to learning and

Re: [PHP] New to list and to PHP

2011-02-21 Thread Daniel Brown
On Sun, Feb 20, 2011 at 18:51, tolga wrote: >> > i'm interested in php about 3 maybe 4 years but i still couldnt get the > logic of classes. it makes no sense to me. Nor do mailing list rules or Internet etiquette guidelines, apparently. You know, the ones that say, "don't hijack someone els

Re: [PHP] New to list and to PHP

2011-02-21 Thread Richard Quadling
On 20 February 2011 23:51, tolga wrote: > 21.02.2011 01:41, Richard Quadling yazmış: >> >> On 20 February 2011 23:34, Richard Quadling  wrote: >>> >>> On 18 February 2011 19:03, Pete Woodhead >>>  wrote: Hi I'm Pete Woodhead.  I'm new to the list and to PHP.  To be honest I very >>>

Re: [PHP] New to list and to PHP

2011-02-20 Thread Eric Butera
On Sun, Feb 20, 2011 at 8:38 PM, tolga wrote: > 21.02.2011 03:21, Tamara Temple yazmış: >> >> On Feb 20, 2011, at 5:51 PM, tolga wrote: >> >>> 21.02.2011 01:41, Richard Quadling yazmış: On 20 February 2011 23:34, Richard Quadling  wrote: > > On 18 February 2011 19:03, Pete Woodhe

Re: [PHP] New to list and to PHP

2011-02-20 Thread tolga
ahaha lol. the point of my ask here is that i want to find a trusted source, not seo based web sites with no info inside. but thats cool. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] New to list and to PHP

2011-02-20 Thread Mujtaba Arshad
better yet: http://lmgtfy.com/?q=explanation+of+classes+in+php On Sun, Feb 20, 2011 at 9:39 PM, Tamara Temple wrote: > > On Feb 20, 2011, at 7:38 PM, tolga wrote: > > 21.02.2011 03:21, Tamara Temple yazmış: >> >>> >>> On Feb 20, 2011, at 5:51 PM, tolga wrote: >>> i'm interested in php about

Re: [PHP] New to list and to PHP

2011-02-20 Thread Tamara Temple
On Feb 20, 2011, at 7:38 PM, tolga wrote: 21.02.2011 03:21, Tamara Temple yazmış: On Feb 20, 2011, at 5:51 PM, tolga wrote: i'm interested in php about 3 maybe 4 years but i still couldnt get the logic of classes. it makes no sense to me. i couldnt understand whats about classes good at o

Re: [PHP] New to list and to PHP

2011-02-20 Thread tolga
21.02.2011 03:21, Tamara Temple yazmış: On Feb 20, 2011, at 5:51 PM, tolga wrote: 21.02.2011 01:41, Richard Quadling yazmış: On 20 February 2011 23:34, Richard Quadling wrote: On 18 February 2011 19:03, Pete Woodhead wrote: Hi I'm Pete Woodhead. I'm new to the list and to PHP. To be hon

Re: [PHP] New to list and to PHP

2011-02-20 Thread Tamara Temple
On Feb 20, 2011, at 5:51 PM, tolga wrote: 21.02.2011 01:41, Richard Quadling yazmış: On 20 February 2011 23:34, Richard Quadling wrote: On 18 February 2011 19:03, Pete Woodhead wrote: Hi I'm Pete Woodhead. I'm new to the list and to PHP. To be honest I very new to code writing. Thoug

Re: [PHP] New to list and to PHP

2011-02-20 Thread Richard Quadling
On 18 February 2011 19:03, Pete Woodhead wrote: > Hi I'm Pete Woodhead.  I'm new to the list and to PHP.  To be honest I very > new to code writing. > Thought this would be a good way to learn good habits as well as good code > writing. > Looking forward to learning and participating. > Assume th

Re: [PHP] New to list and to PHP

2011-02-20 Thread tolga
21.02.2011 01:41, Richard Quadling yazmış: On 20 February 2011 23:34, Richard Quadling wrote: On 18 February 2011 19:03, Pete Woodhead wrote: Hi I'm Pete Woodhead. I'm new to the list and to PHP. To be honest I very new to code writing. Thought this would be a good way to learn good habits

Re: [PHP] New to list and to PHP

2011-02-20 Thread Richard Quadling
On 20 February 2011 23:34, Richard Quadling wrote: > On 18 February 2011 19:03, Pete Woodhead wrote: >> Hi I'm Pete Woodhead.  I'm new to the list and to PHP.  To be honest I very >> new to code writing. >> Thought this would be a good way to learn good habits as well as good code >> writing. >>

Re: [PHP] New to list and to PHP

2011-02-20 Thread tedd
At 2:03 PM -0500 2/18/11, Pete Woodhead wrote: Hi I'm Pete Woodhead. I'm new to the list and to PHP. To be honest I very new to code writing. Thought this would be a good way to learn good habits as well as good code writing. Looking forward to learning and participating. Pete: Welcome to th

Re: [PHP] New to list and to PHP

2011-02-19 Thread David Hutto
On Sat, Feb 19, 2011 at 11:14 PM, David Robley wrote: > Daniel Brown wrote: > >> On Fri, Feb 18, 2011 at 14:03, Pete Woodhead >> wrote: >>> Hi I'm Pete Woodhead.  I'm new to the list and to PHP.  To be honest I >>> very new to code writing. >>> Thought this would be a good way to learn good habit

Re: [PHP] New to list and to PHP

2011-02-19 Thread David Robley
Daniel Brown wrote: > On Fri, Feb 18, 2011 at 14:03, Pete Woodhead > wrote: >> Hi I'm Pete Woodhead.  I'm new to the list and to PHP.  To be honest I >> very new to code writing. >> Thought this would be a good way to learn good habits as well as good >> code writing. >> Looking forward to learni

Re: [PHP] New to list and to PHP

2011-02-19 Thread Daniel Brown
On Fri, Feb 18, 2011 at 14:03, Pete Woodhead wrote: > Hi I'm Pete Woodhead.  I'm new to the list and to PHP.  To be honest I very > new to code writing. > Thought this would be a good way to learn good habits as well as good code > writing. > Looking forward to learning and participating. Fan

Re: [PHP] New to list and to PHP

2011-02-18 Thread Adam Richardson
On Fri, Feb 18, 2011 at 2:03 PM, Pete Woodhead wrote: > Hi I'm Pete Woodhead. I'm new to the list and to PHP. To be honest I very > new to code writing. > Thought this would be a good way to learn good habits as well as good code > writing. > Looking forward to learning and participating. > Wel

[PHP] New to list and to PHP

2011-02-18 Thread Pete Woodhead
Hi I'm Pete Woodhead. I'm new to the list and to PHP. To be honest I very new to code writing. Thought this would be a good way to learn good habits as well as good code writing. Looking forward to learning and participating.

Re: [PHP] new keyword combined with other things...

2010-12-08 Thread Nathan Nobbe
On Wed, Dec 8, 2010 at 12:26 PM, Tommy Pham wrote: > > -Original Message- > > From: David Harkness [mailto:davi...@highgearmedia.com] > > Sent: Wednesday, December 08, 2010 10:46 AM > > To: Paul M Foster > > Cc: php-general@lists.php.net > > Subject:

RE: [PHP] new keyword combined with other things...

2010-12-08 Thread Tommy Pham
> -Original Message- > From: David Harkness [mailto:davi...@highgearmedia.com] > Sent: Wednesday, December 08, 2010 10:46 AM > To: Paul M Foster > Cc: php-general@lists.php.net > Subject: Re: [PHP] new keyword combined with other things... > > On Wed, Dec 8, 2010 a

Re: [PHP] new keyword combined with other things...

2010-12-08 Thread David Harkness
On Wed, Dec 8, 2010 at 9:31 AM, Paul M Foster wrote: > I agree. My advice for SQL is always to learn SQL rather than use a > bunch of active record functionality. But I'm sure people think I'm just > a curmudgeonly old turd. ;-} > Yes, absolutely learn SQL so you understand what's happening under

Re: [PHP] new keyword combined with other things...

2010-12-08 Thread Paul M Foster
On Wed, Dec 08, 2010 at 07:14:39AM -0800, Tommy Pham wrote: > On Tue, Dec 7, 2010 at 1:55 PM, Paul M Foster > wrote: > > > > $this->db->select('title')->from('mytable')->where('id', $id)->limit(10, > > 20); > > > > What kind of internal magic they use to make this work, I don't know. I > > haven'

Re: [PHP] new keyword combined with other things...

2010-12-08 Thread Tommy Pham
On Tue, Dec 7, 2010 at 1:55 PM, Paul M Foster wrote: > > $this->db->select('title')->from('mytable')->where('id', $id)->limit(10, > 20); > > What kind of internal magic they use to make this work, I don't know. I > haven't examined their internals. > > Paul > > -- > Paul M. Foster > I've never se

Re: [PHP] new keyword combined with other things...

2010-12-07 Thread David Harkness
On Tue, Dec 7, 2010 at 1:55 PM, Paul M Foster wrote: > Here is an example from their [CodeIgniter] user manual: > > $this->db->select('title')->from('mytable')->where('id', $id)->limit(10, > 20); > This is known as a "fluent interface" because it attempts to make your code read more naturally--i.

Re: [PHP] new keyword combined with other things...

2010-12-07 Thread Paul M Foster
On Tue, Dec 07, 2010 at 11:01:09PM +0200, Alexandru Patranescu wrote: > I know how to do it in other ways. > I was just wondering why the simple new Object() -> method won't work. new > operator has precedence over... > That must be the problem. -> is not an operator. Is not in this list: > h

Re: [PHP] new keyword combined with other things...

2010-12-07 Thread Alexandru Patranescu
I know how to do it in other ways. I was just wondering why the simple new Object() -> method won't work. new operator has precedence over... That must be the problem. -> is not an operator. Is not in this list: http://php.net/manual/en/language.operators.precedence.php That must be done. -> s

Re: [PHP] new keyword combined with other things...

2010-12-07 Thread Jim Lucas
On 12/7/2010 7:40 AM, Alexandru Patranescu wrote: > In many other languages this will work: > > *$result = new Object() -> method();* > > But in php, it fails at parsing. > I've tried with parenthesis around new but nothing. Anyhow, as I saw later, > *new* operator has precedence over others so t

Re: [PHP] new keyword combined with other things...

2010-12-07 Thread Gerardo Benitez
Try with $result = Object::method(); this is a static method in a class. the operator -> is access to a member in an object. Gerardo. On Tue, Dec 7, 2010 at 12:40 PM, Alexandru Patranescu wrote: > In many other languages this will work: > > *$result = new Object() -> method();* > > But

Re: [PHP] new keyword combined with other things...

2010-12-07 Thread Daniel P. Brown
On Tue, Dec 7, 2010 at 10:40, Alexandru Patranescu wrote: > > but is there any way to write it directly? and if not, why isn't this > implemented yet and when will it be? That kind of chaining has not yet been implemented in PHP --- but it's being discussed and voted now, as a matter of fact.

[PHP] new keyword combined with other things...

2010-12-07 Thread Alexandru Patranescu
In many other languages this will work: *$result = new Object() -> method();* But in php, it fails at parsing. I've tried with parenthesis around new but nothing. Anyhow, as I saw later, *new* operator has precedence over others so this couldn't be a solution. I know a static function can be defi

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Col Day
In addition, I think I may have got to the bottom of what I was doing wrong in the first place. I recently swapped out my laptop for my wifes one (she upgraded, well I upgraded hers, and I got the old one) and I forgot that this one didn't automatically boot up into the Administrator profile.

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Col Day
Steve, That's superb, many thanks for the link! I shall give it a go! Yes I did install apache then php, however I tried to follow the instructions in the Dummies book (what does it make me if I can't follow the dummies book?) but to no avail. I have just printed off the first 40 pages so th

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Abah Joseph
Your directory configuration should look like this Order Deny,Allow Allow from all Options Indexes FollowSymLinks Includes ExecCGI # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: #

RES: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Alejandro Michelin Salomon
apache. Browse to localhost Alejandro M.S. -Mensagem original- De: Col Day [mailto:colind...@aol.com] Enviada em: segunda-feira, 4 de outubro de 2010 06:31 Para: php-general@lists.php.net Assunto: [PHP] New to PHP and struggling with the basics Hi all, Working with the PHP5 for Dummies

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Steve Staples
Col. Since you're new to php, then an easy way to install apache, is using XAMPP ( http://www.apachefriends.org/en/xampp.html ) I would suggest you remove the apache you have installed, and the php you installed, and install the XAMPP package as it comes prebuilt with mysql, ftp, apache and php,

[PHP] New to PHP and struggling with the basics

2010-10-04 Thread Col Day
Hi all, Working with the PHP5 for Dummies book (yup real noob, feel free to ridicule (after telling me what I've done wrong)) and have installed Apache 2.2 and PHP 5.3.3 onto a laptop running Vista. (yes I know!!!). I've had Apache running fine with my basic web site created using Serif's Webplu

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread kranthi
apache error logs will be helpful in this case. Their location varies depending upon your installation. But in any case they'll be insde your server directory (IIRC it is c:/Program Files/Apache Software Foundation/Apache by default) -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Peter Lind
On 4 October 2010 11:30, Col Day wrote: > Hi all, > > Working with the PHP5 for Dummies book (yup real noob, feel free to ridicule > (after telling me what I've done wrong)) and have installed Apache 2.2 and > PHP 5.3.3 onto a laptop running Vista. (yes I know!!!). > > I've had Apache running fine

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Col Day
Hi Kranthi, No, I just literally get the "HTML" line shown but absolutely nothing beneath it. "kranthi" wrote in message news:aanlktin2xnthqm-pp7qwtgo=sqtkctthtwz+08bbw...@mail.gmail.com... they should be something like error_log-[date] not sure about windows though However I have found t

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread kranthi
they should be something like error_log-[date] not sure about windows though >>However I have found that if I paste the html into my web page created by >>Serif WebPlus 10 I get the "html" line but not the "php" line. are you saying that you are getting the php code in your browser ? This is a P

Re: [PHP] New to PHP and struggling with the basics

2010-10-04 Thread Col Day
Kranthi Many thanks, any idea on the name of the error logs? Peter, Yes, browsing to the correct location but still getting the 403. this website requires you to log in. Abah, I've gone to the httpd-userdir.conf file and replaced it with your text (not including the directory tree), restarte

Re: [PHP] New to PHP and the list

2010-09-13 Thread kranthi
> Is MAX_FILE_SIZE passed to PHP as $MAX_FILE_SIZE? only if register_golbals is set to ON in php.ini. This is a very bad practice and should be avoided. Use $_POST['MAX_FILE_SIZE'] instead. But in this case dont use the post variable also. define a constant in your configuration file and use that c

Re: [PHP] New to PHP and the list

2010-09-12 Thread Paul M Foster
On Sat, Sep 11, 2010 at 06:37:41PM -0500, MikeB wrote: > Hello, I'm new to PHP and also new to using newsgroups/mailing lists > directly. So if I make a mistake, please forgive me this once and I'll > try to do better in the future. > > Please help me understand, my head is absolutely spinning an

Re: [PHP] New to PHP and the list

2010-09-11 Thread viraj
On Sun, Sep 12, 2010 at 5:07 AM, MikeB wrote: > Hello, I'm new to PHP and also new to using newsgroups/mailing lists > directly. So if I make a mistake, please forgive me this once and I'll try > to do better in the future. > > Please help me understand, my head is absolutely spinning and I can't

Re: [PHP] New to PHP and the list

2010-09-11 Thread MikeB
On 9/11/2010 6:51 PM, Tom Sparks wrote: --- On Sun, 12/9/10, MikeB wrote: From: MikeB Subject: [PHP] New to PHP and the list To: php-general@lists.php.net Received: Sunday, 12 September, 2010, 9:37 AM Hello, I'm new to PHP and also new to using newsgroups/mailing lists directly. So if I

Re: [PHP] New to PHP and the list

2010-09-11 Thread Tom Sparks
--- On Sun, 12/9/10, MikeB wrote: > From: MikeB > Subject: [PHP] New to PHP and the list > To: php-general@lists.php.net > Received: Sunday, 12 September, 2010, 9:37 AM > Hello, I'm new to PHP and also new to > using newsgroups/mailing lists directly. So if I make a >

Re: [PHP] new php script and sqlite

2009-09-09 Thread Ben Dunlap
>   $dbh = new PDO('sqlite:$db_file'); [8<] >        $dbh = new PDO('sqlite2:$db_file'); But with double-quotes, not single-quotes. ;-) Ben -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] new php script and sqlite

2009-09-09 Thread Ben Dunlap
> I was under the impression that sqlite2 was supported widely by PHP, > but sqlite3 seems only to be enabled on php 5.3.0 by default. > > My concern now is actually that users may find that their hosting > service providers don't provide sqlite3 out of the box. PDO seems to support both versions:

Re: [PHP] new php script and sqlite

2009-09-08 Thread Eric Boo
On Tue, Sep 8, 2009 at 9:41 PM, Paul M Foster wrote: > On Tue, Sep 08, 2009 at 11:20:01AM +0800, Eric Boo wrote: > >> Hi, >> >> I'm currently using a text file to store data which the php script >> will read and write back to. I've a few questions: >> >> 1) I'm thinking of using sqlite, but not sur

Re: [PHP] new php script and sqlite

2009-09-08 Thread Paul M Foster
On Tue, Sep 08, 2009 at 11:20:01AM +0800, Eric Boo wrote: > Hi, > > I'm currently using a text file to store data which the php script > will read and write back to. I've a few questions: > > 1) I'm thinking of using sqlite, but not sure whether this will be > widely available on most hosts, as

[PHP] new php script and sqlite

2009-09-07 Thread Eric Boo
Hi, I'm currently using a text file to store data which the php script will read and write back to. I've a few questions: 1) I'm thinking of using sqlite, but not sure whether this will be widely available on most hosts, as I intend for the php script to be deployed without needing to much with m

RE: [PHP] New to PHP question

2009-05-11 Thread Robert Cummings
On Wed, 2009-01-28 at 23:42 +, Ashley Sheridan wrote: > > I hate div'itis as well. Some people seem to think it's a big faux pas > to use table tags now, when that couldn't be more wrong. Use tables for > tabular data, CSS for the rest (with as few exceptions - and there are > always some eh -

Re: [PHP] New installation and can not more include files

2009-04-12 Thread Michelle Konzack
Am 2009-04-12 20:05:31, schrieb Michelle Konzack: > Oops... I mean Thanks, Greetings and nice Day/Evening Michelle Konzack -- Linux-User #280138 with the Linux Counter, http://counter.li.org/

[PHP] New installation and can not more include files

2009-04-12 Thread Michelle Konzack
Hello, to test a new setup I have setup DynDNS.org and it works, but... the copied config of my working website is failing here to include ANY files... I do not find the difference between the configs. Please can you tell me where I must looking

[PHP] New Horizon!

2009-03-02 Thread Alan Lord
New Horizon! i would like to introduce a good company who trades mainly in electornic products. Now the company is under sales promotion,all the products are sold nearly at its cost. They provide the best service to customers,they provide you with original products of good quality,and what i

Re: [PHP] New to PHP question

2009-01-28 Thread Don Collier
Paul M Foster wrote: On Wed, Jan 28, 2009 at 01:45:07PM -0700, Don Collier wrote: On that note, what would be a better book to learn from? I have always been a fan of the O'Reilly books, but I am open to differing flavors of kool-aid. One can never have too many resources. The boo

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 11:41:31PM +, Nathan Rixham wrote: > Paul M Foster wrote: >> On Wed, Jan 28, 2009 at 09:26:10PM +, Ashley Sheridan wrote: >> >> >> >>> I use CSS as much as possible, and it's second nature to me now to >>> design with CSS rather than tables, but the only area I fin

Re: [PHP] New to PHP question

2009-01-28 Thread Nathan Rixham
Paul M Foster wrote: On Wed, Jan 28, 2009 at 09:26:10PM +, Ashley Sheridan wrote: I use CSS as much as possible, and it's second nature to me now to design with CSS rather than tables, but the only area I find it quicker to use tables is when I design forms. I know I'm going to browser he

RE: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 16:05 -0600, Boyd, Todd M. wrote: > > -Original Message- > > From: Stephen [mailto:stephe...@rogers.com] > > Sent: Wednesday, January 28, 2009 1:41 PM > > To: Paul M Foster > > Cc: php-general@lists.php.net > > Subject: Re: [PHP]

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 09:26:10PM +, Ashley Sheridan wrote: > > > I use CSS as much as possible, and it's second nature to me now to > design with CSS rather than tables, but the only area I find it quicker > to use tables is when I design forms. I know I'm going to browser hell, > but meh,

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 03:33:19PM -0500, Ernie Kemp wrote: > Is there any advantage to using CSS over table and would it be idea to go > to > past website and change them. If it works, don't fix it. If you want to take the time to figure out how to get those same layouts in CSS, have a blast. B

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 01:45:07PM -0700, Don Collier wrote: >> > On that note, what would be a better book to learn from? I have always > been a fan of the O'Reilly books, but I am open to differing flavors of > kool-aid. One can never have too many resources. The book that sits on my desk and

RE: [PHP] New to PHP question

2009-01-28 Thread Boyd, Todd M.
> -Original Message- > From: Stephen [mailto:stephe...@rogers.com] > Sent: Wednesday, January 28, 2009 4:40 PM > Cc: php-general@lists.php.net > Subject: Re: [PHP] New to PHP question > > Boyd, Todd M. wrote: > > > > Finally, just because IE8 is (su

Re: [PHP] New to PHP question

2009-01-28 Thread Stephen
Boyd, Todd M. wrote: The horror. Do not use tables for layout. Use CSS. Especially now that Microsoft, just this week, is sending out IE 8 which seems to be fully CCS standards compliant. Your high horse--get off of it. Dude! Did you read what I wrote? I wrote do not use tables for l

Re: [PHP] New to PHP question

2009-01-28 Thread Shawn McKenzie
Boyd, Todd M. wrote: >> -Original Message- >> From: Stephen [mailto:stephe...@rogers.com] >> Sent: Wednesday, January 28, 2009 1:41 PM >> To: Paul M Foster >> Cc: php-general@lists.php.net >> Subject: Re: [PHP] New to PHP question >> >> P

RE: [PHP] New to PHP question

2009-01-28 Thread Boyd, Todd M.
> -Original Message- > From: Stephen [mailto:stephe...@rogers.com] > Sent: Wednesday, January 28, 2009 1:41 PM > To: Paul M Foster > Cc: php-general@lists.php.net > Subject: Re: [PHP] New to PHP question > > Paul M Foster wrote: > > If you want exact lay

Re: [PHP] New to PHP question

2009-01-28 Thread mike
On Wed, Jan 28, 2009 at 1:26 PM, Ashley Sheridan wrote: > I use CSS as much as possible, and it's second nature to me now to > design with CSS rather than tables, but the only area I find it quicker > to use tables is when I design forms. I know I'm going to browser hell, > but meh, I can deal wi

Re: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
"Paul M Foster" > Cc: > Sent: Wednesday, January 28, 2009 2:40 PM > Subject: Re: [PHP] New to PHP question > > > > Paul M Foster wrote: > >> If you want exact layout (columns > >> lined up, etc.), the simplest solution is to use HTML tables. >

Re: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 15:17 -0500, Paul M Foster wrote: > On Wed, Jan 28, 2009 at 02:40:55PM -0500, Stephen wrote: > > > Paul M Foster wrote: > >> If you want exact layout (columns > >> lined up, etc.), the simplest solution is to use HTML tables. > >> > >> > >> > > The horror. > > > > Do not use

Re: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 13:45 -0700, Don Collier wrote: > > Paul M Foster wrote: > > See? This is what I'm talking about. > > > > *I* understand what you're saying, Don, and I agree. But this guy is > > just learning PHP from what is arguably not one of the best books on PHP > > (IMO). And you're th

Re: [PHP] New to PHP question

2009-01-28 Thread Frank Stanovcak
"Don Collier" wrote in message news:4980c3d3.8040...@collierclan.com... > > > Paul M Foster wrote: >> See? This is what I'm talking about. >> >> *I* understand what you're saying, Don, and I agree. But this guy is >> just learning PHP from what is arguably not one of the best books on PHP >> (IM

Re: [PHP] New to PHP question

2009-01-28 Thread Don Collier
Paul M Foster wrote: See? This is what I'm talking about. *I* understand what you're saying, Don, and I agree. But this guy is just learning PHP from what is arguably not one of the best books on PHP (IMO). And you're throwing MVC at him. Let him master the subtleties of the language first, th

Re: [PHP] New to PHP question

2009-01-28 Thread Bastien Koert
On Wed, Jan 28, 2009 at 3:28 PM, Paul M Foster wrote: > On Wed, Jan 28, 2009 at 03:06:36PM -0500, Bastien Koert wrote: > > > On Wed, Jan 28, 2009 at 2:58 PM, Don Collier >wrote: > > > > > > > >> On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: > > >> > > >> > > >> > > >>> I am just le

Re: [PHP] New to PHP question

2009-01-28 Thread Ernie Kemp
Is there any advantage to using CSS over table and would it be idea to go to past website and change them. /Ernie - Original Message - From: "Stephen" Newsgroups: php.general To: "Paul M Foster" Cc: Sent: Wednesday, January 28, 2009 2:40 PM Subject: Re: [PHP]

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 03:06:36PM -0500, Bastien Koert wrote: > On Wed, Jan 28, 2009 at 2:58 PM, Don Collier wrote: > > > > >> On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: > >> > >> > >> > >>> I am just learning PHP from the O'Reilly "Learning PHP 5" book and I > >>> have a quest

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 02:40:55PM -0500, Stephen wrote: > Paul M Foster wrote: >> If you want exact layout (columns >> lined up, etc.), the simplest solution is to use HTML tables. >> >> >> > The horror. > > Do not use tables for layout. > > Use CSS. > > Especially now that Microsoft, just this w

Re: [PHP] New to PHP question

2009-01-28 Thread Per Jessen
Don Collier wrote: > From what I am seeing in the responses if I plan on using php for > command line scripts things get written one way. If, on the other > hand, the php is written for a web page it gets written a slightly > different way inserting html where necessary for formatting. No, the s

Re: [PHP] New to PHP question

2009-01-28 Thread Stuart
2009/1/28 Stephen : > Don Collier wrote: >> >> I am just learning PHP from the O'Reilly "Learning PHP 5" book and I have >> a question regarding the formatting of text. Actually it is a couple of >> questions. >> >> First, when I use the \n and run the script from the command line it works >> grea

Re: [PHP] New to PHP question

2009-01-28 Thread Bastien Koert
On Wed, Jan 28, 2009 at 2:58 PM, Don Collier wrote: > > > Paul M Foster wrote: > >> On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: >> >> >> >>> I am just learning PHP from the O'Reilly "Learning PHP 5" book and I >>> have a question regarding the formatting of text. Actually it is a

Re: [PHP] New to PHP question

2009-01-28 Thread Don Collier
Paul M Foster wrote: On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: I am just learning PHP from the O'Reilly "Learning PHP 5" book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the script from

Re: [PHP] New to PHP question

2009-01-28 Thread Ashley Sheridan
On Wed, 2009-01-28 at 14:40 -0500, Stephen wrote: > Especially now that Microsoft, just this week, is sending out IE 8 > which > seems to be fully CCS standards compliant. *snigger* I'll believe that when I see it, rather I give it to you oh web developers everywhere, that this is just a new M$

Re: [PHP] New to PHP question

2009-01-28 Thread Stephen
Paul M Foster wrote: If you want exact layout (columns lined up, etc.), the simplest solution is to use HTML tables. The horror. Do not use tables for layout. Use CSS. Especially now that Microsoft, just this week, is sending out IE 8 which seems to be fully CCS standards compliant. S

Re: [PHP] New to PHP question

2009-01-28 Thread Paul M Foster
On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: > I am just learning PHP from the O'Reilly "Learning PHP 5" book and I > have a question regarding the formatting of text. Actually it is a > couple of questions. > > First, when I use the \n and run the script from the command line it

  1   2   3   4   5   6   7   8   9   >