There are times when you have to disable the default right click menu on flash files on your webpages.
Uza has a suggested a method to completely disable the flash right menu.
Check the article link at his website http://www.uza.lt/blog/2007/08/solved-right-click-in-as3
and the Demo here http://www.uza.lt/rightclick/
You can also download the project files from the Google code
Project website:
http://code.google.com/p/custom-context-menu/
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Posted in Flash/Flex | No Comments »
Dec 29th, 2007 by kiranvj
There are times when you have to change the login link in your webpage to a logout link when a user successfully logged in.
Here is a simple way to do it in PHP
Suppose your menu is
Link 1
Login
Link 2
the corresponding HTML code will look like
<a href='somepage.php'>Link 1</a>
<a href='login.php'>Login</a>
<a href='some_other_link.php'>Link 2</a>
After successful login most probably you will set a session. Say the name of the session variable is username
Then the code for the menu will look like
<a href='somepage.php'>Link 1</a>
<?php
if(isset($_SESSION['username']) && $_SESSION['username']!="")
{
echo("<a href='logout.php'>Logout</a> ");
echo($_SESSION['username']);// displays username
}
else
{
echo("<a href='login.php'>Login</a> ");
}
?>
<a href='some_other_link.php'>Link 2</a>
and also make sure to add
<?php
session_start();
?>
on top of your page.
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Posted in PHP | No Comments »
Dec 29th, 2007 by kiranvj
This article applies only to Windows operating systems.
If you dont know how to take System Properties tab, do this, Right click the My Computer icon on the desktop, select Properties. By default the General tab will be shown. This is the System Properties.
System Properties can also be accessed from the Control Panel.

Continue Reading »
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Posted in Windows | No Comments »
Dec 25th, 2007 by kiranvj
This artilce explains how to automatically log on to a windows account using a username and password.
This is useful when the installation of your program requires restart of computer inbetween like the installation of Visual Studio.
So after the restart there will be no prompt for username and password, the system is automatically logged to the specified user account and the installation will continue.
Another use is the forced login of a user to a specified user account.
This article involves editing of Registry. (Editing of registry should be done with atmost care, since an error can cause the system not to boot. So if you have any doubt or you don’t know what to do, don’t edit registry.) Continue Reading »
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Posted in Windows | No Comments »
Dec 25th, 2007 by kiranvj
Image Toolbar is a small toolbar shown in Intetnet Explorer above an image when the mouse moves over the image. The purpose of the Image Toolbar is to save the image, print the image, mail the image and to open the My Pictures folder.

Image Toolbar in Internet Explorer
Continue Reading »
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Posted in Web development | No Comments »
Dec 24th, 2007 by kiranvj
How to implement a CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) using PHP
Implementing CAPTCHA using PHP

Steps involved in this tutorial:
- Create a background image, the more messier the more better.
- Load a font file to display the CAPTCHA text
- Generate a random unique text
- Store the generated text in a Session variable to be used later for validation
- Write the CAPTCHA text to the image created in Step 1
- Generate the CAPTCHA image
- Also created a php page with the CAPTCHA image, a text box for input and a Submit button to show a working model (this step is not explained in detail, its simple PHP code, download and check the source files)
Click here for a working model
Continue Reading »
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Posted in PHP | 8 Comments »
Dec 24th, 2007 by kiranvj
Welcome to eInternals blog. Launched on Christmas Eve 2007.
Please check frequently for new stuff.
Merry Christmas 
Share and Enjoy:
These icons link to social bookmarking sites where readers can share and discover new web pages.
Posted in General | No Comments »