pooni's blog

00 How to install PHP based Drupal Content Management System(CMS)

To install Drupal just follow these simple steps:
1. Download files

Get your domain hosted on a server (say from vpsland.com).I personally use virtual private server from a service provider like vpsland.My site is hosted on www.mplstutorial.com domain and is linked to subdirectory in the root directory.

Difference in Forward proxy and Reverse proxy

I came across this problem while reading the architecture of TIVOLI Access Management.Well, after discussing a while with people i found the correct difference between Forward Proxy and Reverse Proxy and the advantage of using them.

Warning: MySQL server has gone away query:INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname,

How to handle this error:

Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp)

VALUES (1, 'php', '<em>MySQL server has gone away\nquery: UPDATE cache SET data =&amp;#039;a:4....

in C:\xampp\htdocs\studentindia\includes\database.mysql.inc on line 172

Solution:

Convert a string of hexadecimal digits into its equivalent integer values in C (can use atoi)

Problem : Write a function htoi(s) which converts a string of hexadecimal digits(including optional 0X) into its equivalent integer value.The allowable digits are 0 to 9, a through f.

I suggest a simple solution of this problem.

Syndicate content