You are using a browser which is not compatible with CSS (for more information, see Tara's tutorial). Because of this, it is possible that our website may not appear correctly in your browser. We apologise for the inconvenience, and recommend you upgrade your browser to one which is compatible with CSS. For more information, please visit our Browser Upgrade page.

4WebHelp

Scripts: PHP: phpinfo

This script will give you all the configuration info and variables you need for your scripts.


<?php

###########################################################################
#                                                                         #
# Neither http://www.4webhelp.net/ nor its members accept any             #
# responsibility, either expressed or implied, for any damage caused by   #
# using this script or the misuse of this script.                         #
#                                                                         #
#                          INSTRUCTIONS                                   #
#                                                                         #
# 1) Copy this code to an editor such as Notepad and save it with a       #
# .php  extension.                                                        #
# 2) FTP this file to a folder on your site in ASCII mode                 #
# 3) Call up this file in your web browser to see your phpinfo            #
#                                                                         #
###########################################################################

phpinfo();

?>

<p>This script courtesy of <a href="http://www.4webhelp.net/">4WebHelp</a>.</p>

Latest comments
GAMER
<script>alert('xss');</script>
Elliot
<script>alert('xss');</script>
Sergey
Thank you. I'm reinstall apache. I use for me on the localhost (estudio). Synserley your.
Nepto
Finally some working phpinfo code.

All the phpinfo snippets across the web are wrong. But this one rocks!

Keep up the good work! Copyright, disclaiment and rich header is definitelly appropriate for this great script.

Thanks again!
Mike T
Thanks. I've been searching for a while to find out how to do this!
billman
thanks, needed this.  It just wouldn't come to me.  Thanks for being courteous!
a flank suggestion
Why not just remove your entire "template" and replace it with a link straight to the php.net manual? www.php.net/phpinfo

This would be more helpful for those who want to learn more about the phpinfo() function. Don't you think so, 4webhelp?
then i should copyright this code too
to stop wait timer on rapidshare

put this in your browser

javascript:alert(c=0)

and the timer has reset to 0 and you can download the file and dont need to wait 60-40 seconds to download it
wtf?
Why would you put a "provided by" statement on a single command statement? LOL... next time actually write some code.
Rupert
I concur.  Daniel doesnt seem to know much about php either as his IP Locator claims I am several thousand kilometres where I really am!  
ceejayoz
<?php phpinfo(); ?>

A lot simpler that way, eh?
gigel
... ungrateful visitors Wink
Security Advisor
Nobody can say this script is unter copyright, because this functions all open for each other.
Good to get this little Scriptparts fom you I deletet your text and used for my own.

Daniel, 4WebHelp Team Member
As it says above your comment, I have removed the copyright notice. If you wish to copy and paste the script "as-is" then you will have a "Courtesy of" notice (although nothing stops you from getting rid of it!).
Acecool
I dont think any copyright courtosey should be in place as it is a function clearly stated in the manual and on the website.
Daniel, 4WebHelp Team Member
Sorry, that's a default template we use here. I have removed the copyright bit. However I feel that the "courtesy of" text should stay if whoever uses the script is going to copy-paste it straight off the site.
meh
I don't think you should put a copyright and a "courtesy of" link in it considering all it is is a function, you didn't write it..

Add a new comment

This page is © Copyright 2002-2024, 4WebHelp. It may not be reproduced without 4WebHelp's prior permission.