To delete files in a directory or folder with PHP, all you have to do is use the unlink function. Unlink not only deletes pictures, but will delete any kind of file in a directory. Lets get started. Unlink in PHP The unlink function has been around since PHP4. It also works on PHP5, PHP7 Read More
This self destruct letter script is fun, fast and mobile friendly. All you have to do is download it and upload it to your server. I created this script a while ago but I made some updates to it. You can see the self destruct letter script in action here. Feel free to use it. Read More
This is an Ajax in WordPress tutorial. Let it serve as an ultimate beginner’s guide for you. I have already made several posts on Ajax and how to use it. However, this is my first post for using Ajax in WordPress. I think you will enjoy this lesson with all the codes and video instruction. Read More
Ever wonder how to create a download link in PHP and then make it expire? Would you like to know how to expire a download link after a set number of times they download it? Do you want to know how to protect your files from people trying to steal your downloads? We are going Read More
Recently I was working on a project that required the “checked” value on a radio button. I had put the form item in a php loop to update products for a marketing site. I used the following code. Example of Checked Value For Radio Select <label class=”btn btn-info active”><input type=”radio” name=”optradio” id=”optradio'” value=”shipped” checked>Shipped</label> This is Read More
This is a lost password script tutorial. I write it in AJAX, JQuery, Bootstrap, PHP and MySQL. People frequently lose their passwords. Password reset scripts are almost mandatory, with people expecting software to do everything for them. Writing scripts that let people reset their passwords do pose some risks. Are they using a secure email Read More
In this tutorial we create a contact form that enters contact information into a database. It will then send an email to you from your website. We do this with AJAX, jQuery, Bootstrap, PHP and MySql. https://youtu.be/y4M_u–t5YA AJAX jQuery Functions Used ready() function to check the readiness of the DOM {Document Object Model} click() function Read More
Let’s create a login script with AJAX JQuery, PHP and MySQL in this tutorial. We will create a form to login to the system and use AJAX with JQuery for the process. Next we will use PHP to process the form and return data to the webpage without reloading. Then we will set session variables Read More
You need to sanitize your string before you insert them into your databases. We show you how to do that in this lesson with “FILTER_SANITIZE_STRING”, “FILTER_SANITIZE_EMAIL” and “FILTER_FLAG_STRIP_HIGH”. We use jQuery and AJAX to pass the variables to the processor. This lesson is a continuation of the last lesson Create Secure Password Sign Up Script With Read More
Create a secure password sign up script with PHP, jQuery and AJAX with this easy to follow tutorial. Preliminary steps for this tutorial is to go over the last post Create A Database and Table At The Same Time With PHP. If you are already familiar with creating database tables this is the structure for the database Read More
In this tutorial we will be submitting a form using AJAX with jQuery to PHP. What you need to understand is the jQuery is shorthand for JavaScript. jQuery has a bunch of JavaScript functions that make it shorter to call in when coding. This particular tutorial is related to our other post in JavaScript Best Ajax Tutorial Read More
You only need to have one processing file in PHP when you are working with AJAX. If you have more than one processing file for every from you create you are wasting your time. This will make your programming less confusing. Lets dive into how using one processing form in PHP is more efficient. Previous Lessons Read More
You can change a color on a web page with ajax. In this tutorial we make use of the HTML input type of color. We then generate an Ajax request to the processor. This in turn returns CSS code that changes the color on the webpage. To see how this is done watch the video. Read More
In this Ajax tutorial, you will learn how to process more than one form item. Ajax is very fast and can retrieve data in a split second. In the last ajax tutorial we showed you how to process one form item. Usually when you need a form on a web page, you need to process Read More
This is the best Ajax tutorial. Learn how to submit a form without reloading a page. Ajax can do that for you. Here is a very simple tutorial with the code that will help you get started using Ajax in your applications. The XMLHttpRequest Object The XMLHttpRequest object can be used to request data from Read More
The Latest and Greatest
Get the Latest and Greatest lessons delivered right to your email!
Search This Website
Enter Query in Search Box and hit enter to use our search.
A1WEBSITEPRO Social Media Pages
Here are my social media pages, lets hook up!