optikalefx Posted September 4, 2008 Share Posted September 4, 2008 <?php $server = "ftp.myserver.com"; echo $server; $conn_id = ftp_connect($server); ?> it gives me a fatal error that ftp_connect is not a defined function. and i know ftp is enabled and my server is correct. Using php 5. thanks. Link to comment https://forums.phpfreaks.com/topic/122662-why-doesnt-this-stupid-thing-work/ Share on other sites More sharing options...
tibberous Posted September 4, 2008 Share Posted September 4, 2008 I'm pretty sure it isn't. If you do a phpinfo(), does it actually say ftp - enabled? How do you know it's setup right and enabled? Link to comment https://forums.phpfreaks.com/topic/122662-why-doesnt-this-stupid-thing-work/#findComment-633376 Share on other sites More sharing options...
vicodin Posted September 4, 2008 Share Posted September 4, 2008 Well php is telling you its not. PHP has no idea what that function is. Maybe a dll is not active or double check your exact version and if it has it. Link to comment https://forums.phpfreaks.com/topic/122662-why-doesnt-this-stupid-thing-work/#findComment-633377 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.