|
Posted by Rik on 11/19/84 11:45
Geoff Berrow wrote:
> Message-ID: <SQy1g.55760$Nh7.17628@newsfe4-win.ntli.net> from Ian
> Davies contained the following:
>
>> if(isset($_POST['Link'] && isset($_POST['uploadedfile'])){
>
> isset will return true for certain form elements even if they are
> empty.
>
> Assuming the elements are not checkboxes radio boxes or buttons, try
>
> if(!empty($_POST['Link']) && !empty($_POST['uploadedfile'])){
> ...
>
>
> If this doesn't work, let us know what elements you are dealing with.
A simple print_r($_POST) would clarify a lot....
Enough working examples in this thread.
If the current examples don't work, $_POST['uploadedfile'] makes me suspect
the $_FILES array should by checked....
Grtz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|