Tips & Tutorials – PHP

Simple One Time Password (OTP) In PHP MySQL – Free Download

Welcome to a quick tutorial on how to create a one-time password (OTP) in PHP and MySQL. Need some extra security for resetting a user account, confirming an email address, payments, or securing transactions? Creating and verifying an OTP in PHP is actually a straightforward process: Generate a random one-time password on request. Save it …

Simple One Time Password (OTP) In PHP MySQL – Free Download Read More »

Add Files & Folders In PHP ZIP (Basics, Entire Folder, Recursive)

Welcome to a quick tutorial on how to add files and folders with PHP Zip. So you have a project that needs some zip archive action, and no idea where to start? We can add files and folders to a zip file in PHP using the ZipArchive extension: $zip = new ZipArchive(); $zip->open(“archive.zip”, ZipArchive::CREATE); $zip->addFile(“target.file”, …

Add Files & Folders In PHP ZIP (Basics, Entire Folder, Recursive) Read More »