I have created 2 script one for client and another for server. In the server script I have defined some opertaion like (+, -, *, /) and run the server script on my machine. Now server script run on my machine as a service.

After that I have created client side page say client.php. In which I send request of 2 number addition by using form. But in the "action = server.php" its reloads the server script that I dont want to do. Beacuse server.php is already run on my machine.

If there is any technic in php by that I will perform operation without reload the server.php script through client.php then please tell me.

I dont want to use AJAX, Is there is any solution in php for my work. I have worked with session variable. I got one issue can you please tell me the solution of that. I have created two script in which I have used session variable I will send my script to you.

AJAX is really the only solution to access server side data on the client. You cannot touch the server data from the client without executing a new server-side script. That will either involve a full page refresh or an AJAX function.

Thanks for giving me your precious time. Yesterday I was found the cause of problem that I sent you in my last post. I found that when I was run both of the script through browser then at that time web server is helping me to mentain my session variable but when I was run from the command prompt then nothing is there to mentain my session because of that I think session variable is not working on command prompt.

But Dear Nullsig I want to run my server script from command prompt which run as service and the updated value I will get from client side by using php only, not by AJAX.