FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » IP address and empty $_FILES
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
IP address and empty $_FILES [message #174630] Thu, 23 June 2011 06:04 Go to next message
jpolg is currently offline  jpolg
Messages: 1
Registered: June 2011
Karma: 0
Junior Member
Hello

My PHP script for uploading doesn't work any more with Firefox 4
clients under Windows (XP or Vista) as it ran with older Firefox
releases: when these clients use the IP number of the server, instate
of its address name, the
PHP $_FILES variable is empty.

No difficulty neither with IE nor under Linux.

The HTTP server is Apache/2.2.17 (Unix) DAV/2 PHP/5.3.5

Can anybody tell me where is the problem coming from ?

Thanks in advance.

J-P.G
Re: IP address and empty $_FILES [message #174632 is a reply to message #174630] Thu, 23 June 2011 10:13 Go to previous messageGo to next message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 6/23/2011 2:04 AM, jpolg wrote:
> Hello
>
> My PHP script for uploading doesn't work any more with Firefox 4
> clients under Windows (XP or Vista) as it ran with older Firefox
> releases: when these clients use the IP number of the server, instate
> of its address name, the
> PHP $_FILES variable is empty.
>
> No difficulty neither with IE nor under Linux.
>
> The HTTP server is Apache/2.2.17 (Unix) DAV/2 PHP/5.3.5
>
> Can anybody tell me where is the problem coming from ?
>
> Thanks in advance.
>
> J-P.G

It wouldn't be PHP. PHP doesn't care whether the server name or ip
address is used or which browser the user is running.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
Re: IP address and empty $_FILES [message #174638 is a reply to message #174632] Thu, 23 June 2011 15:44 Go to previous messageGo to next message
Adrienne Boswell is currently offline  Adrienne Boswell
Messages: 25
Registered: October 2010
Karma: 0
Junior Member
Gazing into my crystal ball I observed Jerry Stuckle
<jstucklex(at)attglobal(dot)net> writing in news:itv3k5$ms1$1(at)dont-email(dot)me:

> On 6/23/2011 2:04 AM, jpolg wrote:
>> Hello
>>
>> My PHP script for uploading doesn't work any more with Firefox 4
>> clients under Windows (XP or Vista) as it ran with older Firefox
>> releases: when these clients use the IP number of the server, instate
>> of its address name, the
>> PHP $_FILES variable is empty.
>>
>> No difficulty neither with IE nor under Linux.
>>
>> The HTTP server is Apache/2.2.17 (Unix) DAV/2 PHP/5.3.5
>>
>> Can anybody tell me where is the problem coming from ?
>>
>> Thanks in advance.
>>
>> J-P.G
>
> It wouldn't be PHP. PHP doesn't care whether the server name or ip
> address is used or which browser the user is running.
>

Actually, it could be the browser. The OP is looking for information
coming from the client, so the client could be obscuring/mangling the
information going to the server.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Re: IP address and empty $_FILES [message #174639 is a reply to message #174630] Thu, 23 June 2011 15:45 Go to previous messageGo to next message
Adrienne Boswell is currently offline  Adrienne Boswell
Messages: 25
Registered: October 2010
Karma: 0
Junior Member
Gazing into my crystal ball I observed jpolg <jeanpolg(at)free(dot)fr> writing
in news:decd859e-01da-41cf-996a-
b0041297a78b(at)y13g2000yqy(dot)googlegroups(dot)com:

> Hello
>
> My PHP script for uploading doesn't work any more with Firefox 4
> clients under Windows (XP or Vista) as it ran with older Firefox
> releases: when these clients use the IP number of the server, instate
> of its address name, the
> PHP $_FILES variable is empty.
>
> No difficulty neither with IE nor under Linux.
>
> The HTTP server is Apache/2.2.17 (Unix) DAV/2 PHP/5.3.5
>
> Can anybody tell me where is the problem coming from ?
>
> Thanks in advance.

There is an interesting thread here:
<http://stackoverflow.com/questions/2347868/firefox-upload-form-issue>

Is this happening only on your browser, and if so, have you checked your
antivirus and/or firewall?



--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Re: IP address and empty $_FILES [message #174643 is a reply to message #174638] Thu, 23 June 2011 16:46 Go to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma: 0
Senior Member
On 6/23/2011 11:44 AM, Adrienne Boswell wrote:
> Gazing into my crystal ball I observed Jerry Stuckle
> <jstucklex(at)attglobal(dot)net> writing in news:itv3k5$ms1$1(at)dont-email(dot)me:
>
>> On 6/23/2011 2:04 AM, jpolg wrote:
>>> Hello
>>>
>>> My PHP script for uploading doesn't work any more with Firefox 4
>>> clients under Windows (XP or Vista) as it ran with older Firefox
>>> releases: when these clients use the IP number of the server, instate
>>> of its address name, the
>>> PHP $_FILES variable is empty.
>>>
>>> No difficulty neither with IE nor under Linux.
>>>
>>> The HTTP server is Apache/2.2.17 (Unix) DAV/2 PHP/5.3.5
>>>
>>> Can anybody tell me where is the problem coming from ?
>>>
>>> Thanks in advance.
>>>
>>> J-P.G
>>
>> It wouldn't be PHP. PHP doesn't care whether the server name or ip
>> address is used or which browser the user is running.
>>
>
> Actually, it could be the browser. The OP is looking for information
> coming from the client, so the client could be obscuring/mangling the
> information going to the server.
>

I didn't say it isn't the browser. I said it's not a PHP problem.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Form fields to database and back?
Next Topic: pagination driving me insane
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 15:52:14 GMT 2024

Total time taken to generate the page: 0.04063 seconds