0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.117.94.221


Current Path : /proc/thread-self/root/var/www/html/admission/src/
Upload File :
Current File : //proc/thread-self/root/var/www/html/admission/src/uploadDummy.php

<?php
function uploadDummy($aobj_context){
    // require_once './vendor/autoload.php';
    $univcode = $aobj_context->mobj_data["univcode"];
    // $password = $aobj_context->mobj_data["password"];
    // $filename = $_FILES['file']['name'];
    // $tempname = $_FILES['file']['tmp_name'];
    
    // $phpWord = \PHPOffice\PhpWord\IOFactory::load($tempname);
    // $phpWord->getSettings()->setPassword($password);
    // $writer = \PHPOffice\PhpWord\IOFactory::createWriter($phpWord, 'Word2007');
    // $writer->save($aobj_context->main_src.'uploadqpscheme/'.$filename);

    require "vendor/autoload.php";
    // use \PHPOffice\PhpWord\PhpWord;
    $phpWord = new \PHPOffice\PhpWord\PhpWord();

    echo "<pre>";
    print_r($phpWord);
    echo "</pre>";
}