+ 1
whats wrong with this?
<?php $data=fopen("contact.txt","r"); echo $data;?>
5 ответов
+ 10
true
+ 1
no i dont want to execute this code here.I want to execute it in my website.i have created a file named contact.txt in my web server public_html folder.
+ 1
thank you @immortal .btw i used file_get_contents function instead