Home › Forums › Other › Using Echo Properly › Re: Using Echo Properly
November 22, 2010 at 5:01 am #72775
phpinfo(); is a function that gives you all the information about the PHP installation on your server. It tells you everything you can and can’t do by default – and lets you know if you need to turn anything on or off depending on what features you have.
If you create a file called phpinfo.php then add
Then if you navigate to it you will be shown a page with a table of info on it :) phpinfo() won’t return a path when you use it as you are trying to, but it will show you a path within the mountain of other info it gives you.
So when you echo out a phpinfo – that’s what that means. It will give you the info you need automatically.