background preloader

PHP

Facebook Twitter

BigDump: Staggered MySQL Dump Importer. Php - Adding days to specific day. Generate QR Codes in PHP. Used widely in various recent applications, QR Codes can be seen on cola cans, business cards, in sushi bars, and in museums. QR Code is a 2-dimensional barcode specification that was invented in Japan. It is patented. but it’s inventor, Denso Wave, chose not to exercise it and left the standard open for the benefit of all. The code has since grown in popularity because of its ability to include a lot of data in a single image and the proliferation of smartphones with scanning apps.

In this article I’ll show you how you can easily generate QR Codes from within your PHP application and share some ideas on how and when to use them, We’ll be using PHP QR Code, a library written in PHP for generating QR Codes and which doesn’t require any dependencies beyond the standard GD2 graphics extension for creating images. Generating your First QR Code Start by downloading the latest PHP QR Code library from GitHub. Create a new PHP script with the following code: You see how simple it is?

Summary. Upload Files to Amazon S3 using PHP. Are you looking for Amazon S3 bucket file upload from your web project using PHP technology., if yes take a quick look at this post demo. Amazon S3 is the best option to reduce the bandwidth cost as well file load time. Upload functionality is the most sensitive part in web project, one small mistake hackers will upload miscellaneous files. If you are connect with Amazon S3 you will be safe side. Download Script Live Demo Download script contains four files. S3.php //Amazon S3 library files3_config.php //Key configuration fileimage_check.php //File validator index.php Login to Amazon account and click here to get Access Credentials. s3_config.php Here you have to provide amazon key details.

<? //AWS access info if (! $s3 = new S3(awsAccessKey, awsSecretKey); $s3->putBucket($bucket, S3::ACL_PUBLIC_READ);? Index.php The file contains PHP and HTML code to submit form. <? }else $msg = "Image size Max 1 MB"; } else $msg = "Invalid file, please upload image file } else $msg = "Please select image file.

Funciones

Seguridad.