OZONE Asylum
Forums
Stupid Basic HTML
Source
This page's ID:
9656
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
Now, hold on a bit here ;) I can't really see why you need to do it this way. On the box with apache you use php to generate the page. In the page you want to include a picture that resides in the filesystem on another box. Why? This pic will never be visible for anyone else than you since the path you need is a network path that doesn't exist on the web, not a path to another webserver that holds the image. If a picture should be shown on a webpage it should reside on a webserver that can serve the picture either through a http request or locally on the same box. One situation where I needed to do something similar is in a preview situation. 1. A user creates content on a site through a webbrowser and picks an image on their local harddisk to be shown in the content. 2. The user now clicks preview and want's to see the content with the image. However, you (the site owner) don't want to uopload the pic to the server before they actually save the content. 3. What I usually do here is to use the path provided in the $_POST['form_field_type_file_name'] variable (it will hold the path to the local image) to show them the image [i]from their local hard disk[/i] in the preview. Then I'll give them a fileupload form plus a line of text with the path to the image used in the preview on the preview page along with a button to ok the preview. If they point out the image again and clicks ok then the image will be uploaded and stored on the webserver for use. Then in the real path it will be something like "/sitecontent/images/image.jpg" because then the image will be on the webserver. And that's about the only situation where I can see why you need to see a page served from a webserver that uses an image that's on your local filesystem. Or am I way off here? if it's something completley different you can try this: <img src="C:\Program Files\Apache Group\Apache2\htdocs\sitecontent\banner.jpg"> That will however point to a place in the filesystem on the same box as apache lives. a network adress in your local network would probably be something like this: <img src="\\your_other_computer_networkname\folder_name\folder_name\folder_name\banner.jpg"> Not sure about that one though. /Dan [url=http://www.dmsproject.com/] [img]http://www.dmsproject.com/gif/sig3.gif[/img] [/url] [url=http://faq.ozoneasylum.com/FaqWiki/shownode.php?sortby=rating&id=260]{cell 260}[/url] -{ a vibration is a movement that doesn't know which way to go }- [This message has been edited by DmS (edited 07-03-2003).] [This message has been edited by DmS (edited 07-03-2003).]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »