Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Getting the Code of any site using php script

    • 0
    • 1
    • 1
    • 2
    • 0
    • 0
    • 0
    • 0
    • 240
    Comment on it

    Open the code view of any site :

    <?php 
    $lines = file('http://www.whoznext.com/'); //Site url
    foreach ($lines as $line&#95;num => $line) { // iterate through each line
      echo "Line #{$line&#95;num} : " . htmlspecialchars($line) . "<br/>"; 
     }
    ?>
    

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: