October 30th, 2009

In PHP, common tasks like ftp, encrypt passwords in MD5, or send email from a web page all are built in hidden code, and as PHP is Open source there is a lot
of free code available for PHP.
Unlike PHP there is no hidden code with ASP. If you need to upload files, then you would need a third party component like ASP upload, also if you need to send mail you need another component and so on.
Although PHP is better in many aspects, ASP offers more security than PHP.
Posted in
Comparisons, PHP |
No Comments »
September 28th, 2009

Price Compared to ASP, PHP installations are absolutely cheaper to install. PHP perfectly runs on Linux (which is a free OS) and programmers use MySQL .(which also comes FREE) ASP runs on the IIS Server (Internet Information Server) which requires Windows N.T/2000/2003 Servers or better. Aside from that ASP mostly uses MS-SQL Server as the back end which is really expensive. PHP obviously is cheaper than ASP.
Cross Platform compatibility
PHP programs run on a wide variety of Operating Systems Unix, Linux, Solaris and Window’s.ASP on the other hand only works flawlessly with Windows and not with other platforms. PHP offers more versatility than ASP.
Posted in
Comparisons, PHP |
No Comments »
August 16th, 2009

PHP developers try to maintain backwards compatibility in PHP programming such that a script written for an older version will still run without changes in a newer version. Two of the most important recent changes that affect old code are:
• The deprecation of the old $HTTP_*_VARS arrays which should be indicated as global when used inside a function or method. The following superglobal arrays were introduced in PHP » 4.1.0. They are: a) $_GET; b) $_POST; c) $_COOKIE; d) $_SERVER; e) $_FILES; f) $_ENV; g) $_REQUEST, and; h) $_SESSION. The older $HTTP_*_VARS arrays like $HTTP_POST_VARS are also available. In PHP 5.0.0, the long PHP predefined variable arrays may be disabled with the register_long_arrays directive.
• By default, external variables are no longer registered in the global scope, meaning in PHP » 4.2.0 the PHP directive register_globals is off by default in php.ini. These values can be accessed through the superglobal arrays.
Posted in
Codes |
No Comments »
July 19th, 2009

If you want to keep track of who has been visiting your web site and their destination, it would be a good idea for you to create a simple user log. The user log that will be used here will be stored in on a flat file and will store four basic functions: a) Time when the user accessed your page; b) User’s IP address; c) If available, the user’s referrer, and; d) User’s browser. Make a log.html and CHMOD it to 777, giving all permissions to the file. Use the date () function to set time. The four basic functions are built into PHP (all you need to do is to define the functions and send them to a log HTML file) so all other variables are already predefined. Using fopen (), the second part of the script will open up log.html and write the data in using fputs ().
Posted in
Basic Programming |
No Comments »
June 22nd, 2009
Smarty is categorized as a “Template engine”, though developers describe it more detailed as a “Template/Presentation Framework”, that offers developers and programmers ample tools to make extensive coding tasks easier by replacing tags with their appropriate counterparts. Smarty is aimed to hasten and make the development process simpler for all who aim to develop pages for the internet. Read the rest of this entry »
Posted in
Information, PHP |
No Comments »
May 22nd, 2009
There are several platforms on which web pages are deployed and with thousands of people using different versions of software, scripting languages should be endowed with the proper set of tools that determines the proper set of scripts. Scripts for one platform may differ in form in another so a conversion method should be deployed to allow them to properly interface with each other. Though done behind the scenes, it is of utmost importance making the web experience more enjoyable with an example of the script below for reference. Read the rest of this entry »
Posted in
Information, PHP |
No Comments »
April 22nd, 2009
With many of the internet’s web pages and applications based on PHP, many questions are being raised by the security and robustness of the system so to speak as we go through years of rapid development. Now the scripting language that is PHP isn;t meant to be weak security-wise and the problem lies with the sloppy work programmer have done all through the years that have left quite large and gaping security holes in something we so rely on. One event that greatly tripped the panic meters of developers the world over is the departure of one of the world’s leading authority on PHP, Stephan Esser, one of the founders of the language and a foundation of the web with him stating as an explanation that the security issues that are currently coming out are happening without his knowledge. Read the rest of this entry »
Posted in
Information, PHP |
No Comments »
March 22nd, 2009
In web development, it is quite necessary to separate the roles of the page designer and the programmer which handles more of the logical or program side of the whole page. Designing a page is the task of making it interesting and quite pleasing to the prospective users who want something that is easy on the eyes yet loaded with functions that performs their needs. The template designer handles the framework onto which the logic is presented visually which is the norm of the internet which relies on graphics and other nifty trinkets to make their users happy customers. Read the rest of this entry »
Posted in
Information, PHP |
No Comments »
February 10th, 2009
One of the most basic mistakes people make in PHP programming is failing to resize their images and files. Because it is supposedly a “small” thing, this is precisely what makes it easy for many PHP programmers to overlook.

Don't be an elitist!
What the failure to resize simply does is to make your site harder to access, as people with slower internet connections or short attention spans (or worse, both) will just skip viewing your site altogether, which would be a shame if your site and your content is well crafted. You might as well put a big bright disclaimer on your site that says, “People with slow internet connections – GO AWAY.” And that, friends, is elitism, albeit unintentionally done.
Posted in
Basic Programming, Information |
No Comments »
January 12th, 2009
The internet is a collection of broken stuff that may be too large for anyone or any company to fix so what do you do? Fix it with the growing popular PHP language that has been used again an again and is responsible for most of the web applications we use over the internet today. Being used by most open-source developers it has provided most of the web’s most innovative applications with millions of pages and users. From blogs to sites and apps, they all have one thing in common, PHP. Too many experts claiming this and that, unorganized moves to improve and develop systems for the net has left it broken as hell and the best way to fix it? Read the rest of this entry »
Posted in
Information |
No Comments »