Does this mailing list have an FAQ anywhere?
[Simon Willison] -Original Message-
From: Paul Trapnell [mailto:[EMAIL PROTECTED]]
Sent: 01 February 2001 01:00
To: php
Subject: re: links to php install bundles and tutorials
--thanks for the additional tutorial link (the Meloni one at
You could always use Apache - it's free, works fine on Windows 98 and is
easier to set up than you might think.
Try this tutorial:
"Setup and Install Apache + PHP4 on Windows" :
http://www.thickbook.com/extra/php_apachephp4_win.phtml
Cheers,
Simon
-Original Message-
From: Leon Santos
I think it depends mainly on the scale of the project. PHp and JSP can both
be used to achieve exactly the same things (i.e dynamically generated pages,
tied in with databases, user interaction etc) - it's a lot easier to learn
and develop in PHP because you don't have to learn Java first.
The b
You can use PHP's date function to do this - information here:
http://www.php.net/date
In your case the function would be...
$yourdate = date("d") . (date("w") + 1) . date("mY");
I'm pretty sure that will work - I had to use a messy construct because the
"w" element of the date function returns
I've player around with a few concepts involving this, and come up with 3
possible (although tricky) solutions:
1. Use your own code similar to the UBB syntax used on many message board
systems. Here users can use HTML-like codes such as [b]Text in bold[/b],
[i]text in italics[/i] etc - it's ve
It's free for non-commercial sites!
http://www.tfc-central.co.uk/sslinks/
There you have it - if this is inappropriate for this list please tell me,
otherwise I'd welcome any comments / suggestions on the script (especially
ideas for version 1.2).
Cheers,
Simon Willison
aka Skunk
htt
You need to use sprintf or printf to format the output. Here's the
necessary code:
$Percent = sprintf ("%0.2f", $Percent);
If you use printf it will print the result, whereas sprintf (as used above)
returns the string and lets you assign it to a variable instead.
More info here: http://www.ph