Re: [PHP] dont print echo

2008-02-29 Thread Jim Lucas
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

Re: [PHP] dont print echo

2008-02-29 Thread Daniel Brown
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

Re: [PHP] dont print echo

2008-02-29 Thread Daniel Brown
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

RE: [PHP] dont print echo

2008-02-28 Thread Mr Webber
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

Re: [PHP] dont print echo

2008-02-28 Thread chetan rane
> > 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 {

[PHP] dont print echo

2008-02-28 Thread Emiliano Boragina
Hi list… All this in the same php: 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. Thanks. + _