Re: [PHP] php upload does not work proper, ["tmp_name"] and other are missing in $_FILES

2012-03-21 Thread Matijn Woudt
On Wed, Mar 21, 2012 at 3:32 PM, Meike Stone wrote: >> >> But what is the reason, that the module not work properly? >> Which next step can I do? > > I figured out, that the new mod_php5.so is not linked against > libmm.so.14. Can this be the problem? > > Thanks Meike > > # ldd mod_php5.so.5.3.8 >

Re: [PHP] php upload does not work proper, ["tmp_name"] and other are missing in $_FILES

2012-03-21 Thread Meike Stone
> > But what is the reason, that the module not work properly? > Which next step can I do? I figured out, that the new mod_php5.so is not linked against libmm.so.14. Can this be the problem? Thanks Meike # ldd mod_php5.so.5.3.8 linux-vdso.so.1 => (0x7fffe051c000) libcrypt.so

Re: [PHP] php upload does not work proper, ["tmp_name"] and other are missing in $_FILES

2012-03-21 Thread Meike Stone
2012/3/20 Meike Stone : >> >> First of all, check your apache log files for any hints. There's >> probably a warning/error in there that explains why. > > I switched to "LogLevel debug" but in error_log is nothing found, > the access_log showes only: > 192.168.1.89 - - [20/Mar/2012:16:43:53 +0100]

Re: [PHP] php upload does not work proper, ["tmp_name"] and other are missing in $_FILES

2012-03-20 Thread Meike Stone
> > First of all, check your apache log files for any hints. There's > probably a warning/error in there that explains why. I switched to "LogLevel debug" but in error_log is nothing found, the access_log showes only: 192.168.1.89 - - [20/Mar/2012:16:43:53 +0100] "POST /i3.php HTTP/1.1" 200 539 "h

Re: [PHP] php upload does not work proper, ["tmp_name"] and other are missing in $_FILES

2012-03-20 Thread Matijn Woudt
On Tue, Mar 20, 2012 at 4:33 PM, Meike Stone wrote: > Hello, > > I try the upload files, but in "tmp_name" and other variables are > missing in $_FILES. > I use php 5.3.8 on SLES11SP2 > > I can repeat this with: > === > if(isset($_FILES)) { > var_du

[PHP] php upload does not work proper, ["tmp_name"] and other are missing in $_FILES

2012-03-20 Thread Meike Stone
Hello, I try the upload files, but in "tmp_name" and other variables are missing in $_FILES. I use php 5.3.8 on SLES11SP2 I can repeat this with: === Send this file: === Th

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
:51:26 -0700 > From: ji...@sohnen-moe.com > Subject: [PHP] Upload size limit stays at 8MB > > Hello, > apache v2.2.15 (Linux/SUSE) > phpv5.3.3 > linux v2.6.34.7-0.7-desktop #1 SMP > > I updated to change > upload_max_filesize = 2M > to > upload_ma

[PHP] Upload size limit stays at 8MB

2011-05-05 Thread James Moe
Hello, apache v2.2.15 (Linux/SUSE) phpv5.3.3 linux v2.6.34.7-0.7-desktop #1 SMP I updated to change upload_max_filesize = 2M to upload_max_filesize = 60M. php_info() shows the changed value; "echo ini_get(upload_max_filesize)" shows the changed value. Yet when I attempt an upload,

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/

[PHP] upload big files

2011-04-14 Thread Ricardo Martinez
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 going to work. I think that can give a lot of errors or be unestable. J

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

[PHP] Upload Progress Meter

2011-03-23 Thread Floyd Resler
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 PHP install. So, how is it done? Thanks! Floyd -- PHP Gene

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

[PHP] Upload using FTP commands

2010-08-26 Thread Matthew Croud
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 form. This is my vision: the client logs in to a form that has an u

Re: [PHP] PHP upload hangs on Safari

2010-08-14 Thread Ashley Sheridan
On Sat, 2010-08-14 at 08:08 -0700, Don Wieland wrote: > Hi, > > I have a page that has 9 form actions which upload individual files > one at a time. On my own server, it runs fine and there are no hangs. > But when I install on my clients server. I creased their > "upload_max_filesize" to 1

[PHP] PHP upload hangs on Safari

2010-08-14 Thread Don Wieland
Hi, I have a page that has 9 form actions which upload individual files one at a time. On my own server, it runs fine and there are no hangs. But when I install on my clients server. I creased their "upload_max_filesize" to 100MB. Still I get random hanging. Is there any thing else that

[PHP] upload directly into a resource?

2010-05-03 Thread Paul Halliday
I have some code that is currently static. It runs via Cron, generating images which can then be viewed via some other PHP. What I want to do is allow a user to upload data which I can then pipe directly into the existing program to produce on the fly images. I am looking at this: http://www.php.

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

[PHP] Upload file on IE8

2010-01-25 Thread Ernie Kemp
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 IE8 I get "StartEnd" with nothing in between. I expected "image/pjp

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

[PHP] Upload dir

2009-12-10 Thread 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' => string '/tmp/phpbSZ6WP' (length=14

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.

[PHP] Upload file name not file

2009-05-01 Thread MikeP
Hello, 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? Thanks Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

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

2009-04-02 Thread Louie Miranda
Guys, I need help on the php and mysql configurations. I want to be able to upload < 100MB to MySQL using PHP. On PHP, php.ini is as follows: > max_execution_time = 100; Maximum execution time of each script, in > seconds > max_input_time = 100; Maximum amount of time each s

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

[PHP] upload file problem

2008-07-31 Thread Jignesh Thummar
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); echo "File ". $_FILES['

[PHP] Re: [PHP-DB] php upload questions --move_uploaded_file

2008-06-26 Thread Daniel Brown
Hai Tao (Taylor) <[EMAIL PROTECTED]> wrote: > Hi all: > > I meet a very strange problem about php upload. > Usually, we use move_uploaded_file to upload, but it could not work in > flex use php to upload. > Same Php upload code can work in html page, and move_uploaded_file &g

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(

[PHP] upload issue

2008-02-17 Thread nihilism machine
any idea why this fails?this is the error: "Sorry, there was a problem uploading your file" $insertID = $DB->insert_sql("INSERT INTO CMS_Media (File_Name) VALUES ('')"); $target = "media/" . $insertID . $extension; //echo $target; if (move_uploaded_file($_FILES['uploaded']['tmp_name'], $targ

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'

[PHP] upload issue

2008-01-23 Thread nihilism machine
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']['name']); $uploadfile = $uploaddir . basename($_FILES['upload1']['name']); if (

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($

[PHP] upload problem

2008-01-22 Thread nihilism machine
any ideas why this does not work? class upload { function upload() { upload::uploader(); } function uploader() { $FileName = basename($_FILES['upload1']['name']); if (move_uploaded_file($_FILES['upload1']['

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

[PHP] upload temp dir in vhost env.

2007-08-26 Thread jekillen
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 to their own user

Re: [PHP] Upload and resize file

2007-08-23 Thread Børge Holen
ot occur; you got the netpbm and djpeg installed? Not sure about making this sort of things work under a windows system, but on linux its a sundaysprawl > > The full code is below. > > Thanks > > ------ > &g

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
t this error. > > Warning: unlink() [function.unlink]: No such file or directory in > /usr/local/apache/htdocs/website/upload.php on line 92 > > The full code is below. > > Thanks > > ------ >

[PHP] Upload and resize file

2007-08-22 Thread Beauford
ll code is below. Thanks -- web.blazonry : PHP : Upload and Resize an Image ERRORImage Extension Unknown."; print "Please upload only a JPEG image with the extension .jpg or .jpeg ONLY"; print "The file you

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

[PHP] Upload Tracker.

2007-07-17 Thread Tom Ray [Lists]
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 in javascript or a mixture of both? Any sugg

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] Upload a ppt file

2007-05-28 Thread tedd
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 -- --- http://sperling.com http://ancientston

  1   2   3   4   5   6   >