Jump to content

Moving website question


doughawk

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.