To Set DateTime With FileName While Uploading in PHP here is only 3 steps to append a timestamp to the filename in PHP, Create a HTML form with input file type. Create PHP code to upload the file. Setting the date and time on the name of the file using PHP date() function. Note: Do […]
Convert String to Array in PHP Without Explode
To Convert String to Array in PHP Without Explode we use for loop to count the number of words on the sentence. Create a blank array to store the words which we extract using a loop in PHP. Here is the complete example how we Convert String to Array in PHP Without Explode, Output: Array([0] […]
Get Second And Third Word from Strings in PHP
To Get Second And Third Word from Strings in PHP we use PHP’s inbuilt function named as explode() function. Before we check the source code to get any word from any position using PHP, we do some introduction about PHP explode function. Introduction to Explode Function in PHP The explode() function breaks the given string […]
Get Current City State and Zip Code Using PHP
To Get Current City, State, and Zip Code Using PHP using PHP, we use IP Geolocation API to get the data of Current City, State, and Zip Code as well as coordinates. This location API is useful when you develop any location or tracking-based projects using PHP. To get the data we use file_get_contents() function […]
How to Encode and Decode Image Path in PHP
To Encode and Decode Image Path in PHP, we use 3 main PHP inbuilt functions, file_get_contents() Function: The file_get_contents() function is PHP inbuilt function that can help to read files into a string. This function uses the memory mapping technique to doing this which is also supported by the server. file_put_contents() Function: This function can […]
Export MySQL Data to Excel in PHP Using Ajax
Export MySQL Data to Excel in PHP Using Ajax, for doing this task we have to follow 4+ steps where we create a table to show the data and then export that visible MySQL data to an excel sheet. Here are the 4+ steps to Export MySQL Data to Excel in PHP Using Ajax, Create […]
jQuery Contact Form Send Email Using Ajax
jQuery Contact Form Send Email Using Ajax, is a common feature of various websites. If you want to send the contact form details using Email then it can be do nicer using AJax with PHP. Go below to Download Complete Source code File Here are 3 major steps to create jQuery contact Form which can […]
How to Store Data In Cookies Using JavaScript
Store Data In Cookies Using JavaScript, before we start setting the cookie using JavaScript, first we should discuss what are Cookies in JS. And then we start all the cookie operations. On this complete article we majorly discuss about, What are the Cookies? JavaScript Cookies Operations Store Data In Cookies using JavaScript (Set Cookie) with […]
Steps to Upload Multiple Images in PHP with Preview
Here are 3 Simple Steps to Upload Multiple Images in PHP with Preview. Here we discuss in-depth code review where we use image upload source code and what are the important PHP functions to use for uploading multiple images. 3 Simple Steps to Upload Multiple Images in PHP The list of 3 Simple Steps to […]