Hello,
I am going to sound really dumb, but when I create a PHP file (i don't know how to do this yet..) and put code in it then put it on a server, how exactly does my server know when to run it? how?
Thanks!
New to server dev, PHP etc.
Moderator: General Moderators
Re: New to server dev, PHP etc.
If we are talking about a web application, it is running it when HTTP request to that file arrivescvcs1 wrote:Hello,
I am going to sound really dumb, but when I create a PHP file (i don't know how to do this yet..) and put code in it then put it on a server, how exactly does my server know when to run it? how?
Thanks!
In other words, when you type the URL to the PHP file, the code is runned and the output is send to the browser
Re: New to server dev, PHP etc.
Ah, this makes sense
, If I were to be accessing information from a different device (iPhone) using a get method (i think) how does this work?
Re: New to server dev, PHP etc.
The same way - it's the HTTP protocol that takes care of thiscvcs1 wrote:Ah, this makes sense, If I were to be accessing information from a different device (iPhone) using a get method (i think) how does this work?