Commit 0c541874 authored by Gudipaty Aniket's avatar Gudipaty Aniket

slightly modified execute

parent 4f8a5487
......@@ -9,14 +9,14 @@ $input_data = $postData['input_data'];
$ret_stat = 0;
$template = $uid . strval(rand(1, 1000000));
$in_fname = "temp_in" . $template;
$template = strval(rand(1, 1000000));
$in_fname = $uid . "/" . "temp_in" . $template;
$file = fopen($in_fname, 'w');
file_put_contents($in_fname, $input_data);
fclose($file);
$out_fname = "temp_out" . $template;
$out_fname = $uid . "/" . "temp_out" . $template;
if(strcmp($language, "cpp") == 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment