I have phpinfo text which I want to post and display on another PHP page. My code: File index. Improve this question. Syed Ateeb Raza 33 5 5 bronze badges. Elmi Ahmadov Elmi Ahmadov 1, 4 4 gold badges 13 13 silver badges 25 25 bronze badges. Why don't you place phpinfo in go. Why do you need to send the text for phpinfo in the POST data? I am beginner in php. Add a comment. Active Oldest Votes. PHP is a vital coding language for WordPress users. Even better, it only takes a single line of code to do so.
Using the function alone will return all available information. However, there are also a handful of parameters you can use, in order to access only the specific information you want to see. These include:. For example, the WordPress Site Health feature included in version 5. Rather than checking for these pieces of information, phpinfo is more suited to assist you with debugging attempts.
To start creating this page, open up your preferred text editor. In a new document, add the following line of code:. If you wish to use one of the parameters mentioned above, you should insert it between the parentheses here. What is the culr version? All of the printed data available in the phpinfo file are too numerous to list here. I recommend checking the official PHP documentation if you need more information. Excellent video! Thank you; this gave me the exact instructions that I needed to configure my site!
Please let me know how can i check that Email service is enabled or not in my server. The phpinfo would not inform you if the email service is working, for that please contact your hosts technical department to have them check the mail logs to be sure the service is working.
Get web hosting from a company that is here to help. Sign up today! Community Blog. Another route you can take instead of deleting it however is naming the file something other than phpinfo.
As phpinfo. Setting the file name to something like Hello Marcel, Make sure that your spacing is correct. If you have any further questions or comments, please let us know. Outputs a large amount of information about the current state of PHP. Because every system is setup differently, phpinfo is commonly used to check configuration settings and for available predefined variables on a given system.
One can also combine the respective constants or bitwise values together with the bitwise or operator. See also phpcredits. See also the » license FAQ. Returns true on success or false on failure. Example 1 phpinfo Example. Note : In versions of PHP before 5.
0コメント