rejetto forum

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - squall8985

Pages: 1
1
Thinking of the same thing..but dunno how to implement it..
If u've the solution do let me know..thanks..
in mean while i'll try to figure it out..

2
HFS ~ HTTP File Server / Re: how to check is HFS online using php?
« on: March 04, 2007, 12:24:43 PM »
Code: [Select]
<?php
/*HFS Status */
error_reporting(0);
if(
fsockopen('server_name'port_number$errno$errstr5) !== false)
{
echo 
"<a href=\"http://server_name:port_number\">CONNECT</a></p><br><br>"//If ONLINE
} else {
echo 
"<font color=\"red\" face=\"verdana\" size=\"2\">OFF</font></p><br><br>"//If OFFLINE
}
?>


error_reporting(0) - It will switch off PHP error reporting.
It works for me  ;D

3
I already try to display in my webpage whether my hfs server is on or off and it works!  ;D
Anyone who is interested for the coding cam PM me.

Just wondering whether is it possible to display current user viewing my hfs and currently downloading in my hfs server.
And if it is possible how can i do it.
Thanx..

Pages: 1