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. Link to comment https://forums.phpfreaks.com/topic/81536-moving-website-question/ Share on other sites More sharing options...
marcus Posted December 13, 2007 Share Posted December 13, 2007 ./ = same directory / = main root directory ../ = parent directory Link to comment https://forums.phpfreaks.com/topic/81536-moving-website-question/#findComment-414009 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.