How to get PHP souce code of any page?

Discussion in 'Link Development' started by rohuhottie, Oct 11, 2008.

  1. #1
    For example, there is a webpage: http://www.abc.com/index.php

    Then how can I get the Source code of this page...I know PHP is server side script ...so it might not be possible...I just want some method to do it....Please give your ideas and suggessions..Thanks
     
    rohuhottie, Oct 11, 2008 IP
  2. eli03

    eli03 Well-Known Member

    Messages:
    2,887
    Likes Received:
    98
    Best Answers:
    0
    Trophy Points:
    175
    #2
    you can't. but you can create a script that do exactly what's on the php file . this topic should be forwarded to web development section.
     
    eli03, Oct 11, 2008 IP
  3. spyka

    spyka Greenhorn

    Messages:
    90
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    As you say yourself, PHP is a server side, you can't access the source from the client side.
     
    spyka, Oct 11, 2008 IP
  4. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #4
    Only when you can use FTP or another script to reshow the source otherwise you won't get anything!
     
    EricBruggema, Oct 11, 2008 IP