Register

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 6 of 6
  1. #1
    Member
    Join Date
    Jul 2005
    Posts
    77
    Member #
    10681
    Hi guys,

    I was wondering how I could go about creating a script (or finding a ready-made one) to allow users to easily add links to a basic HTML file?

    The HTML file is just a left-aligned list of links. What I would want it to do is ask the user for a title for the link and then let them browse to a file or just enter the path of a file... It would be handy if they could also enter URL's to link.

    Now that I explain it, there seems to be less of a chance than I had previously thought but it's worth a try.

    Hope that makes sense,
    Thanks
    Neil

  2.  

  3. #2
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Well, linking to a local file would be impossible on a remote site; you'd actually have to upload the file and then link to it online.

    That said, this should be fairly simple with a database to keep track of links and titles. The page would have to be written in PHP, and it would just pull records from the database and arrange the data appropriately. This is really one of the most trivial ways to use the database+server-side-script model, and an excellent introduction to it.

  4. #3
    Member
    Join Date
    Jul 2005
    Posts
    77
    Member #
    10681
    Thanks for the reply! It's actually for an intranet so the server is local...

    So could I do something like what you're saying without using SQL? I think I've seen a page on an intranet that just displays the contents of an Access database as a nice-looking table on a page...

  5. #4
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    Any database will work, *SQL is usually the most common.

  6. #5
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    Well, Access is a database, and its data is accessed using SQL. For something like this, where you want it to be updatable online, you would need a database, however, and SQL is the best (and most powerful) tool available for accessing database information.

  7. #6
    Member
    Join Date
    Jul 2005
    Posts
    77
    Member #
    10681
    Okay thanks guys! I think that answers my question for now... Cheers!


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 11:04 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com