August 20th, 2007
PHP doesn’t really support multi-threading per se but there are ways to do “fake” multithreading. Here’s one I saw in the PHPClasses.org newsletter – Multi-thread Simulation.
Note that this class is intedend for use on a webserver, as opposed to running PHP scripts from a command line (or similar). Check […] Continue Reading…
21 Comments
| Web Development
| Permalink
Posted by Jānis Elsts
August 12th, 2007
Say you want a PHP script that will make the browser to download a file instead of opening it. This is useful for common filetypes that would normally be displayed in a browser, like .html, images, PDFs and .doc files.
You can find a lot of scripts that do this […] Continue Reading…
128 Comments
| Web Development
| Permalink
Posted by Jānis Elsts