RE: [PHP] Upload size limit stays at 8MB

2011-05-06 Thread Ross Hansen
ok at setting up a HTTPS. otherwise, glad to know that your issues is solved. :) > Date: Fri, 6 May 2011 10:10:31 -0700 > From: ji...@sohnen-moe.com > To: hansen.r...@live.com.au > Subject: Re: [PHP] Upload size limit stays at 8MB > > -BEGIN PGP SIGNED MESSAGE- > Hash:

RE: [PHP] Upload size limit stays at 8MB

2011-05-05 Thread Ross Hansen
Hey, There is also an option for post_max_size = xM x being the number specified. This should be located in your php.ini file somewhere. check to make sure that this is set high enough else it could also be causing the issue. > To: php-general@lists.php.net > Date: Thu, 5 May 2011 21:51:26 -0

Re: [PHP] upload big files

2011-04-17 Thread Ashley Sheridan
On Sun, 2011-04-17 at 19:12 +0200, Ricardo Martinez wrote: > thanks guys for answer, > > i'm thinking in use FTP with PHP, never did it before, but don't must be > dificult. > I'll tell to you as finished it ;) > > thanks! > > On Sat, Apr 16, 2011 at 3:54 PM, Ashley Sheridan > wrote: > > > On

Re: [PHP] upload big files

2011-04-17 Thread Ricardo Martinez
thanks guys for answer, i'm thinking in use FTP with PHP, never did it before, but don't must be dificult. I'll tell to you as finished it ;) thanks! On Sat, Apr 16, 2011 at 3:54 PM, Ashley Sheridan wrote: > On Sat, 2011-04-16 at 15:47 +0200, Daniel Jost wrote: > > okay, sorry, you are right.

Re: [PHP] upload big files

2011-04-17 Thread Tolas Anon
On Thu, Apr 14, 2011 at 10:36 AM, Ricardo Martinez wrote: > Hi List! > > Need can upload big files ( around 300MB ) the system must be easy of use ( > cann't use ftp ). > > Was thinking in make it, using a form with post, and update the cfg files > for can upload big files. > But don't know how it

Re: [PHP] upload big files

2011-04-16 Thread Ashley Sheridan
On Sat, 2011-04-16 at 15:47 +0200, Daniel Jost wrote: > okay, sorry, you are right. i thought it would be purely javascript > but forgot the flash component. > > > > but if you don't want your user to blindly upload 300mb over hours > (depending on his internet connection) there are no other >

Re: [PHP] upload big files

2011-04-16 Thread Daniel Jost
okay, sorry, you are right. i thought it would be purely javascript but forgot the flash component. but if you don't want your user to blindly upload 300mb over hours (depending on his internet connection) there are no other possibilities than using one of that components. or does anyone have anot

Re: [PHP] upload big files

2011-04-16 Thread Ashley Sheridan
On Sat, 2011-04-16 at 15:36 +0200, Daniel Jost wrote: > hi! > > this form would not really be a nice solution to upload 300mb. there would > be no progress bar and no other possibility for the user to get feedback. > > you should consider to use a java uploaded - or a bit nicer - a javascript >

Re: [PHP] upload big files

2011-04-16 Thread Daniel Jost
hi! this form would not really be a nice solution to upload 300mb. there would be no progress bar and no other possibility for the user to get feedback. you should consider to use a java uploaded - or a bit nicer - a javascript based solution like this: http://www.uploadify.com/

Re: [PHP] Upload Progress Meter

2011-03-24 Thread Donovan Brooke
Brad Broerman wrote: Essentially, they all require Flash or Java... You are generally talking about two different sides of the client/server relationship.. unless you are talking about Applets, right?... so I have an issue with the statement. If jquery does one (as mentioned), it's likely n

RE: [PHP] Upload Progress Meter

2011-03-24 Thread Brad Broerman
: Wednesday, March 23, 2011 10:29 AM To: sstap...@mnsi.net Cc: PHP Subject: Re: [PHP] Upload Progress Meter On Mar 23, 2011, at 10:10 AM, Steve Staples wrote: > On Wed, 2011-03-23 at 09:59 -0400, Floyd Resler wrote: >> I am in need of an upload progress meter. I've seen plenty of tutorial

Re: [PHP] Upload Progress Meter

2011-03-23 Thread Floyd Resler
On Mar 23, 2011, at 10:10 AM, Steve Staples wrote: > On Wed, 2011-03-23 at 09:59 -0400, Floyd Resler wrote: >> I am in need of an upload progress meter. I've seen plenty of tutorials = >> on-line requiring installing modules, hooks, patches, etc. However, my = >> Wordpress install accomplished

Re: [PHP] Upload Progress Meter

2011-03-23 Thread Steve Staples
On Wed, 2011-03-23 at 09:59 -0400, Floyd Resler wrote: > I am in need of an upload progress meter. I've seen plenty of tutorials = > on-line requiring installing modules, hooks, patches, etc. However, my = > Wordpress install accomplished this without me having to make any = > modifications to my

Re: [PHP] Upload using FTP commands

2010-08-26 Thread Adam Richardson
On Thu, Aug 26, 2010 at 12:37 PM, Ashley Sheridan wrote: > On Thu, 2010-08-26 at 17:24 +0100, Matthew Croud wrote: > > > Hi, > > > > I want to give my client the ability to upload large files ( around > > 20MB ) to a webspace. > > I reckon that using the FTP commands of PHP would be the best bet,

Re: [PHP] Upload using FTP commands

2010-08-26 Thread Ashley Sheridan
On Thu, 2010-08-26 at 17:24 +0100, Matthew Croud wrote: > Hi, > > I want to give my client the ability to upload large files ( around > 20MB ) to a webspace. > I reckon that using the FTP commands of PHP would be the best bet, but > is it possible to allow them to do this through an online fo

Re: [PHP] Upload using FTP commands

2010-08-26 Thread Dan McCullough
Take a look here: http://us.php.net/manual/en/ref.ftp.php You might have some issues with the memory limit in PHP so that might have to be boosted for 20MB files. On Thu, Aug 26, 2010 at 12:24 PM, Matthew Croud wrote: > > Hi, > > I want to give my client the ability to upload large files ( aroun

RE: [PHP] Upload file on IE8

2010-01-25 Thread Ashley Sheridan
On Mon, 2010-01-25 at 19:21 -0500, Ernie Kemp wrote: > > > > > > > > From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] > Sent: January-25-10 5:53 PM > To: Ernie Kemp > Cc: 'PHP General List' > Subject: Re: [PHP] Upload file on IE8

RE: [PHP] Upload file on IE8

2010-01-25 Thread Ernie Kemp
From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: January-25-10 5:53 PM To: Ernie Kemp Cc: 'PHP General List' Subject: Re: [PHP] Upload file on IE8 On Mon, 2010-01-25 at 17:41 -0500, Ernie Kemp wrote: Good Day, I’m having an issu

Re: [PHP] Upload file on IE8

2010-01-25 Thread Ashley Sheridan
On Tue, 2010-01-26 at 07:33 +0800, Eric Lee wrote: > On Tue, Jan 26, 2010 at 6:41 AM, Ernie Kemp wrote: > > > Good Day, > > > > > > > > I’m having an issue with IE8, when I go to load a file the > > program is not filling the $_FILES['user_file']['type'] . > > > >

Re: [PHP] Upload file on IE8

2010-01-25 Thread Eric Lee
On Tue, Jan 26, 2010 at 6:41 AM, Ernie Kemp wrote: > Good Day, > > > > I’m having an issue with IE8, when I go to load a file the > program is not filling the $_FILES['user_file']['type'] . > > When I display “echo "Start".$_FILES['pix']['type']."End";” > in I

Re: [PHP] Upload file on IE8

2010-01-25 Thread Ashley Sheridan
On Mon, 2010-01-25 at 17:41 -0500, Ernie Kemp wrote: > > > Good Day, > > > > I’m having an issue with IE8, when I go to load a file > the program is not filling the $_FILES['user_file']['type'] . > > > When I display “echo "Start".$_FILES['pix']['type']."En

Re: [PHP] Upload dir

2009-12-12 Thread Richard Quadling
2009/12/11 Ashley Sheridan > > On Fri, 2009-12-11 at 15:44 +, Richard Quadling wrote: > > 2009/12/11 kranthi : > > How can i change the temporary upload directory? > > var_dump(ini_get('upload_tmp_dir'));      gives me (and that is set in > > php.ini) > > string '/var/www/cgi-bin' (length=16)

Re: [PHP] Upload dir

2009-12-11 Thread Ashley Sheridan
On Fri, 2009-12-11 at 15:44 +, Richard Quadling wrote: > 2009/12/11 kranthi : > > How can i change the temporary upload directory? > > var_dump(ini_get('upload_tmp_dir')); gives me (and that is set in > > php.ini) > > string '/var/www/cgi-bin' (length=16) > > > > but > > var_dump($_FILES

Re: [PHP] Upload dir

2009-12-11 Thread Richard Quadling
2009/12/11 kranthi : > How can i change the temporary upload directory? > var_dump(ini_get('upload_tmp_dir'));      gives me (and that is set in > php.ini) > string '/var/www/cgi-bin' (length=16) > > but > var_dump($_FILES)                                                     gives me > 'tmp_name'

Re: [PHP] Upload dir

2009-12-11 Thread kranthi
my mistake didn't use move_uploaded_file to see if the uploading is working or not in the first case but i could not understand why 1. ini_get() is giving correct value while $_FILES['file']['tmp_name'] is ignoring that. 2. move_uploaded_file($_FILES['file']['tmp_name'], 'file.php');

Re: [PHP] Upload dir

2009-12-10 Thread kranthi
i doubt i can use ini_set in this scenario http://us3.php.net/manual/en/ini.core.php#ini.upload-tmp-dir -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Upload dir

2009-12-10 Thread Gaurav Kumar
OK you used ini_get try using ini_set and set the temporary directory on your server of your choice at run time in your script (top of the script or any config file if you have one). REMEMBER that you have access to that directory, should have full permissions and also check the absolute server pa

Re: [PHP] Upload file name not file

2009-05-02 Thread Ashley Sheridan
On Fri, 2009-05-01 at 12:38 -0400, Simon wrote: > On Fri, May 1, 2009 at 9:34 AM, MikeP wrote: > > I'm not trying to get the path, just the filename and size, I know how to > > get these, but that would include the file using $_Files, but I dont want to > > upload anything just use the filename an

Re: [PHP] Upload file name not file

2009-05-01 Thread Simon
On Fri, May 1, 2009 at 9:34 AM, MikeP wrote: > I'm not trying to get the path, just the filename and size, I know how to > get these, but that would include the file using $_Files, but I dont want to > upload anything just use the filename and size.(without the path) to insert > into a DB. Those

Re: [PHP] Upload file name not file

2009-05-01 Thread MikeP
I'm not trying to get the path, just the filename and size, I know how to get these, but that would include the file using $_Files, but I dont want to upload anything just use the filename and size.(without the path) to insert into a DB. "Simon" wrote in message news:5f14cf5e0905010629s2253cc3

Re: [PHP] Upload file name not file

2009-05-01 Thread Simon
> Id like to use the popup file system box( />) to choose a file name , but I only want to upload the filename , not the > file. Can I do that? You're not supposed to have any access to the remote visitor's computer, and the path to the file being uploaded could contain sensitive information (ie.

Re: [PHP] Upload large < 100MB of PDFS to MySQL using PHP, Is my settings ok?

2009-04-02 Thread Ian
On 2 Apr 2009 at 15:33, Louie Miranda wrote: > Guys, > > I need help on the php and mysql configurations. > > I want to be able to upload < 100MB to MySQL using PHP. > > > max_allowed_packet = 5M Hi, This may be the one that's stopping it. max_allowed_packet: http://dev.mysql.com/doc/ref

Re: [PHP] upload progress (was www.soongy.com)

2009-03-03 Thread Ashley Sheridan
On Tue, 2009-03-03 at 02:20 -0800, mike wrote: > On Tue, Mar 3, 2009 at 12:02 AM, Ashley Sheridan > wrote: > > > Whoever said anything about open FTP? > > how else do you do it? > > either it's open/anonymous, or some hardcoded account info. either > way, not very secure, and due to the nature

Re: [PHP] upload progress (was www.soongy.com)

2009-03-03 Thread mike
On Tue, Mar 3, 2009 at 12:02 AM, Ashley Sheridan wrote: > Whoever said anything about open FTP? how else do you do it? either it's open/anonymous, or some hardcoded account info. either way, not very secure, and due to the nature of it, kinda requires the user to have enough privileges to uploa

Re: [PHP] upload progress (was www.soongy.com)

2009-03-03 Thread Ashley Sheridan
On Mon, 2009-03-02 at 18:35 -0800, mike wrote: > On Mon, Mar 2, 2009 at 3:29 PM, Ashley Sheridan > wrote: > > > There are a lot of free FTP Java applets out there, which you could > > easily integrate with a web page and your hosting. You'll have the > > advantage of a familiar interface, multipl

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread mike
On Mon, Mar 2, 2009 at 3:25 PM, Michael A. Peters wrote: > And more and more people are using something like noscript to block it > because XSS hacks are out of control. It is too easy to publish a website > and too many web developers only care about their own data, they don't care > about prote

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread mike
On Mon, Mar 2, 2009 at 3:29 PM, Ashley Sheridan wrote: > There are a lot of free FTP Java applets out there, which you could > easily integrate with a web page and your hosting. You'll have the > advantage of a familiar interface, multiple uploads, queues, and > progress bars. Worst case scenario

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Ashley Sheridan
On Mon, 2009-03-02 at 15:02 -0800, mike wrote: > Yes you can do it with only javascript but you'll need server > components to deal with large files ... Which the OP does not have > access to. Post and file limits could become an issue. > > Not to mention flash and java penetration is huge. I

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Michael A. Peters
mike wrote: Yes you can do it with only javascript but you'll need server components to deal with large files ... Which the OP does not have access to. Post and file limits could become an issue. Not to mention flash and java penetration is huge. I think flash is on something like 96% of brow

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread mike
Yes you can do it with only javascript but you'll need server components to deal with large files ... Which the OP does not have access to. Post and file limits could become an issue. Not to mention flash and java penetration is huge. I think flash is on something like 96% of browsers now..

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Shawn McKenzie
Nitsan Bin-Nun wrote: > I have just been wondering for the 20 zillion time why does people always > stick together "20" and "zillion"? you can't just use "zillion times"? is > that not enough for you? Actually, instead of 20 zillion I would say 2 bazillion, or .2 gazillion. Now if I really wanted

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Michael A. Peters
Nitsan Bin-Nun wrote: I have just been wondering for the 20 zillion time why does people always stick together "20" and "zillion"? you can't just use "zillion times"? is that not enough for you? My server can handle 19 zillion multiple submits. ;) -- PHP General Mailing List (http://www.php.

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Nitsan Bin-Nun
I have just been wondering for the 20 zillion time why does people always stick together "20" and "zillion"? you can't just use "zillion times"? is that not enough for you? On Mon, Mar 2, 2009 at 10:26 PM, Michael A. Peters wrote: > mike wrote: > >> On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M.

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Michael A. Peters
mike wrote: On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M. wrote: Gears will allow you to do a lot of things. So will site-proprietary Firefox extensions that go well outside the realm of basic client-server interaction via webpages. I was under the impression that Gears requires a local ins

RE: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Boyd, Todd M.
> -Original Message- > From: mike [mailto:mike...@gmail.com] > Sent: Monday, March 02, 2009 12:59 PM > To: Boyd, Todd M. > Cc: PHP General list > Subject: Re: [PHP] upload progress (was www.soongy.com) > > On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M. wrote: >

Re: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread mike
On Mon, Mar 2, 2009 at 7:45 AM, Boyd, Todd M. wrote: > Gears will allow you to do a lot of things. So will site-proprietary Firefox > extensions that go well outside the realm of basic client-server interaction > via webpages. I was under the impression that Gears requires a local > installati

RE: [PHP] upload progress (was www.soongy.com)

2009-03-02 Thread Boyd, Todd M.
> -Original Message- > From: mike [mailto:mike...@gmail.com] > Sent: Monday, March 02, 2009 12:17 AM > To: Gevorg Harutyunyan > Cc: tedd; German Geek; php-general@lists.php.net > Subject: Re: [PHP] www.soongy.com > > I have a basic demo here. The code is not at it's best, you have to > hit

Re: [PHP] upload file problem

2008-07-31 Thread Jignesh Thummar
Thanks.. It's fixed... - Jignesh On Thu, Jul 31, 2008 at 6:05 PM, brian <[EMAIL PROTECTED]> wrote: > Jignesh Thummar wrote: >> >> I'm trying to upload the file. It's showing me successfully uploaded. >> But it's not able to move from temp directory to my defined directory >> >> my code: >> >> if

Re: [PHP] upload file problem

2008-07-31 Thread brian
Jignesh Thummar wrote: I'm trying to upload the file. It's showing me successfully uploaded. But it's not able to move from temp directory to my defined directory my code: if (is_uploaded_file($_FILES['myfile']['tmp_name'])) { move_uploaded_file($_FILES['myfile']['tmp_name'], $myfilename);

Re: [PHP] upload file problem

2008-07-31 Thread Daniel Brown
On Thu, Jul 31, 2008 at 10:18 AM, Jignesh Thummar <[EMAIL PROTECTED]> wrote: > I'm trying to upload the file. It's showing me successfully uploaded. > But it's not able to move from temp directory to my defined directory > > my code: > > if (is_uploaded_file($_FILES['myfile']['tmp_name'])) { > mo

Re: [PHP] upload file problem

2008-07-31 Thread Micah Gersten
Maybe check the return value of the function: http://us3.php.net/manual/en/function.move-uploaded-file.php Thank you, Micah Gersten onShore Networks Internal Developer http://www.onshore.com Jignesh Thummar wrote: > I'm trying to upload the file. It's showing me successfully uploaded. > But it'

Re: [PHP] upload file problem

2008-07-31 Thread Jignesh Thummar
it's writable. On Thu, Jul 31, 2008 at 3:37 PM, Eric Butera <[EMAIL PROTECTED]> wrote: > On Thu, Jul 31, 2008 at 10:18 AM, Jignesh Thummar > <[EMAIL PROTECTED]> wrote: >> I'm trying to upload the file. It's showing me successfully uploaded. >> But it's not able to move from temp directory to my de

Re: [PHP] upload file problem

2008-07-31 Thread Eric Butera
On Thu, Jul 31, 2008 at 10:18 AM, Jignesh Thummar <[EMAIL PROTECTED]> wrote: > I'm trying to upload the file. It's showing me successfully uploaded. > But it's not able to move from temp directory to my defined directory > > my code: > > if (is_uploaded_file($_FILES['myfile']['tmp_name'])) { > mo

Re: [PHP] upload issue

2008-02-17 Thread Børge Holen
On Monday 18 February 2008 00:59:31 Chris wrote: > Børge Holen wrote: > > On Sunday 17 February 2008 19:22:03 nihilism machine wrote: > >> any idea why this fails?this is the error: "Sorry, there was a problem > >> uploading your file" > >> > >> >> > >> require_once("classes/db.class.php"); > >> >

Re: [PHP] upload issue

2008-02-17 Thread Chris
Børge Holen wrote: On Sunday 17 February 2008 19:22:03 nihilism machine wrote: any idea why this fails?this is the error: "Sorry, there was a problem uploading your file" insert_sql("INSERT INTO CMS_Media (File_Name) VALUES ('')"); $target = "media/" . $insertID . $extension; //echo $target; if

Re: [PHP] upload issue

2008-02-17 Thread Chris
nihilism machine wrote: any idea why this fails?this is the error: "Sorry, there was a problem uploading your file" It can't move the file to the $target location, or maybe the file wasn't uploaded properly in the first place. What's in $_FILES['uploaded']['error'] ? http://www.php.net/manu

Re: [PHP] upload issue

2008-02-17 Thread Børge Holen
On Sunday 17 February 2008 19:22:03 nihilism machine wrote: > any idea why this fails?this is the error: "Sorry, there was a problem > uploading your file" > > > require_once("classes/db.class.php"); > > $target = ""; > $fileName = basename( $_FILES['uploaded']['name']); > $extension = strtolower(

Re: [PHP] upload issue

2008-01-23 Thread Richard Lynch
On Wed, January 23, 2008 6:55 pm, nihilism machine wrote: > i am using this code on my form page: > > method="post" name="adForm" id="adForm"> > > > > alt="Submit Form" /> > > > > my upload code is below: > > > $uploaddir = 'admin/advertisements/'; > $uploadfileTmp = basename($_FILES['upload1'

Re: [PHP] upload problem

2008-01-22 Thread Chris
nihilism machine wrote: any ideas why this does not work? 1) the field in the form might not be 'upload1'. 2) the file is too big to upload (> max_upload_size) 3) the /tmp folder might not be writable or full 4) the folder you're trying to write into is not writable (or the drive is full) 5)

Re: [PHP] upload problem

2008-01-22 Thread Daniel Brown
On Jan 22, 2008 8:01 PM, nihilism machine <[EMAIL PROTECTED]> wrote: > any ideas why this does not work? > > > class upload { > > function upload() { > upload::uploader(); > } > > function uploader() { > $FileName = basename($_FILES['upload1']

Re: [PHP] upload problem

2008-01-22 Thread Casey
On Jan 22, 2008, at 5:01 PM, nihilism machine <[EMAIL PROTECTED]> wrote: any ideas why this does not work? class upload { function upload() { upload::uploader(); } function uploader() { $FileName = basename($_FILES['upload1']['name']); if (move_uploaded_file($

Re: [PHP] upload temp dir in vhost env.

2007-08-26 Thread jekillen
On Aug 26, 2007, at 2:56 PM, Richard Lynch wrote: On Sun, August 26, 2007 10:34 am, jekillen wrote: I have been working on a project that has registered users, each having a user space portion of the web site file system. I want them to be able to upload images and such and have the stuff tran

Re: [PHP] upload temp dir in vhost env.

2007-08-26 Thread jekillen
On Aug 26, 2007, at 9:15 AM, brian wrote: jekillen wrote: Hello again; I have a question about upload temp dir as defined in php.ini; I have been working on a project that has registered users, each having a user space portion of the web site file system. I want them to be able to upload im

Re: [PHP] upload temp dir in vhost env.

2007-08-26 Thread Richard Lynch
On Sun, August 26, 2007 10:34 am, jekillen wrote: > I have been working on a project that has registered users, each > having > a user space portion of the web site file system. I want them to be > able to upload images and such and have the stuff transfered to their > own user spaces. With one up

Re: [PHP] upload temp dir in vhost env.

2007-08-26 Thread Ludovic André
Hi, that's not a problem to specify where the uploaded file has to be moved after upload. As you specify for each user a personal directory in the system, you just need to use a function like move_uploaded_file() to move the uploaded file to this directory. Each uploaded file goes to, let's

Re: [PHP] upload temp dir in vhost env.

2007-08-26 Thread brian
jekillen wrote: Hello again; I have a question about upload temp dir as defined in php.ini; I have been working on a project that has registered users, each having a user space portion of the web site file system. I want them to be able to upload images and such and have the stuff transfered t

Re: [PHP] Upload and resize file

2007-08-23 Thread Børge Holen
On Thursday 23 August 2007 03:41, Beauford wrote: > I downloaded this 'upload and resize image' script, and since I have no > idea what I am looking at as this is something I have never done, could > someone have a look and see what the problem might be. I've been searching > around but haven't co

Re: [PHP] Upload and resize file

2007-08-23 Thread brian
Beauford wrote: I downloaded this 'upload and resize image' script, and since I have no idea what I am looking at as this is something I have never done, could someone have a look and see what the problem might be. I've been searching around but haven't come across anything that makes any sense

Re: [PHP] Upload and resize file

2007-08-23 Thread Craige Leeder
While I'm not 100% sure, I'd say something's wrong with this line: system("pnmscale -xy 250 200 $tmpimg | cjpeg -smoo 10 -qual 50 >$imgfile"); I would say that Linux is not writing the output to the location stored in $imgfile, and thus there is no file there to delete. However, I can not really

Re: [PHP] Upload Tracker.

2007-07-17 Thread Richard Lynch
On Tue, July 17, 2007 1:46 pm, Tom Ray [Lists] wrote: > I'm a little unsure on how to do this but basically when someone uses > a > form to upload a file I want to have a popup window come up and so the > process in percentage of the transfer. Anyone do this before? Is it > possible in PHP or do I

Re: [PHP] Upload Tracker.

2007-07-17 Thread Paul Novitski
At 7/17/2007 11:46 AM, Tom Ray [Lists] wrote: I'm a little unsure on how to do this but basically when someone uses a form to upload a file I want to have a popup window come up and so the process in percentage of the transfer. Anyone do this before? Is it possible in PHP or do I need to do it

Re: [PHP] Upload Tracker.

2007-07-17 Thread Tanner Postert
i use a program called upload progress meter, it can be downloaded here: http://pdoru.from.ro/upload-progress-meter/ I just wrote an ajax function to return the % of the download, and filled a div on each upload. It depends on how often you poll for the %, but most likely it won't be a smooth tr

Re: [PHP] Upload a ppt file

2007-05-29 Thread tedd
At 11:07 PM +0200 5/28/07, Tijnema wrote: On 5/28/07, tedd <[EMAIL PROTECTED]> wrote: Hi Gang: I can upload a text file and an image file via a html form, but I am having problems uploading a PowerPoint file. Apparently, that's a different critter. Duh! Thanks for the hints -- it was stupid

Re: [PHP] Upload a ppt file

2007-05-28 Thread Tijnema
On 5/28/07, tedd <[EMAIL PROTECTED]> wrote: Hi Gang: I can upload a text file and an image file via a html form, but I am having problems uploading a PowerPoint file. Apparently, that's a different critter. Does any have any references or an example to show me? Thanks, Cheers, tedd It shou

[PHP] Re: php upload files

2007-05-23 Thread itoctopus
As far as I remember, IIS used to have a reserved user that it ran all its actions under. All you have to do is to give this user the necessary permissions (I remember the username started with I). Here's a link that might help : http://support.microsoft.com/kb/812614 -- itoctopus - http://www

Re: [PHP] Upload problem - final size is different

2007-05-08 Thread Eric Trahan
Le 2007-05-08 à 16:50, Richard Davey a écrit : By how much is the difference? Are we talking a few bytes, a few megabytes, what? A 116Kb file produce a 68Kb file on the server. And a 152Kb file produce a 48Kb file on the server... If you then download the file again, is it corrupted, o

Re: [PHP] Upload problem - final size is different

2007-05-08 Thread Richard Lynch
On Tue, May 8, 2007 2:12 pm, Eric Trahan wrote: > $error = $_FILES['uneimage']['error']; > > That doesn't seem work in PHP 4.1.2... I try it but $error is empty. > > > And the function move_uploaded_file($_FILES['uneimage']['tmp_name'], > $target_path) returns TRUE, so the upload work (in a way !)

Re: [PHP] Upload problem - final size is different

2007-05-08 Thread Richard Davey
Eric Trahan wrote: $error = $_FILES['uneimage']['error']; That doesn't seem work in PHP 4.1.2... I try it but $error is empty. It just means there wasn't an error. And the function move_uploaded_file($_FILES['uneimage']['tmp_name'], $target_path) returns TRUE, so the upload work (in a way

Re: [PHP] Upload problem - final size is different

2007-05-08 Thread Eric Trahan
$error = $_FILES['uneimage']['error']; That doesn't seem work in PHP 4.1.2... I try it but $error is empty. And the function move_uploaded_file($_FILES['uneimage']['tmp_name'], $target_path) returns TRUE, so the upload work (in a way !). The problem is the file that is upload doesn't match

Re: [PHP] Upload problem - final size is different

2007-05-08 Thread Richard Lynch
On Tue, May 8, 2007 11:30 am, Eric Trahan wrote: > The upload work. The user file is uploaded to my destination folder > (page5/) but the file is unreadable and the file size is smaller than > the original file size. > $tmp_name = $_FILES['uneimage']['tmp_name']; > $type = $_FILES['uneimage']['t

Re: [PHP] upload file then move between servers

2007-04-21 Thread Richard Lynch
On Fri, April 20, 2007 5:11 pm, blackwater dev wrote: > I need to allow a user to upload a file. Once the file is up, I need > to > then move it to another server and wsync it to our webclusters. > What's the > best way to do this with php? I don't really want php issuing root > commands. I've c

Re: [PHP] upload file then move between servers

2007-04-21 Thread Tijnema !
On 4/21/07, blackwater dev <[EMAIL PROTECTED]> wrote: I need to allow a user to upload a file. Once the file is up, I need to then move it to another server and wsync it to our webclusters. What's the best way to do this with php? I don't really want php issuing root commands. I've considered

Re: [PHP] upload file

2007-03-04 Thread Stut
Alain Roger wrote: I would like in fact to make more precise my previous post. I would like in fact to restrict the file extension (and therefore the user possibility). My user should be able only to upload files with extension JPEG, BMP, GIF. How can i set those parameter ? You can't control

Re: [PHP] upload max error

2006-12-22 Thread ibanex22
I've got it... it looks like I had boosted something too high. Thanks for the replies. ibanex22 wrote: > > Thanks guys, I boosted a bunch of values in my configuration files and got > it to work... unfortunetly it only worked once. I'm sure it worked, but I > have tried to recreate it and I c

Re: [PHP] upload max error

2006-12-22 Thread ibanex22
Thanks guys, I boosted a bunch of values in my configuration files and got it to work... unfortunetly it only worked once. I'm sure it worked, but I have tried to recreate it and I cannot get it to work again. This is very confusing to me. If there is any value that fluxuates... or anything...

Re: [PHP] upload max error

2006-12-22 Thread David Giragosian
On 12/22/06, ibanex22 <[EMAIL PROTECTED]> wrote: Hey all, I am new to PHP and have been having issues on max filesize uploads. I can currently upload small files but I wish to make my max upload size huge. Here is what I have configured in php.ini: max_execution_time = 3000 max_input_time =

Re: [PHP] Upload not finding directory to write to.

2006-10-29 Thread Jochem Maas
Robert Cummings wrote: > On Sat, 2006-10-28 at 14:49 +0900, Dave M G wrote: >> PHP List, >> >> I had a file upload script which was working fine. Then, because of >> other needs, I changed my local Apache settings so that my local web >> site directory structure behaved the same as they do on my

Re: [PHP] Upload not finding directory to write to.

2006-10-28 Thread Robert Cummings
On Sat, 2006-10-28 at 14:49 +0900, Dave M G wrote: > PHP List, > > I had a file upload script which was working fine. Then, because of > other needs, I changed my local Apache settings so that my local web > site directory structure behaved the same as they do on my web hosting > service. > >

Re: [PHP] upload image

2006-08-25 Thread Sonja
Hi, Thanks for help, I find the error, here is the code of functions.php $imagePath, 'thumbnail' => $thumbnailPath); } /* Create a thumbnail of $srcFile and save it to $destFile. The thumbnail will be $width pixels. */ function createThumbnail($srcFile, $destFile, $width, $quality = 75) {

Re: [PHP] upload image

2006-08-24 Thread Sonja
Hi, It looks like: function uploadImage($inputName, $uploadDir) { $image = $_FILES[$inputName]; $imagePath = ''; $thumbnailPath = ''; // if a file is given if (trim($image['tmp_name']) != '') { $ext = substr(strrchr($image['name

RE: [PHP] upload image

2006-08-24 Thread Peter Lauri
Maybe this will help you: $name = mysql_escape_string($_POST['doc_filename'][$key]); $author = mysql_escape_string($_POST['doc_filename_author'][$key]); $filename = mysql_escape_string($value); $filetype = mysql_escape_string($_FILES['doc_attach']['type'][$key]); $filesize = mysql_escape_string($_

Re: [PHP] Upload files problem with IIS server

2006-08-04 Thread chris smith
On 8/5/06, Mace Eliason <[EMAIL PROTECTED]> wrote: Hi, I am having problems with uploading files to a windows server using php. I have used the same script on other server with no problems. From what I can tell this new server is running windows with IIS. I think the problem is with the path

Re: [PHP] Upload a big file.

2006-07-13 Thread Jochem Maas
João Cândido de Souza Neto wrote: > Hello gang. > > I´ve got a e-commerce system where one can import data from his management > system. > > This importation files sometimes has a size about 8Mb. Unfortunatly, when > one try to put this file into e-commerce, generaly one gets any error > becau

RE: [PHP] Upload a big file.

2006-07-13 Thread Jay Blanchard
[snip] > First of all, use set_time_limit(0) in your script, which gives an unlimited execution time. Then amend the max files size limit in php.ini, or locally. [/snip] You will likely have to do the same thing in Apache (or whatever your web server software is) as there will be a time-out built

Re: [PHP] Upload a big file.

2006-07-13 Thread Dave Goodchild
On 13/07/06, João Cândido de Souza Neto <[EMAIL PROTECTED]> wrote: Hello gang. I´ve got a e-commerce system where one can import data from his management system. This importation files sometimes has a size about 8Mb. Unfortunatly, when one try to put this file into e-commerce, generaly one get

Re: [PHP] Upload files problems

2006-05-26 Thread chris smith
On 5/27/06, Ing. Tomás Liendo <[EMAIL PROTECTED]> wrote: My host uses safe mode... What other thing can I do? Some other method exists to send files besides POST method? ftp? You haven't solved your problem which actually has nothing to do with file uploading (460k is nothing and should upload

Re: [PHP] Upload files problems

2006-05-26 Thread Ing. Tom�s Liendo
My host uses safe mode... What other thing can I do? Some other method exists to send files besides POST method? Thank you, Tom. "Ryan Creaser" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > Ing. Tomás Liendo wrote: > >>Hi! >>When the users of my system try to go up file

Re: [PHP] Upload files problems

2006-05-26 Thread Rabin Vincent
On 5/25/06, Ryan Creaser <[EMAIL PROTECTED]> wrote: Ing. Tomás Liendo wrote: >Hi! >When the users of my system try to go up files of more than 460 K, they >receive the message: >Fatal error: Maximum execution time of 90 seconds exceeded in >c:\websites\iracbiogenar48\iracbiogen.com.ar\virtual\pr

Re: [PHP] Upload files problems

2006-05-26 Thread André Medeiros
I believe that those 90 seconds start counting as soon as php starts interpreting the request, ie. after getting the file and form, not when it starts uploading. The second one wouldn't make much sense. On 5/26/06, Rory Browne <[EMAIL PROTECTED]> wrote: It's very hard to read code, when either

Re: [PHP] Upload files problems

2006-05-26 Thread Rory Browne
It's very hard to read code, when either there is no comments, or the comments are in a language you don't understand. Hablo pocito Espanol, pero no entiendo bastante para entiender que quiere decir. Rory On 5/25/06, Ing. Tomás Liendo <[EMAIL PROTECTED]> wrote: Hi! When the users of my system

  1   2   3   4   >