tux run php until last row

ignore_user_abort() — Set whether a client disconnect should abort script execution

Sets whether a client disconnect should cause a script to be aborted.

When running PHP as a command line script, and the script’s tty goes away without the script being terminated then the script will die the next time it tries to write anything, unless value is set to TRUE

call the function at top of the script like this:

// Ignore user aborts and allow the script
// to run forever
ignore_user_abort(true);
set_time_limit(0);

be careful before call it, it can be dangerous, you can need a “httpd restart” or server can fire cause of loads

November 17, 2010
Posted in Php — admin @ 1:11 am

tux xml to text with php

There is lots of xml reading methods and classes. Some of them is too compicated. if you want to read xml with real php and simpliest way, u can use this code

(more…)

December 2, 2009
Posted in Php — banias @ 8:57 pm

tux How to Make a Tag Cloud?

In this tutorial i am going to show you how to create a basic tag cloud using php.I am going to write some css code to show most used tags bigger than others.
(more…)

November 16, 2009
Posted in Css, Php — TaZ @ 3:40 pm