Browsing: Snippet

PHP Snippet Php Snippet
0

Image validation using JavaScript are not secure. Good programmers “NEVER TRUST USERS”, they validate image both at client and server side. In this tutorial I am going to explain how to validate Single/multiple image and upload in PHP.

MySQL Snippet Mysql Snippet
2

Most newbies make mistake by not creating primary-foreign key relationship between tables. They just assume table column as primary-foreign which leads to many error later on. In this tutorial you will learn the write sql to create foreign keys and join tables.

PHP Snippet Php Snippet
0

If you are looking for a way to force download file in PHP try this snippet. PHP function to get the mime type of the file. Download file with proper validation & error messages.

1 2 3 5