According con new kind of Airio files (tab separated) i've created under suggestion of EQ Worry a new script (u can see attached in first post) to manage this kind of file.
It works in this way:
- first copy in local from remote airio file (so u'll see in your web space two new files: cr.txt and un.txt);
- then manage and convert them in db.
I added this new "time" column manually to database (between champsptt and PBsplit1time and now all works fine.
Many thanks to you and continue the good work!
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '<!-- v6.0.0 --> CREATE TABLE IF NOT EXISTS 'airiotable' ( `username` varch' at line 1
thanx for your nice work. i have few suggestions/requests for future development of your scripts:
i dont completely understand, why the table creation script (mysql instructions.txt) is used manually and it is not a part/included of code and is not automatically used (detection if table does not exist yet)? - i am sorry if it was already discussed or explained.
i am uploading stats to my web hosting at some intervals by ftp upload function of airio (zipped archive) - is there any chance you can add some function to directly handle of that zip archive, or i overlooked another possibility to upload 2 required stat files separately by airio on hosting server (sorry then again )?
eventually i have improvement idea inspired by this - http://lfs.deadmen.co.uk/airiostats/ - something like quick links to the most used or last used combos placed on main frame
hey...
I try to launch AirioScript v 5.07 but I have this problems
Warning: file() [function.file]: URL file-access is disabled in the server configuration in ............../script.php on line 21
Warning: file(direct link to Airio.sta.cr.txt) [function.file]: failed to open stream: no suitable wrapper could be found in ............../script.php on line 21
Warning: file() [function.file]: URL file-access is disabled in the server configuration in ............../script.php on line 159
Warning: file(direct link to Airio.sta.un.txt) [function.file]: failed to open stream: no suitable wrapper could be found in ............../script.php on line 159
Airio Script v5.0.7 by mc0676: DB Updated SuccessFully
line 21 -> $var2 = file($file);
line 159 -> $var3 = file($file2);
i changed script.php file permision is 774 is it correct?
Does this warnings mean that server where is AirioScript block files or there where are cr.txt and un.txt?
In config.php i have
$file = "here direct link to Airio.sta.cr.txt";
$file2 = "here direct link to Airio.sta.un.txt";