Is it a permission error?
I am facing the permission problem.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
> Hi,
> I do indeed have the file upload code inside a class function. it's one
> of those little things about PHP hadn't fully realised yet. Thanks for
> the pointer! If I pass the relevant _FILE entry to that function and
> work off that it solves the problem right?
You
Hi,
I do indeed have the file upload code inside a class function. it's one
of those little things about PHP hadn't fully realised yet. Thanks for
the pointer! If I pass the relevant _FILE entry to that function and
work off that it solves the problem right?
Cheers,
Tom
Richard Lynch wrote:
[E
[EMAIL PROTECTED] wrote:
> Hi,
> I have been having problems trying to get file uploads working with
> PHP in a Debian Linux enviroment. I have ensured that both the temporary
> directory PHP uploads use has the appropriate permissions set, as well
> as the folder I am attempting to copy the im
[EMAIL PROTECTED] wrote:
Hi,
I have been having problems trying to get file uploads working with
PHP in a Debian Linux enviroment. I have ensured that both the
temporary directory PHP uploads use has the appropriate permissions
set, as well as the folder I am attempting to copy the images int
Hi,
I have been having problems trying to get file uploads working with
PHP in a Debian Linux enviroment. I have ensured that both the temporary
directory PHP uploads use has the appropriate permissions set, as well
as the folder I am attempting to copy the images into.
When I called phpinfo
On 11 Aug 2004 21:30:38 -, Mark Collin <[EMAIL PROTECTED]> wrote:
> (Sorry if this is a repost, had some problems with my news client not
> sending properly)
>
> Thanks for the pointers Raditha, unfortunately I still can't get it
> working.
>
> I have been banging away at this for a few days
(Sorry if this is a repost, had some problems with my news client not
sending properly)
Thanks for the pointers Raditha, unfortunately I still can't get it
working.
I have been banging away at this for a few days now, and I currently
have the following my script:
ini_set(max_execution_time, 6
Mark Collin wrote:
I'm having problems with my file upload code. If I start to upload
files larger than a approx 400k the page seems to time out and I get a
page cannot be displayed error.
I have checked the php.ini on the server and max file size is 2Mb and
max Post size is 8Mb.
This is ty
I'm having problems with my file upload code. If I start to upload
files larger than a approx 400k the page seems to time out and I get a
page cannot be displayed error.
I have checked the php.ini on the server and max file size is 2Mb and
max Post size is 8Mb.
I initially thought that the scr
Can someone tell me why this is happening ?
i've tryed everything, since changing file, directory permissions,
owner, etc
i upload a file and, i give this erros
someone has any ideia ???
File Type: text/plain
*Warning*: move_uploaded_file(teste.txt): failed to open stream:
Permissio
The form:
Add Rider
Name:
Lic. Cat.:
Comments:
Upload Image:
The code:
if (is_uploaded_file($_FILES['image_upload']['tmp_name'])) {
move_uploaded_file($_FILES['image_upload']['tmp_name'],
$upload_file_path);
echo "success";
} else {
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
post_max_size = 8 MB
MAX_FILE_SIZE=8000
Apache Connection:300
max_execution_time=30 seconds
_not_ running in safe mode
Since page submits to itself, i just placed the set_time_limit(0) at the
top of the page. I can't change max_execution_time because it's set by the
hosting company. Craps out
Thanks for the message Richard,
I've been advised to upgrade to a new version (now running 4.0.6) and it works
fine.
Martin
Richard Lynch wrote:
> > If I try to submit a file for upload using the form using Netscape I get
> >
> > "Document contains no data". If I do the same in IE5.0 it just w
> If I try to submit a file for upload using the form using Netscape I get
>
> "Document contains no data". If I do the same in IE5.0 it just waits
> forever.
>
> Looking at the apache server error_log file I appear to be getting a
> "Segmentation Fault (11)" each time I try and Post the contents
I have a server running SuSE Linux Pro V7.0 (with security patches) ,
Apache 1.3.19 , and PHP 3.0.17-dev. The database engine I am using is
MySQL 3.22.32 (not relevant for this problem though).
I am trying to get file uploads working to the server, I currently have
a page which is written in PHP
Sounds like you don't copy tmp files to other place.
Most tmp files are deleted after program execution, PHP deletes tmp files as
well.
Refer to PHP manual for details.
Regards,
--
Yasuo Ohgaki
""Hilbert Mostert"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]..
Hello all,
I have some serious problems with file uploads,
when i upload a file to the server it creates the $userfile, $userfile_type,
$userfile_name and $userfile_size
variables, but it doesn't create the actual file in the /tmp dir (the upload
directory).
I have used redhat 7.0 with apache
19 matches
Mail list logo