user3329793
user3329793

Reputation: 62

PHP Client-Side action to run a script server-side

I am sure this is possible and I have done this before but my mind has gone completely blank.

Basically I am trying to get the server to run a PHP script server side (using server side access tokens), based on an action from a client side user.

What's the best way to do this? Don't really need a detailed answer, just a push in the right direction!

Thanks.

(Windows Server)

Upvotes: 0

Views: 84

Answers (1)

KristofMorva
KristofMorva

Reputation: 649

Use AJAX, for example with jQuery this way:

<script>
    $.ajax('something.php');
</script>

Upvotes: 1

Related Questions