Re: [PHP] Question concerning performance

2001-01-17 Thread Christian Reiniger
lileky in th 0.1% range. Look at bigger optimizations first, then benchmark and if it still is too slow (and only then) optimize further. -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) The most exciting phrase to hear in science, the one that heralds new discoveries, is not "E

Re: [PHP] How to handle multiple lines in PHP?

2001-01-16 Thread Christian Reiniger
rchives. I already posted a solution for this (complete, working source code) some time ago. Here it is: Date: Fri, 5 Jan 2001 18:08:51 +0100 -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "Never doubt that a small group of thoughtful, committed people can change the world.

Re: [PHP] regular expression

2001-01-15 Thread Christian Reiniger
ip leading/trailing whitespace $Address = trim ($Address); // check for basic form return preg_match ('/^[^@]+@[\w-]+(\.[\w-]+)+$/', $Address); } -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) "Software is like sex: the best is for free" -- Li

Re: [PHP] filemtime or getlastmod

2001-01-14 Thread Christian Reiniger
through the getlastmod() docs. That function returns the modification time of the *currently executed PHP script*. Use filemtime() instead and it will work -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Install once, run forever. Linux. -- PHP General Mailing List (http

Re: [PHP] mixing HTML and PHP code

2001-01-12 Thread Christian Reiniger
html head title$title/title "; One reason why I don't like the "echo" route: I lose the syntax highlighting for the HTML that way. String constants should be highlighted as, well, string constants normally, but when they co

Re: [PHP] PHP simulator

2001-01-11 Thread Christian Reiniger
at computer here runs on Linux without any GUI, but still...) -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) This is JohnC IMHO, I compaired tri-word groupings here and in his plan and got a good match. - /. posting discussing the likelihood that an AC post that claimed to be pos

Re: [PHP] MySQL SELECT performance suggestions

2001-01-10 Thread Christian Reiniger
nd SELECT in this format: look for mysql_num_rows () -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) Drink wet cement. Get stoned. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

<    1   2   3   4   5