Hoping someone with technical knowledge can answer these the questions for me:
-
I’ve tried before, and I’m led to believe that php classes cannot be used in a jQuery Ajax call. Is this true, Or is there a way of making it work?
-
If the above is not possible, is there any way of using protected/private functions and variables without classes? Again, I believe this isn’t possible, but would love to be proved wrong.
-
Is the above all even necessary, when the data is passed over https and is salted and hashed server side anyway?
False. Many many people use PHP pages to answer ajax requests. in fact any server-side technologies able to answer an HTTP request can be used to provide AJAX content, usually in JSON or XML. Her’s the first hit Google gave me : Handling JSON like a boss in PHP
Not relevant as the above is possible.
I’m not sure of your exact meaning but AJAX over HTTPS provides authentication and secrecy. Provided your solution is correctly configured, which is very very rare…
You should understand that