-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathsimple.php
More file actions
27 lines (24 loc) · 761 Bytes
/
simple.php
File metadata and controls
27 lines (24 loc) · 761 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
include "curl_gd.php";
if (isset($_POST['url'])) {
$var= $_POST['url'];
$pieces = explode(PHP_EOL, $var);
?><textarea style="height: 155px; width: 100%;"><?php
foreach($pieces as $element)
{
$gid = get_drive_id($element);
$iframeid = my_simple_crypt($gid);
$iframeid1 = my_simple_crypt($iframeid, 'd');
$element = base64_encode($element);
$element1 = base64_decode($element);
echo new_title('https://drive.google.com/file/d/' . $gid . '/view');
echo 'http://anidrive.icu?id='.$iframeid.' ';
}
}
?>
</textarea
<?php echo $iframeid1.'<br/>'?>
<form action="" method="POST">
<textarea style="height: 155px; width: 100%;" name="url" ></textarea>
<button class="btn btn-default" input type="submit" name="submit" >Submit </button>
</form>