if(isset($_FILES['resume'])) On Tue, May 26, 2009 at 3:58 PM, amit choure <paragchaure@xxxxxxxxx> wrote: > > > Hi all, > > Please help me. > I'm facing the problem in php5.2 while uploading the file here is the error > > Notice: Undefined index: resume in C:\wamp\www\frames\contact > validation\upload_file.php on > > same script is executing in php4.4 > > here is the script for uploading > > if($_FILES['resume']) > { > if($_FILES['resume']['size'] < 90000) > { > if($_FILES["resume"]["error"] > 0) > { > echo "Erroe Code : ".$_FILES["resume"]["error"]; > } > else > { > /*echo "<br><b>file name : </b>" . > $_FILES["resume"]["name"]; > echo "<br><b>File Type : </b>" . $_FILES["resume"]["type"]; > echo "<br><b>File Size : </b>" . > $_FILES["resume"]["size"];*/ > > move_uploaded_file($_FILES["resume"]["tmp_name"], > "./upload/".$_FILES["resume"]["name"]); > /*{ > echo "<br>File Uploaded <a href > ='./upload/".$_FILES["resume"]["name"]."'>".$_FILES["resume"]["name"]."</a>"; > }*/ > > } > } > } > > thanks > parag > > Own a website.Get an unlimited package.Pay next to nothing.*Go to > http://in.business.yahoo.com/ > > [Non-text portions of this message have been removed] > >