Wednesday, July 27, 2011

South Indian Sexy Celebrity



Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011


Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011

Best of Hot South Indian actress Photos 2011
Best of Hot South Indian actress Photos 2011
 Andhra Pradesh sexy celebrity, Karnataka, Kerala and Tamil Nadu as well as the union territories ofLakshadweep and Puducherry,fashion and entertainment Glamaour latest showbiz Rare Arrives Awards Functions Ballet Shoes Beautiful Bikini Boyfriend bra Burberry Cleavage Cute Drawing Fake Fakes Family Fashion feet Funny Gallery Hot Interview Magazine Mini Skirt News panties Party Photo effect Photo Shoot Photos Polo Day Premiere Pretty Private Pictures Rupert Grint Sexy shorts Style Pose thongs videos Wallpaper with Celebrities Young screen saver huge Photo Gallery of Share hot Sexy clip of video of Movies Videos Watch video about boom hott,scene fearless myspace FEARLESS Lyrics Music site for music videos, songs, photos, live performances and more Music video Pictures, Biography, Discography, News, Ringtones American Music Awards Nominees ... one of country pop's brightest ! Picture, Video, Wallpaper, Profile, Gossip, and News at Celebrity Women Celebrities Profile – Biography, Latest Photos, Pics, News, Gossip, Comments, Success and Sexiness Rating! Check out Get the latest news, pictures and videos and learn all about from Hollyscoop, your celebrity news source Picture, Video, Wallpaper, Profile, Gossip, and News at Celebrity sports illustrated project pictures of Recent images Hot! View the latest photos. Large gallery of pics hot photos, hot pictures, news, videos, movies, songs, lyrics, music albums, filmography, discography, biography Photos, Bio, News and Message Board on TVGuide pictures and photos in a high quality gallery of the beautiful born supermodel Fansite with blogs, news, filmography, awards, video, wallpaper and anything and everything about Super sexy model Gallery Home Gallery Videos Forum Personal News Links Contact Editorial Covers Campaigns Events Extras Secret News SEXY EVENING GOWN Pictures, Videos, Wallpapers, Screensavers, Downloads, News Headlines and Linkshe photo galleries, information, tags, stats picture sexy bikni free celebrities, 3d , actress, art nature, travel, abstract, game, car Get free Desktop Wallpapers for your PC. Fast and Easy Satanic Celebrities?The Horned Hand Not Just Rock? Free to Join Online Fellowships Celebrity Charity Profile Check out the latest Cecile de France photo gallery, biography, pics, pictures, interviews, news, forums and blogs Sexy Pictures, Sexy Girls naked, beautiful girls sexy, black girls sexy, asian girls sexy, Lesbians pictures, big small images, lady pictures ownload latest bollywood actor, fan club, biography, roles, images, photos, profile news, gossip, photos of biography, boyfriend and relationship info Hindi music, Indian songs, Bollywood Movie soundtracks, desi videos, trailors and news. Hindi, Tamil, Telugu and Malayalam Songs MUMBAI, India: Bollywood beauty got engaged to Londonbased millionaire businessman at his Mumbai apartment Bollywood Actors Actresses Directors boobs Bollywood Movies, Bollywood DVD, Hindi Movies, Hindi DVD, Punjabi Movies, Punjabi DVD, DVD, Songs Check out Actress Latest News, Photos, Videos, Actress Images, Pictures, Gallery, Photo Gallery information about of Cruise with Celebrity Cruises Voted one of the World's Best Cruise Lines by Condé Nast Traveler Cruise deals on toprated vacation cruises to premier Celebrity photo, video, and gossip blog featuring the latest hot celebrities including Nude Celebrities, celebrity Sex, Pussy, Upskirts, Thong Slips, Tit Slips, Celebrity Sex Tapes, Sex Pictures Offers celebrity news, new movie reviews, trailers and celeb photos lyrics, Profile, Biography, Credits, Image Gallery 

Friday, January 22, 2010

name of actress in bollywood

Aishika Chand (1) Amisha Patel (4) Amrita (8) Anu Vaishnavi (2) Anushka (5) Asin (3) Aunty Actresses (15) Ayesha Takia (2) Beauty Pageant Girls (10) Bhairavi Goswami (2) bhavana (3) Bhumika (3) Bhuvaneswari (2) Bikini (10) Bikini Babes (13) Bipasha Basu (3) Bollywood Actress (28) bollywood babes (6) Bollywood Kissing (12) Bollywood News (7) Celina Jaitely (5) charmi (5) Closeup (7) Daisy Boppana (1) Dating Actresses (3) Deepal Shaw (1) Deepika Padukone (4) Divya Khosla (2) Divya Spandana (2) Esha Deol (2) farzana (2) Geeta Basra (2) gul panag (2) Hot (30) Hot Babes (48) hot model (9) Hot Pop Stars (6) Hot Wallpaper (8) hrishita bhatt (2) Item Girls (5) Jiah Khan (2) Kajal (3) Kangana Ranaut (4) Kannada Actress (14) Kareena Kapur (5) kashmira shah (3) Katrina Kaif (6) kausha (2) Kaveri Jha (4) Kim Sharma (3) Kiran (4) Koena Mitra (2) Lakshmi Rai (2) Lara Dutta (1) madhuri dixit (2) Malayalam Actress (27) Mallika Sherawat (4) Mandira Bedi (2) meera jasmine (2) Minissha Lamba (2) Mona Chopra (4) Mona Lisa (2) naina dhaliwal (2) Namitha (9) Nauheed Cyrusi (2) Nayanthara (6) neetu chandra (3) negar khan (2) Neha Dhupia (4) Padma Lakshmi (2) Paris Hilton (1) Pooja (4) Preeti Zinta (3) priya soni (1) Priyamani (8) Priyanka Chopra (4) Priyanka Kothari (2) raima sen (2) Rakhi Sawant (3) Ramya (2) Rani Mukherji (2) Sada (2) Sanjana (2) Saree (5) sexy hollywood actress (7) Sexy Movie Photos (21) shakeela (1) sheela (2) Sherlyn Chopra (4) Shilpa Shetty (1) shreya (5) Sneha (1) Sneha Ullal (1) Tamil Actress (28) Tamil Babes (11) Tanushree Dutta (2) Telugu Actress (27) Telugu Babes (43) Tennis Beauties (4) Thunder Thighs (1) Trisha (3) unseen (8) Urvashi Sharma (2) Vidya Balan (2)

Thursday, January 21, 2010

Vimala Raman romance


Vimala Raman romance

Hot indian pictures


meghna_naidu

amrita_Rao

celina_jaitley
trisha

Monday, January 4, 2010

File Upload Forms and Scripts

File Upload Forms and Scripts
So far we've looked at simple form input. Browsers Netscape 2 or better and Internet Explorer 4 or better all support file uploads, and so, of course, does PHP. In this section, you will examine the features that PHP makes available to deal with this kind of input.

First, we need to create the HTML. HTML forms that include file upload fields must include an ENCTYPE argument:



ENCTYPE="multipart/form-data"


PHP also works with an optional hidden field that you can insert before the file upload field. It should be called MAX_FILE_SIZE and should have a value representing the maximum size in bytes of the file that you are willing to accept. This size cannot override the maximum size set in the upload_max_filesize field in your php.ini file that defaults to 2MB. The MAX_FILE_SIZE field is obeyed at the browser's discretion, so you should rely upon the php.ini setting to cap unreasonable uploads. After the MAX_FILE_SIZE field is entered, you are ready to add the upload field itself. It is simply an input element with a type argument of "file". You can give it any name you want. Listing 10.11 brings all this work together into an HTML upload form.


$_FILE Elements Element
Contains
Example

$ FILES['fupload']['name']
Name of uploaded file
test.gif

$_FILES['fupload']['tmp_name']
Path to temporary file
/tmp/phprDfZvN

$_FILES['fupload']['size']
Size (in bytes) of uploaded file
6835

$_FILES['fupload']['error']
An error code corresponding to a PHP constant
UPLOAD_ERR_FORM_SIZE

$_FILES['fupload']['type']
MIME type of uploaded file (where given by client)
image/gif



You can use the error element of an element in $_FILES to diagnose the reason for a failed upload. Assuming a file upload named 'fupload', we would find the error code in



$_FILES['fupload']['error]


lists the possible error codes.
$_FILE Error Constants Constant Name


UPLOAD_ERR_OK
0
No problem

UPLOAD_ERR_INI_SIZE
1
File size exceeds php.ini limit set in upload_max_filesize

UPLOAD_ERR_FORM_SIZE
2
File size exceeds limit set in hidden element named MAX_FILE_SIZE

UPLOAD_ERR_PARTIAL
3
File only partially uploaded

UPLOAD_ERR_NO_FILE
4
File was not uploaded



Armed with this information, we can write a quick and dirty script that displays information about uploaded files (see Listing 10.12). If the uploaded file is in GIF format, the script will even attempt to display it.

Redirecting the User in php aand mysql


Redirecting the User

Our simple script still has one major drawback. The form is rewritten whether or not the user guesses correctly. The fact that the HTML is hard-coded makes it difficult to avoid writing the entire page. We can, however, redirect the user to a congratulations page, thereby sidestepping the issue altogether.

When a server script communicates with a client, it must first send some headers that provide information about the document to follow. PHP usually handles this task for you automatically, but you can choose to send your own header lines with PHP's header() function.

To call the header() function, you must be sure that no output has been sent to the browser. The first time that content is sent to the browser, PHP sends out headers and it is too late for you to send your own. Any output from your document, even a line break or a space outside of your script tags, causes headers to be sent. If you intend to use the header() function in a script, you must make certain that nothing precedes the PHP code that contains the function call. You should also check any libraries that you might be using.

Listing 10.9 shows a request (lines 1 and 2) followed by typical response headers sent to the browser by PHP.

Listing 10.9 A Request Prompts Response Headers from a PHP Script
1: HEAD /phpbook/source/listing10.8.php HTTP/1.0   2: Host:matt.corrosive.co.uk   3:   4: HTTP/1.1 200 OK   5: Date: Wed, 03 Sep 2003 13:52:09 GMT   6: Server: Apache/2.0.47 (Unix) PHP/5.0.0b1   7: X-Powered-By: PHP/5.0.0b1   8: Connection: close   9: Content-Type: text/html; charset=ISO-8859-1  

You Can Browse the Web with Telnet

graphics/didyouknow_icon.gif

You can see headers sent in response to a request by using a Telnet client. Connect to a Web host at port 80 and then type

                    
HEAD /path/to/file.html HTTP/1.0  Host:www.example.com  
                      

followed by two returns. The headers should appear on your client.



By sending a "Location" header instead of PHP's default, you can cause the browser to be redirected to a new page:

        
header( "Location: http://www.corrosive.co.uk" );  
          

Assuming that we have created a suitably upbeat page called congrats.html, we can amend our number-guessing script to redirect the user if she guesses correctly, as shown in Listing 10.10.

Listing 10.10 Using header() to Send Raw Headers
1: <?php   2: $num_to_guess = 42;   3: $message = "";   4: if ( ! isset( $_POST['guess'] ) ) {   5:    $message = "Welcome to the guessing machine!";   6: } else if ( $_POST['guess'] > $num_to_guess ) {   7:    $message = $_POST['guess']." is too big! Try a smaller number";   8: } else if ( $_POST['guess'] < $num_to_guess ) {   9:    $message = $_POST['guess']." is too small! Try a larger number";  10: } else { // must be equivalent  11:     header("Location:congrats.html");  12:     exit;  13: }  14: $guess = (int) $_POST['guess'];  15: $num_tries = (int) $_POST['num_tries'];  16: $num_tries++;  17: ?>  18: <!DOCTYPE html PUBLIC  19:     "-//W3C//DTD XHTML 1.0 Strict//EN"  20:     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  21: <html>  22: <head>  23: <title>Listing 10.10 A PHP Number Guessing Script</title>  24: </head>  25: <body>  26: <div>  27: <h1>  28: <?php print $message ?>  29: </h1>  30: Guess number: <?php print $num_tries?><br/>  31:  32: <form method="post" action="<?php print $_SERVER['PHP_SELF']?>">  33: <p>  34: <input type="hidden" name="num_tries" value="<?php print $num_tries?>" />  35: Type your guess here: <input type="text" name="guess"  36:                         value="<?php print $guess?>"/>  37: </p>  38: </form>  39: </div>  40: </body>  41: </html>  

The else clause of our if statement on line 10 now causes the browser to request congrats.html. We ensure that all output from the current page is aborted with the exit statement on line 12, which immediately ends execution and output, whether HTML or PHP.

Remember that sending content to the browser causes HTTP headers to be sent. If you then call the header() function, you cause an error. You code defensively by checking that headers have not been sent before calling header():

        
if ( ! headers_sent() ) {      header( "Location: http://www.example.com" );      exit;  }  
          

If headers have been sent, the headers_sent() function returns true. headers_sent() also optionally accepts two empty variables, into which it places the filename and line number, defining the point at which headers were sent. This function can be very useful for debugging:

        
if ( headers_sent( $file, $num ) ) {      print "headers were sent in file: $file on line: $line";  }  

Using Hidden Fields to Save State

Using Hidden Fields to Save State

The script in Listing 10.7 has no way of knowing how many guesses a user has made. We can use a hidden field to keep track of this. The mark-up for a hidden field is similar to that of a text field. From the user's perspective, however, it has no output. A user cannot see a hidden field, unless he views the HTML source of the document that contains it. Listing 10.8 adds a hidden field to the number-guessing script and some PHP to work with it.

Listing 10.8 Saving State with a Hidden Field
1: <?php   2: $num_to_guess = 42;   3: $message = "";   4: if ( ! isset( $_POST['guess'] ) ) {   5:    $message = "Welcome to the guessing machine!";   6: } else if ( $_POST['guess'] > $num_to_guess ) {   7:    $message = $_POST['guess']." is too big! Try a smaller number";   8: } else if ( $_POST['guess'] < $num_to_guess ) {   9:    $message = $_POST['guess']." is too small! Try a larger number";  10: } else { // must be equivalent  11:    $message = "Well done!";  12: }  13: $guess = (int) $_POST['guess'];  14: $num_tries = (int) $_POST['num_tries'];  15: $num_tries++;  16: ?>  17: <!DOCTYPE html PUBLIC  18:     "-//W3C//DTD XHTML 1.0 Strict//EN"  19:     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  20: <html>  21: <head>  22: <title>Listing 10.8 A PHP Number Guessing Script</title>  23: </head>  24: <body>  25: <div>  26: <h1>  27: <?php print $message ?>  28: </h1>  29: Guess number: <?php print $num_tries?><br/>  30:  31: <form method="post" action="<?php print $_SERVER['PHP_SELF']?>">  32: <p>  33: <input type="hidden" name="num_tries" value="<?php print $num_tries?>" />  34: Type your guess here: <input type="text" name="guess"  35:                         value="<?php print $guess?>"/>  36: </p>  37: </form>  38: </div>  39: </body>  40: </html>  

The hidden field on line 33 is given the name "num_tries". We also use PHP to write its value. While we're at it, we do the same for the "guess" field on line 27 so that the user can always see his last guess. This technique is useful for scripts that parse user input. If we were to reject a form submission for some reason, we can at least allow our user to edit his previous query.


You Can Automate print() with Short Opening Tags

graphics/didyouknow_icon.gif

When you need to output the value of an expression to the browser, you can of course use print() or echo(). When you are entering PHP mode explicitly to output such a value, you can also take advantage of a special extension to PHP's short opening tags. If you add an equals (=) sign to the short PHP opening tag, the value contained will be printed to the browser. Note the following line:

          
<? print $test;?>  
            

It is equivalent to

          
<?=$test?>  
            

Remember, though, that the short open tag might be disabled on some sites and interfere with XML.



The variables $guess and $num_tries were extracted from the $_POST array on lines 13 and 14. We cast the values to integers and add one to $num_tries. The $num_tries variable is written to the value of the hidden field named 'num_tries' on line 33. Every time the user submits the form, the $_POST['num_tries'] element will have been incremented.


Be Careful with Client Stored Data

graphics/watchout_icon.gif

Don't entirely trust hidden fields. You don't know where their values have been! This isn't to say that you shouldn't use them; just be aware that your users are capable of viewing and amending source code should they want to cheat your scripts.

Search Within This Blog