Forum Home
Press F1
 
Thread ID: 87041 2008-02-05 20:19:00 PHP help somebody (208) Press F1
Post ID Timestamp Content User
637790 2008-02-05 20:19:00 I'm doing a small project for our work intranet which involves a simple web based repository of useful "stuff" and industry best-practice resources.

The problem I'm running into is that some of the resources are hosted on network shares, i.e. \\server\share1\folder1\file_a, and some are on other webservers. I want the links to these resources to be automatically generated, so someone can enter a body of text which includes one or more links, and it'll automatically generate the appropriate hyperlink.

Does anyone know if a PHP function exists to do this? it needs to be able to parse and generate https: and file:// links. The file:// links need to be generate from text in the form of \\server\share\file.
somebody (208)
1