Re: help in uploading file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



you just add following three lines for that



php_value post_max_size 10M
php_value upload_max_filesize 10M
php_value max_execution_time 3600













On Wed, May 27, 2009 at 11:08 AM, Robert Steve Paolo Dejesica <
knives_return@xxxxxxxxx> wrote:

>
>
> Are you asking to all the members here to make your own project?
> LOLZ
>
> ________________________________
> From: girish muchalambe <girish.muchalambe@xxxxxxxxx<girish.muchalambe%40gmail.com>
> >
> To: php-objects@xxxxxxxxxxxxxxx <php-objects%40yahoogroups.com>
> Sent: Tuesday, May 26, 2009 10:20:42 PM
> Subject: Re:  help in uploading file
>
> Hi,
> if the file size is larger then it will gives error.
> Create one .httaccess file in that write code for increase upload size
> limit
> and execution time.
> Just place that file in ur parent directory it will work.
>
> bye
>
> On Tue, May 26, 2009 at 7:28 PM, amit choure <paragchaure@ yahoo.com>
> 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]
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
> Get your preferred Email name!
> Now you can @ymail.com and @rocketmail.com.
> http://mail.promotions.yahoo.com/newdomains/ph/
>
> [Non-text portions of this message have been removed]
>
>  
>


[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux