Category Archives: web development and design
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
There are many times when you have to PHP MySqli Check For No Results in Database. Maybe you are checking the username and password of a user and match it to an authenticated user. Prerequisites for PHP MySqli Check For No Results in Database In order to perform this query you will have to have something in your Read More
If you are looking for PHP HTML script for emails you have come to the right place. If you look at our PHP Snippets for email. You may be disappointed that when you send an email that you do not actually see formatted HTML. PHP Header For HTML Email Emails do not automatically display HTML. Read More
Why would you want to send emails every hour from your server? Most servers only allow you to send out 250 emails every hour and some servers only allow you to send out 500 emails a day. Let’s say that you have 5000 subscribers to your blog and you are not using 3rd party applications. In Read More
We can direct people to our mobile site using JavaScript. What this following code does is look for a screen size and then redirects the user. [code] <script type="text/javascript"> if (screen.width <= 699) { document.location = "mymobilesite.html"; }[/code] The following code will target iPhone and iPods to your mobile website. [code] if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) Read More
Welcome to Google Shopping Guerilla Marketing. If you have a product you want to market Google shopping is the place you want to be. Our guinea pig website is kbathandbody.com. When you first go on the website you will see they sell candles and soaps. They already have everything set up as we have discussed Read More
I thought it was time that I made a simple post on using AJAX. This is a very easy script for you to develop from. The main thing that you want to keep in mind is that you have to put the following script into a file called test.php. Further Instructions for Mysql You will Read More
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
Viewports for Mobile Header tags are something that I think we should be able to just copy and paste. It makes things faster when you are programming. A Viewport tag will auto enlarge text on smaller screens so they are mobile friendly. You would put this code in your header.php file. [code]<meta name="viewport" content="width=device-width, initial-scale=1">[/code] Read More
Introduction: Google data highlighter is a tool that helps Google index. The Bing SEO analyzer is Bing’s tool for indexing. Let’s prepare for Google shopping & google search console. Prerequisites Before you perform what is contained in this lesson you will have to have Google Search Console set up with your website. If you do not Read More
So why is A1WEBSITEPRO cost effective to a consumer than other web development companies? This answer may shock some while others in the business have known this for a long time. A1WEBSITEPRO has a “Real Web Developer” while the other so called web development companies are only salespeople. They contract out the work to other Read More
Submitting your products to Google and Bing for indexing is easy after you have the accounts set up. URL submissions to the search engines are free. This is “Organic Indexing”. Preliminary Steps Before Submission Remember that your post, products or pages are not indexed until you submit them. So take your time to make sure Read More
Welcome to part 3 Child Themes in WordPress for Beginners For those of you arriving at this post this is a continuation of the Child Theme in WordPress series. Make sure that you have completed part 1 and part 2 before attempting to do the following tutorial. https://www.youtube.com/watch?v=C2C1KFG3MV8 Advantages of Having a Child Theme The Read More
Child themes on WordPress for beginners part 2 CSS is a continuation of WordPress child theme creation tutorial. So if you have not completed that tutorial, you may want to look at it before you do this one. What We Are Going to Learn Browser to target CSS. Identify id’s to make changes. “#” Identify Classes Read More
A1WEBSITEPRO Social Media Pages
Here are my social media pages, lets hook up!