View previous topic :: View next topic |
Author |
Message |
hudsucker -
Joined: 24 May 2006 Posts: 7
|
Posted: Mon Jun 19, 2006 9:20 pm Post subject: Temp files in abyss |
|
|
I have a simple page with some php - problem is I am using pictures located locally on my pc - I noticed that no matter what I enter in the path to that files in index.php - if someone opens the webpage he gets red cross instead of picture because path listed in source is
:///C:/Program%20Files/Abyss%20Web%20Server/htdocs/RACF/joined/graphic/green.gif" ?
Is there somewhere temp file for abyss or what? If I go ctrl+ F5 the page shows changes in html code but the path is still listed local?Seems like php converts the path or uses the same all the time. What I did wrong?
The path entered in index.php is file:10.208.102.188/C$/Program%20Files/Abyss%20Web%20Server/htdocs/RACF/joined/graphic/red.gif <- I dont't know if this should work or not but I get no errors just local path |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Mon Jun 19, 2006 9:27 pm Post subject: |
|
|
You do not enter the actual path, always enter relative.
Eg, your image.gif is located at c:\program files\abyss web server\htdocs\images\image.gif
Your server will serve from c:\program files\abyss web server\htdocs\ and into its subdirectories.
So to get image.gif in the images folder to display, you enter in the HTML
Code: | <img src="images/image.gif" /> |
If you use the actual path then it wont work. _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
hudsucker -
Joined: 24 May 2006 Posts: 7
|
Posted: Tue Jun 20, 2006 3:52 pm Post subject: |
|
|
Inquisitor thank you for the info about relative path - but the main issue stays on. I did change the code ctr+F5 the page and still the source listed under IE shows old value - is there a way to refresh that with out restarting the pc? Are there temp files in abyss or what? :? |
|
Back to top |
|
|
AbyssUnderground -
Joined: 31 Dec 2004 Posts: 3855
|
Posted: Tue Jun 20, 2006 4:33 pm Post subject: |
|
|
There are no temporary files held by Abyss. You will need to clear your browsers cache.
Are you sure you changed the correct file? Ive made the mistake of not changing the correct file and wondering why its not updated. A local copy instead of a server copy for example? _________________ Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk |
|
Back to top |
|
|
hudsucker -
Joined: 24 May 2006 Posts: 7
|
Posted: Wed Jun 21, 2006 5:19 pm Post subject: |
|
|
The only part being not changed is the gif file path all the time it is listed as:
c:\somthing - when user opens page he gets red cross instead of picture |
|
Back to top |
|
|
|