The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.
I have just coded a score board for my squad that can be updated via a php page but it requires some dat files to be created. It all works fine on my local system but when I upload to freeola space I am getting permission denied errors when I try to touch() files.
Is this a security feature or is there someway around it?
Thanks,
Dano.
I have just coded a score board for my squad that can be updated via a php page but it requires some dat files to be created. It all works fine on my local system but when I upload to freeola space I am getting permission denied errors when I try to touch() files.
Is this a security feature or is there someway around it?
Thanks,
Dano.
The touch( $file ); fails giving a permission denied error.
Thanks,
Dano.
Sigh... now all I have to do is fine where I am creating an erraneous .dat file that has no name :(
Dano.
I'm trying to read and write to .dat files to keep track of pilot scores, on my local machine it works just fineand updates nicely. But on the freeola server when I hit update nothing, nada, zip :(
http://www.dano.freeola.com/kills/index.php
Is the link if you want to take a look, no code there, I will post that later if needed. I am using a HTML form with the action set as is there something wrong with that or do I need to use it differently on the freeola server? I have tried using both GET and POST methods but niether make any difference. The .dat files are being created and I have code that will tell me if they are unable to be read or written to. It seems like when 'update' is hit the page is ignoring everything.
Any ideas would be gratefully recieved :)
Thanks,
Dano.
If the variable you are trying to access is passed via the URL string:
$my_variable_name=$_GET["my_variable_name"];
If the variable you are trying to access is passed via a form post operation:
$my_variable_name=$_POST["my_variable_name"];
If the variable you are trying to access is a server environment variable:
$my_variable_name=$_SERVER["HTTP_HOST"];
This is my problem I think :)
Enough for tonight, I'm off to play games :)
Dano.