in the following 2 images i just want to run a very simple php code (file:///C:/wamp/www/test/1.php)
using a running WampServer Version 3.0.6 64bit then the result when i try to execute this file in browser still the same code as i written php code
in the following 2 images i just want to run a very simple php code (file:///C:/wamp/www/test/1.php)
using a running WampServer Version 3.0.6 64bit then the result when i try to execute this file in browser still the same code as i written php code
Note that you are opening a file.In URL its opening file://... but when you want the localhost server to process the file, you need to open your file as http://localhost/test/1.php
.
Hope it helps. All the best!
Put this file into WWW folder of a WAMP-SERVER then try localhost/yourFileName.php