Results 1 to 9 of 9

Thread: Ah!!!!! Server Scripts!!!!

  1. #1
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Exclamation Ah!!!!! Server Scripts!!!!

    Ok, so why is it that I can view server scripts on a website like this, but not when i have it on my computer (no server just testing)...

    if u want the attached file its below. PLEASE HELP! I TRIED FIREFOX. it didn't work.

    Do i need to download yet another program to view asp, php, cgi, files from my comp? IF SO PLEASE LINK TO THE EGGSACT (exact) LOCATION OF THE DOWNLOAD. If u are to lazy, tell me what to get! THANK YOU!

    Sorry for the exclamation marks!

    here is the html page:
    Last edited by tech_support; 04-13-2007 at 01:49 AM. Reason: Using ! too much.

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Quote Originally Posted by Rockonmetal View Post
    Ok, so why is it that I can view server scripts on a website like this, but not when i have it on my computer (no server just testing)
    What do you mean by "view the server scripts"? Do you mean you can see the scripts in action or the source on a website and not on your computer or something completely different? If the first, you may want to look into installing a server (hence "server-side" scripts) on your computer.

    Look into installing Apache, Chili-asp, PHP (if you want), etc.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Exclamation Thanks a little

    Ok, i have ended up downloading net server and active javascript from sun. Am i set?

  4. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    You should be (after installing and modifying the httpd.conf file so that asp files work with Apache, or course). Other than that, not sure what to tell you.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  5. #5
    Join Date
    Sep 2005
    Location
    India
    Posts
    1,627
    Thanks
    6
    Thanked 107 Times in 107 Posts

    Default

    1. After setting up your web server store your file(s) inside the web publishing folder of your web server.

    2. Access the required page using browser like the following:

    http://localhost/yourpage.asp

    * you can replace the localhost with your computer name.
    * if you double click on the server side page then it won't open in the browser like the normal html pages.

  6. #6
    Join Date
    Jan 2007
    Location
    The stage
    Posts
    568
    Thanks
    23
    Thanked 6 Times in 6 Posts

    Default

    How do you get localhost/yourpage.asp????

  7. #7
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    to get to your site, CLICK THIS LINK.
    You should find either an index page or a list of the directory's contents.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    ASP?
    Ok, i have ended up downloading net server and active javascript from sun. Am i set?
    Yes, you're completely set to create powerful server-side pages using Active Javascript, whatever that may be.

    There's no mention of ASP here To run ASP pages, you need either a copy of Microsoft IIS, or a copy of Sun's Chilisoft, both of which cost money (although IIS is included with Pro versions of Windows, I believe).
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  9. #9
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Quote Originally Posted by Twey View Post
    IIS is included with Pro versions of Windows, I believe.
    You are correct. Windows XP Pro includes IIS, but you have to choice to install it (either when you do a fresh install, or later on in the Control Panel). Also, for ASP scripts, I would recommend using IIS for this.

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

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
  •