Category Archives: PHP


Warning: Undefined array key 0 in /home/bugcom/public_html/blog/wp-content/themes/bugtreat/content.php on line 33

Warning: Undefined array key 0 in /home/bugcom/public_html/blog/wp-content/themes/bugtreat/content.php on line 33

4 Most Important Directory Functions in PHP

Mar 07, 2014

When writing PHP scripts that need to deal with the file-system to change the current directory, creating new directories, change the root directory, gets the..

Read more

Warning: Undefined array key 0 in /home/bugcom/public_html/blog/wp-content/themes/bugtreat/content.php on line 33

Warning: Undefined array key 0 in /home/bugcom/public_html/blog/wp-content/themes/bugtreat/content.php on line 33

How to Auto Post on Twitter with

Mar 05, 2014

Manually post to social networks is probably better than to use an automated method. But, if you post many new topics every day, automated post..

Read more

Warning: Undefined array key 0 in /home/bugcom/public_html/blog/wp-content/themes/bugtreat/content.php on line 33

Warning: Undefined array key 0 in /home/bugcom/public_html/blog/wp-content/themes/bugtreat/content.php on line 33

PHP Object cloning using clone keyword and

Feb 17, 2014

Object cloning or clone of an object means to create a duplicate of an object. With regular variables $var1 = $var2 means that a new..

Read more

Warning: Undefined array key 0 in /home/bugcom/public_html/blog/wp-content/themes/bugtreat/content.php on line 33

Warning: Undefined array key 0 in /home/bugcom/public_html/blog/wp-content/themes/bugtreat/content.php on line 33

Caching HTTP Headers in PHP

Jan 28, 2014

Page caching is very important for a website as it speeds up repeated page views and saves a lot of traffic by preventing downloading content..

Read more

Dealing With Common PHP Errors

Jan 27, 2014

Working with PHP, we often face few common problem and errors related to PHP script such as white page of syntax error, unexpected errors, header..

Read more

Warning: Undefined array key 0 in /home/bugcom/public_html/blog/wp-content/themes/bugtreat/content.php on line 33

Warning: Undefined array key 0 in /home/bugcom/public_html/blog/wp-content/themes/bugtreat/content.php on line 33

Cross-Site Scripting Attacks (XSS)

Jan 23, 2014

Cross-Site Scripting (XSS) is a type of security hole where a hacker attempts to inject client-side scripting into a web page that others are able..

Read more