Dear Brothers,
I am using a 'text file location' at my code to read the file contents- which is working fine in my local server. The web contents/php files and the specified txt file are at the same location at my own server.
[CODE=php]$fc = file ('./sitedb.txt');[/CODE]
Now I want to read the txt file from another ftp server (Exaple: ftp://10.10.10.100/File/sitedb.txt').
For this purpose, I changed the code location as below:
[CODE=php]$fc = file ('ftp://10.10.10.100/File/sitedb.txt');[/CODE]
But Failed. I think I may try as wrong way.Please suggest me.
I am waiting for your valued relpy.
Thanks
ahmurad
I am using a 'text file location' at my code to read the file contents- which is working fine in my local server. The web contents/php files and the specified txt file are at the same location at my own server.
[CODE=php]$fc = file ('./sitedb.txt');[/CODE]
Now I want to read the txt file from another ftp server (Exaple: ftp://10.10.10.100/File/sitedb.txt').
For this purpose, I changed the code location as below:
[CODE=php]$fc = file ('ftp://10.10.10.100/File/sitedb.txt');[/CODE]
But Failed. I think I may try as wrong way.Please suggest me.
I am waiting for your valued relpy.
Thanks
ahmurad
Comment