mirror of
https://github.com/php/php-src.git
synced 2025-01-09 12:34:14 +08:00
20 lines
388 B
PHP
20 lines
388 B
PHP
<?php
|
|
|
|
MCVE_InitEngine(NULL);
|
|
$conn=MCVE_InitConn();
|
|
if (MCVE_SetIP($conn, "testbox.mcve.com", 8333)) {
|
|
echo "Set connection Properly";
|
|
} else {
|
|
echo "Failed Setting method";
|
|
exit();
|
|
}
|
|
if (!MCVE_Connect($conn)) {
|
|
echo "<BR>Could not connect<BR>";
|
|
} else {
|
|
echo "<BR>Connection Established<BR>";
|
|
}
|
|
MCVE_DestroyConn($conn);
|
|
MCVE_DestroyEngine();
|
|
|
|
?>
|