yes,I agree with Ash ,you can test it on a local testing server or the other
server.
if it work ,then you can sure it's environment problem.
2009-03-05
zhoo
发件人: Ashley Sheridan
发送时间: 2009-03-05 04:10:02
收件人: Karl St-Jacques
抄送: php-general
主题: Re: [PHP] $_FILES empty, tr
lar apache server.
It's just curious that it stopped working one day.
Thanks anyway !
Karl
Date: Thu, 5 Mar 2009 21:01:27 +0800
From: sore...@gmail.com
To: a...@ashleysheridan.co.uk; sadness...@hotmail.com
CC: php-general@lists.php.net
Subject: Re: Re: [PHP] $_FILES empty, trouble
On Wed, 2009-03-04 at 09:02 -0500, Karl St-Jacques wrote:
> Hello people.
>
> I have some trouble with an upload script. It was working until the last 2
> weeks.
>
> Whenever I tried to upload a file to a remote server, the $_FILES array is
> empty. I print global at start of the script there
On Sat, February 17, 2007 8:19 pm, Skip Evans wrote:
> I get the feeling from not finding an argument for
> the path on the client's machine for the complete
> path of a file in $_FILES that it might not be
> available for security reasons?
Yes.
It's none of your business where I store the file o
Skip Evans wrote:
Hey all,
I get the feeling from not finding an argument for the path on the
client's machine for the complete path of a file in $_FILES that it
might not be available for security reasons?
The reason I am interested in this is to restore the value of a input
type='file' f
Hi,
No solution from php...
If you find you way to read form file tag path via js you ma send this value
to server and may store sql then send back.
Aslo I'm not sure to sending back those stored info to client solve the
problem.
If you really want to do this.
You have to write your own file
On 5/31/06, chris smith <[EMAIL PROTECTED]> wrote:
On 5/31/06, kartikay malhotra <[EMAIL PROTECTED]> wrote:
> 2. Have you tried simply saving $_POST['userfile'] to a file?
>
> $save = $_POST['userfile'];
> $f=fopen($out,'a');
> copy($save, $out);
Files don't go into $_POST - they
On 5/31/06, kartikay malhotra <[EMAIL PROTECTED]> wrote:
Thanks for your replies.
1. Did you put the enctype="multipart/form-data" into the FORM tag?
Ans: I do not have a form! I'm using a gateway utility to upload files
From documentation of Mbuni MMS gateway:
post-url
Response content is obt
Thanks for your replies.
1. Did you put the enctype="multipart/form-data" into the FORM tag?
Ans: I do not have a form! I'm using a gateway utility to upload files
From documentation of Mbuni MMS gateway:
post-url
Response content is obtained as result of sending a HTTP POST request to the
pr
On 5/31/06, kartikay malhotra <[EMAIL PROTECTED]> wrote:
However, with Mbuni MMS Gateway (which provides HTTP POST), the above
condition in if loop isn't satisfied. I think $_FILES isn't working. However
the following code works:
0*/ )
{
$f=fopen($out,'a');
echo "HEL";
cop
kartikay malhotra wrote:
Hi All,
I'm using Mbuni MMS gateway, which provides me the facility to upload .mms
files.
Now with my little exposure to PHP, to upload files (say from the browser),
I use $_POST, namely:
if($_FILES['userfile']['size'] > 0)
{
$fileName = $_FILES['userfile']['name'];
Did you put the enctype="multipart/form-data" into the FORM tag?
What you describe matches not doing that.
On Wed, May 31, 2006 12:25 am, kartikay malhotra wrote:
> Hi All,
>
> I'm using Mbuni MMS gateway, which provides me the facility to upload
> .mms
> files.
>
> Now with my little exposure t
ApexEleven wrote:
I've googled the question and found no answer that has fixed my
problem. I also searched this list to try and find the answer to no
avail.
My problem is that after my form submits data to another script the
$_FILES global returns nothing but "array()" when I try to "print_r()"
it.
From: "Daniel Guerrier" <[EMAIL PROTECTED]>
> If I pass a $_FILES to an object by value. Does it
> create a copy of the actual posted files as well?
>
> In other words if I post a 2MB file to save.php and in
> turn pass $_FILES to an object $file->fileis($_FILES);
> Does that create 4MB of data i
Didier,
My guess is in your HTML, you have the input(s) named as 'file'..
Because of the way that PHP handles it's POST/GET variables, you will
want to redeclare your input names in your HTML to 'file[]'... This
basically defines that it is an array..
Hope that helps,
Jordan
Didier McGillis wro
On Saturday 07 December 2002 01:10, Tom Rogers wrote:
>
> If your input is like this:
>
>
>
> The array you get would look like this:
>
> $_FILES['userfile']['name'] The original name of the file on the client
> machine.
>
> $_FILES['userfile']['type'] The mime type of the file, if the browser
> p
Hi,
Saturday, December 7, 2002, 2:56:53 AM, you wrote:
MS> I'm trying to find some documentation on the $_FILES
MS> array, but on PHP, it's a little confusing. I read the
MS> documentation and the comment from rep_spam@..., but
MS> that wasn't too clear to me either.
MS> I'm aware that when uploa
--- Original Message -
>From: "Salvador Ramirez" <[EMAIL PROTECTED]>
>To: "1LT John W. Holmes" <[EMAIL PROTECTED]>
>Cc: "PHP General" <[EMAIL PROTECTED]>
>Sent: Monday, November 04, 2002 4:04 PM
>Subject: Re: [PHP] $_FILES
>
>
>&g
Do you have file uploads enabled in php.ini?
---John Holmes...
- Original Message -
From: "Salvador Ramirez" <[EMAIL PROTECTED]>
To: "1LT John W. Holmes" <[EMAIL PROTECTED]>
Cc: "PHP General" <[EMAIL PROTECTED]>
Sent: Monday, November 04
On Mon, 4 Nov 2002, 1LT John W. Holmes wrote:
>How about just
>
>print_r($_FILES);
>
>Does that return anything?
It just return the same as before, i.e. "Array ( )"
---sram
>---John Holmes...
>
>- Original Message -
>From: "Salvador Ramirez" <[EMAIL PROTECTED]>
>To: "PHP General" <[EM
How about just
print_r($_FILES);
Does that return anything?
---John Holmes...
- Original Message -
From: "Salvador Ramirez" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 3:50 PM
Subject: [PHP] $_FILES
> Hi,
>
> I hope somebody could hel
Yeah, this has been worked out already - turns out I was looping on the
file elements themselves (size, name, tmp_name, etc) isntead of the
actual number of files.
Thanks for your reply tho! :)
-J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
> For all those who don't know my question from yesterday, I
> have a form where I can upload up to 9 files at a time.
> Unfortunately, only the first 5 of those files are being
> uploaded at any given time.
I haven't specifically checked your program logic but I believe that
this is wher
BEAUTIFUL!
This was the problem... it wasn't that there was a limit of 5 maximum
uploads, it was just that my 'while' statement was only counting as many
fields as the first sub-array for $_FILES.. which is 5.
Tom, thanks a bunch!
-Jason
Tom Rogers wrote:
> Hi,
>
> Wednesday, October 16, 20
Hi,
Wednesday, October 16, 2002, 11:49:04 PM, you wrote:
JY> I'm going to approach this question in a different way, in case some
JY> people were put off by the complexity of it yesterday.
JY> For all those who don't know my question from yesterday, I have a form
JY> where I can upload up to 9
Ühel ilusal päeval [16-10-2002 16:50] kirjutas Jason Young:
> Just wanted to let everyone know:
>
> PHP version is 4.2.1
> Apache is 1.3.24
>
> Running WindowsXP Pro
Running Windows? Hm. I remember something similar, when I was sysadmin
and I used Windows NT 4.0 Workstation as a file server. Th
I hadn't thought about that, but it does sound like a possibility.
Although a browser isn't limited to 5 connections at a time. It is
usually set by the user and in my experience defaults to 4 and can be
set as high as 8. Most users (or even programmers) don't know about this
simple setting. I
IE can only have two concurrent connections open... eg if you have a
http 1.1 connection open for say a ongoing cgi/php call (ping or
traceroute) then you make another call for the same script and then a
further call to the server the last call will just sit there spinning
it's wheeels until o
Ühel ilusal päeval [16-10-2002 16:48] kirjutas Jason Young:
> I'm going to approach this question in a different way, in case some
> people were put off by the complexity of it yesterday.
>
> For all those who don't know my question from yesterday, I have a form
> where I can upload up to 9 fil
29 matches
Mail list logo