Hi,
In my next project, i need the user to upload a file to my site via a regular php form.
I then need the php program to connect to website (outside my network) upload the file there. That site would then validate if the the file is valid and i would echo the result on my script page, and if it's not valid i would also echo that on my site.
Now i know how to write everything for upload, validating, parsing and echoing, i'm just in need of help on how to connect to another website and "listen to the reponse" .
I need all this to take place without the client's browser knowing it. I.E all the client sees is a request uploading the file and then the responce on my site.
Is it possible ? If any good "http" or "socket" programming tutorials are out there, i would greatley apprecaite you pointing it out .
(Sadly the PHP book i invested in , included everything i need to know besides socket programming)
Thank you for this great forum and looking forward to your replies