SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Enthusiast storkfmny's Avatar
    Join Date
    Mar 2012
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What should the file path be for my files before I upload them to a server?

    This may sound like a stupid question but I need to know.
    All of my files are saved to desktop and the url is...example..file:///C:/Users/Craig/Desktop/index.html
    Do I upload these files like this, I'll be using FTP, or do I have to change them to something else?
    I feel as though something isn't right and need to make changes now, if I have to at all.
    I won't have any hosting information till next week, including a domain name.
    This is my first time around with websites and I want to make sure everything is good to go when I'm ready.
    Thanks.

  2. #2
    SitePoint Evangelist snecz's Avatar
    Join Date
    Mar 2007
    Location
    Warsaw, Poland
    Posts
    429
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by storkfmny View Post
    This may sound like a stupid question but I need to know.
    All of my files are saved to desktop and the url is...example..file:///C:/Users/Craig/Desktop/index.html
    Do I upload these files like this, I'll be using FTP, or do I have to change them to something else?
    I feel as though something isn't right and need to make changes now, if I have to at all.
    I won't have any hosting information till next week, including a domain name.
    This is my first time around with websites and I want to make sure everything is good to go when I'm ready.
    Thanks.
    There's no difference where is the place on your computer from which you upload your files to server.
    Warsaw - the city that survived its own death.
    EMM8 - Profesjonalne Strony Internetowe
    Projektowanie Stron WWW

  3. #3
    SitePoint Enthusiast storkfmny's Avatar
    Join Date
    Mar 2012
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thank you!

  4. #4
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,653
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    stork,

    Please allow me to add an ad for Kevin Yank's book (http://www.sitepoint.com/books/phpmysql5/ - at least the free chapter on installation and configuration of a test server - the PHP & MySQL sections are extremely helpful, too)a s that's where I started with a test server on my computer and began my education with PHP and MySQL (years ago with the first edition).

    I don't believe that Kevin goes into creating VirtualHosts on the test server, though, but that's where I develop many websites locally and can easily upload from my directories to the server AFTER testing thoroughly.

    Welcome to the wonderful world of websites and good luck in your endeavors!

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  5. #5
    SitePoint Enthusiast storkfmny's Avatar
    Join Date
    Mar 2012
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the link!!!

  6. #6
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,653
    Mentioned
    19 Post(s)
    Tagged
    3 Thread(s)
    DAM,

    That's the WHERE to upload to, not the FROM as the Op was asking - at least that was my interpretation of his post (but I could be wrong).

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator

  7. #7
    SitePoint Enthusiast storkfmny's Avatar
    Join Date
    Mar 2012
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks everyone

  8. #8
    SitePoint Enthusiast storkfmny's Avatar
    Join Date
    Mar 2012
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I launched yesterday, thanks for all of your help with everything, here's a link to the site if you're interested.
    http://www.psychiclotto.org/

  9. #9
    Programming Since 1978 silver trophybronze trophy felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, NSW, Australia
    Posts
    16,826
    Mentioned
    25 Post(s)
    Tagged
    1 Thread(s)
    The simplest way to work things is to set up a public_html folder on your computer that has the same file structure within it as you have on the server. That way all the relative links in the one place will also work in the other.
    Stephen J Chapman

    javascriptexample.net, Book Reviews, follow me on Twitter
    HTML Help, CSS Help, JavaScript Help, PHP/mySQL Help, blog
    <input name="html5" type="text" required pattern="^$">

  10. #10
    SitePoint Enthusiast storkfmny's Avatar
    Join Date
    Mar 2012
    Posts
    39
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    AH! Very good idea, I like it and will do. Thanks.


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
  •