H
H
HoneyMoney2016-02-12 16:43:05
PHP
HoneyMoney, 2016-02-12 16:43:05

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

1 answer(s)
A
Alexander Litvinenko, 2016-02-12
@edli007

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 question

Ask a Question

731 491 924 answers to any question