fopen() help please

Discussion in 'PHP' started by chikabc, Jul 19, 2007.

  1. #1
    Can someone please tell me that yuo cannot use fopen to view someone else's php script using a URL of the script.

    If this is possible, how can i protect my script from being seen by others who could use fopen to try and view it using my script's URL.
     
    chikabc, Jul 19, 2007 IP
  2. nico_swd

    nico_swd Prominent Member

    Messages:
    4,153
    Likes Received:
    344
    Best Answers:
    18
    Trophy Points:
    375
    #2
    Don't worry, it's not possible. fopen() will get the same output you'd get as normal visitor browsing to that page. No PHP code will be visible.
     
    nico_swd, Jul 19, 2007 IP
  3. chikabc

    chikabc Peon

    Messages:
    19
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Wao. That is such a good news.

    I had the wait for your answere before carrying on with my project.

    Thanks Nico
     
    chikabc, Jul 19, 2007 IP