1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How to get source code of PHP page

Discussion in 'PHP' started by rohuhottie, Oct 11, 2008.

Thread Status:
Not open for further replies.
  1. #1
    For example, there is a webpage: http://www.abc.com/index.php

    Then how can I get the Source 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
     
    Solved! View solution.
    rohuhottie, Oct 11, 2008 IP
  2. pixeladd

    pixeladd Banned

    Messages:
    2,238
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #2
    well the source code can be viewed in firefox easily,
    view-page source

    im not sure if thats why you mean and just press CTRL+U
     
    pixeladd, Oct 11, 2008 IP
  3. GetSomeCashOnline

    GetSomeCashOnline Banned

    Messages:
    291
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    PHP will rely in includes from various other pages and therefore you cannot take the script and allow it to function correctly. This is secure and how PHP has always been.
     
    GetSomeCashOnline, Oct 11, 2008 IP
  4. EricBruggema

    EricBruggema Well-Known Member

    Messages:
    1,740
    Likes Received:
    28
    Best Answers:
    13
    Trophy Points:
    175
    #4
    Yes PHP codes can't be downloadd using the browser only when using FTP or script that provides direct access to the server
     
    EricBruggema, Oct 11, 2008 IP
  5. royo

    royo Peon

    Messages:
    173
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Learn PHP and build something like it. There is no way to take the php source code.
     
    royo, Oct 11, 2008 IP
  6. mryao

    mryao Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    PHP will Analysis to html ,It is impossible
     
    mryao, Oct 11, 2008 IP
  7. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #7
    PHP Source code cant be revealed only html output will be displayed
     
    Bohra, Oct 11, 2008 IP
  8. samehzone

    samehzone Guest

    Best Answers:
    0
    #8
    sure

    otherwise it will be so easy to hack any php website
     
    samehzone, Oct 11, 2008 IP
  9. #9
    It's totally impossible remotely. Give up and try something else.

    Jay
     
    jayshah, Oct 11, 2008 IP
  10. AnonymousUser

    AnonymousUser Peon

    Messages:
    593
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Php is server-side, So the server runs the script, Its not viewable on your browser.
     
    AnonymousUser, Oct 11, 2008 IP
  11. tukarinfobispak

    tukarinfobispak Peon

    Messages:
    702
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #11
    i think he interested with certain page / tool and want to make it on his own site :rolleyes:
     
    tukarinfobispak, Oct 11, 2008 IP
  12. hosty-crocodile

    hosty-crocodile Guest

    Messages:
    178
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Would be very insecure in they did allow this, anyone could just copy anyones script without them knowing and run the exact same site. Luckily it isn't like that.
     
    hosty-crocodile, Oct 11, 2008 IP
  13. chaitu2006

    chaitu2006 Active Member

    Messages:
    159
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    51
    #13
    i think it is impossible unless you have ftp access
     
    chaitu2006, Oct 11, 2008 IP
  14. djzmo

    djzmo Active Member

    Messages:
    165
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    58
    #14
    It's possible.
    Simply ask the owner of the site for the source code. Now depends on the owner of the site.
     
    djzmo, Oct 11, 2008 IP
  15. malek256

    malek256 Peon

    Messages:
    90
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #15
    Here's how to get equivalent source:

    1. spend many weeks and money learning PHP and how to code
    2. spend many weeks doing some actual hard work (gasp! no, not WORK you say)
    3. design it, code it, test it, update it, retest it...
    4. stop being a weasel and trying to steal other people's work
     
    malek256, Oct 11, 2008 IP
    RRWH likes this.
  16. zinc-uk

    zinc-uk Peon

    Messages:
    365
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #16
    what the guy above said
     
    zinc-uk, Oct 11, 2008 IP
  17. tinimini

    tinimini Peon

    Messages:
    553
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #17
    PHP is a server side language, it produce html pages. then how could it be possible?
    the only way is to get t through FTP, if you have so..
    or else you cant steal it, otherwise everybody could get all those premium paid scripts from their demos.
     
    tinimini, Oct 11, 2008 IP
  18. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #18
    If this is possible then no one will use PHP. Also many people store the database details in PHP file itself. So if above mentioned is possible that one can easily hack others' databases.

    Kailash
     
    kailash, Oct 11, 2008 IP
  19. Bohra

    Bohra Prominent Member

    Messages:
    12,573
    Likes Received:
    537
    Best Answers:
    0
    Trophy Points:
    310
    #19
    Since its a server side thing its not possible
     
    Bohra, Oct 11, 2008 IP
  20. steven20

    steven20 Peon

    Messages:
    52
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #20
    The only possible way would be to get ftp access to the site OR if it just happens to be an smf forum (or a similar script which backs up files regularly) you can do something like this - cashtactics.net/forum/index.php~
     
    steven20, Oct 11, 2008 IP
Thread Status:
Not open for further replies.