Reply to Re: Func to Turn Relative URLs into Abs URLs

Your name:

Reply:


Posted by Steve on 10/22/77 11:34

> however, it looks like the functions on php.net are in regarding to
> replacing links to relative LOCAL files (as opposed to remote, on other
> servers).

Well, yes. Your comment implies that you are trying to make corrections
to user-entered URLs. How can you know what the allowable paths might
be for an arbitrary remote site? The best you can do is to validate
that the entered string matches your preferences, but you can't correct
the URL as you can't walk the remote web directory tree.

---
Steve

[Back to original 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

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