Web design - Trying to learn

Discussion in 'Software' started by newbiedoo, Jan 14, 2006.

  1. newbiedoo

    newbiedoo Private E-2

    I want to build a website, and I want to have a section of the main page have an area (like a "latest news" section)that someone with a password can update on their computer from home (so I don't have to). But I don't want to them to have access to the entire page.

    The site will be hosted on a windows server with FrontPage (I'm new, remember?)

    Anyone have any ideas I may pursue on this?

    Thanks
     
  2. Kodo

    Kodo SNATCHSQUATCH

    ok, so what you want to do is have your site driven by a database so the updater person can login and update news etc. What you need to do is have a login script, a database to store the text (Microsoft SQL server if your hosts has it) and someone to make the login script.. What a perfect time for you to expand on your skills and learn a dynamic language like ASP.NET :)

    Even as a beginner, you've seen the limitations that Front Page has.
     
  3. newbiedoo

    newbiedoo Private E-2

    Wow. :eek:
    I was hoping for something like updating a text file or something and then the new text file would display on a portion of a page.

    It's like the 3rd column of a 3 column page will have this info without them messing up the whole page.
     
  4. goldfish

    goldfish Lt. Sushi.DC

    You can do just that with a SSI, if your server supports it. You'd use code something like:
    Code:
    <!-- #include virtual="/somefile.txt" -->
    
    In place of the text in the column you're looking to replace. I would thoroughly recommend learning some kind of server side language though, since it gives you MUCH more power.
     
  5. newbiedoo

    newbiedoo Private E-2

    Is there a way for a user to update that text file without giveing them access to the whole site?

    Because that sounds like just what i'm looking for
     
  6. homegrownbmx

    homegrownbmx Private E-2

    hey, i was wondering the same thing. i only have one page i want a few other people to have access to and not the whole site. i really dont know what is supported by what but i use Interland to host is and use most of their basic features.
     
  7. Kodo

    Kodo SNATCHSQUATCH

  8. homegrownbmx

    homegrownbmx Private E-2

    ok you lost me
     
  9. Kodo

    Kodo SNATCHSQUATCH

    hehe.. the File System Object in ASP allows you work with the file system as in the hard drive and all the folders and file therein. You can "open" folders and files using this object and manipulate the text of a document (in memory). .. takes a bit of understanding what Objects are with regards to programming. If you're really interested in doing things like this then you're already at the point where you've outgrown things like FrontPage or Dreamweaver with respect to having them do things for you. Drop em like a bad habit and pick up a book on PHP, ASP.NET, or Ruby On Rails and start learing how to program :)
     
  10. homegrownbmx

    homegrownbmx Private E-2

    alright thanks
     
  11. newbiedoo

    newbiedoo Private E-2

    Ok. So far I figured out how to update a section of the page with info from a txt file using SSI. Now, is there a way I can let someone upload the txt file without access to the entire site?
     
  12. Kodo

    Kodo SNATCHSQUATCH


MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds