DirectorySoftwareBlog Details for "Gaming With PHP"

Gaming With PHP

Gaming With PHP
Blog dedicated to web development using PHP, MySQL, CSS, AJAX and the latest technologies...

Articles

Image uploading security
2008-03-24 17:32:00
There are hundreds of methods to exploit a php script, but there is one, that many people just don’t pay much attention to. The real problem happens when your script can upload files. First of all, if your script just uploads ANY file, an attacker can upload a php shell and gain access to the server. But ...
More About: Security , Image , Uploading
Custom buttons using CSS
2008-03-16 23:00:00
It’s a web 2.0 era, so why would you use a normal gray button when you can make custom ones to fit your website style? Well a button is just like any xhtml tag, you can customize most of it’s properties: font, color, size, background, etc. Have a look at this:   <style> .mybtn {         width: 200px;     ...
More About: Custom , Buttons
Common CSS Mistakes 1
2008-03-13 00:11:00
As in everything we can make mistakes, and when you develop a site using multiple technologies (PHP, MySQL, JavaScript, CSS…, etc) there will be more placed to make mistakes/errors. So CSS is not an exception. p .a   {   ….   } p.a   {   ….   } Take a look at these 2 codes. What is the difference?? Got it? the space between ‘p’ and ‘.a’ in ...
More About: Common
Secure data: Filtering input variables
2008-03-07 03:23:00
Hundreds if not thousands of vulnerabilities have been discovered in php based application because of the lack of filtering of input data. You can never trust a user, and verify what you are receiving. The lack of securing input data can lead to sql injections, php injections, path disclosures, and more vulnerabilities. Some of these can ...
More About: Data , Variables , Secure , Input
Logging var_dump() output
2008-03-04 14:11:00
I’m pretty sure you have already heard about var_dump() or print_r(). These 2 great functions are very useful to debug the code by seeing what each var, array, class or whatever has inside it…. Well the only problem is how to “save” their content to a variable or wherever, maybe to later insert it into a ...
Drawing with PHP: array to graph
2008-02-29 19:33:00
Ever wanted to make something like this with PHP ? Well, today I will show and explain the script that generated this beautiful graphic. PHP supports drawing functions with the GD library which provides many necessary image manipulation functions. Using these functions we can actually transform the array to this graphic. The array must have no more than ...
More About: Drawing , Graph , Array
SQL: DISTINCT vs GROUP BY
2008-02-26 18:49:00
One day I saw an interesting poll on phpfreaks.com Basically it is about what is better to use SELECT DISTINCT or SELECT … GROUP BY. Well that’s what I’m going to solve today Benchmarking it! For this test I created 1 table like this: CREATE TABLE `testing`.`benchmarking` ( `id` INT( 10 ) NOT NULL AUTO_INCREMENT PRIMARY KEY ...
More About: Group
Send mails even to hotmail boxes
2008-02-25 18:37:00
I guess I’m not the only one that had this problem. One day I needed to make a registration script that sends confirmation email to the user before activating it. Well, I made that script, the whole confirmation system and of course the mailing function that would send an email to the user. And yes, ...
More About: Hotmail , Send
Welcome to Gaming With PHP
2008-02-24 20:27:00
Hello and welcome to this little yet another blog I know you will ask what is special about this blog, well hold on, you will see everything a bit later, but now I will explain some things that I will put here. Well first of all, this blog will be completely dedicated to web technologies ...
More About: Gaming , General
40579 blogs in the directory.
Statistics resets every week.


Contact | About
© Blog Toplist 2008 - SEO by FeWorks
eXTReMe Tracker