Linux Delete All Files In Directory
This command delete all files in current directory: 1 sudo rm -rf * sudo rm -rf *
URL’s Content Using PHP cURL
Downloading content at a specific URL is common practice on the internet, especially due to increased usage of web services and APIs offered by Amazon, Alexa, Digg, etc. PHP’s cURL library, which often comes with default shared hosting configurations, allows web developers to complete this task. The Code: The Usage: Alternatively, you can use the [...]
PHP File Upload Tutorial
This tutorial will demonstrate how to handle file uploads in PHP. We will create a simple XHTML form with a file field, and a PHP script that handles the form submission by moving the uploaded file to a designated directory. This tutorial assumes you are using PHP 4.4.0 or higher. XHTML for the File Upload [...]
Website Thumbnail Generator PHP Script
Requirements: Windows hosting PHP GD library (installed on most hostings) Permissions to execute third-party applications (i.e. exe files) Permissions to execute Internet Explorer How it works: Website Thumbnail Generator checks if it already has website image in the cache, and shows it in the browser. If no cached image then IECapt would be run [...]
UNIX File Permissions Tutorial
Understanding file permissions on Unix: a brief tutorial (For files on AFS fileservers, see below) Every user on a Unix system has a unique username, and is a member of at least one group (the primary group for that user). This group information is held in the password file (/etc/passwd). A user can also be [...]
![[Google]]( http://www.network-content.com/wp-content/plugins/easy-adsense-lite/google-light.gif)