Tuesday, May 26, 2009

Re: [php-objects] help in uploading file



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@yahoo.com> wrote:

>
>
> Are you asking to all the members here to make your own project?
> LOLZ
>
> ________________________________
> From: girish muchalambe <girish.muchalambe@gmail.com<girish.muchalambe%40gmail.com>
> >
> To: php-objects@yahoogroups.com <php-objects%40yahoogroups.com>
> 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.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]

__._,_.___
Are you looking for a PHP job?
Join the PHP Professionals directory Now!
http://www.phpclasses.org/jobs/
Recent Activity
Visit Your Group
Give Back

Yahoo! for Good

Get inspired

by a good cause.

Y! Toolbar

Get it Free!

easy 1-click access

to your groups.

Yahoo! Groups

Start a group

in 3 easy steps.

Connect with others.

.

__,_._,___

No comments: