Daniel Brown wrote:
On Thu, Feb 28, 2008 at 11:08 PM, Emiliano Boragina
<[EMAIL PROTECTED]> wrote:
When I try the php the echo "no picture =("; is there. How can I do to don't
appears the message before I upload de picture.
Here's your code, re-written.
First, the op should use is_upl
On Fri, Feb 29, 2008 at 3:30 PM, Jim Lucas <[EMAIL PROTECTED]> wrote:
> First, the op should use is_uploaded_file() to check and make sure that it
> is a
> file that was infact uploaded.
> http://us3.php.net/manual/en/function.is-uploaded-file.php
>
> Secondly, the op should use move_up
On Thu, Feb 28, 2008 at 11:08 PM, Emiliano Boragina
<[EMAIL PROTECTED]> wrote:
> When I try the php the echo "no picture =("; is there. How can I do to don't
> appears the message before I upload de picture.
Here's your code, re-written.
--
Daniel P. Brown
Senior Unix Geek
Your script is screwed at the point where you do not close the quote:
$folder = 'pictures;
-Original Message-
From: Emiliano Boragina [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 28, 2008 11:09 PM
To: php-general@lists.php.net
Subject: [PHP] dont print echo
Hi list
All th
>
> I think that will solve your problem
>
> if(isset($_POST['submit'])){
> $folder = 'pictures;
>
> $load = copy($_FILES['file']['tmp_name'] , $folder . '/' . $_FILES
> ['file']['name']);
>
> if ( $load ) {
>
> echo "Picture upload!";
>
> } else {
Hi list
All this in the same php:
When I try the php the echo "no picture =("; is there. How can I do to dont
appears the message before I upload de picture.
Thanks.
+ _
6 matches
Mail list logo