opening file on a server |
[eluser]jorx[LINUX][/eluser]
hey! i just want to ask.... do CI have a function that would open a file on a server...? i want to access my file - http://localhost/file.php but it won't work on write_file() i'm force to use x:/xampp/htdocs/file.php by the way im using xampp
[eluser]jorx[LINUX][/eluser]
yes!!! I change some configuration that I think would make it work out like allow_url_fopen = On I search for answer in the internet.. but still it wont work is their a problem of using localhost in fopen????
[eluser]Evil Wizard[/eluser]
if you do a var_dump() of the write_file() call does it return false? what parameters are you using to call the helper function? Code: $blResult = write_file('http://localhost/file.php'); Code: $blResult = write_file('./file.php'); |
Welcome Guest, Not a member yet? Register Sign In |