Vatsim Online

can anybody help me?

where can I get these files:

all.php

vatpilots.php

vatsimnow.php

PM me with your e-mail and i’ll send you the files with some little instructions.

Regards

I got the email, but the files you sent me are the ones I got from simpilot. Would like to get the, all.php, vatpilots.php and vatsimnow.php

I got the email, but the files you sent me are the ones I got from simpilot. Would like to get the, all.php, vatpilots.php and vatsimnow.php

These files I search, but finding nothing

Dear all, just we know those files are very difficult to find, i explain in PM messages when i offer my help i thought you need just the vatsimphp generator and other files included in my e-mails. Once again i apologize for this misunderstanding, i’m still looking for the files to send.

Regards

I have the files on fspaint shop…Are you guys still having trouble?? I’ll post how I use it on Kesuk.

Ok, The directory “VatsimPHPfiles” goes in your site root directory, it should only contain the .txt files. The file VatsimPHPgenerator.php also goes in your site root by itself, not in any directory.

Here is an example of how I use it.

<?php

require_once("VatsimPHPgenerator.php");

$VatsimPHP=new VatsimPHP;

$pilotlist=$VatsimPHP->airline("put your va's call letters here");

for($i = 0; $i < count($pilotlist); $i++)

{

     echo '<p>';

	echo $pilotlist[$i][0].':';

	echo $pilotlist[$i][2];

	echo '</p>';



}

if(count($pilotlist) == "0")

{

	echo "<p>Currently no operations</p>";

}

?>

I am getting these errors:

[b]Warning[/b]: copy() [[url="http://malaysiava.org/function.copy"]function.copy[/url]]: URL file-access is disabled in the server configuration in [b]/home/globalai/public_html/malaysiava.org/VatsimPHPgenerator.php[/b] on line [b]63[/b]

[b]Warning[/b]: copy(http://info.vroute.net/vatsim-data.txt) [[url="http://malaysiava.org/function.copy"]function.copy[/url]]: failed to open stream: no suitable wrapper could be found in [b]/home/globalai/public_html/malaysiava.org/VatsimPHPgenerator.php[/b] on line [b]63[/b]

[b]Warning[/b]: copy() [[url="http://malaysiava.org/function.copy"]function.copy[/url]]: URL file-access is disabled in the server configuration in [b]/home/globalai/public_html/malaysiava.org/VatsimPHPgenerator.php[/b] on line [b]65[/b]

[b]Warning[/b]: copy(http://www.klain.net/sidata/vatsim-data.txt) [[url="http://malaysiava.org/function.copy"]function.copy[/url]]: failed to open stream: no suitable wrapper could be found in [b]/home/globalai/public_html/malaysiava.org/VatsimPHPgenerator.php[/b] on line [b]65[/b]

How do I fix them?

i become the failure

Warning: copy(VatsimPHPfiles/satnet-data.txt) [function.copy]: failed to open stream: Permission denied in /www/htdocs/w00dac26/lausitzair/lib/skins/ObsessBlue/VatsimPHPgenerator.php on line 63

Warning: copy(VatsimPHPfiles/satnet-data.txt) [function.copy]: failed to open stream: Permission denied in /www/htdocs/w00dac26/lausitzair/lib/skins/ObsessBlue/VatsimPHPgenerator.php on line 65

can anybode help me

the vatsimphpfiles are in the root of my site and the vatsimphpgenerator is in the skin folder

thx

G’day,

I would like to display an amount for all pilots an ATC, as well as my pilots online on vatsim using this code, how would i got about displaying the pilots and ATC online ?

I’ve seen it done before, i’m not sure how it was done though.

Also, I’ve just tried this code

<?php

require_once("VatsimPHPgenerator.php");

$VatsimPHP=new VatsimPHP;

$pilotlist=$VatsimPHP->airline("put your va's call letters here");

for($i = 0; $i < count($pilotlist); $i++)

       {

            echo '<p>';

               echo $pilotlist[$i][0].':';

               echo $pilotlist[$i][2];

               echo '</p>';



       }

if(count($pilotlist) == "0")

       {

               echo "<p>Currently no operations</p>";

       }

?>

I would like to display an amount of pilots, not every pilot with that callsign, how can i edit this to display a number for the amount of pilots online ?

Cheers

Tylor

I have the following warning on my page:

Warning: copy() [function.copy]: Filename cannot be empty in /home/xxxx/xxxxx/VatsimPHPgenerator.php on line 63

Warning: copy() [function.copy]: Filename cannot be empty in /home/xxxxx/xxxxx/VatsimPHPgenerator.php on line 65

Any have a solution, all was working good untill two weeks ago, and realy don`t now how solve this problem.

Regards

That means something is wrong with the .txt files in the vatsimphp directory