Please help! This is urgent!! - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Please help! This is urgent!! (/showthread.php?tid=11685) |
Please help! This is urgent!! - El Forum - 09-19-2008 [eluser]Gewa[/eluser] Hi, i am making a code which is supposed to a)take ftp account datas of our bought domains from the database b) login with that data c) find /public_html or /www folder d) upload a index.php but I get error... What is the problem? Can you help to fix? Code: function do_spam($limit,$offset){ Host connections are ok, but loop is not working, and error in database is File is not uploaded.. What to do? Please help! This is urgent!! - El Forum - 09-19-2008 [eluser]Phil Sturgeon[/eluser] Output various path variables and make sure you have the slashes in the right place. Does pwd not return a full path? I have a lot of problems with FTP code and it always boils down to slashes in the wrong place or bad assumptions about root directory or paths. |