SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: file upload

  1. #1
    SitePoint Member
    Join Date
    Jun 2003
    Location
    lubbock texas
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    file upload

    I've seen a few tutorials on file uploading, by using $_HTTP_ variables and $_FILES, however to use $_FILES on the back side to grab the uploaded file the second version here requires to register Global Variables. I have heard however that it is best not to register global variables. I have not found any tutorials on why this is the case or how to accept file uploads w/o registering global variables.

    I need some advice here. Do I just break down and register globals or is there another way?

    I'm using php 4.3.3

    I've also tried to grab the file by $_HTTP_ variable but, have not seen anything.

    Thanks for any help...

  2. #2
    SitePoint Wizard guelphdad's Avatar
    Join Date
    Oct 2003
    Location
    St. Catharines, ON Canada
    Posts
    1,706
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you haven't already you should post this on the PHP discussion area since it isn't a mysql question.

  3. #3
    SitePoint Member
    Join Date
    Jun 2003
    Location
    lubbock texas
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by daveman
    If you haven't already you should post this on the PHP discussion area since it isn't a mysql question.

    Thanks... I didn't check the section... sorry... will repost under php


Bookmarks

Posting Permissions

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