php

Data Types In Php 7 Objects Arrays Null Resource Lesson 11

DATA TYPES IN PHP7 HOW THEY ARE USED

DATA TYPES IN PHP 7 Here is the second part to the data types in PHP7. Lesson 10 we talked about Strings, Integers, Booleans, and Floats.In this lesson we are going to talk about  Objects, Arrays, NULL and Resource. Here are the files from the previous lesson if you are just joining us. Video is Read More

PHP7 DATA TYPES INTEGERS FLOATS STRINGS BOOLEAN LESSON 10

PHP7 DATA TYPES HOW THEY ARE USED

Understanding PHP7 data types will help you put things together. There are 8 different data types in PHP. They are all used differently.  We will cover the first 4 types in this lesson and the second half in the next lesson. Here are files from the last lesson. Here are some quick examples of PHP7 Read More

PHP7 POWER WEEK ULTIMATE TUTORIALS VIDEOS & CODE EXAMPLES

Hello friends, next week we will have a “PHP7 Power Week“. The PHP power week will consist of two lessons a day. I will release one about 9 AM in the morning and then release another one about 3 o’clock in the afternoon. This will be Monday through Friday Eastern standard time. Make sure you Read More

PHP7 GUIDE FOR NEW PROGRAMMERS 2018 ECHO PRINT VARIABLES LESSON 3

PHP7 GUIDE FOR NEW PROGRAMMERS 2018 ECHO PRINT VARIABLES

PHP 7.2.11 is the latest PHP version. We will be using this version for this series of lessons. We will take you from an absolute beginner programmer with no knowledge of PHP and build upon that. Please make sure that you have completed the absolute beginner web development course. We will be building off of Read More

INTERMEDIATE WEB DEVELOPMENT SET UP A SERVER LESSON 1

INTERMEDIATE WEB DEVELOPMENT SET UP A SERVER

Now, you have to set up a server. We have completed the Absolute Beginner Web Development Courses. It has help a lot of people with the basics of HTML, CSS and JavaScript. However when it comes to web development there are a couple more things that you need to know in order to grow your Read More

GDPR Compliance What You NEED To Do

GDPR Compliance What You Need To Do

This article will discuss GDPR Compliance, and What You NEED To Do before the deadline on May 25th. This will include the need to edit your Privacy Policies, Terms of Service and any other Data Policies that you may have to fully inform website users of their rights along with acquiring their consent to use Read More

Checked Value Use Form Tag In PHP Loop For Radio Buttons

Checked Value Use Form Tag In PHP Loop For Radio Buttons

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

SANITIZE STRINGS BEFORE INSERTING INTO DATABASE PHP MYSQL AJAX JQUERY

SANITIZE STRINGS BEFORE INSERTING INTO DATABASE PHP MYSQL AJAX JQUERY

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 Secure Password Sign Up Script With PHP jQuery and AJAX

Create Secure Password Sign Up Script With PHP jQuery and AJAX

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

Warning: unlink(): http does not allow unlinking in PHP

Warning: unlink(): http does not allow unlinking in PHP

In order to delete an image or file off of your server in PHP you have to use unlink(). This function will delete the file from your server. This is a permanent action and can not be undone once we completed the process. If you’re getting warning: unlink(): http does not allow unlinking in PHP, Read More

Using Crypt to Encrypt Password in PHP

PHP Web Development

Sometimes we need to encrypt a password hash in php before inserting it into the database. The code below will reveal this information. $1$aGwdyCbv$dwOWTv3mGDXIH0tHK7Ova1 hash [code]<?php $passwordtohash = ‘mypassword’; $hash = crypt($passwordtohash); echo $hash; echo $passwordtohas; ?>[/code] Explaining the Crypt Code and Process The php variable of $pass is holding within it “hash”. We then Read More

Advertisements or Content After First Post in WordPress or Genesis

Advertisements-or-Content-After-First-Post-in-WordPress-or-Genesis

If you’re a blogger or website owner using WordPress or the Genesis framework, you may be interested in displaying advertisements or additional content after the first post on your homepage. This can help increase engagement and revenue by providing readers with relevant content and advertising opportunities. Here’s how you can add advertisements or content after Read More

Optimize Images With PHP In A Directory on Your Server

Optimize Images With PHP In A Directory on Your Server

Optimizing Images With PHP Optimizing images is a big part of website development and optimization. For most webmasters I do not have to go into detail on why you should optimize your images. It was pretty standard, yet it was quite hard to achieve. As far as I know, even casino sites like https://www.daisyslots.com are Read More

Finding the Non-Secure Item on Your Website

finding-insecure-content

Finding the Non-Secure Item on Your Website is a cumbersome task sometimes. I have included on this post some resources that can help you find the culprit. What Needs To Be Secure When You Have An SSL? SSL is an acronym for Secure Socket Layer. Everything needs to be secure on a webpage that has Read More