forked from La_Bureautique/zeg1jeux
regexp
This commit is contained in:
parent
db97da79af
commit
096f77073f
|
@ -46,8 +46,8 @@ class Fred {
|
||||||
throw new Exception("J'ai pas pû récupérer la putain de deuxième page.");
|
throw new Exception("J'ai pas pû récupérer la putain de deuxième page.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
error_log ()
|
||||||
preg_match("`url='.*/ipns/([^']+)'`isU", $page2, $matches);
|
preg_match("`url='.*\/ipns\/([^']+)'`isU", $page2, $matches);
|
||||||
|
|
||||||
$ipnsKey = $matches[1];
|
$ipnsKey = $matches[1];
|
||||||
|
|
||||||
|
@ -150,7 +150,7 @@ class Fred {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
preg_match("`url='.*/user/([^']+)/'`isU", $page2, $matches);
|
preg_match("`url='.*\/user\/([^']+)/'`isU", $page2, $matches);
|
||||||
|
|
||||||
$gchangeId = $matches[1];
|
$gchangeId = $matches[1];
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ if (isset($_POST['salt'], $_POST['pepper'])) {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
$playerG1Id = $fred->donneMoiSaPutaindeG1Pub($_POST['salt'], $_POST['pepper']);
|
$playerG1Id = $fred->donneMoiSaPutaindeG1Pub($_POST['salt'], $_POST['pepper']);
|
||||||
sleep(7);
|
sleep(3);
|
||||||
$playerIPNS = $fred->donneMoiLaPutainDeClefIPNS($_POST['salt'], $_POST['pepper']);
|
$playerIPNS = $fred->donneMoiLaPutainDeClefIPNS($_POST['salt'], $_POST['pepper']);
|
||||||
|
|
||||||
$keygen->generatePubsec($_POST['salt'], $_POST['pepper']);
|
$keygen->generatePubsec($_POST['salt'], $_POST['pepper']);
|
||||||
|
|
Loading…
Reference in New Issue