vijayjoshi.org - php | javascript | ajax | and all things web

Archive for the ‘FAQ’ Category

FAQ: How to fix error 403: access forbidden for phpmyadmin in wampserver?

May 26th, 2009 | Posted by Vijay Joshi | 29 Comments
The Problem: PhpMyadmin works fine on localhost but accessing it over a network gives error 403: Access Forbidden. Reason: Reason is pretty clear – phpmyadmin is not configured to be accessed over a ...

FAQ : How to toggle visibility of an html element by javascript

January 27th, 2009 | Posted by Vijay Joshi | No Comments
In my previous post, I discussed how we can change the style and/or css class of any html element by JavaScript. We can take advantage of this feature to add ...

FAQ : Problem with javascript function parseInt

January 7th, 2009 | Posted by Vijay Joshi | No Comments
JavaScript function parseInt() is used to parse a string and extract the integer from that string. Therefore if you do parseInt(“200xyz”), it will return 200. The problem arises when you do the ...

FAQ: How to upload files in php?

December 26th, 2008 | Posted by Vijay Joshi | 1 Comment
Uploading files in web applications is a common practice. Thanks to php which makes it simple to implement. This post will present a simple example of how to upload files using ...

FAQ: How to fix php warning – “Cannot modify header information – headers already sent”

December 15th, 2008 | Posted by Vijay Joshi | 1 Comment
You must have seen this error message quite a lot of times. Cannot modify header information – headers already sent The following code sample will throw the same error: //this will result in ...

My first igoogle gadget

November 25th, 2008 | Posted by Vijay Joshi | No Comments
Update: A new functionality to the gadget has been added today. Due to this the widget will now display a random quote each minute. You can also set the time limit ...