It might just be that the remote server isn't configured to allow post
variables.
I'm not sure I understand what you mean by "the picture isn't there"... what
picture?
I usually keep a short phpinfo.php file which is just "<?php phpinfo(); ?>"
and load that on any server that I plan to upload things to. It's a great
way to run random tests... send GET and/or POST data to that script on your
different servers and it might give you more of a clue as to what's going
on.
Nik
> -----Original Message-----
> From: emmet.mccarthy@w... [mailto:emmet.mccarthy@w...]
> Sent: Friday, July 20, 2001 6:01 AM
> To: professional php
> Subject: [pro_php] Header problem!!
>
>
> Hi folks,
> strictly speaking, I don't think this problem is a PHP problem
> but I don't know where else to turn. I've got a form to
> upload pictures to a server. It works fine locally, but doesn't
> work remotely. When I echo out the
> $HTTP_POST_VARS the picture isn't there (remotely that is, when I
> do it locally everything is there), just the
> ordinary text fields. Obviously the code is (fairly) correct,
> otherwise it wouldn't work on the local server, but remotely
> it doesn't even get sent. Any ideas why????
> Cheers lads,
> Emmet
>
> Emmet Mc Carthy
> WAYTOHERE GmbH(Programmierung)
> Schleißheimerstr. 41
> 80797 München
> Tel: (089) 12700888
> Fax: (089) 12700889
> e-mail: info@w...