I use this:
function getmicrotime()
{
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec*1000);
}
// Start script
$time=getmicrotime();
...
...
...
// Script finished
echo "Page was generated in
".sprintf("%01.7f",((getmicrotime()-$time)/1000))." seconds.";
Hi all.
Will PHP remove variables from memory when script will NOT use them in rest
of code?
for example:
or I must use allways unset()?
Thanx
Emo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all.
I would like to ask you if exist some way to get size of memory used by
current script.
I searched for sth, but didn't found any suitable result :o(
Thanx
Emo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thanx for your advice.
I put this question because I need to increase performacne of the server.
So I must use unset() wherever is possible :o)
Thanx
Emo
"Dan Anderson" <[EMAIL PROTECTED]> pí¹e v diskusním pøíspìvku
news:[EMAIL PROTECTED]
> > Note that you don't technically need to worry about it
Hi all.
I want ask you it exist some way how to get number of line in script
producing error.
for example:
...
...
100$sql_connection=mysql_connect( )
101or die ( my_error_report_function ( $line_with_error ) );
...
...
Command at line 100 can produce error. And i need call some
I'm glad that no file is attached ... this message is from mail-worm :o)
"Esteban Fernandez" <[EMAIL PROTECTED]> pí¹e v diskusním pøíspìvku
news:[EMAIL PROTECTED]
> No file attached..
>
> <[EMAIL PROTECTED]> escribió en el mensaje
> news:[EMAIL PROTECTED]
> > Please see the attached file.
>
>
-
Try this:
";
?>
"Matt Zur" <[EMAIL PROTECTED]> píse v diskusním príspevku
news:[EMAIL PROTECTED]
> Does anyone know of a simple program that will let me specify a file
> within a certain directory to load into a textarea field, let me make
> changes, then export/replace that file with the changed
I don't know if you mean this ...
I use for detect browser and send css for it this script:
Some title
.
.
.
"ØYstein HåLand" <[EMAIL PROTECTED]> pí¹e v diskusním pøíspìvku
news:[EMAIL PROTECTED]
> Till now I've bin using the BrowserDetect.class.php by Harry Fuecks. Since
I
I use this:
function getmicrotime()
{
list($usec, $sec) = explode(" ",microtime());
return ((float)$usec + (float)$sec*1000);
}
$time=getmicrotime();
echo "Page was generated in
".sprintf("%01.7f",((getmicrotime()-$time)/1000))." seconds.";
Emo
"Jack Sasportas" <[EMAIL PROTECTED]> píse v
I like this:
http://www.bettina-attack.de/jonny/view.php/projects/php_writeexcel/
Last time I've readed help there wasn't support for formulas.
Anybody know sth which can output formulas?
Mainly I need SUBTOTALS, which can show "plus-minus" to hide some rows.
Or another tip how to do it. Thanx
E
Hi all.
I've got one problem with %subj%. I need to get 1st appearance of any
alternative pattern, but my regexp get last.
in $out[2] (input) is "columns FROM tables WHERE conditions ORDER BY sth
DESC LIMIT 1 OFFEST 0"
preg_match("/[[:space:]]*(.*)[[:space:]]+from[[:space:]]+(.*)[[:space:]]+wh
11 matches
Mail list logo