PHP - Phpinfo()
Is there a risk in letting the public access to the phpinto() function?
Similar TutorialsI need some idea of why my code works on 2 servers except the one that it needs to work on. Below is the code including the sites where the phpinfo is loaded. Please help me figure this one out, it's probably simple but I don't see it. phpinfo of the one not working as expected phpinfo of the one that works as expected The problem is here I think? Quote $insertGoTo = SITE_URL."?pg=registered&addr=".$myid; header('Location:'.$insertGoTo); The code is too long to be posted... in reply... Hi all, Something that pretty much always seems to bother me when i write something for someone else is that the include path's for some reason are screwed up. Now i thought let's look in phpinfo to see what the path is: So i get the following: Local value: .:/usr/lib/php:/usr/local/lib/php:/home/godzilla4361/php Master value: .:/usr/lib/php:/usr/local/lib/php Now which one is used for what? I just can't find a way to create a way to easily transport scripts from server to server, because i always have to manually adjust the path for inclusion otherwise i get those warning: failed to open stream etc. Anyone with tips and or advice and maybe even knows what to use those local and master values for? Hello I have the following environment: - Apache 2 -Ubuntu 18.04 -MySQL
My problem is the $_SERVER['REMOTE_USER'] - When I check the phpinfo.php it shows up as empty or "No value". However I did set it on a page like so: $_SERVER["REMOTE_USER"] = $_SESSION["username"]; During the login event and it is working when printing: print "REMOTE_USER: ".$_SERVER["REMOTE_USER"]."\n";
Am I setting it incorrectly or perhaps theres a proper way to do it?
Many Thanks
Hi there,
I'm new to all this so I've been following instructions from various sites and books. So far I have installed Apache, PHP and mysql, however when I browse to localhost/test.php (created to view phpinfo() through the browser) i can't see mysql or mysqli only the mysqlnd.
Here is an overview of software I've installed, OS and things I've added so far;
OS ver Windows7 Professional 32-bit VM Hi, I don't know if this is even possible, but I need to copy configuration of existing server to my localhost (using XAMPP on windows). I only have full output of phpinfo() function from that server (I don't have access to php.ini), and I would like to change my localhost server to behave exactly like remote one.
Is this even possible? |