If you want to use jQuery’s validate to check the size of the file you can by creating this method:
Category Archives: Programming
PreLoadMe
a lightweight jQuery website preloader PreLoadMe is a lightweight preloader for any web content. Powered by jQuery and CSS it is fully responsive and will run on all modern desktop- and mobile browsers with no additional plugins.
Javascript CDN
cdn js
Google Chrome PHP log console
Overview ChromePhp is a PHP library for the Chrome Logger Google Chrome extension. This library allows you to log variables to the Chrome console.
How to Upload and Unpack a Zip File using PHP
When you’re emailing or uploading larger files, it always makes sense to compress them first. This decreases file size and also helps avoid file corruption during transfer. The most common compressed file you will encounter is the zip file, since most operating systems come with a basic utility to quickly zip and unzip files. Creating …
Continue reading “How to Upload and Unpack a Zip File using PHP”
Write to a log file with PHP
As I caught myself in process of writing PHP "log" function several times I have finally decided to create a simple Logging PHP class. After Logging class initialization, first call of lwrite method will open log file implicitly and write line to the file. Every other lwrite will use already opened file pointer until closing …