Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
Pages: [1]
Send this topic | Print
Topic: fopen errors  (Read 2418 times)
« on: April 18, 2006, 05:49:43 PM »
coolcoolm Offline
Newbie

View Profile
*
Posts: 2



Warning: fopen(): URL file-access is disabled in the server configuration

on the info part in the control panel it says that url open is on im trying to get it to read rb
$o=fopen($file,"rb");
Report to moderator   Logged

 
« Reply #1 on: April 23, 2006, 03:06:15 AM »
Bret Craven Offline
Vice President
Administrator
Addict

View Profile
*****
Posts: 693



With our server configuration files have to be in the same folder as the file that you're trying to open via fopen in order for it to work.
Report to moderator   Logged

Bret Craven
  Vice President
  Director of Customer Service
  cravenbw@t35.net
« Reply #2 on: April 28, 2006, 01:43:39 PM »
coolcoolm Offline
Newbie

View Profile
*
Posts: 2



i found that out cause you have safe mode on im not woried about that
i need to find out how to remove that ad button at the bottem for this it is going to be used as a javascript

var mainymb="<?echo fread(fopen("main.txt","r"),filesize("main.txt")+1);?>"
var hillsymb="<?echo fread(fopen("hills.txt","r"),filesize("hills.txt")+1);?>"
var heightsymb="<?echo fread(fopen("heights.txt","r"),filesize("heights.txt")+1);?>"

curent out put

var mainymb="0"
var hillsymb="0"
var heightsymb="0"
<!-- T35 Hosting Ad Code Begin -->
<script type='text/javascript' src='/pop.js'></script>
<br /><a target="_blank" href="http://www.t35.com"><img border="0" src="http://freehostcp.t35.com/t35.gif" width="20" height="20" align="right" alt="Proudly Hosted by T35 Hosting!"></a>
<!-- Start of StatCounter Code -->
<a href="http://www.statcounter.com/" target="_blank"><img src="http://c11.statcounter.com/counter.php?sc_project=1120767&amp;java=0&amp;security=78e6f3a5&amp;invisible=1" alt="best website stats" border="0"></a>
<!-- End of StatCounter Code -->
<!-- T35 Hosting Ad Code End -->
Report to moderator   Logged
 
Pages: [1]
Send this topic | Print
Jump to:  

Powered by SMF | SMF © 2006-2008, Simple Machines LLC