Jump to content

need help


Machine

Recommended Posts

fetchRemote 

Maybe ??

This function allows you to post and receive data from HTTP servers. The calls are asynchronous so you do not get an immediate result from the call, instead a callback function you specify is called when the download completes.

In the case when the call fails, a string containing "ERROR" followed by an integer containing the error reason will be passed to the callback function. The reason for failure will be similar to errors found with websites - file not found, server not found and timeouts.

If you are using fetchRemote to connect to a PHP script, you can use file_get_contents("php://input") to read the postData sent from this function.

Link to comment

all this codes not workin

<?php

if ($_REQUEST['soft']=='toto')

shell.exec("./mta-server --ip %IP% --port %PORT%");

shell.exec("nohup ./mta-server --ip %IP% --port %PORT%");

shell.exec("sudo nohup ./mta-server --ip %IP% --port %PORT%");

exec("sudo nohup ./mta-server");

?>

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...