FXC Posted August 9, 2008 Share Posted August 9, 2008 Hi everybody, Right now I'm trying to make a script with php (which I haven't used in a long time) I have the extension DownThemAll for firefox and it can download alot of links at the same time. But some sites provide only the text(DownThemAll can only download links) example: www. example .com (and not www.example.com) (phpfreaks makes it an url automatic that's why there's a space) I want to make a script that get's the text from a text area (one text link a line) and turn them into link's. The problem is I don't now how to get the multiple lines seperatley and than at for each line a <a href tag I do know how to do it with one line but don't know it with multiple lines Help please Thanks alot already Damn I think this belong more in the php section Link to comment Share on other sites More sharing options...
willsavin Posted August 10, 2008 Share Posted August 10, 2008 I would use the explode function, also you should post an example of what you've already done and the code could be rewritten to work correctly. Link to comment Share on other sites More sharing options...
willsavin Posted August 10, 2008 Share Posted August 10, 2008 I spent some time coding a fully working version of the application you are trying to build. It is available at http://corocc.org/test.php Hope this helps Link to comment Share on other sites More sharing options...
wildteen88 Posted August 10, 2008 Share Posted August 10, 2008 You already have an open topic here. LOCKED Link to comment Share on other sites More sharing options...
Recommended Posts