Results 1 to 2 of 2

Thread: risk to display phpinfo() ?

  1. #1
    Join Date
    Aug 2006
    Posts
    44
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Question risk to display phpinfo() ?

    Hi,

    Is there some risk to display or to give URL to PHPINFO data in this forum or in a forum in general?

    I speak about these informations:
    <?php
    phpinfo();
    phpinfo(INFO_MODULES);
    ?>

    I try to install a script but I've a lot of error and I need some help... I think it will be easier to help me with the PHPINFO data!
    Can I give these information in a forum?

    Thanks,
    Chris

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Personally I do not feel that there is any security risk of showing a phpinfo file; but I'm not 100% sure. For the most part, the only information you can really get from the phpinfo is what modules are loaded, some path information, what OS the server is running, and some other non-important info. In any case, post the code that you need help with and I'm sure we could figure it out with or without the phpinfo.

    Hope this helps.
    Last edited by thetestingsite; 03-31-2008 at 11:22 PM.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •