0

PHP

Can php code only be tested if I have uploaded to a web server ? Because I have a php code to input html form data into a txt file but when I click submit it just shows the php in with the tags and everything (I am testing locally from my laptop)

17th Jul 2019, 4:18 PM
Timmy junior Okirika
Timmy junior Okirika - avatar
8 Respuestas
+ 1
Like this c:\xampp\htdocs\YOUR_PROJECT, then go to localhost\YOUR_PROJECT
17th Jul 2019, 4:30 PM
Elva
Elva - avatar
+ 1
You can install web server on your own pc, most famous is apache
17th Jul 2019, 4:25 PM
Elva
Elva - avatar
+ 1
Move your project folder to htdocs folder inside xampp
17th Jul 2019, 4:29 PM
Elva
Elva - avatar
+ 1
Please, and let my know right away
17th Jul 2019, 4:32 PM
Elva
Elva - avatar
+ 1
Have you ever opened xampp control panel and started apache service
17th Jul 2019, 5:18 PM
Elva
Elva - avatar
+ 1
Elva thanks it worked there was a little error in my code 😘thanks for the help
17th Jul 2019, 5:30 PM
Timmy junior Okirika
Timmy junior Okirika - avatar
0
Elva I have xampp installed but I m still getting the PHP code with the tags
17th Jul 2019, 4:28 PM
Timmy junior Okirika
Timmy junior Okirika - avatar
0
Elva thanks let me try it 🌞
17th Jul 2019, 4:31 PM
Timmy junior Okirika
Timmy junior Okirika - avatar