If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jun 2005
    Member #
    i need desperate help in building the correct
    uploader for my site. iīve tryied many but they
    just donīt fit the bill!
    i want to give people the chance to upload there
    pictures into my site and for these picīs to be
    displayed in the site, once i have seen that the
    content of the picīs are good.
    i would like to store these picīs address in my
    database and for the actual file to be in a file
    in my server.
    also too, iīll be glad if anyone can offer help in
    pointing me in the right direction, if this would
    be the correct method for what i need! i would appreciate
    a step by step guide.


  3. #2
    Senior Member
    Join Date
    May 2003
    Member #
    Right, heres what I would do

    1: Have a database table, with colums called id, img_url, and allowed
    2: Then, you will create a php page that is password protected, on this page, you view all images which are not activated, or allowed yet.
    3: Also on this page you can change a rows column allowed value to yes, or leave it as no for now
    4: Then, on your page where you show all allowed images your sql query would be

    PHP Code:
    $query "SELECT * FROM images WHERE allowed = "Yes" Order By id DESC" 
    That would show newest first, if id is set to auto inc.

    Hope this helps.

  4. #3
    Junior Member
    Join Date
    Jun 2005
    Member #

    thanks againg for your help!

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 04:57 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: