ya mikey its workin now thnx .....

heres me code pal .....

in load.php

echo("<input type=hidden name=MAX_FILE_SIZE
value=2000000>
Send this file: <input name=userfile type=file>
<input type=submit value='Send File'>
");


in up.php


        if (copy($_FILES['userfile']['tmp_name'], "E:\\final
project\\zroot\\" . $unique_id.".pdf"))
                {
                        echo(" file successfully uploaded ");

} // endda if copy


       else { echo("either u didn upload a file or its
empty ! ! ! ! ");}


hope it helps 
(aftr the if chk i ve got a qry if u van 2 c dat lemme
no n i ll mail dat 2 ....)

luck 

toby .....

 --- Mikey <[EMAIL PROTECTED]> wrote: > Also - do you
have track_vars set to on?
> 
> Please let me know how you get on, as I am about to
> try using this myself in
> a bit.
> 
> regards,
> 
> Mikey
> "If you give someone a program, you will frustrate
> them for a day. If you
> teach them how to program, you will frustrate them
> for a lifetime."
> 
> > -----Original Message-----
> > From: toby z [mailto:[EMAIL PROTECTED]]
> > Sent: 10 October 2002 11:15
> > To: php hlp list
> > Subject: [PHP-WIN] uploading filez with
> $HTTP_POST_FILES ?????
> >
> >
> > ok now i know i ve actually lost it all
> >
> > i cant upload files now
> >
> > this file waz workin fine till i turned register
> > globalz off
> >
> > n now im gettin this error
> >
> > Warning: Unable to open 'Array' for reading: No
> such
> > file or directory in e:\final project\zroot\s i
> > r\up.php on line 52
> > Either you did not upload any file, or you
> uploaded an
> > empty file! (Y) :P:P:P
> >
> >
> >
> > n line 52 is
> >
> > if (copy($HTTP_POST_FILES['userfile'], "E:/final
> > project/zroot/" . $unique_id))
> >
> >
> > what onearth is it with it
> > or is it only me ????
> >
> >
> > id really appriciate anyhelp with this
> >
> > thnx a mill
> >
> > toby
> >
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Everything you'll ever need on one web page
> > from News and Sport to Email and Music Charts
> > http://uk.my.yahoo.com
> >
> > --
> > PHP Windows Mailing List (http://www.php.net/)
> > To unsubscribe, visit:
> http://www.php.net/unsub.php
> >
> >
> >
> >
> 
> 
> 
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>  

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to