06.08.2011, 19:38
Hiya, i need to format a string for php, like ("Your name is %s", Bob) would give "Your name is Bob".
Thanks
EDIT: this might help you inderstand, it's what i'm doing
config.php makes $svr = samp03svr. And i know it works, as i've included and used it in other scripts.
Thanks
EDIT: this might help you inderstand, it's what i'm doing
PHP код:
<?php
include 'config.php';
echo exec(' killall -9 $svr ');
echo "<meta http-equiv=\"refresh\" content=\"1; url=index.html\" />\n";
?>