forked from axiom-team/astroport
mkdir("/tmp/loveland_entrance");
This commit is contained in:
parent
bcbb2ed11c
commit
60e7d9ec17
|
@ -14,12 +14,13 @@ if (strlen($_REQUEST['phone']) == 10 ) {
|
|||
$naissance = $_REQUEST['naissance'];
|
||||
// HASH NUMBER
|
||||
$HPHONE=hash('sha256', $PHONE);
|
||||
// CREATE FILE for POST TREATMENT with sms_ASTROPORT.sh
|
||||
// LOCAL
|
||||
|
||||
// CREATE FILE for POST TREATMENT with "g1sms/sms_ASTROPORT.sh"
|
||||
mkdir("/tmp/loveland_entrance");
|
||||
$fp = fopen('/tmp/loveland_entrance/'.$HPHONE, 'w');
|
||||
|
||||
fwrite($fp, $PHONE.'|'.$PARRAIN.'|'.$naissance);
|
||||
echo "$PHONE.'|'.$PARRAIN.'|'.$naissance"
|
||||
echo "$PHONE.'|'.$PARRAIN.'|'.$naissance";
|
||||
return true;
|
||||
} else {
|
||||
return false;
|
||||
|
|
|
@ -57,5 +57,8 @@ do
|
|||
# ZenTag IPNS name publish
|
||||
Tkey=$(ipfs key list | grep -F ${ipnskey}.key)
|
||||
J=$(ipfs name publish -k ${Tkey} --quieter /ipfs/${I})
|
||||
|
||||
echo "http://127.0.0.1/ipns/$J"
|
||||
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in New Issue