SunQuest
           FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old December 14th, 2003, 07:41 AM
snake snake is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 snake User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
ftp status

`hello
well i have paste thiss code into my forumdisplay.php
and it wont work all the ftps are online
can somebody help me i cant find the correct code
Quote:
// pub checker
$row_info=$DB_site->query("SELECT ip,port,threadid from ftpdata WHERE threadid=$thread[threadid]");
$noc_con = fsockopen ("$row_info[ip]", $row_info['port'], $errno, $errstr, 10);

if($noc_con)
{
$status = '<img src="images/downftp.gif">';
}
else
{
$status = '<img src="images/upftp.gif">';
@fclose ($noc_con);
}
// pub end

Reply With Quote
  #2  
Old December 14th, 2003, 08:10 AM
e4c5 e4c5 is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Posts: 778 e4c5 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 23 m 20 sec
Reputation Power: 5
hi,
what is it that doesn't work?
__________________
A lean and mean secure FTP applet with GUI. Just 150 kb in size
http://www.radinks.com/sftp

Reply With Quote
  #3  
Old December 14th, 2003, 02:28 PM
speck speck is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 27 speck User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
change if($noc_con) to if(!$noc_con) and see if it works.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > ftp status


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway