Re: [PHP] Tutorial for the structure of an php-app ?

2011-11-26 Thread Paul M Foster
On Sat, Nov 26, 2011 at 01:38:28AM +0100, Andreas wrote: > Hi again, > is there a tutorial for the structure of an php-app? > > There are more than enough books and online docs that teach the > basics of PHP and of course the native mysql commands. > > I'd now rather need a help to figure out ho

Re: [PHP] Tutorial for the structure of an php-app ?

2011-11-25 Thread Tamara Temple
Bastien wrote: > Why not download some and dig into them? Something from sourceforge or a cms > like pyrocms? See how they stuck it all together. This is not a bad idea at all. Learning from something concrete, how they do things, looking into why they chose to do it that, etc. Don't pick just

Re: [PHP] Tutorial for the structure of an php-app ?

2011-11-25 Thread Bastien
On 2011-11-25, at 7:38 PM, Andreas wrote: > Hi again, > is there a tutorial for the structure of an php-app? > > There are more than enough books and online docs that teach the basics of PHP > and of course the native mysql commands. > > I'd now rather need a help to figure out how to pull u

Re: [PHP] Tutorial for the structure of an php-app ?

2011-11-25 Thread Tommy Pham
On Fri, Nov 25, 2011 at 4:38 PM, Andreas wrote: > Hi again, > is there a tutorial for the structure of an php-app? > > There are more than enough books and online docs that teach the basics of > PHP and of course the native mysql commands. > > I'd now rather need a help to figure out how to pull u

Re: [PHP] tutorial failure

2010-08-26 Thread Ashley Sheridan
On Thu, 2010-08-26 at 17:45 +0100, e-letter wrote: > On 20/08/2010, Ashley Sheridan wrote: > > You don't have to reinstall the entire OS, that's a very Windows > > approach to the problem. I played around a bit last night with urpmi and > > you should be able to just list the packages you need wi

Re: [PHP] tutorial failure

2010-08-26 Thread e-letter
On 20/08/2010, Ashley Sheridan wrote: > You don't have to reinstall the entire OS, that's a very Windows > approach to the problem. I played around a bit last night with urpmi and > you should be able to just list the packages you need with urpmq --fuzzy > package_name, and then install the ones l

Re: [PHP] tutorial failure

2010-08-20 Thread Ashley Sheridan
On Fri, 2010-08-20 at 10:00 +0100, e-letter wrote: > On 19/08/2010, Ashley Sheridan wrote: > > No, because Apache doesn't need to process HTML in the same way it needs > > to process PHP. The tag > browser as HTML (view the source on the page you're browsing to) and > > interpreted as a tag by y

Re: [PHP] tutorial failure

2010-08-20 Thread e-letter
On 19/08/2010, Ashley Sheridan wrote: > No, because Apache doesn't need to process HTML in the same way it needs > to process PHP. The tag browser as HTML (view the source on the page you're browsing to) and > interpreted as a tag by your browser, hence what appears to be partially > processed ou

Re: [PHP] tutorial failure

2010-08-19 Thread Ashley Sheridan
On Thu, 2010-08-19 at 18:09 -0400, David McGlone wrote: > On Thu, 2010-08-19 at 22:24 +0100, Ashley Sheridan wrote: > > On Thu, 2010-08-19 at 19:04 +0100, e-letter wrote: > > > On 19/08/2010, HallMarc Websites wrote: > > > > I agree with the earlier take on this situation; you need to start at

Re: [PHP] tutorial failure

2010-08-19 Thread David McGlone
On Thu, 2010-08-19 at 22:24 +0100, Ashley Sheridan wrote: > On Thu, 2010-08-19 at 19:04 +0100, e-letter wrote: > > On 19/08/2010, HallMarc Websites wrote: > > > I agree with the earlier take on this situation; you need to start at the > > > beginning and learn the basics regarding the technologie

Re: [PHP] tutorial failure

2010-08-19 Thread Ashley Sheridan
On Thu, 2010-08-19 at 19:04 +0100, e-letter wrote: > On 19/08/2010, HallMarc Websites wrote: > > I agree with the earlier take on this situation; you need to start at the > > beginning and learn the basics regarding the technologies BEFORE you try and > > manage them. You're trying to drive a car

Re: [PHP] tutorial failure

2010-08-19 Thread e-letter
On 19/08/2010, HallMarc Websites wrote: > I agree with the earlier take on this situation; you need to start at the > beginning and learn the basics regarding the technologies BEFORE you try and > manage them. You're trying to drive a car when you don't even know what or > car is and how to operat

RE: [PHP] tutorial failure

2010-08-19 Thread HallMarc Websites
-Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Thursday, August 19, 2010 11:33 AM To: e-letter Cc: David McGlone; php-general@lists.php.net Subject: Re: [PHP] tutorial failure On Thu, 2010-08-19 at 16:30 +0100, e-letter wrote: > On 19/08/2010, Ash

Re: [PHP] tutorial failure

2010-08-19 Thread Ashley Sheridan
On Thu, 2010-08-19 at 16:30 +0100, e-letter wrote: > On 19/08/2010, Ashley Sheridan wrote: > > As Colin suggested on another email, check to see if apache-mod_php was > > installed too. It seems likely that it wasn't for some reason. > > How to verify please? Also, the instruction to use task-la

Re: [PHP] tutorial failure

2010-08-19 Thread e-letter
On 19/08/2010, Ashley Sheridan wrote: > As Colin suggested on another email, check to see if apache-mod_php was > installed too. It seems likely that it wasn't for some reason. How to verify please? Also, the instruction to use task-lamp; it seems this is for mysql but the database to be used is

Re: [PHP] tutorial failure

2010-08-19 Thread Ashley Sheridan
On Thu, 2010-08-19 at 15:35 +0100, e-letter wrote: > On 19/08/2010, Ashley Sheridan wrote: > > I think it's fairly clear that for whatever reason, PHP isn't properly > > configured with Apache. You've mentioned you're using Mandriva, which, > > coincidentally, is what i've just recently installed

Re: [PHP] tutorial failure

2010-08-19 Thread e-letter
On 19/08/2010, Ashley Sheridan wrote: > I think it's fairly clear that for whatever reason, PHP isn't properly > configured with Apache. You've mentioned you're using Mandriva, which, > coincidentally, is what i've just recently installed on my home machine. > It has a very good graphical package

Re: [PHP] tutorial failure

2010-08-19 Thread Ashley Sheridan
On Thu, 2010-08-19 at 09:41 +0100, e-letter wrote: > On 19/08/2010, David McGlone wrote: > > On Wed, 2010-08-18 at 23:08 +0100, e-letter wrote: > >> On 18/08/2010, David McGlone wrote: > >> > On Wed, 2010-08-18 at 21:54 +0100, e-letter wrote: > >> >> On 18/08/2010, David McGlone wrote: > >> >>

Re: [PHP] tutorial failure

2010-08-19 Thread e-letter
On 19/08/2010, David McGlone wrote: > On Wed, 2010-08-18 at 23:08 +0100, e-letter wrote: >> On 18/08/2010, David McGlone wrote: >> > On Wed, 2010-08-18 at 21:54 +0100, e-letter wrote: >> >> On 18/08/2010, David McGlone wrote: >> >> > >> >> > Do you have php5 installed? >> >> > >> >> Yes, but don

RE: [PHP] tutorial failure

2010-08-19 Thread Bob McConnell
From: e-letter > On 19/08/2010, David McGlone wrote: > >> Yes it is. But your computer needs the correct software to view that php >> file in a web browser as if it was a web page. If you do not have this >> software installed, then the web browser will ask you if you want to >> download the fil

Re: [PHP] tutorial failure

2010-08-19 Thread e-letter
On 19/08/2010, David McGlone wrote: > Yes it is. But your computer needs the correct software to view that php > file in a web browser as if it was a web page. If you do not have this > software installed, then the web browser will ask you if you want to > download the file instead. > The web bro

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
On 18/08/2010, Bob McConnell wrote: > From: e-letter > >> On 18/08/2010, chris h wrote: >>> On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote: >>> On 18/08/2010, chris h wrote: > What are the actual file permissions when you run ls -o? > root >>> >>> What's the entire out

RE: [PHP] tutorial failure

2010-08-18 Thread Bob McConnell
From: e-letter > On 18/08/2010, chris h wrote: >> On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote: >> >>> On 18/08/2010, chris h wrote: >>> > What are the actual file permissions when you run ls -o? >>> > >>> root >>> >> >> What's the entire output of ls -o? >> > [r...@localhost html]# ls -o *

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
On 18/08/2010, Ashley Sheridan wrote: > On Wed, 2010-08-18 at 12:10 +0100, e-letter wrote: > >> On 18/08/2010, chris h wrote: >> > What are the actual file permissions when you run ls -o? >> > >> root >> > >> > Do you know if PHP is installed as an apache mod or cgi? Also you might >> > check wha

Re: [PHP] tutorial failure

2010-08-18 Thread Ashley Sheridan
On Wed, 2010-08-18 at 12:10 +0100, e-letter wrote: > On 18/08/2010, chris h wrote: > > What are the actual file permissions when you run ls -o? > > > root > > > > Do you know if PHP is installed as an apache mod or cgi? Also you might > > check what user apache is running as. > > > No. How to ver

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
On 18/08/2010, chris h wrote: > On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote: > >> On 18/08/2010, chris h wrote: >> > What are the actual file permissions when you run ls -o? >> > >> root >> > > What's the entire output of ls -o? > [r...@localhost html]# ls -o * -rwxr-xr-x 1 root 182 2010-08

Re: [PHP] tutorial failure

2010-08-18 Thread chris h
On Wed, Aug 18, 2010 at 7:10 AM, e-letter wrote: > On 18/08/2010, chris h wrote: > > What are the actual file permissions when you run ls -o? > > > root > What's the entire output of ls -o? > > > > Do you know if PHP is installed as an apache mod or cgi? Also you might > > check what user apa

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
On 18/08/2010, chris h wrote: > What are the actual file permissions when you run ls -o? > root > > Do you know if PHP is installed as an apache mod or cgi? Also you might > check what user apache is running as. > No. How to verify? > possibly... > $ vi /etc/apache2/envvars > No apache2 on my com

Re: [PHP] tutorial failure

2010-08-18 Thread chris h
What are the actual file permissions when you run ls -o? Do you know if PHP is installed as an apache mod or cgi? Also you might check what user apache is running as. possibly... $ vi /etc/apache2/envvars and look for something like... export APACHE_RUN_USER=www-data On Wed, Aug 18, 2010 at

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
On 18/08/2010, Peter Lind wrote: > On 18 August 2010 12:47, e-letter wrote: >> On 18/08/2010, chris h wrote: >>> php is not processing the file. There's a few reasons for this, but the >>> first thing I would check is the permissions of the file. From the >>> directory try >>> >>> $ ls -oa >>>

Re: [PHP] tutorial failure

2010-08-18 Thread Peter Lind
On 18 August 2010 12:47, e-letter wrote: > On 18/08/2010, chris h wrote: >> php is not processing the file.  There's a few reasons for this, but the >> first thing I would check is the permissions of the file.  From the >> directory try >> >> $ ls -oa >> > The file permission was confirmed as roo

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
On 18/08/2010, chris h wrote: > php is not processing the file. There's a few reasons for this, but the > first thing I would check is the permissions of the file. From the > directory try > > $ ls -oa > The file permission was confirmed as root, since it was copied (as root) from a normal user

Re: [PHP] tutorial failure

2010-08-18 Thread chris h
php is not processing the file. There's a few reasons for this, but the first thing I would check is the permissions of the file. From the directory try $ ls -oa This should tell you who owns the file and what it's permissions are. You mentioned that you copied it as root, you could change it'

Re: [PHP] tutorial failure

2010-08-18 Thread e-letter
I changed the code as follows: php test Hi, I am a PHP script"; ?> this is a test The result (http://localhost/test.php): Hi,

Re: [PHP] tutorial failure

2010-08-18 Thread Peter Lind
On 18 August 2010 10:44, e-letter wrote: > Readers, > > Copy below of message sent 15 August to php install digest list, but > to date not including in mail archive? > > The tutorial example: > > >       >              php test >                     >       >                                    ec

RE: [PHP] tutorial failure

2010-08-18 Thread Arno Kuhl
-Original Message- From: e-letter [mailto:inp...@gmail.com] Sent: 18 August 2010 10:44 AM To: php-general@lists.php.net Subject: [PHP] tutorial failure Readers, Copy below of message sent 15 August to php install digest list, but to date not including in mail archive? The tutorial examp

Re: [PHP] Tutorial needed

2003-01-29 Thread salamander
Hi Alberto, There are HOWTO's on this at www.iodbc.org Best regards, Andrew Hill On Wednesday, January 29, 2003, at 12:53 PM, Alberto Brea wrote: Does anybody know of an online tutorial explaining how to access ODBC databases with PHP? Thanks Alberto -- PHP General Mailing List (http://www

Re: [PHP] Tutorial on proper code formating

2002-04-11 Thread Ninety-Nine Ways To Die
Yeah I know from my code, which often is just bs project, that with nesting lotsa crap it's a lot easier to follow the Original Method of: for($i=0;$iOn Friday 12 April 2002 02:50, Kevin Stone wrote: > >> On the other hand the Inline Method is clean. You can see at a glance >> where each block

Re: [PHP] Tutorial on proper code formating

2002-04-11 Thread Erik Price
On Thursday, April 11, 2002, at 02:13 PM, Analysis & Solutions wrote: > Uch! Uch! Uch! I don't like their nesting ideas: >if (condition) // Comment >{ >} >else // Comment >{ >} Neither do I -- that doesn't look too easy to read

Re: [PHP] Tutorial on proper code formating

2002-04-11 Thread Jason Wong
On Friday 12 April 2002 02:50, Kevin Stone wrote: > On the other hand the Inline Method is clean. You can see at a glance > where each block begins ends. But it is not compact. It spreads the code > out over many lines. I recommend this method for modern programmers coding > on large screens.

Re: [PHP] Tutorial on proper code formating

2002-04-11 Thread Robert Cummings
My vote goes to the inline method which I am the only one to use where I work :( But it is far cleaner even if it is less compact. Cheers, Rob. -- .-. | Robert Cummings | :-`. | Webdeployer - Chief PHP and Java Programmer | :--

Re: [PHP] Tutorial on proper code formating

2002-04-11 Thread Kevin Stone
Sent: Thursday, April 11, 2002 12:13 PM Subject: Re: [PHP] Tutorial on proper code formating > On Thu, Apr 11, 2002 at 01:33:40PM -0400, Erik Price wrote: > > > > http://utvikler.start.no/code/php_coding_standard.html > > Uch! Uch! Uch! I don't like their nesting ide

Re: [PHP] Tutorial on proper code formating

2002-04-11 Thread Analysis & Solutions
On Thu, Apr 11, 2002 at 01:33:40PM -0400, Erik Price wrote: > > http://utvikler.start.no/code/php_coding_standard.html Uch! Uch! Uch! I don't like their nesting ideas: if (condition) // Comment { } else // Comment { } This is the stan

Re: [PHP] Tutorial on proper code formating

2002-04-11 Thread Erik Price
On Thursday, April 11, 2002, at 01:25 PM, Jennifer Downey wrote: > Hi all, > > Could someone point me to a tutorial on the proper way to format code. > To > make it more readable. http://utvikler.start.no/code/php_coding_standard.html Erik Price Web Developer Temp Media Lab, H.H. Br

Re: [PHP] Tutorial on connecting to a MSSQL 7 or 2000 database.

2001-05-24 Thread Martin Cabrera Diaubalick
Hello Brandon, for Version 7, have a look at http://www.knowledgeisland.com/inet/php/php.php look in the PHP& Databases section HTH Regards - Original Message - From: "Brandon Orther" <[EMAIL PROTECTED]> To: "PHP User Group" <[EMAIL PROTECTED]> Sent: Monday, May 14, 2001 6:12 PM Subje

Re: [PHP] Tutorial

2001-05-15 Thread Michael Kimsal
gtk.php-coder.net I think has something (might be .com) ? Roman wrote: > Do you now where I find tutorial (not online) or some good helps for > PHP-GTK+. > In gtk.php.net dosn't good help. > > Thanx for all. > > roman > > -- > PHP General Mailing List (http://www.php.net/

RE: [PHP] Tutorial for RegExpressions

2001-03-14 Thread Nathan Cassano
Learning to Use Regular Expressions by Example http://www.phpbuilder.com/columns/dario19990616.php3 -Original Message- From: Martin Thoma [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 14, 2001 6:12 AM To: [EMAIL PROTECTED] Subject: [PHP] Tutorial for RegExpressions Hi ! Does someo

Re: [PHP] Tutorial for RegExpressions

2001-03-14 Thread Fredrik Wahlberg
I must recommend the book ”Mastering Regular Expressions” from O'Reilly. It is one of the best programming books I have ever read. /Fredrik >> Ursprungligt meddelande << Martin Thoma <[EMAIL PROTECTED]> skrev 2001-03-14, kl. 15:12:05 angående ämnet [PHP] Tutori

RE: [PHP] Tutorial?

2001-03-02 Thread Brian Paulson
Oien [mailto:[EMAIL PROTECTED]] Sent: Friday, March 02, 2001 7:49 AM To: PHP Subject: RE: [PHP] Tutorial? I started with this: http://www.php.net/tut.php went from there. Also http://www.thickbook.com/ has some good stuff. Jeff Oien > Hi there, > Iam new to the world of PHP, and after my bos

RE: [PHP] Tutorial?

2001-03-02 Thread Jeff Oien
I started with this: http://www.php.net/tut.php went from there. Also http://www.thickbook.com/ has some good stuff. Jeff Oien > Hi there, > Iam new to the world of PHP, and after my boss told me to learn PHP and MySQL, I > found my way here. > I am gettign to frips with MySQL, and Basic PHP see

RE: [PHP] Tutorial?

2001-03-02 Thread John Ashton
Hey, There are a million different sites that have hordes of information to offer, One of my favourites is phpbuilder. For a list of more links please visit the php.net pages. In the link section there are a few good links. Here is a link to some basic php/mysql stuff, http://www.phpbuilder.c