Answer the question
In order to leave comments, you need to log in
How to submit a php form?
There is a form, to get to which you need to log in. There is an authorization method. The form is filled in by default, so you only need to click the Send button. I would like to put this button click on a schedule (cron).
Tried to send like this: myurl.com/form.php?submit=Send , but nothing works.
Please tell me how to set form submission to cron. The form data is filled in via file_get_contents();, so nothing needs to be filled in. If you click Send in the browser, everything works.
<textarea name="field1"><? echo file_get_contents($filename); ?></textarea>
<input type="submit" name="submit" value="Send" />
Answer the question
In order to leave comments, you need to log in
With such questions, perhaps you need to study a little before doing something.
It turns out that you do not pose a question, but the task "write how"
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question