Good day.
I mean a site that has a form of the POST method. Through it, I upload some content (Name, description, file, etc.).
So, for some reason, namely: limiting the number of files on the 1st hosting account, led me to decide to use the 2nd account to store files.
At first I did it through an iframe, but then after some problems (switching to other pages was in the iframe) I decided not to use this method.
The question is, I need to upload the file, it means I need to use the post, but a simple post does not rob (I thought, can it be based on the GET principle?), Can this be done somehow?
- onephp.net/Curl - ArchDemon
- "simple" post perfectly "robit." Especially if you guess that the form you have is not "on the site," but in the browser. - Ipatiev
- Sending data to another server, it just gives me empty values when everything is working when testing on the 1st server. - Fair Man
- Well, you don’t send the GET files :) And for everything else, just curl, create a file on the 1st server where the form is processed, receive a file from it and send it to the 2nd server with a curl - Orange_shadow
|
1 answer
You send the form to your server, there with the help of a curl you send it where you want, you parse the answer and return the answer to the user
PS why so suffer if there are a bunch of cheap web hosts without this kind of restrictions?
- I have a paid unlimited space, but with a limit of 200k files. - Fair Man
|