Php script | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Php script

If am to write a php script what text editor can I use or, what the file extension for it, Or is thier any difference between the file extension

11th May 2021, 7:28 PM
Micheal Alfred
4 Answers
11th May 2021, 9:06 PM
JaScript
JaScript - avatar
+ 1
You would answer this kind of question in google [if you know how to]
11th May 2021, 7:30 PM
Ananiya Jemberu
Ananiya Jemberu - avatar
+ 1
any plain text editor (not word treatment softwares), from basic to extended (syntax hilighting and so on...) or ide tools (Integrated Development Environment)... usual php script file extension is '.php', but depending on server configuration running php interpreter, could be anything else (including specific extension to target specific php versions): you should refer to your php interpreter / server documentation to know wich is the one(s) you should use (basically, if not unusual configurtion, '.php' should work and run the default php version interpreter bundled with your server).
11th May 2021, 8:26 PM
visph
visph - avatar
+ 1
Micheal Alfred You can use any text editor like notepad++ but you have to save it with .php extension and to see result of your page on browser you need server like WAMP server, XAMPP server.
12th May 2021, 2:41 AM
A͢J
A͢J - avatar