Re: [PHP] file upload problem

2003-08-23 Thread Jim Lucas
- Original Message - From: "Matthias Wulkow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Jim Lucas" <[EMAIL PROTECTED]> Sent: Saturday, August 23, 2003 12:27 PM Subject: Re: [PHP] file upload problem > Hallo Jim, > > am Samstag, 23. Au

Re: [PHP] file upload problem

2003-08-23 Thread Matthias Wulkow
Hallo Jim, am Samstag, 23. August 2003 um 21:16 hast Du Folgendes gekritzelt: JL> when you are uploading files via a form, you must use the POST method. well, I tried the example from http://de.php.net/manual/de/features.file-upload.php#features.file-upload.post-method and that doesn't work nei

Re: [PHP] file upload problem

2003-08-23 Thread Jim Lucas
when you are uploading files via a form, you must use the POST method. Jim Lucas - Original Message - From: "Matthias Wulkow" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 23, 2003 11:16 AM Subject: [PHP] file upload problem > Hi , > &

[PHP] file upload problem

2003-08-23 Thread Matthias Wulkow
Hi , I try to upload a file with such an input type = 'file' field. My form looks like: echo "\n"; ... echo "\n"; ... echo "\n"; echo "\n"; After submition, I can't find the file on the server. Nowhere. In php.ini, I have /tmp as upload-directory. I'm using apache2 on linux. Can somebod

[PHP] File upload & restrictive permissions

2003-08-22 Thread Doug Parker
Recently I had a problem with file uploading on a server I use, and the problem was that the tmp/ directory was not set. Now that it has been set, the images do upload, but the file permissions end up being very restrictive - something like (-rw---) - so the images obviously do not show up on

Re: [PHP] File upload + permissions + .htaccess in php

2003-08-22 Thread Ryan A
Hey, Thanks for replying. the paths i am using are as follows: $UserUploadDir="/usr163/home/r/y/ryanknig/public_html/BWH-Ads-Images"; $UserUploadURL = "http://jumac.com/BWH-Ads-Images";; But they still dont workany ideas? Thanks, -Ryan > I've had this problem twice recently. > > Once i

Re: [PHP] File upload + permissions + .htaccess in php

2003-08-22 Thread Nicholas Robinson
I've had this problem twice recently. Once it was because I'd foolishly moved a script that used relative pathnames. The result was that I was trying to access a file outside the DocumentRoot and it didn't matter what the permissions on the file were, it wasn't trying to open that one at all!

RE: [PHP] File upload and deletion

2003-08-21 Thread Thomas Hochstetter
[snip] - PHP sends request headers (with POST data) to $url - $url sends response back to calling script - PHP works with the response [/snip] Look at fsockopen, with which you can send POST headers, or just fopen. You sit this in a try/ catch sort of script and you should be able to get stuff bac

RE: [PHP] File upload and deletion

2003-08-21 Thread Chris W. Parker
Steven Murphy on Thursday, August 21, 2003 1:40 PM said: > http://www.pfohlsolutions.com/projects/mailer/mailer.zip. I'm having Are you wanting me to download this file, unzip it, stick it on my server, run/test it, and then report back to you with where you've made

[PHP] File upload and deletion

2003-08-21 Thread Steven Murphy
Hi everyone, I'm trying to write a form that hides email addresses from spiders and allows for a single file upload. Here is a link to what I have so far http://www.pfohlsolutions.com/projects/mailer/mailer.zip. I'm having trouble with the file upload. What should happen is: -The user should be abl

[PHP] Re: Jabber->Re: [PHP] File upload + permissions + .htaccess in php

2003-08-21 Thread Ryan A
Hi, When i FTP in cuteftp is showing me this path: /usr163/home/r/y/ryanknig/public_html/BWH-Ads-Images and i am using this in my php script: $UserUploadDir="/usr163/home/r/y/ryanknig/public_html/BWH-Ads-Images"; I tried to cut out the public_html too but it does not seem to be working Any

Re: [PHP] File upload + permissions + .htaccess in php

2003-08-21 Thread [EMAIL PROTECTED]
Hello, It could be because your server is using some out of the box virtual hosting setup like ensim or cpanel. This usually means your home path is not what it appears to be. That in turn means that if you use absolute pathnames with your file upload handler it's bound to fail. So you will need

[PHP] File upload + permissions + .htaccess in php

2003-08-21 Thread Ryan A
Hi, I am trying to upload something into a directory on my server but always i am getting a permission denied ONLY from this server...i have tried it on 2 other servers and they seem to be working fine but i have to get it working on this server as this server is the fastest and our production serv

Re: [PHP] File upload

2003-07-25 Thread Curt Zirzow
* Thus wrote Peda ([EMAIL PROTECTED]): > I want to upload some file to my web site. > > I'm using this script: Please Read: http://us3.php.net/manual/en/features.file-upload.php Curt -- "I used to think I was indecisive, but now I'm not so sure." -- PHP General Mailing List (http://www.php

Re: [PHP] File upload

2003-07-25 Thread skate
EMAIL PROTECTED]> To: "'Peda'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, July 25, 2003 1:03 PM Subject: RE: [PHP] File upload > >> maybe you should try $HTTP_POST_FILES? > > >I have tryed that too, but nothing happened. > > Hm

RE: [PHP] File upload

2003-07-25 Thread Jonas Thorell
>> maybe you should try $HTTP_POST_FILES? >I have tryed that too, but nothing happened. Hm, can't think of whatever else is wrong right Now but I just tried out your script on my Server just to see, and it outputs the Filename alright. So it's nothing wrong With your script. Granted, my server is

Re: [PHP] File upload

2003-07-25 Thread desa15
<[EMAIL PROTECTED]> Para: [EMAIL PROTECTED]

Re: [PHP] File upload

2003-07-25 Thread Peda
> > maybe you should try $HTTP_POST_FILES? > I have tryed that too, but nothing happened. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File upload

2003-07-25 Thread Michael Müller
i think ['name'] isn't empty, it contains the real name whereas tmp_name contains the full path to the temp_file on the server maybe you should try $HTTP_POST_FILES? "Jonas Thorell" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > >The upload_single.php script is just this: >

Re: [PHP] File upload

2003-07-25 Thread Peda
> Do you have file uploads enabled in php.ini? Take a look at a phpinfo() > page for details. Yes I have. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] File upload

2003-07-25 Thread Jonas Thorell
>The upload_single.php script is just this: >$ime = $_FILES["thefile"]["name"]; > print ($ime); >?> >I just want for begining to print the name of file. >But It doesn't work. Do you get anything if you change "name" to "tmp_name" to beging with? If I'm not mistaken ,"name" isn't filled in w

Re: [PHP] File upload

2003-07-25 Thread John W. Holmes
Peda wrote: I want to upload some file to my web site. [snip] But It doesn't work. Do you have file uploads enabled in php.ini? Take a look at a phpinfo() page for details. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ PHP|Architect: A magazine for PHP Professio

[PHP] File upload

2003-07-25 Thread Peda
I want to upload some file to my web site. I'm using this script: Upload Form Upload a file: The upload_single.php script is just this: I just want for begining to print the name of file. But It doesn't work. Operating system is Linux. Web server is Apache. Can anyo

RE: [PHP] File upload?

2003-07-24 Thread Jennifer Goodie
> $uploaddir = 'C:\Inetpub\wwwroot\pix'; > $filnamn=$_FILES['userfile']['name']; > I thought of just adding a backslash at the very end of the $uploaddir > variable but that just leaves me with this error-message instead: > > Parse error: parse error, unexpected T_STRING in > c:\inetpub\wwwroot\al

Re: [PHP] File upload?

2003-07-24 Thread Jonas
Never mind. I found the problem. I was just stupid enough to forget about escaping the backslash. /Jonas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File upload?

2003-07-24 Thread Jonas
Okay, I must be missing the totally obvious here...so if someone would be able to help a poor newbie along the way I'd be most grateful. The system I'm running this on is, in case it matters, WinXP with IIS 5.1 and PHP 4.3.2. Anyway, I'm trying to add a form to upload files on one of my pages. I

RE: [PHP] File upload: type and size question

2003-07-01 Thread Sævar Öfjörð
27;]['size'] > $maxsize){ echo "Error. The file was to large. Max file size is $maxsize."; } -Original Message- From: Dani Matielo [mailto:[EMAIL PROTECTED] Sent: 1. júlí 2003 14:25 To: [EMAIL PROTECTED] Subject: [PHP] File upload: type and size question Hello, c

Re: [PHP] File upload: type and size question

2003-07-01 Thread Mário Gamito
Hi, I have this class for sending mail, which worked until PHP 4.2.3 Since 4.3.0 it stops functioning. No error message. The mail is simply not send. I've searched everywhere and found no explanation for this behaviour. Any help would be appreciated. Warm regards, Mário Gamito class html_mime_m

[PHP] File upload: type and size question

2003-07-01 Thread Dani Matielo
Hello, could someone help me? I am trying to limit the type and size of the files to be uploaded, but I can't find how to do this. I have seen examples on how to limit to image types, with the MIME function. The problem is, the type of file I want is audio, extensions MP3 or WAV. The max file size

RE: [PHP] File upload HELP!!!

2003-06-27 Thread Daryl Meese
ace ("[^a-z0-9]","", $filename);). I think you will find that the spaces are the problem. Daryl -Original Message- From: Ian Young [mailto:[EMAIL PROTECTED] Sent: Friday, June 27, 2003 10:30 AM To: [EMAIL PROTECTED] Subject: [PHP] File upload HELP!!! Tearing our hair out here. Have

[PHP] File upload HELP!!!

2003-06-27 Thread Ian Young
Tearing our hair out here. Have been trying for ever to get files to upload. The good news. We are connecting to database and obtaining information on filename, size, type etc but no file!. Have made a tempdir d-ol/temp and have configured php.ini to reflect this.Maximum file size is the same a s

Re: [PHP] file upload script

2003-06-08 Thread Philip Olson
ES['imagefile']['name'].""; > echo "Size: ".$_FILES['imagefile']['size'].""; > echo "Type: ".$_FILES['imagefile']['type'].""; > echo "Copy Done"; >

Re: [PHP] file upload script

2003-06-08 Thread Rodney Green
7;]['type'].""; echo "Copy Done"; } else { echo ""; echo "Could Not Copy, Wrong Filetype (".$_FILES['imagefile']['name'].")"; } } ?> - Original Message - From: "Philip Olson"

Re: [PHP] file upload script

2003-06-08 Thread Rodney Green
anks again, Rod - Original Message - From: "Philip Olson" <[EMAIL PROTECTED]> To: "Rodney Green" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Sunday, June 08, 2003 1:21 AM Subject: Re: [PHP] file upload script > > By no errors, do you mean

Re: [PHP] FILE UPLOAD Q

2003-06-08 Thread Philip Olson
That article is pretty old, and the code sucks. Read this instead: http://www.php.net/features.file-upload It will explain everything. Regards, Philip On Sun, 8 Jun 2003, nabil wrote: > Please help me , I want to make any user on my website to submit his CV , or > any file to a temp fold

[PHP] FILE UPLOAD Q

2003-06-08 Thread nabil
Please help me , I want to make any user on my website to submit his CV , or any file to a temp folder, the following script create a "fupload" file , and I don't want to dump the original in it, I want to upload the file as it is, with its extension... by example Listing 9.14 A file uploa

Re: [PHP] file upload script

2003-06-07 Thread Philip Olson
By no errors, do you mean you have a PHP version greater than PHP 4.2.0 and checked the ['error'] code, and it has a value of 0? Are you sure you want the filename to be $file_name? I doubt you do. Regards, Philip ref: http://www.php.net/features.file-upload On Sat, 7 Jun 2003, Rodney Green w

[PHP] file upload script

2003-06-07 Thread Rodney Green
Hello. I'm attempting to upload a file using the script below and I'm not having any success. The temp directory I'm using does exist and is writeable. When I browse for the file then hit the send button it appears to be working then displays the form again with no errors. I look for the file on th

[PHP] File upload problem

2003-06-05 Thread Sami Kollanus
I'm using: - Apache 2.0.40 server (linux) - PHP 4.2.2 I use file uploads in my code, but there occured small problems with the server update(from Apache 1.3.??, PHP 4.1.2). is_uploaded_file()- and move_uploaded_file()-functions don't work correctly any more. Or actually the file upload system do

Re: [PHP] file upload

2003-04-02 Thread anders thoresson
Am I making any obvious mistakes here, in my upload script? I want to upload text-files only, they should end up in the directory from which the script is executed and be names __traningsmatcher.txt. Further details: Everything works, but I'm just curious if there is some hidden mistakes. This i

[PHP] file upload

2003-04-02 Thread anders thoresson
Am I making any obvious mistakes here, in my upload script? I want to upload text-files only, they should end up in the directory from which the script is executed and be names __traningsmatcher.txt. HTML-form: Fil: And php, on the recieving end: /

Re: [PHP] File Upload and ftp transfer problem

2003-03-27 Thread Hugh Danaher
fp); $destination_file="./directory/".$photo2; $upload = ftp_fput($conn_id, $destination_file, $fp, FTP_BINARY); // check upload status if (!$upload) { print "FTP upload has failed!"; } // close the FTP stream //@ftp_close($conn_id); ftp_quit($conn_id); } php?> - Ori

Re: [PHP] File Upload and ftp transfer problem

2003-03-27 Thread Hugh Danaher
Thanks Jason, I'll try that, and let you know the results. Hugh - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 27, 2003 11:48 AM Subject: Re: [PHP] File Upload and ftp transfer problem > On Fr

Re: [PHP] File Upload and ftp transfer problem

2003-03-27 Thread Jason Wong
On Friday 28 March 2003 03:16, Hugh Danaher wrote: > I'm trying to get the following script to ftp transfer an uploaded image > file so as to get around a file permission problem. The upload portion of > this works without problem, the ftp portion doesn't spit out any errors > either, but the file

[PHP] File Upload and ftp transfer problem

2003-03-27 Thread Hugh Danaher
I'm trying to get the following script to ftp transfer an uploaded image file so as to get around a file permission problem. The upload portion of this works without problem, the ftp portion doesn't spit out any errors either, but the file transfered is just the name of the uploaded temp file a

Re: [PHP] File upload Stuff ... well kinda.

2003-03-15 Thread Charles Kline
Check the permissions on the directory you are trying to upload your files. The host I am using required me to either chmod the upload directory to 777 (not what I wanted to do) or run PHP with cgi-wrap enabled - this allowed my PHP application to run as the user and therefore had permission to

[PHP] File upload Stuff ... well kinda.

2003-03-15 Thread Philip J. Newman
RIghto then. Just make a nice website, on my windows box and everything and when i moved it to the live server, the things that didn't work where file uploads. What (if any) settings do i have to use for a Linux dir .. to allow access for the file to be uploaded? -- Philip J. Newman. Head

Re: [PHP] File upload and permissions

2003-03-06 Thread Nik Makepeace
On Fri, 2003-03-07 at 07:24, Charles Kline wrote: > I have played with it - changing permissions and the only > one that works is chmod 777 - not sure if this is good or not - pretty > new to unix administration stuff. If you don't want to make a new directory to store them, you should make sure

[PHP] File upload and permissions

2003-03-06 Thread Charles Kline
I have a form which uploads a file to my server. The files that are uploaded will be .doc files and will need to be able to be downloaded from a web page. My script works locally - I have tested it well files upload etc., but I am moving it to a commercial web server and am not sure what permi

Re: [PHP] File upload problem - permission denied

2003-02-27 Thread 1LT John W. Holmes
Message - From: "Niklas Lampén" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Thursday, February 27, 2003 9:07 AM Subject: RE: [PHP] File upload problem - permission denied On linux you can do it in shell with chmod command. Do 'chmod 766 direc

RE: [PHP] File upload problem - permission denied

2003-02-27 Thread Niklas Lampén
3 16:03 To: [EMAIL PROTECTED] Subject: Re: [PHP] File upload problem - permission denied All right then. ¿Where do I set that permission for PHP? On my local Windows machine it is usually in IIS. However the whole ..\inetpub\wwwroot\.. directory already has read and write permissions. Apart from PHP

Re: [PHP] File upload problem - permission denied

2003-02-27 Thread Frans Bakker
; ?> :) -Original Message- From: Frans Bakker [mailto:[EMAIL PROTECTED] Sent: 27. helmikuuta 2003 15:43 To: [EMAIL PROTECTED] Subject: [PHP] File upload problem - permission denied Hello everybody, I am relatively new to PHP and for quite some days I am trying to get a file upload sy

RE: [PHP] File upload problem - permission denied

2003-02-27 Thread Niklas Lampén
ED] Sent: 27. helmikuuta 2003 15:43 To: [EMAIL PROTECTED] Subject: [PHP] File upload problem - permission denied Hello everybody, I am relatively new to PHP and for quite some days I am trying to get a file upload system going through a standard html form. To test it I use an html page called Test2.php w

[PHP] File upload problem - permission denied

2003-02-27 Thread Frans Bakker
Hello everybody, I am relatively new to PHP and for quite some days I am trying to get a file upload system going through a standard html form. To test it I use an html page called Test2.php with a form in it with enctype=\"multipart/form-data\". Here is the source code: Web site - pages form

Re: [PHP] file upload and a browse for file box

2003-02-26 Thread Ernest E Vogelsinger
At 02:32 26.02.2003, Sunfire said: [snip] >i looked in the manual about file uploads and basically know how it works >other than a little playing around with it but was wondering how you could >make a browse for file button that opens a box on the users compu

Re: [PHP] file upload and a browse for file box

2003-02-25 Thread Joshua Moore-Oliva
plain html On February 25, 2003 08:32 pm, Sunfire wrote: > hi.. > > i looked in the manual about file uploads and basically know how it works > other than a little playing around with it but was wondering how you could > make a browse for file button that opens a box on the users computer so > t

[PHP] file upload and a browse for file box

2003-02-25 Thread Sunfire
hi.. i looked in the manual about file uploads and basically know how it works other than a little playing around with it but was wondering how you could make a browse for file button that opens a box on the users computer so then can look for the file rather than type it in.. or is this something

RE: [PHP] File upload problem

2003-02-18 Thread Chris McCluskey
Ochoa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 7:04 AM To: John M; [EMAIL PROTECTED] Subject: Re: [PHP] File upload problem There may be several reasons why it doesn't work but the first thing I noticed is that "action" is blank. You need to have this defined. John M

Re: [PHP] File upload problem

2003-02-18 Thread Manuel Ochoa
There may be several reasons why it doesn't work but the first thing I noticed is that "action" is blank. You need to have this defined. John M <[EMAIL PROTECTED]> wrote:Hello, I have the code below. It's a simple file upload. But it doesn't work. Before the line if(isset( $Submit )) is an echo

RE: [PHP] File upload???

2003-02-11 Thread David Freeman
> Can anybody help me with file uploading, again... Have you tried using the fairly simple example that is given at http://www.php.net/manual/en/features.file-upload.php yet? I've found that starting with this example and then adding all the extras tends to work well when you've got problems.

Re: [PHP] File upload???

2003-02-11 Thread Kenneth Suralta
Can anybody help me with file uploading, again... I tried uploading a file through... but, on project_save.php, the $HTTP_POST_FILES["project_file"]["size"] is zero(0) , and $HTTP_POST_FILES["project_file"]["tmp_name"] is an empty string. i checked, $HTTP_POST_FILES["project_files"]["error"

Re: [PHP] File upload???

2003-02-11 Thread Francesco Leonetti
rom: "Kenneth Suralta" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, February 11, 2003 10:49 AM Subject: [PHP] File upload??? > Hello everyone! =) > > Can anybody help me with file uploading with PHP??? > i tried uploading a file through... > > >

[PHP] File upload???

2003-02-11 Thread Kenneth Suralta
Hello everyone! =) Can anybody help me with file uploading with PHP??? i tried uploading a file through... but, in save_upload.php, there is no $HTTP_POST_VARS['userfile'], or $HTTP_POST_VARS['userfile_name'], etc... Can anybody help me with this... -- PHP General Mailing List (http://

Re: [PHP] File upload problem

2003-02-10 Thread Pag
Which sounds like it has to be there to me? I just checked a working file upload form without MAX_FILE_SIZE field, and it worked.. I guess i misunderstood what was on the tutorials ? Or i wonder if this was a must in the earlier versions of PHP? Anyone? I have an upload feature on my a

RE: [PHP] File upload problem

2003-02-10 Thread Dennis Cole
e, however, cannot be fooled. " -Original Message- From: Gurhan Ozen [mailto:[EMAIL PROTECTED]] Sent: Monday, February 10, 2003 9:50 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] File upload problem On Sun, 2003-02-09 at 19:43, Jason Wong wrote: > On Monday 10 F

Re: [PHP] File upload problem

2003-02-10 Thread Gurhan Ozen
On Sun, 2003-02-09 at 19:43, Jason Wong wrote: > On Monday 10 February 2003 05:56, Gurhan Ozen wrote: > > > You need to specifye the MAX_FILE_SIZE value as a hidden argument to the > > form.. > > See: http://www.php.net/manual/en/features.file-upload.php > > You don't. > > If you can show other

Re: [PHP] File upload problem

2003-02-09 Thread Jason Wong
On Monday 10 February 2003 05:56, Gurhan Ozen wrote: > You need to specifye the MAX_FILE_SIZE value as a hidden argument to the > form.. > See: http://www.php.net/manual/en/features.file-upload.php You don't. If you can show otherwise please post details to the list. -- Jason Wong -> Gremlins

Re: [PHP] File upload problem

2003-02-09 Thread David Rice
Hi John: Well actually I believe that you don't have to set MAX_FILE_SIZE...(I don't) but you might want make sure that you are not trying to send a file larger than the post_max_size directives in php.ini and ensure that file_uploads is set to allow http uploads. On Sunday, February 9, 2003, a

Re: [PHP] File upload problem

2003-02-09 Thread Gurhan Ozen
Hi, You need to specifye the MAX_FILE_SIZE value as a hidden argument to the form.. See: http://www.php.net/manual/en/features.file-upload.php Gurhan On Mon, 2003-06-30 at 15:05, John M wrote: > Hello, > > I have the code below. It's a simple file upload. But it doesn't work. > Before the line

Re: [PHP] File upload problem

2003-02-01 Thread David Rice
On Saturday, February 1, 2003, at 10:58 AM, Tomator wrote: I tried but I can't upload any file. My form and code are as following: Try looking at: http://www.php.net/manual/en/features.file-upload.php There is a working example there. -- PHP General Mailing List (http://www.php.net/) To uns

[PHP] File upload problem

2003-02-01 Thread Tomator
I tried but I can't upload any file. My form and code are as following: File:  

Re: [PHP] file upload question

2003-01-24 Thread Jason Wong
On Saturday 25 January 2003 06:34, Andrew Rench wrote: > When you say you need to include a filename, do you mean the > $_FILES['userfile']['tmp_name'] or the variable name identified in the > input tag? (name="userfile") ANY filename which makes sense to you, so most likely the latter. -- Jason

RE: [PHP] file upload question

2003-01-24 Thread Andrew Rench
When you say you need to include a filename, do you mean the $_FILES['userfile']['tmp_name'] or the variable name identified in the input tag? (name="userfile") --- Mark Heintz PHP Mailing Lists <[EMAIL PROTECTED]> wrote: > > You have to include a filename along with the path when you're using >

RE: [PHP] file upload question

2003-01-24 Thread Mark Heintz PHP Mailing Lists
You have to include a filename along with the path when you're using move_uploaded_file(); if you're only specifying '/usr/local/etc/httpd/htdocs/blast/images' as your destination string, php is trying to create a file named 'images' in '/usr/local/etc/httpd/htdocs/blast'. If there's still a prob

RE: [PHP] file upload question

2003-01-24 Thread Andrew Rench
thanks for the advice- this makes sense as to why I'm not seeing the file. I added the move_uploaded_file() to the script to see what happens and I end up getting the following error: PHP Warning: Unable to move '/var/tmp/phpfcwVyC' to '/usr/local/etc/httpd/htdocs/blast/images' in /usr/local/etc/

RE: [PHP] file upload question

2003-01-24 Thread Ford, Mike [LSS]
> -Original Message- > From: Andrew Rench [mailto:[EMAIL PROTECTED]] > Sent: 24 January 2003 17:05 > > the following code: > > > > ="post"> > > Send this file: > > > echo $_FILES['userfile']['tmp_name']; > ?> > > > > produces the following after upload: > > /var/tmp/phplSTEVp

Re: [PHP] file upload question

2003-01-24 Thread Adam Voigt
This may just be me but I've never gotten upload to work where the form is posting to the same page, try moving it to two pages. On Fri, 2003-01-24 at 12:05, Andrew Rench wrote: the following code: " method ="post">

[PHP] file upload question

2003-01-24 Thread Andrew Rench
the following code: Send this file: produces the following after upload: /var/tmp/phplSTEVp (or php[something-or-other]) When I view that directory, it is empty. I put togther this simple test script because I was having problems with similar script that uses the move_uploaded_file()

[PHP] File upload problems beginning in 4.3.0

2003-01-24 Thread Felicia Neff
I am running the following code in php-4.3.0: _FILES[portrait]: \n"; print_r($portrait); print ""; $portrait = $_GLOBALS["portrait"]; print "_FILES[portrait]: \n"; print_r($portrait); print $_FILES["portrait"]["error"]; print ""; ?> The file does not appear to be uploaded. However, wi

Re: [PHP] File upload security

2003-01-23 Thread peter a
Files in web folders should usually be 755 /peter a At 2003-01-23 11:15, Marco Alting wrote: >Hi, I have a php script which uploads file to a webserver. The idea is that >anyone can upload files, but only another php script can read the files. At >this moment I think someone is deleting file

[PHP] File upload security

2003-01-23 Thread Marco Alting
Hi, I have a php script which uploads file to a webserver. The idea is that anyone can upload files, but only another php script can read the files. At this moment I think someone is deleting file from my upload folder. What CHMOD settings do I need to secure this? -- PHP General Mailing List (

RE: [PHP] File upload problem

2003-01-21 Thread Matt Schroebel
> -Original Message- > From: John M [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 30, 2003 3:05 PM > To: [EMAIL PROTECTED] > Subject: [PHP] File upload problem > > > Hello, > > I have the code below. It's a simple file upload. But it doesn't w

RE: [PHP] File upload problem

2003-01-21 Thread Edward Peloke
[mailto:[EMAIL PROTECTED]] Sent: Monday, June 30, 2003 3:05 PM To: [EMAIL PROTECTED] Subject: [PHP] File upload problem Hello, I have the code below. It's a simple file upload. But it doesn't work. Before the line if(isset( $Submit )) is an echo which can I read. But after choosing

[PHP] File upload problem

2003-01-21 Thread John M
Hello, I have the code below. It's a simple file upload. But it doesn't work. Before the line if(isset( $Submit )) is an echo which can I read. But after choosing a file and press a submit nothing happens. Why is if(isset( $Submit )) always false? Maybe my apache or php config is wrong? I use Win

RE: [PHP] File Upload

2003-01-18 Thread John W. Holmes
> Every body , I want to make a provision for the suer , by which , they can > select number of files from a list box and upload them to the server in > PHP. They have to select each file individually. Each file must be uploaded through it's own input element. The details of how to do these t

[PHP] File Upload

2003-01-18 Thread Trilochan
Hello Every body , I want to make a provision for the suer , by which , they can select number of files from a list box and upload them to the server in PHP. Any suggestion is highly appreciated. Regards Trilochan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: Re[2]: [PHP] File Upload

2002-12-14 Thread Jason Wong
On Saturday 14 December 2002 18:26, Paul Roberts wrote: > the legend starts here > http://www.php.net/manual/sk/features.file-upload.php > > "The _URL_ should point to a PHP file. The MAX_FILE_SIZE hidden field must > precede the file input field and its value is the maximum filesize > accepted. Th

Re: [PHP] File Upload

2002-12-14 Thread Paul Roberts
what version of php are you using? - Original Message - From: "Miro Kralovic" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 14, 2002 3:52 AM Subject: RE: [PHP] File Upload Thanks Tom, but still no luck.. it seems like it doesn't reco

Re: Re[2]: [PHP] File Upload

2002-12-14 Thread Paul Roberts
rom: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, December 14, 2002 8:53 AM Subject: Re: Re[2]: [PHP] File Upload On Saturday 14 December 2002 16:40, Tom Rogers wrote: > Just clutching at straws as there was no mention of which browser was bei

Re: Re[2]: [PHP] File Upload

2002-12-14 Thread Jason Wong
On Saturday 14 December 2002 16:40, Tom Rogers wrote: > Just clutching at straws as there was no mention of which browser was being > used and it may have been needed as this is a browser directive. I have > never had trouble uploading files with or without that setting. Ah, so in your case you'r

Re[2]: [PHP] File Upload

2002-12-14 Thread Tom Rogers
Hi, Saturday, December 14, 2002, 5:55:12 PM, you wrote: JW> On Saturday 14 December 2002 11:35, Tom Rogers wrote: >> You are missing this bit: >> >> JW> I am curious as to why so many people say this in response to file upload JW> problems? JW> In practice, none of my upload forms have that

Re: [PHP] File Upload

2002-12-13 Thread Jason Wong
On Saturday 14 December 2002 11:35, Tom Rogers wrote: > You are missing this bit: > > I am curious as to why so many people say this in response to file upload problems? In practice, none of my upload forms have that "missing bit" but they work perfectly well using a diverse range of browser

Re[2]: [PHP] File Upload

2002-12-13 Thread Tom Rogers
Hi, Saturday, December 14, 2002, 1:52:48 PM, you wrote: MK> Thanks Tom, but still no luck.. it seems like it doesn't recognize $testfile MK> variable at all in PHP script, even thought the globals are ON... Put phpinfo(32); at the top of your file and see what is being sent -- regards, Tom --

RE: [PHP] File Upload

2002-12-13 Thread Miro Kralovic
Thanks Tom, but still no luck.. it seems like it doesn't recognize $testfile variable at all in PHP script, even thought the globals are ON... You are missing this bit: -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File Upload

2002-12-13 Thread Tom Rogers
Hi, Saturday, December 14, 2002, 1:03:05 PM, you wrote: MK> Hi everybody, MK> I'm trying to upload a file using the following scripts, but it doesn't MK> work, it actually doesn't get through the first line of PHP script at all MK> and displays "a problem has occured" message. I'm running the scr

[PHP] File Upload

2002-12-13 Thread Miro Kralovic
Hi everybody, I'm trying to upload a file using the following scripts, but it doesn't work, it actually doesn't get through the first line of PHP script at all and displays "a problem has occured" message. I'm running the script on RH Linux/PHP4. Is there anything I'm missing here??? Many thanks

RE: [PHP] Help Need in PHP File Upload

2002-12-10 Thread Rich Gray
02 13:21 To: [EMAIL PROTECTED] Subject: [PHP] Help Need in PHP File Upload Hi: I need to upload a file during form submittion, I had done all the coding on my local Linux box It work fine over here. When i moved the code to my Client machine File upload is not working well. Server side code first

[PHP] Help Need in PHP File Upload

2002-12-10 Thread ppf
Hi: I need to upload a file during form submittion, I had done all the coding on my local Linux box It work fine over here. When i moved the code to my Client machine File upload is not working well. Server side code first check where file upload is successful by is_uploaded_file($HTTP_POST_FIL

RE: [PHP] File upload on Win2k ...

2002-11-26 Thread Rich Gray
Don't bother to respond people... worked out the issue - the double backslashes in the name... Cheers Rich -Original Message- From: Rich Gray [mailto:[EMAIL PROTECTED]] Sent: 26 November 2002 21:14 To: [EMAIL PROTECTED] Subject: [PHP] File upload on Win2k ... PHP v4.2.3 Win2K Sp2 A

[PHP] File upload on Win2k ...

2002-11-26 Thread Rich Gray
PHP v4.2.3 Win2K Sp2 Apache v1.3.24 I'm testing some file upload code for a image library type site and the file upload keeps failing... here's some code to explain what the issue is... Uploaded' : 'Not Uploaded'); ?> This outputs the following:- Array ( [userpic] => Array ( [name] => garden.jp

<    1   2   3   4   5   6   7   >