Tom wrote:
> Hi,
>
> on a linux system (Suese 10.2) with 1 GB memory its not possible to
> upload via http a 1 Gb File. Thats no limit problem on my php
> config. i can look the mem stats when uploading and the growing tmp
> file. If the temp file has 900 MB, Main Memory free is 0 and the
> scr
Hi,
on a linux system (Suese 10.2) with 1 GB memory its not possible to upload
via http a 1 Gb File. Thats no limit problem on my php config. i can look
the mem stats when uploading and the growing tmp file. If the temp file has
900 MB, Main Memory free is 0 and the script aborts and php dele
Al wrote:
One of my sites has been hacked and I'm trying to find the hole. The
hack code creates dirs with "nobody" ownership, so it's obvious stuff is
not via ftp [ownership would be foo]
Site is virtual host, Linux/Apache
I'm concerned about a file uploader my users use to upload photos.
I would recommend something more strong
http://www.php.net/manual/en/function.exif-imagetype.php
or if you dont have exif
http://www.php.net/manual/en/function.getimagesize.php
will do also a trick.
One more thing, you are also allowing .txt and .css which may be
potential hole, as Apache can
The hack puts this .htaccess in dozens of dirs
RewriteEngine On
RewriteCond %{HTTP_REFERER}
^http://([a-z0-9_\-]+\.)*(google|msn|yahoo|live|ask|dogpile|mywebsearch|yandex|rambler|aport|mail|gogo|poisk|alltheweb|fireball|freenet|abacho|wanadoo|free|club-internet|aliceadsl|alice|skynet|terra|ya
How was it "hacked"?
That will help determine what kind of exploit might have been used.
On 4/11/08, Al <[EMAIL PROTECTED]> wrote:
> One of my sites has been hacked and I'm trying to find the hole. The hack
> code creates dirs with "nobody" ownership, so it's obvious stuff is not via
> ftp [own
One of my sites has been hacked and I'm trying to find the hole. The hack code creates dirs with
"nobody" ownership, so it's obvious stuff is not via ftp [ownership would be foo]
Site is virtual host, Linux/Apache
I'm concerned about a file uploader my users use to upload photos.
Can anyone s
t;Jim Moseby" <[EMAIL PROTECTED]>
Cc: "'Sukhwinder Singh'" <[EMAIL PROTECTED]>;
Sent: Saturday, June 09, 2007 5:15 AM
Subject: RE: [PHP] File Upload - post_max_size and upload_max_filesize in
GBs
On Thu, June 7, 2007 10:52 am, Jim Moseby wrote:
Rumor has i
On Thu, June 7, 2007 10:52 am, Jim Moseby wrote:
> Rumor has it that uploaded files are stored in memory before being
> committed
> to disk. If so, the amount of free RAM available to PHP would be the
> limit
> to the filesize regardless of the ini file settings.
I think you have to go pretty far
On Fri, 2007-06-08 at 10:53 -0400, tedd wrote:
> At 4:35 PM +0100 6/7/07, Stut wrote:
> >You need to look into maybe a java applet, or just plain
> >FTP/SFTP/SCP for files that big. HTTP was never designed to handle
> >uploading files of that size. For a start there is no facility to
> >restart
tedd wrote:
At 4:35 PM +0100 6/7/07, Stut wrote:
You need to look into maybe a java applet, or just plain FTP/SFTP/SCP
for files that big. HTTP was never designed to handle uploading files
of that size. For a start there is no facility to restart the upload
should it get interrupted and fail.
At 4:35 PM +0100 6/7/07, Stut wrote:
You need to look into maybe a java applet, or just plain
FTP/SFTP/SCP for files that big. HTTP was never designed to handle
uploading files of that size. For a start there is no facility to
restart the upload should it get interrupted and fail.
-Stut
-St
Sukhwinder Singh wrote:
You don't appear to have read what I said. A Java applet can use FTP
to upload the file - PHP does not get involved in that part. Once the
upload is complete the applet can POST to your PHP file giving it
information like where it's put the file and this other informatio
nder Singh" <[EMAIL PROTECTED]>
Cc:
Sent: Friday, June 08, 2007 2:10 AM
Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize in
GBs
Sukhwinder Singh wrote:
Even java applets have to hand over the file to some script, in this
case php and php will get it in $_FILES
Sukhwinder Singh wrote:
Even java applets have to hand over the file to some script, in this
case php and php will get it in $_FILES array it seems (in case of
japplet). so the problem will remain.
Not at all true. A Java applet can use FTP to handle the upload and
still pass meta data about
w.
Thanks for replying.
Sukhwinder Singh
- Original Message -
From: "Stut" <[EMAIL PROTECTED]>
To: "Sukhwinder Singh" <[EMAIL PROTECTED]>
Cc:
Sent: Friday, June 08, 2007 1:28 AM
Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize in
G
the file from a Java applet.
-Stut
- Original Message - From: "Stut" <[EMAIL PROTECTED]>
To: "Sukhwinder Singh" <[EMAIL PROTECTED]>
Cc:
Sent: Thursday, June 07, 2007 8:56 PM
Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize
in GBs
>
> > Rumor has it that uploaded files are stored in memory before being
> > committed
> > to disk. If so, the amount of free RAM available to PHP
> would be the limit
> > to the filesize regardless of the ini file settings.
>
> I don't think that is the case. File is written to temp
> directo
php will get it in $_FILES array it seems (in case of japplet). so
the problem will remain.
- Original Message -
From: "Stut" <[EMAIL PROTECTED]>
To: "Sukhwinder Singh" <[EMAIL PROTECTED]>
Cc:
Sent: Thursday, June 07, 2007 8:56 PM
Subject: Re: [PHP]
gt;
To: "Sukhwinder Singh" <[EMAIL PROTECTED]>
Cc: "Jim Moseby" <[EMAIL PROTECTED]>;
Sent: Thursday, June 07, 2007 9:16 PM
Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize in
GBs
Sukhwinder Singh wrote:
Rumor has it that uploaded files a
Sukhwinder Singh wrote:
Rumor has it that uploaded files are stored in memory before being
committed
to disk. If so, the amount of free RAM available to PHP would be the
limit
to the filesize regardless of the ini file settings.
I don't think that is the case. File is written to temp director
IL PROTECTED]>
Sent: Thursday, June 07, 2007 8:59 PM
Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize in
GBs
A beeter method is to send the file via ftp. I think most browsers
allow this. And for example store the file in a user specific file.
Then the user, via a web i
also have to update database to associate that file
with some user etc. It needs to be web based.
Sukhwinder Singh
- Original Message -
From: "Jim Moseby" <[EMAIL PROTECTED]>
To: "'Sukhwinder Singh'" <[EMAIL PROTECTED]>;
Sent: Thursday, June
Message - From: "Stut" <[EMAIL PROTECTED]>
To: "Sukhwinder Singh" <[EMAIL PROTECTED]>
Cc:
Sent: Thursday, June 07, 2007 8:35 PM
Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize
in GBs
Sukhwinder Singh wrote:
I want to allow uploading of h
>
> Hello,
>
> I want to allow uploading of huge video files, which may be
> as big as 4 GB. But when I try to set
>
> post_max_size = 4G
> upload_max_filesize = 4G
>
> in php.ini, it doesn't work and everything in post (posted
> data) is ignored.
>
> I get a warning about size of posted da
.
Any utility which allows this?
Thanks,
Sukhwinder Singh
- Original Message -
From: "Stut" <[EMAIL PROTECTED]>
To: "Sukhwinder Singh" <[EMAIL PROTECTED]>
Cc:
Sent: Thursday, June 07, 2007 8:35 PM
Subject: Re: [PHP] File Upload - post_max_size
Sukhwinder Singh wrote:
I want to allow uploading of huge video files, which may be as big as 4 GB. But when I try to set
post_max_size = 4G
upload_max_filesize = 4G
in php.ini, it doesn't work and everything in post (posted data) is ignored.
I get a warning about size of posted data greater
Hello,
I want to allow uploading of huge video files, which may be as big as 4 GB. But
when I try to set
post_max_size = 4G
upload_max_filesize = 4G
in php.ini, it doesn't work and everything in post (posted data) is ignored.
I get a warning about size of posted data greater than some negativ
Well, seeing as I have no directory anywhere in my file structure called
"/tmp" and yet my file uploads are still working, it would appear that my
temporary file upload directory "/tmp" given by php_info() is somewhere
outside of my root directory. So that's good news! That's were I'll be
doing
On Wed, September 27, 2006 12:12 pm, Andy Hultgren wrote:
> So I've been trying to figure out where php uploads files to
> temporarily
> store them before I move them to their permanent storage directory,
> and I'm
> having some difficulties:
>
> -- php_info() says the temporary file upload directo
So I've been trying to figure out where php uploads files to temporarily
store them before I move them to their permanent storage directory, and I'm
having some difficulties:
-- php_info() says the temporary file upload directory is "/tmp" but I don't
know if that's relative to my root directory
On Wed, September 27, 2006 10:11 am, tedd wrote:
>>So when you read advice to use 0777 you can immediately change that
>> to
>>0700, because the only access needed is for you, not your group, and
>>not the "world" of other users on that machine.
>
> Excellent point -- thanks.
This applies only to
At 6:43 PM -0500 9/26/06, Richard Lynch wrote:
On Mon, September 25, 2006 3:58 pm, Andy Hultgren wrote:
> -- Since I'm only allowing image uploads, I can strictly filter which
files
are allowed to be uploaded (with extension checks and get_image_size).
Extension check is kinda useless...
I
On Mon, September 25, 2006 3:58 pm, Andy Hultgren wrote:
> So I tried to implement the example code given in the php tmpfile()
> documentation and it wouldn't do anything, which suggests that I don't
> have
> access to the /tmp directory. Also, the FAQ's section on my server's
> website say that /
The FTP will be slower, almost for sure.
He's doing it because he can FTP in as himself, and not as the
"nobody" user Apache runs as.
Your webhost has you running as yourself already, so you can chmod
your files at will in PHP.
On Mon, September 25, 2006 2:11 pm, Andy Hultgren wrote:
> Tedd,
>
>
Hey Tedd and Eric,
Between the two of you and Richard Lynch's last post, I understand why I can
use chmod() and mkdir() within php without having to use the ftp commands: I
run on a server that is configured to run my php scripts as "username" (ie.
me!) instead of as "nobody" (which is much more
Well, that didn't sound too good...
So I tried to implement the example code given in the php tmpfile()
documentation and it wouldn't do anything, which suggests that I don't have
access to the /tmp directory. Also, the FAQ's section on my server's
website say that /tmp is not shared between the
Andy:
It was never a question of speed for me -- it was a question of being
able to change file permissions from within a php script so that I
could create and write files safely.
You see, I am *not* able to use chmod() within a php script at all
regardless of what permissions the file and p
On 9/25/06, Andy Hultgren <[EMAIL PROTECTED]> wrote:
Tedd,
Thanks so much your thorough response - it's good to know that I'm not the
only one trying to figure this out! I'm curious, in your code you use the
PHP ftp functions, but I have used the PHP functions chmod() and mkdir()
without estab
Tedd,
Thanks so much your thorough response - it's good to know that I'm not the
only one trying to figure this out! I'm curious, in your code you use the
PHP ftp functions, but I have used the PHP functions chmod() and mkdir()
without establishing an ftp connection. Is it faster to establish a
At 9:32 PM -0600 9/24/06, Andy Hultgren wrote:
Hi Tedd,
Yes, when I browse to www.myDomain.com I get the index.html file, and so I
have been leaving the .public_html/ directory alone since it is not my
root. I'm curious, what you described is exactly what I'm trying to do -
what permissions do
Hi Tedd,
Yes, when I browse to www.myDomain.com I get the index.html file, and so I
have been leaving the .public_html/ directory alone since it is not my
root. I'm curious, what you described is exactly what I'm trying to do -
what permissions do you set the parent folder at when you are finish
At 7:19 PM -0600 9/22/06, Andy Hultgren wrote:
For whatever reason when I ftp in using WinFtp I don't see public_html
(it's hidden, don't know why; if I make a directory called
".public_html" it gets created and then disappears), but I can see my
file structure from my host's website and so I kno
On Saturday 23 September 2006 01:27, you wrote:
> Hi Borge,
>
> host/users/myDomain is the actual directory (and it's the root
> directory), and I do not have access to higher directories. So
> basically I do not have access to directories higher than my root
> directory, which is unfortunate. Al
For whatever reason when I ftp in using WinFtp I don't see public_html
(it's hidden, don't know why; if I make a directory called
".public_html" it gets created and then disappears), but I can see my
file structure from my host's website and so I know that when I ftp in
to myDomain.com this is wha
I may have hit "send" too soon...
Like, when you do FTP, do you see:
index.htm
page2.htm
page3.htm
right away?
*OR*, do you see:
public_html
And then you do "cd public_html" and THEN you see the files?
If you don't do "cd public_html" then I really don't think accepting
file uploads is a Go
So pretty much there's nothing to be done about it? If I can get the
chmod thing to make it so that you can't surf to your uploaded image
afterwards and view it, I'd be happy with that solution. I'd like to
stick with this host if I could.
On 9/22/06, Richard Lynch <[EMAIL PROTECTED]> wrote:
O
On Fri, September 22, 2006 3:58 pm, Andy Hultgren wrote:
> that as my root directory is simply www.myDomain.com and not
> ".public_html/" and I am on a shared server where my root cannot be
I got two words for you:
Change Hosts
--
Like Music?
http://l-i-e.com/artists.htm
--
PHP General Mailin
On Friday 22 September 2006 22:58, Andy Hultgren wrote:
> Hi,
> I am relatively new to php and am trying to set up a file upload
> process for my website. I have read through the php security
> documentation and a number of the security-related questions on these
> lists and am attempting to imple
Hi,
I am relatively new to php and am trying to set up a file upload
process for my website. I have read through the php security
documentation and a number of the security-related questions on these
lists and am attempting to implement as many of the measures as
possible.
One of the suggestions
True, but it checks it at the first attempt to upload, not when the file
is done or partially uploaded. Granted, not what the OP asked for
exactly, but better then what he has now and better then spending more
time looking...
Wolf
Chris wrote:
> Wolf wrote:
>> In your form uploading script:
>> #
Wolf wrote:
In your form uploading script:
# individual file size limit - in bytes (102400 bytes = 100KB)
$file_size_ind = "838860800"; // 819.2 MB
$weight=$_FILES[fileupload][size];
if ($weight>$file_size_ind)
{
echo" ERROR: please get the file size
less than ".$file_size_ind." BYTES (".rou
In your form uploading script:
# individual file size limit - in bytes (102400 bytes = 100KB)
$file_size_ind = "838860800"; // 819.2 MB
$weight=$_FILES[fileupload][size];
if ($weight>$file_size_ind)
{
echo" ERROR: please get the file size
less than ".$file_size_ind." BYTES (".round(($file_size
On Wed, May 10, 2006 11:09 am, Phillip S. Baker wrote:
> James Nunnerley wrote:
> However you can set the max file size within the tag of HTML.
> I forget the proper snytax and tag off the top of my head.
> I am not sure the error it spits out as I have never tested that.
> you can also use javasc
Jay Blanchard wrote:
[snip]
Is there anyway to check the size of a file before it starts uploading
it?
For instance, if the file is huge, and takes ages to upload, and is then
rejected by the server, the user will be somewhat annoyed!
[/snip]
PHP is server-side and cannot check anything client-s
James Nunnerley wrote:
Is there anyway to check the size of a file before it starts uploading it?
For instance, if the file is huge, and takes ages to upload, and is then
rejected by the server, the user will be somewhat annoyed!
I'm not even sure this is a php question!
Nope not a PHP que
On Wednesday 10 May 2006 13:39, Jay Blanchard wrote:
> [snip]
> Is there anyway to check the size of a file before it starts uploading
> it?
> For instance, if the file is huge, and takes ages to upload, and is then
> rejected by the server, the user will be somewhat annoyed!
> [/snip]
>
> PHP is s
[snip]
Is there anyway to check the size of a file before it starts uploading
it?
For instance, if the file is huge, and takes ages to upload, and is then
rejected by the server, the user will be somewhat annoyed!
[/snip]
PHP is server-side and cannot check anything client-side. You cold use
somet
James Nunnerley schrieb:
Is there anyway to check the size of a file before it starts uploading it?
For instance, if the file is huge, and takes ages to upload, and is then
rejected by the server, the user will be somewhat annoyed!
I'm not even sure this is a php question!
No you can't.
No
Is there anyway to check the size of a file before it starts uploading it?
For instance, if the file is huge, and takes ages to upload, and is then
rejected by the server, the user will be somewhat annoyed!
I'm not even sure this is a php question!
Cheers
Nunners
Angelo Zanetti wrote:
thanks, but Im sure there is something that is messing up the file
permissions that I can change before the upload, instead of trying to
cure the problem by setting the chmod of the file after its uplaoded
Check the following things:
1. umask settings on the director
The remote PHP machine maybe forces the files to
change their permission when uploaded. This would be
security measure. And I think that if this is the
case, you won't be able to change the permissions.
===
Hristo Yankov, Developer at Portellus, Inc.
ICQ - 1
Use chmod() on the uploaded file.
===
Hristo Yankov, Developer at Portellus, Inc.
ICQ - 191445567
Yahoo! - yankov_hristo
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http
thanks, but Im sure there is something that is messing up the file
permissions that I can change before the upload, instead of trying to
cure the problem by setting the chmod of the file after its uplaoded
Hristo Yankov wrote:
Use chmod() on the uploaded file.
=
Hi all.
I've got a PHP script which does file uploads.
the files get uploaded fine but I see that the permission of the files are:
600
IE: Owner read and write.
In order for me to use the files, I would have to set the permissions on
each file, now for best practise would I set the permissio
Hello everyone. I'm basically building a PHP FTP client app. This app
connects to an FTP server and allows the user to edit/delete
files/permissions, etc. I've gotten to the point where I have started to
create a file upload feature. The problem I have is that PHP only allows a
2mb maximum
Hello,
I'm having a problem with a file upload. The following works on one server I
use : -
---
function add_me(){
global $filename;
global $maxFileSize;
global $yourdirectory;
// put this in a file that is called by your w
On Mon, 2005-04-04 at 17:07 +0300, William Stokes wrote:
> Hello,
> I might have asked this already but I am still ignorent ;-)
>
> How to check if a same name file already exists in a upload directory when
> uploading new file?
>
> Thanks
> -Will
>
http://www.php.net/file_exists
-Robby
--
> How to check if a same name file already exists in a upload
> directory when uploading new file?
>
Use the file_exists() function (oddly named, I know).
http://us4.php.net/manual/en/function.file-exists.php
-M
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
I might have asked this already but I am still ignorent ;-)
How to check if a same name file already exists in a upload directory
when
uploading new file?
Use the appropriately named file_exists() function.
L.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.
Hello,
I might have asked this already but I am still ignorent ;-)
How to check if a same name file already exists in a upload directory when
uploading new file?
Thanks
-Will
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
William Stokes wrote:
Okl I can't reverse engineer that...
I just need to know how to set the path.
now I have it like this and it wont work. $fileame comes from a form.
if (copy($filename, "/imagedir/" . $filename_name))
print "upload succesful!";
Don't use copy(), use move_uploaded_file()
See
113.html
>> take a look at this.. perhaps you can reverse engineer it
>>
>>
>>
>>
>>
>> "William Stokes" <[EMAIL PROTECTED]>
>> 24/03/2005 09:18
>>
>> To
>> php-general@lists.php.net
>> cc
>>
>> Subj
ROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> http://www.hotscripts.com/Detailed/24113.html
> take a look at this.. perhaps you can reverse engineer it
>
>
>
>
>
> "William Stokes" <[EMAIL PROTECTED]>
> 24/03/2005 09:18
>
> To
> php-ge
http://www.hotscripts.com/Detailed/24113.html
take a look at this.. perhaps you can reverse engineer it
"William Stokes" <[EMAIL PROTECTED]>
24/03/2005 09:18
To
php-general@lists.php.net
cc
Subject
[PHP] file upload
Hello,
I'm (slowly) learning how to make a f
Hello,
I'm (slowly) learning how to make a file upload stuff with php. Now I would
like to know how to define the servers upload directory in the code?
For example I have the upload script in folder /www in the www.domain.com
server and I want upload the files to /www/uploads folder. So how do
ADNET Ghislain wrote:
> upload_tmp_dir/www/htdocs/upload /no value/
^^^
/
/
*THIS* is the one that matters -+
Someh
ADNET Ghislain wrote:
> I am trying to make upload files to belong to the ftp user of the
> website and not the apache user.
>
> As i run in module i tried to do this:
>
> 1/ create a temp dir on the website outside the documentroot, chown the
> temp dir to my ftp user and allow the group to w
Hi,
I am trying to make upload files to belong to the ftp user of the
website and not the apache user.
As i run in module i tried to do this:
1/ create a temp dir on the website outside the documentroot, chown the
temp dir to my ftp user and allow the group to write,, put the same
group as t
Graham Cossey wrote:
I have a problem uploading a file in IE6 or Firefox1.0 but it works
fine using Opera7.54.
The problem is that I want to ensure that the file being uploaded is a
CSV file, so I test the $_FILES['file']['type'] value.
In Firefox & IE it is returned as "application/octet-stream" b
Graham Cossey wrote:
> The problem is that I want to ensure that the file being uploaded is a
> CSV file, so I test the $_FILES['file']['type'] value.
That only ensures that somebody else can forge the type header being sent
to you.
Anybody with half a clue (okay, a clue and a half) could do that
I have a problem uploading a file in IE6 or Firefox1.0 but it works
fine using Opera7.54.
The problem is that I want to ensure that the file being uploaded is a
CSV file, so I test the $_FILES['file']['type'] value.
In Firefox & IE it is returned as "application/octet-stream" but in
Opera it is r
Tom wrote:
> Thanks for the replies. My manual was out of date, not that it would
> have made any difference to this anyway as .
> upload_tmp_dir variable was correctly set in the php.ini file, and I'd
> restarted the web server several times. It seems however that the file
> is getting cached
Thanks for the replies. My manual was out of date, not that it would
have made any difference to this anyway as .
upload_tmp_dir variable was correctly set in the php.ini file, and I'd
restarted the web server several times. It seems however that the file
is getting cached somehow, and is no
Tom wrote:
Hi
I have a very simple file upload form and script to handle it (copied
verbatim from the php manual, except for the file target location and
the script name).
However, it always fails, with an error code in the _FILE array or 6.
Does anyone know what this error is or what I am likely
Hi
I have a very simple file upload form and script to handle it (copied
verbatim from the php manual, except for the file target location and
the script name).
However, it always fails, with an error code in the _FILE array or 6.
Does anyone know what this error is or what I am likely to have se
On Thu, 20 Jan 2005 13:30:35 +0100, M. Sokolewicz <[EMAIL PROTECTED]> wrote:
> what you're doing is server => server
> What the akshay wants is server => client
> The only not yet posted other options are client => client (which is
> essentially impossible with PHP, unless you use the server=>serve
Anirudh Dutt wrote:
On Thu, 20 Jan 2005 12:26:07 +0100, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
akshay wrote:
Hi all,
I hv problem while file upload.
I hv one server and multiple client.
I want to upload a file from Server to client.
how this is possible in PHP
This is usualy called download. Is
On Thu, 20 Jan 2005 12:26:07 +0100, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> akshay wrote:
> > Hi all,
> > I hv problem while file upload.
> > I hv one server and multiple client.
> > I want to upload a file from Server to client.
> > how this is possible in PHP
>
> This is usualy called downl
akshay wrote:
Hi all,
I hv problem while file upload.
I hv one server and multiple client.
I want to upload a file from Server to client.
how this is possible in PHP
This is usualy called download. Is this what you want?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
Hi all,
I hv problem while file upload.
I hv one server and multiple client.
I want to upload a file from Server to client.
how this is possible in PHP
with regds,
akshay
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP General Mailing List (http://www.php.net/)
To unsu
Wayne Donaho wrote:
> I am trying to run a file upload using PHP as a CGI script and am running
> into an odd error.
>
> The error I am getting is the dreaded Server Error -- Error 500 Premature
> end of script headers: php.cgi
Some more analysis ideas:
On the very first line of your script, prin
I am trying to run a file upload using PHP as a CGI script and am running
into an odd error.
The error I am getting is the dreaded Server Error -- Error 500 Premature
end of script headers: php.cgi
Here is the diagnosis I have done.
1. The php.cgi executable deals with scripts correctly when us
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
"Mike Walsh" <[EMAIL PROTECTED]> wrote in message news:0%ald.9258
[ ... snipped ... ]
>
> ; Maximum allowed size for uploaded files.
> upload_max_filesize = 1G
>
[ ... snipped ... ]
It turns out that 1G is not a valid value for this directive. Not sure why
I haven't run into this problem previ
101 - 200 of 610 matches
Mail list logo