Posted on October 31st, 2007 by admin
Many of us in the field of programming and development go through a phase where we completely blank out. Our minds don’t work, our logic seems to have lost its track and we are not able to make any progress with projects. If this has happened to you and continues to happen to you… then […]
Filed under: Programming | 4 Comments »
Posted on October 31st, 2007 by admin
This PHP5 tutorial discusses about PHP arrays.
What is an array?
Generally speaking an array is continuous allocation of memory of similar data types.
This means that you can define a single array variable which can hold multiple values at the same time. These multiple values are retrieved using an index number. Don’t worry if you did not […]
Filed under: PHP, PHP Tutorials | 2 Comments »
Posted on October 27th, 2007 by admin
If you wish to start a blog or already have a blog and have this issue that you keep running out of ideas, I recommend that you consider the tips mentioned below to help you generate ideas for your blog posts.
1. Discuss issues with other people
When you discuss issues in your area of specialization, you […]
Filed under: Blogs, General, Research | No Comments »
Posted on October 26th, 2007 by admin
This article talks about the use of __get() (double underscore - get()) and __set() (double underscore - set()) PHP5 OOPS magic methods.
By default PHP is a Loosely typed language and therefore it is not necessary to declare variables before using them. This also holds true for using class members. Look at an example below.
[…]
Filed under: PHP, PHP Tutorials | 3 Comments »
Posted on October 26th, 2007 by admin
In this age of competition and business flourishing, gone are those days when employers would look at someone specialized to execute projects. Though this still holds true for Architect level positions, but; employers expect a little more from programmers and software engineers.
Today knowing an array of technologies help you get a job of your choice […]
Filed under: General | 2 Comments »
Posted on October 26th, 2007 by admin
An interesting play with graphics. Check it out.
Your email: Subscribe Unsubscribe
Filed under: Humor | No Comments »
Posted on October 25th, 2007 by admin
PHP5 provides a magic method by the name of __toString() (double underscore followed by toString()) which is useful for debugging purposes.
The __toString() method is automatically called when an object in PHP5 is converted into a string for the purpose of display or concatenation.
[…]
Filed under: PHP, PHP Tutorials, Programming | 3 Comments »
Posted on October 25th, 2007 by admin
Keep these practical tips in mind when developing code for your web applications. Examples shown are written in PHP and can be implemented in any language.
Prevent SQL Injection attacks
Provide additional security with backend validations
Validate Combo Box and List Box data
Convert HTML code into its entity form
Capture errors and show custom error page
[…]
Filed under: PHP, Research, Security | 2 Comments »
Posted on October 23rd, 2007 by admin
Swapping 2 variables requires a third temp variable, this is how it is implemented with 3 variables (I have implemented this in PHP, the same logic can be used in any language):
<?php
$a = 5;
$b = 7;
$temp = $a;
$a = $b;
$b = $temp;
echo “$a : $b”;
?>
[…]
Filed under: Programming | 5 Comments »
Posted on October 23rd, 2007 by admin
Both remove records from the table, so what is the difference. Very simple, read along.
For this article, I will use a ‘friends’ table.
delete from friends;
and
truncate table friends;
Filed under: MySQL | 2 Comments »