I have php scripts that do things like register, login, upload. I would like to keep the HTML in a seperate file so that say I make a desktop client I can just use the php files to do the login register etc.
Basically to have say a front end, the HTML or desktop client and then only one backend, the php.
Is that possible?
EDIT : Would something like ASP.net be more suited to this?