[PHP-WIN] RE: links to php install bundles and tutorials

2001-02-01 Thread Simon Willison
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

RE: [PHP-WIN] How can I make PHP to work on Win98 ?

2001-01-31 Thread Simon Willison
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

[PHP-WIN] RE: PHP vs JSP ?

2001-01-30 Thread Simon Willison
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

[PHP-WIN] RE: Date + Time

2001-01-25 Thread Simon Willison
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

RE: [PHP-WIN] Is it possible to CONVERT file formats?

2001-01-25 Thread Simon Willison
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

[PHP-WIN] new script: ssLinks v1.2

2001-01-24 Thread Simon Willison
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

[PHP-WIN] RE: decimal numbers

2001-01-10 Thread Simon Willison
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