Need help on URL extractor

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
masterblaster
Forum Newbie
Posts: 10
Joined: Mon Jul 25, 2011 11:33 am

Need help on URL extractor

Post by masterblaster »

I want to run locally a URL extractor, like this:
http://www.web-max.ca/PHP/misc_23.php
Last edited by masterblaster on Fri Jul 27, 2012 12:39 pm, edited 1 time in total.
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: Need help on URL extractor

Post by McInfo »

Define $url and remove the ampersand (&) on line 7. If $url is supposed to come from user input, use $_GET['url'] or $_POST['url'].
masterblaster
Forum Newbie
Posts: 10
Joined: Mon Jul 25, 2011 11:33 am

Re: Need help on URL extractor

Post by masterblaster »

McInfo wrote:Define $url and remove the ampersand (&) on line 7. If $url is supposed to come from user input, use $_GET['url'] or $_POST['url'].
Could you provide me a example file.php that has the input textbox and the submit button? I don't know how to code.
User avatar
McInfo
DevNet Resident
Posts: 1532
Joined: Wed Apr 01, 2009 1:31 pm

Re: Need help on URL extractor

Post by McInfo »

Post Reply