That seems to be the problem. “Page cannot be displayed” whether it has an html or a php extension.
Yesterday, I did this and I got the welcome message. So, I must have changed something along the way…
So, now what?
Thanks
UPDATE
Please, forgive me and ignore what I wrote above. I had not started Xampp… Yes, your file as a php displays TEST PAGE
I tried to open my php file giving it the original server location: localhost/mysite.net/Folder/file.php and then reducing the url to just localhost/file.php and nothing works!
AND MORE
Things are starting to work but when I try the .php file in question i get these errors (which I do not get in the identical file in the live version):
Notice: Undefined index: keyword in C:\xampp\htdocs\Search1.php on line 17
Warning: define() expects at least 2 parameters, 1 given in C:\xampp\htdocs\Search1.php on line 46
Warning: define() expects at least 2 parameters, 1 given in C:\xampp\htdocs\Search1.php on line 47
Warning: mysqli::mysqli(): (HY000/1045): Access denied for user ‘pintotou_barros’@‘localhost’ (using password: YES) in C:\xampp\htdocs\Search1.php on line 49
Unable to connect to the mysql server
ANOTHER UPDATE…
I downloaded a fresh copy of the php, without making any changes and I am back with the fewer earlier errors that stop the page from opening.
Notice: Undefined index: keyword in C:\xampp\htdocs\Search1.php on line 17
Warning: mysqli::mysqli(): (HY000/1045): Access denied for user ‘pintotou_barros’@‘localhost’ (using password: YES) in C:\xampp\htdocs\Search1.php on line 49
Unable to connect to the mysql server
YET AGAIN
mysqli is something recent, I understand; My version of Xampp is a bit old v3.2.2
Could that be an issue?