mirror of
https://github.com/liftedpixel/lslscripts.git
synced 2026-08-14 00:58:07 +00:00
28 lines
432 B
PHP
28 lines
432 B
PHP
<?php
|
|
|
|
$url = $_GET["url"];
|
|
$objectuuid = $_GET["objectuuid"];
|
|
$PASS = $_GET["PASS"];
|
|
|
|
$thePASS = "xxxxx";
|
|
|
|
include "connectwrite.php";
|
|
|
|
if ( $PASS == $thePASS )
|
|
{
|
|
$query = "INSERT INTO ppurls ( url, objectuuid ) VALUES ( '$url', '$objectuuid' )";
|
|
|
|
if ( !mysqli_query( $connect, $query ) )
|
|
{
|
|
die( 'Error: ' . mysqli_error( $connect ) );
|
|
}
|
|
|
|
echo "URL added...";
|
|
}
|
|
|
|
else
|
|
{
|
|
echo "Password incorrect...";
|
|
}
|
|
?>
|