fork download
  1. <p><b>Выберите дату:</b><br>
  2. <input type="date" name="from" value="2018-01-01">
  3.  
  4. <?php
  5.  
  6. $third= preg_split ($regexpSec, $_GET[from]);
  7. $datefrom= $third[2]. '/'.$third[1] . '/' .$third[0];
  8.  
  9. echo "<a href=https://e...content-available-to-author-only...l.ru/?datefrom={$datefrom}>Link</a>\n";
Success #stdin #stdout #stderr 0.01s 82880KB
stdin
Standard input is empty
stdout
<p><b>Выберите дату:</b><br>
		<input type="date" name="from" value="2018-01-01">
		
<a href=https://e...content-available-to-author-only...l.ru/?datefrom=//>Link</a>
stderr
PHP Notice:  Undefined variable: regexpSec in /home/2tt4wk/prog.php on line 6
PHP Notice:  Use of undefined constant from - assumed 'from' in /home/2tt4wk/prog.php on line 6
PHP Notice:  Undefined index: from in /home/2tt4wk/prog.php on line 6
PHP Warning:  preg_split(): Empty regular expression in /home/2tt4wk/prog.php on line 6