php – How can we recover the user to play audio on the server via text-to-speech

I have hosted voice synthesis files on the server. If I run a query from my browser, it must be read on the server. I use XAMP on the server. The port is open too.

I want to send this request from my browser:

http://example.com/text2speech/v.php?sname=Hello

and he must play on the server (example.com is the server on which I stored the text2speech files).

Thanks for the help

my code:

index.php


 

PHP text to speech script

Enter your text:

v.php