Code: Select all
char listenmessage[45];
char tmp[15];
memset(listenmessage,0,70);
memset(tmp,0,15);
strcpy(listenmessage,"Listening on port ");
sprintf(tmp,%d,listenport);
strcat(listenmessage,tmp);
callfunction(listenmessage);
[code]
In php:
[code]
<?php callfunction("Listening on port ".$listenport);?>
[code]
:lol:
[color=#888888][size=85]Archived topic from Iceteks, old topic ID:3508, old post ID:28389[/size][/color]