You are here: Re: how can I get rid of 127.0.0.1? « PHP Programming Language « IT news, forums, messages
Re: how can I get rid of 127.0.0.1?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация