Can a PHP file containing API link used for fetching the data without XAMPP server? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Can a PHP file containing API link used for fetching the data without XAMPP server?

29th Mar 2023, 12:05 AM
Azam
3 Answers
+ 2
Without running server of main source from you want to fetch data you cannot access so main server should always run.
29th Mar 2023, 4:27 AM
A͢J
A͢J - avatar
+ 2
Azam To execute PHP code you need server and also you can intract with database so it is necessary.
29th Mar 2023, 7:42 AM
A͢J
A͢J - avatar
0
gotcha! A͢J sir, Elaborate why is it necessary to run on server?
29th Mar 2023, 7:26 AM
Azam