Liquid Fire Posted November 6, 2006 Share Posted November 6, 2006 ok from some reason I can use a class to connect to ftp whe i put:ftp_connect("ftp.server.com");work fine in my php file but if i have:$ftp = new CFTP("ftp.server.com");$ftp->FTPConnect();where FTPConnect() is:{ ftp_connect($this->_host_name);}I get a timeout after 30secs error. _host_name is the same as "ftp.server.com", why would it not work when it is in a class?EDIT: I found my problem Link to comment https://forums.phpfreaks.com/topic/26356-ftp-problems/ Share on other sites More sharing options...
xtentic Posted November 6, 2006 Share Posted November 6, 2006 Please tell us your answer to your problem! Link to comment https://forums.phpfreaks.com/topic/26356-ftp-problems/#findComment-120529 Share on other sites More sharing options...
Liquid Fire Posted November 6, 2006 Author Share Posted November 6, 2006 I was hoping you would not ask, in my class i for to bup$this-> in front of the members on the set funjction so nothing was being stored. I do have another problem which i am creating a new thread for as it is different but still with ftp Link to comment https://forums.phpfreaks.com/topic/26356-ftp-problems/#findComment-120573 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.