Enregistrement dans fichier
This commit is contained in:
parent
60f6cb354d
commit
ab028c2253
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$filepath = "/srv/validation_pre_adhesion.d";
|
$filepath = "/srv/validation_pre_adhesion.d/";
|
||||||
|
|
||||||
function data_uri($contents, $mime)
|
function data_uri($contents, $mime)
|
||||||
{
|
{
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
str_replace(';', ' ', $_POST['cotisation']) .
|
str_replace(';', ' ', $_POST['cotisation']) .
|
||||||
str_replace(';', ' ', $_POST['mode']);
|
str_replace(';', ' ', $_POST['mode']);
|
||||||
|
|
||||||
file_put_contents($filepath . "preadhesion" . date("Y-m-d") . rand(111111, 999999), strtoupper($content));
|
file_put_contents($filepath . "pre_adhesion" . date("Y-m-d") . rand(111111, 999999), strtoupper($content));
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue