Posted by rajqpt on April 6th, 2013 at 10:31 am
About Case-sensitive and why it needed
Text or inputted text that is capitalization sensitive. In other words, "Computer" and "computer" are two different words because the "C" is in uppercase and lowercase. Many times a password and username is case-sensitive. This means your username or password must have the proper case or you will be unable to login. Often users will experience the inability to log into a case sensitive login because their caps lock key is on, causing the case sensitive...
Posted by rajqpt on April 4th, 2013 at 7:49 am
Why we want to use custom login?, Because we must separate from user and admin account and we must be disabled some feature in user account. And similarly, activate all feature in admin account.
PRIVILEGE ADMINISTRATION Privilege Administration refers to the ability to change privileges. This is the most dangerous of all privileges! If you grant someone the privilege of Privilege administration, then not only will they be able to edit their own privileges, but they'll also be abl...
Posted by rajqpt on March 9th, 2013 at 8:19 am
Sample PHP code for Store and verify the encrypted password
Here use Base64-encoded and decode function to store and retrieve the password.
The Base64-encoded function work process
Password change into random letters, numbers and/or characters.
Base64-encoded data takes about 33% more space than the original data.
To store the password
$Link = mysql_connect ("localhost","root","") or
die('Databse not connecte...
Posted by PRIYAQPT on December 17th, 2012 at 11:06 am
Now let us see how to validate a form while using multiple submit button. Its merely easy to validate the form when there is a single submit button
It's quiet tricky to perform validation on form with multiple submit button.
1.Add the multiple submit buttons in a form:
<form action="" method="POST" id="form" name="form">
Posted by PRIYAQPT on November 17th, 2012 at 11:20 am
Have you find it's a difficult to reduce the z-index for your youtube video here is simple solution to make your video behind the website content.
Usually youtube videos has a more z-index than the other contents. Lowering the z-index is not a good trick instead of that you can use wmode parameter to embed your video
You can refer the following code
<embed width='560' height='315'
Posted by PRIYAQPT on November 16th, 2012 at 12:11 pm
Let us see how to create a POP-UP window using javscript.
Now we are going create code html file and we are going to add the link, whenever the user clicks the link it will display the POP-UP window
Place the code inside the html file
Posted by PRIYAQPT on November 7th, 2012 at 5:19 am
To increase the visibility of your site or code, you can make use of embed code to your site so that the user can place the your code in their site thus it will improve the visibility of your code.
Now, Let us see how to add the embed code to your site using iframe
1. Place your source url that code that contains the code, adjust the height and width in the below code
<iframe marginwidth='0' marginheight='0' frameborder='0' width='600px' height='700px' scrolling='no' src='h...
Posted by PRIYAQPT on November 5th, 2012 at 12:03 pm
Now-a-days, Pinterest plays a major role in social media for sharing your videos, photos etc.,
So you can pin your photos, videos easily using Pinterest Button
You can add the Pinterest button to your website using the following code
<a href="http://pinterest.com/pin/create/button/" count-layout="none"><img src="//assets.pinterest.com/images/PinExt.png" alt="Pin it" /></a>
Posted by PRIYAQPT on October 19th, 2012 at 7:38 am
In the earlier post we have seen about sending an email with a file attachment .
Now let us see how to send an a email with multiple file attachment.
For this just we have to place the files in an array
Let us see code for sending an email with multiple file attachments
$to = firstname.lastname@example.org;
$from = email@example.com;
$subject = "Email with multiple file attachment"
$message = "Refer the attached files";
$headers = "From: $from";
Posted by PRIYAQPT on July 2nd, 2012 at 9:41 am
As in the earlier concatenating array elements into string with delimiter are quite complex. Now it is easy to concatenate the array elements to string with delimiter using PHP implode() or join().
implode() joins the array elements into string.
string implode ( string $delimiter, array $arrayelements )
$delimiter - value that separates the array elements (optional)
$arrayelements - array of string elements