Jon, An additional bit. My host has just sent an email to say my site's server is being upgraded to PSA 2.5.5 (which includes PHP 4.1.0). I assume this is all good, but is there anything interesting about the other bits of PSA?
TIA Joseph Joseph Harris http://www.smilepoetryweekly.com Smile Poetry Weekly ezine [EMAIL PROTECTED] ----- Original Message ----- From: Joseph Harris <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 9:58 PM Subject: [wdvltalk] Re: PHP (was: RE: Javascript code) > Jon, > > Thanks. That sets me off very nicely; I'll be on my way to the link you > give very shortly. > > Joseph > > ----- Original Message ----- > From: Jon Haworth <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, September 04, 2002 4:39 PM > Subject: [wdvltalk] PHP (was: RE: Javascript code) > > > > Hi Joseph, > > > > > I am in serious danger of understanding this. > > > > heh, nice :-) > > > > > If the host has PHP enabled is it really as simple > > > as a piece of code like that, which I would put > > > (where?). > > > > It really is. You can drop PHP anywhere you like in an HTML document. > > > > Here's a complete, ready to copy-n-paste version: > > > > ---start--- > > <html> > > <head> > > <title>WhatsTheDate.com</title> > > </head> > > <body> > > <h1>Welcome to WhatsTheDate.com!</h1> > > <?php > > echo "<p>The date is ". date("jS F Y"). ".</p>"; > > ?> > > </body> > > </html> > > ----end---- > > > > > And PHP is ideal for what general kind of thing? > > > > It's perfect for building small to medium scale websites which need some > > sort of database backend - think of it as the glue between the website > users > > see as HTML pages and the data stored in the database. You don't *need* a > > database, and you can do lots of funky things without one, but that's the > > most common application. > > > > You may notice when you're surfing that some pages have a ? in the URL... > > everything before this is the address of the page, and everything after > this > > is information you're giving to the page. > > > > The idea is you can have one page called "products.php", and call it with > <a > > href="products.php?id=23">the amazing foomatic!</a> - products.php then > > knows you want the description of product #23, goes to the database, pulls > > out all the info, inserts it into the page, and *then* sends it to the > > browser. > > > > The online manual is fantastic and you should definitely read the > > introduction chapter: > > http://www.php.net/manual/en/introduction.php > > > > I've found PHP to have a very gentle learning curve and a very low barrier > > to entry. It's really easy to get up and running - spend an afternoon > > playing with it and I bet you'll be suprised at what you achieve. > > > > > I am particularly interested because I am planning to offer > > > spoken verse on my site - I'll wait till you've all stopped > > > laughing - and need to know how to control the whole process > > > for the 'pay up' files. > > > > It's pretty straightforward, but get a handle on basic stuff before trying > > out e-commerce :-) > > > > Cheers > > Jon ____ � The WDVL Discussion List from WDVL.COM � ____ To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] Send Your Posts To: [EMAIL PROTECTED] To change subscription settings to the wdvltalk digest version: http://wdvl.internet.com/WDVL/Forum/#sub ________________ http://www.wdvl.com _______________________ You are currently subscribed to wdvltalk as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED]
