Results 1 to 2 of 2

Thread: php file uploading

  1. #1
    Join Date
    Mar 2006
    Posts
    177

    php file uploading

    i feel ashamed posting this as i found this
    http://us2.php.net/features.file-upload
    and yet im still confused.

    i changed
    __URL__
    to the other file
    and
    $uploaddir = '/var/www/uploads/';

    to a directory i created
    which was /uploads/

    and i get the negative every time.
    is there any simple direct way to do this, even if its not secure. Im just very confused at the moment.
    thanks

  2. #2
    Join Date
    Jun 2006
    Location
    Sydney, Australia
    Posts
    9
    You can use the class provided in the following link. Its pretty easy.

    http://www.phpclasses.org/browse/package/1664.html

Similar Threads

  1. Appending New XML To An XML File With PHP
    By Streakfury in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 0
    Last Post: 27 Mar 2006, 02:21 PM
  2. PHP Include: If file not found, can i direct to a default file?
    By ukcoolat in forum Client & Server Side Scripting (PHP, ASP, JavaScript)
    Replies: 1
    Last Post: 04 Nov 2005, 09:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •