I posted this once under another subject, but didn't get any responses. I'm
stuck on this, and could really use some help.
I have the following php code for downloading a file to the user via the
browser:
// Open csv file.
$fp = fopen(fileOnServer.csv, r);
// Set headers for csv
On Sat, 6 Dec 2003, Geoffrey Thompson wrote:
header(Content-Type:application/csv);
header(Content-Disposition:attachment; filename=downloadFile.csv);
header(Content-Transfer-Encoding:binary);
fpassthru($fp);
This works great in Mozilla and IE 6 via http, and it works in Mozilla
via
On Sat, 31 Mar 2001 21:31, Ales Kunst wrote:
Hi,
I have a strange kind of a problem. I'm cannot write to files on a
server (i'm having virtual host) where i got my domain name.
The server is running Apache 1.3.x and is having php3.0.8 installed.
The code looks like this:
html
body
?php
David Robley wrote:
On Sat, 31 Mar 2001 21:31, Ales Kunst wrote:
Hi,
I have a strange kind of a problem. I'm cannot write to files on a
server (i'm having virtual host) where i got my domain name.
The server is running Apache 1.3.x and is having php3.0.8 installed.
The code looks
: Sunday, April 01, 2001 7:40 PM
Cc: Ales Kunst; [EMAIL PROTECTED]
Subject: Re: [PHP] Problems with files!
David Robley wrote:
On Sat, 31 Mar 2001 21:31, Ales Kunst wrote:
Hi,
I have a strange kind of a problem. I'm cannot write to files on a
server (i'm having virtual host) where i
Tyrone Mills wrote:
I don't know if it's been mentioned or not, but I have found that unless the
file exists, I can't open it. Have you verified that the file exists and the
user that the script will run as has the appropriate permissions?
I think you are mistaken. According to the PHP
Hi,
I have a strange kind of a problem. I'm cannot write to files on a server
(i'm having virtual host) where i got my domain name.
The server is running Apache 1.3.x and is having php3.0.8 installed.
The code looks like this:
html
body
?php
$fcontents = "something";
$fp =
From: "Kilian" [EMAIL PROTECTED]
Sent: Thursday, March 22, 2001 7:28 PM
The user the webserver process runs under may not have the permission to
upload the file. In many cases, the webserver runs as nobody. Thus, if you
want to upload a file, nobody needs write-access to the directory into
23, 2001 3:18 AM
To: PHP General List
Subject: [PHP] Problems uploading Files
Hello again ! , i have a script that uploads a file , when i use the
function move_uploaded_file() an error raises ,"Permission denied ."
,but if i upload the same file thru an ftp client it works
Hello again ! , i have a script that uploads a file , when i use the
function move_uploaded_file() an error raises ,"Permission denied ."
,but if i upload the same file thru an ftp client it works correctly !
Sebastin Renzi
Consultora Desarrollo de Sistemas.
CODES S.A
--
PHP General
]]
Sent: Thursday, March 22, 2001 1:18 PM
To: PHP General List
Subject: [PHP] Problems uploading Files
Hello again ! , i have a script that uploads a file , when i use the
function move_uploaded_file() an error raises ,"Permission denied ."
,but if i upload the same file thru an
Renzi, Sebastian [EMAIL PROTECTED] wrote:
Hello again ! , i have a script that uploads a file , when i use the
function move_uploaded_file() an error raises ,"Permission denied ."
,but if i upload the same file thru an ftp client it works correctly !
The user the webserver process runs
John Almberg [EMAIL PROTECTED] wrote:
[...]
Someone else suggested
that I use an
HTML 'upload', but I can't find anything about this in my HTML
documentation.
input type="file" ...
-- Kilian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
anything about this in my HTML
documentation.
Any help much appreciated!!!
John
-Original Message-
From: Renzi, Sebastian [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 22, 2001 1:18 PM
To: PHP General List
Subject: [PHP] Problems uploading Files
Hello again ! , i have
14 matches
Mail list logo