Skip to content

Category: Internet

File Upload With PHP

I recently needed to handle a file upload using PHP and was pleasantly surprised by how easy it was. I am sharing my file upload test script below. Create a file named “upload.php” with the following content: <?php {   // Handle GET or POST   if ($_SERVER[’REQUEST_METHOD’] === ‘POST’)…

Leave a Comment

PHP Script to Convert Firefox’s “sessionstore.js” to HTML

Today, my Firefox browser decided to freeze on startup while loading the pre-existing tabs. After killing it and restarting several times, I realized that the only way to recover was to prevent Firefox from loading the tabs. I located Firefox’s “sessionstore.js” file and moved it (one could also rename it).…

5 Comments