you just add following three lines for that
php_value post_max_size 10M
php_value upload_max_filesize 10M
php_value max_execution_
On Wed, May 27, 2009 at 11:08 AM, Robert Steve Paolo Dejesica <
knives_return@
>
>
> Are you asking to all the members here to make your own project?
> LOLZ
>
> ____________
> From: girish muchalambe <girish.muchalambe@
> >
> To: php-objects@
> Sent: Tuesday, May 26, 2009 10:20:42 PM
> Subject: Re: [php-objects] 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.
> http://mail.
>
> [Non-text portions of this message have been removed]
>
>
>
[Non-text portions of this message have been removed]
Join the PHP Professionals directory Now!
http://www.phpclasses.org/jobs/
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
No comments:
Post a Comment