doughawk Posted December 13, 2007 Share Posted December 13, 2007 I am moving a web site to a new provider. The provider has setup a temp URL for me like this: http://10.10.10.10/~userid/ I have my scripts and MySQL database copied over. When I try to display the site at http://10.10.10.10/~userid / none of my graphics display. (They are stored in a directory called /graphics.) I also have a testing directory setup named: : http://10.10.10.10/~userid/2007/ and I have all my development scripts in there. When I use this URL all the graphics display correctly. Can some one point me to a good reference about this? I am never sure how to code my images. Like this src=”../graphics/image1.jpg” Or this src=”graphics/image1.jpg” I would like to code them in my scripts and store them in my database one way and have them work underneath all my subdirectories. Quote Link to comment Share on other sites More sharing options...
marcus Posted December 13, 2007 Share Posted December 13, 2007 ./ = same directory / = main root directory ../ = parent directory Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.