t installed on this machine to test right now.
-M
> -Original Message-
> From: Vladimir Iahnenco [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 08, 2005 12:37 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] File upload maximum execution time error
>
> Hi
Hi All,
We have web IIS5 (web+ftp)+php4 installed on the same server. It takes about
5-6 min to upload 20MB file to our ftp server. But we cannot upload it
through http php upload. I set parameters
==
upload_max_filesize =40M
post_max_size=40M
max_execution_time=920 and then set it to zero
==
but a
Ok, now it is getting even more wierd. My 5.0.2 File Upload stopped
functioning again.
I stopped and restarted apache with 502, and it still failed.
I moved the folder to php.502, and then moved php.432 back to php.
Restarted apache and everything worked.
Scott Carr
OpenOffice.org
Documentati
I am trying to use File Upload in PHP 5.0.2.
The file is showing up without error, as you can see in the array:
Array
(
[fielddelim] => comma
[Save] => Continue
[MAX_FILE_SIZE] => 8388608
[uploadfile] => Array
(
[name] => largeimport.csv
[type] => applicat
Hi there,
I have a php script which successfully uploads a file to my Windows 2003
server. However the file has different permissions to the rest of the
files in the folder where it is uploaded to.
I don't quite understand why this is the case - when the file is
uploaded does it get the security
Have you check this out:
http://nl.php.net/manual/en/features.file-upload.php
?
It should get you going
-Original Message-
From: Anthony Ritter
To: [EMAIL PROTECTED]
Sent: 2004-04-15 18:26
Subject: [PHP-WIN] file upload
[...]
$data = addslashes(fread(fopen($_FILES[form_data], &q
In the following snippet, which uploads binary files to a mySQL database it
works fine when Register Globals are set to ON.
.
mysql_connect("localhost","root","pass");
mysql_select_db("adatabase");
$data = addslashes(fread(fopen($form_data, "r"), filesize($form_data)));
$result=my
> Is there any way to show the progress on a file upload with PHP?
My impression is that file upload is an atomic action
with php? (E.i. either it's uploaded or it's not.)
I do know shit and nothing about Java programming, but
maybe support can be given with the client(?), e.i. the
possiblity(?
I'm experiencing a rather bewildering problem when uploading files.
Most of the time file uploads work as expected, but on certain files
they mysteriously disappear and do not appear the $_FILES. The result
of print_r($_FILES) for these certain files looks like this:
Array ( [file] => Array ( [
very good resources in there.
chris kranz
fatcuban.com
-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: 25 February 2003 17:13
To: PHP
Subject: [PHP-WIN] File Upload Help Needed
PHP List,
I'm new to PHP and I'd like to create a Fil
ave... This will only upload txt
or html files... But it will display the file properties even if the
file is denied. Also has a file size limit of about 10k. This is a cut
down script of something straight of my website, and that runs on both a
win xp box, and a linux box. Only difference is $home_d
http://www.php.net/manual/en/features.file-upload.php
Surprisingly enough, straight from the manual ;)
chris kranz
fatcuban.com
-Original Message-
From: Jeremy Whitlock [mailto:[EMAIL PROTECTED]
Sent: 25 February 2003 17:13
To: PHP
Subject: [PHP-WIN] File Upload Help Needed
PHP
PHP List,
I'm new to PHP and I'd like to create a File Upload Page
for my users. Can someone point me in the right direction about how to
get started or offer a script to learn from? Thanks,
Jeremy Whitlock --- MCP/MCSA
IT Manager for Star Precision, Inc.
Phone: (970) 535-4795
Hello everybody,
I use PHP (with MySQL) on a Windows2000 machine. For an application that I
am writing I need a simple straight forward file upload system through a
form, like this:
echo "
";
In the Example_Action.php I have the simple instruction to test the script:
$AppImageDir = "C:\\In
Hi all,
I have file upload working on my NT/Lasso/PHP site and want to restrict the
type of file being uploaded to either PDF, TIF or ZIP.
My code sofar is:
http://mysite/upload_confirm.lasso?nj="; . $nj;
$file_dir="e:\\upload\\";
foreach($HTTP_POST_FILES as $file_name => $file_array){
Well after a bit of struggle i got the solve to the problem
Now whether there was my misinterpretation, or the incmplete documentation of the php
manual that I was using it with the following example
here I tried
/Uploads/
d:\\raheel\\w3sites\\txtfiledemo\\uploads\\
\uploads
./uploads
inp
I heard, that somehow i can track the percentage of file upload. If it is
possible, an example, or algorythm would be nice!
Thanks.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've read all messages related to this problem, but my situation is
different. I can't upload files > 1000 Bytes. NOT 1 KB but exactly 1000
bytes. In php.ini memory_limit is set to 8M and upload_max_filesize is set
to 8M and i'm still getting error, and is_uploaded_file() returns FALSE.
My syst
I'm trying to make an upload trough a html form to a php script, but if the
file is bigger than 1024k, when I submit the form, the borwser simply goes
instantly to a page like:
res://C:\WINNT\System32\shdoclc.dll/dnserror.htm#http://192.168.0.15/test.ph
p
I've found out that the problem is not w
DUH! never mind the newb over in the corner!
Changed the wrong max file size setting. Oh well...live and learn!
Nicholas Stuart said:
> Hello and good day all. I am having problems trying to upload files
> through php. Followed the online manual and the uploading appears to
> work fine for small
Hello and good day all. I am having problems trying to upload files
through php. Followed the online manual and the uploading appears to work
fine for small text files. But when I go to try and upload say an mp3 it
doesnt work. It just spits back the error:Warning: Unable to open '' for reading: N
Please can anyone tell me how to cope with IE6 showing files after browsing
with http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
n the previous form.
-Ethan
-Original Message-
From: Dash McElroy
To: Ethan Nelson
Cc: '[EMAIL PROTECTED]'
Sent: 4/24/02 1:11 PM
Subject: RE: [PHP-WIN] File upload issue 4.2.0
You should probably check to see if the variable is set before you try
and
read the uploaded
You should probably check to see if the variable is set before you try and
read the uploaded file...
-Dash
-Original Message-
From: Ethan Nelson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 24, 2002 11:57 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP-WIN] File upload issue
I get this error when I submit a form with nothing specified in the file
upload field. My understanding is that the server or PHP should submit
"none" by default when nothing is submitted as the value of the name
associated with the file upload field.
This doesn't appear to be sending anything at
Hello Neil,
Thursday, February 14, 2002, 9:25:20 PM, you wrote:
NH> Having some problems with file uploads, hope someone can help.
Check the permissions on the directory you are trying to copy to.
Doh!
Talking to myself again!!
--
Cheers,
Neil
--
PHP Windows Mailing List (http://www
A big HELLO to php-windows,
Having some problems with file uploads, hope someone can help.
Using php4.0.3pl1 I have a program that collects a file name and tries to upload
it. Syntax is same as that in the manual.
This works fine locally (on localhost) and the file is 'transferred' across my
ha
I am trying to create a script that will allow a user to upload images. For some
reason the server requires both the write and execute properties on the directory to
be set in order for the image to uploaded and displayed. I don't understand why the
execute method needs to be set, since I don
ay, December 03, 2001 11:12 AM
Subject: Re: [PHP-WIN] File upload
No - safe_mode = Off. But I thaught it had something to do with
register_globals or track_vars in the php.ini file but now I have turned on
register_globals so that shouldn't be an issue anymore.
- Original Message ---
Now I'm getting a warning. "../www': Permission denied in ../www/test.phtml on line 24"
/Samba
- Original Message -
From: "Samba Sidibeh" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 03, 2001 11:12 AM
Subject: Re: [PHP-WI
CTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 03, 2001 11:06 AM
Subject: RE: [PHP-WIN] File upload
Without knowing for sure I would imagine that the PHP installation on the
server is running in safe mode (look for the "safe_mode" var in your
php.ini).
Brgds,
Christian
-
PROTECTED]
Subject: [PHP-WIN] File upload
Hi
I'm trying to learn how to do file upload and I am using the example shown
on php.net's manual (http://www.php.net/manual/en/features.file-upload.php):
Send this file:
...for the client
and:
..for the server side. No matter how I do
Hi
I'm trying to learn how to do file upload and I am using the example shown
on php.net's manual (http://www.php.net/manual/en/features.file-upload.php):
Send this file:
...for the client
and:
..for the server side. No matter how I do it I always get the response
"Possible file upload
My file upload script does not work when gzip is turned on.
It does not even return an empty $HTTP_POST_FILES
Any ideas?
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list adminis
21, 2001 3:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] File upload timeout.
I'm trying to do a simple file upload using the sample code from php.net,
but after trying everything under the sun, it still doesn't work. I've tried
most of the suggestions on php.net and have sear
I'm trying to do a simple file upload using the sample code from php.net,
but after trying everything under the sun, it still doesn't work. I've tried
most of the suggestions on php.net and have searched the archives of this
mailing list, still to no avail. When I click on "Send File", it appears
I am still unable to get this to work. I'm into my 2nd full day of
messing with this and I'm still no further. Is anyone familiar with the
product FileUp by SoftArtisans? Apparently it provides file upload
capabilities for ASP. Is there any chance this is interfering with my
file uploads from PHP,
On Thu, 01 Nov 2001 13:25:27 -0600, Joseph Koenig <[EMAIL PROTECTED]> wrote:
>> I've been working on this all day and still am no further than I was
>> this morning. I'm pulling my hair out. In php.ini, the upload_tmp_dir is
>> set to "F:\PHP\uploadtemp", which is right where it should be. When I
Koenig <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>MIME-Version: 1.0
>To: [EMAIL PROTECTED]
>Content-Type: text/plain; charset=us-ascii
>Content-Transfer-Encoding: 7bit
>Subject: Re: [PHP-WIN] File Upload on Win2K
>
>I've been working on this all day and still a
I've been working on this all day and still am no further than I was
this morning. I'm pulling my hair out. In php.ini, the upload_tmp_dir is
set to "F:\PHP\uploadtemp", which is right where it should be. When I
upload a file, if I echo it, I get the path to the file, however, when I
go into the s
Hi,
I know this is a question asked all the time and but this one's got me
confused. I'm attempting to have a form upload an image. Simple enough.
The file gets moved up to the temp directory just fine. If I echo the
file, I get something like "F:\PHP\uploadtemp\php56.tmp", which is right
where i
At 10:39 AM 9/18/2001 +0430, you wrote:
>Hi All,
>I must a file download with used html form, for example with this code:
>How can upload only GIF or JPG file?
Be sure to include the MAX_FILE_SIZE hidden input field -- it is
required. And be sure to put it BEFORE the file input field in the cod
Hi All,
I must a file download with used html form, for example with this code:
How can upload only GIF or JPG file?
I see for file size limit used a hidden parameter with name "MAX_FILE_SIZE"
for example :
for limit file size in 1KB, Where i found any parameter for upload file ?
Thank
I was using the File Upload tutorial from Julie Meloni's thickbook.com site
and it looks simple enough but I can't copy the file mainly because it is
looking in the wrong spot for the file I browsed to. Some help would be
appreciated, I have a class that I want to teach this to.
For instance, I
Does anyone know where an easy to use file-upload library is?
I have them for Perl but am starting to switch things to PHP- SQL's so much
easier than writing flat text files.
Running PHP 4.0.5-dev - WIN-NT
Thanks
Mr. Adam ALLEN.
[EMAIL PROTECTED]
http://www.dynamicinteraction.co.uk
--
PHP W
2000.
> -Original Message-
> From: MacBane [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, January 10, 2001 1:35 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] File upload not working
>
>
> File uploading is not working for me on my server,
>
> it is a windows 200
File uploading is not working for me on my server,
it is a windows 2000 box running php 4.02
this is my code
");
?>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list
47 matches
Mail list logo