Posted by toedipper on 08/03/05 01:36
Gordon Burditt wrote:
>>Dreamweaver and php
>>
>>I am developing a site and on the site I enable users to put screenshots
>>of software.
>>
>>The images are not stored on my server/site but rather the user adds the
>>link to a database. The format of the link is
>>www.someplaceonthenet.com/images/somepicture.gif etc I instruct the
>>user to leave out http:// when adding the link
>
>
> Fine, but when you put the link on the web page, *PUT BACK THE http:// *
>
>
>>http://127.0.0.1/www.someplaceonthenet.com/images/somepicture.gif
>
>
> www.someplaceonthenet.com/images/somepicture.gif is a *RELATIVE PATH*
> to someplace on your site, equivalent to the above with the 127.0.0.1
> in it. That's how it's supposed to be interpreted. And it is.
>
>
>>which is wrong...
>>
>>Anyone have any ideas on how to get rid of the 127.0.0.1?
>
>
> Put back the http:// before the host name.
>
> Gordon L. Burditt
Thanks Gordon. Tried that but *then* it becomes
http:/127.0.0.1/www.someplaceonthenet.com/images/somepicture.gif and
they (the pics) still do not show.
td.
Navigation:
[Reply to this message]
|