i have uploaded both files (ad_network_138.php and .txt) also i have uploaded the .htaccess with the code line "AddType application/x-httpd-php .php .htm .html" and i have set the .txt to 777. My server has php and i have copy pasted the code <?php ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../'); include ('ad_network_138.php'); echo $ad_network; ?> PHP: and nothings happening... check www.foreignnumbers.com any clue? regards
I see the following on the bottom of your site.. You must set the ad_network_ads_138.txt file to be writable (check file name as well). I think you need to chmod 666 ad_network_ads_138.txt
well... if works with 666 also it should work with 777, nonetheless i did change it to 666 and still isnt working
ok i found my bad... the "ads" part of the txt name was missing... doh... but now it seems to be another issue... grrrr
count($ad_network) % 2 == 0 count() is zero because it seems an empty array. 0 % 2 ......................................... IMO a "try and catch" would be fine for this one i think... i dont know... anyone? regards
yes indeed! but seems to be showing the same ads :S thats not good Secured Loans Secured Loans Credit Counseling Credit Counseling Secured Loans
I am having issues with my website i have done everything that I could do as the instruction online but dont seem to understand what is cmod command can you explain to me please.... cheers
Thanks but do I need to add this as a text or right click my file on server and change the read write access... thanks
Set the file permissions on your web server to 666. Depending on the settings on your admin panel, you might have to right click the file, select it, etc...