HI thanks for the reply this is what i am trying to do
i have created a html file called insert_news.html, this file uses, <form action="upload_article.php" method="post" enctype="multipart/form-data">
upload_article.php includes an sql statement to an sql database, also a call to another php file called news.php which includes a news class and a function called upload(), this upload function takes is supposed to take the posted data from the html (<- this is what i am not sure about), i then create a unique name for the file and try to upload it using (HTTP_POST_FILES['article_picture'][tmp_name], $filename); but it keeps coming up with an error saying that ['artile_picture'] is not an indexed variable. i know it reaches the upload function as the picture name inserted into the sql database is a unique and different to the origonal.
eheheh does that make sense??? do you want me to upload some code???
cheers bobbie
cheers b