homepage Welcome to WebmasterWorld Guest from 54.204.231.110
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
strange file on server - phpinfo.php
can someone explain
Lorel




msg:3556990
 4:46 pm on Jan 24, 2008 (gmt 0)

One of my clients just found a phpinfo.php file on his server that shouldn't be there. I don't read php. Can someone tell me what this file does?

<?
phpinfo();
?>

 

mjwalshe




msg:3557027
 5:11 pm on Jan 24, 2008 (gmt 0)

its a stadard bit of code that displays the php config on the site may be a develper put it there?

if there is no development going on then id start to double chck my logs and the site just to make sure the site hasnt been hacked.

Lorel




msg:3557107
 7:02 pm on Jan 24, 2008 (gmt 0)

Thanks,

There is development going on by someone what isn't totally trusted so thanks for explaining.

jatar_k




msg:3557194
 8:25 pm on Jan 24, 2008 (gmt 0)

[php.net...]

Outputs a large amount of information about the current state of PHP. This includes information about PHP compilation options and extensions, the PHP version, server information and environment (if compiled as a module), the PHP environment, OS version information, paths, master and local values of configuration options, HTTP headers, and the PHP License.

Because every system is setup differently, phpinfo() is commonly used to check configuration settings and for available predefined variables on a given system.

phpinfo() is also a valuable debugging tool as it contains all EGPCS (Environment, GET, POST, Cookie, Server) data.


Lorel




msg:3557229
 9:07 pm on Jan 24, 2008 (gmt 0)

Thanks for the added info.

jatar_k




msg:3557275
 10:40 pm on Jan 24, 2008 (gmt 0)

just a question

why would you have someone that isn't trusted develop something?

seems odd

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved