[56k warn] PHP on google Maps

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
ACV001
Forum Newbie
Posts: 7
Joined: Mon Nov 27, 2006 8:17 am

[56k warn] PHP on google Maps

Post by ACV001 »

Everah | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


Hi to all! I believe im on the right place for this. Im CEO of one virtual airliner Air Croatia virtual and i need someones help. We are using some FSAcars PIREP system and is working well. As i or any of my crew don know php, i was able to put it all together somehow. However...this is the story...This program gets plane position from FS2004 on which pilots flying, and display it on google map...There are many other variables in that but they are irelevant for this...This looks like ...

[img]http://www.aircroatia-virtual.com/fsscr021.jpg[/img]

I was able to customize marker to be picture of satellite photo plane, so everyone whos flying saw as as real as they can...but...I want callsign of pilot whos currently flying to be displayed over his aircraft in white or yellow colour. The callsign is taken from database, like long and lat which use for displaying plane...

this is my script and PLEASE HELP ME WITH IT...i got marker, icon, and i dont have a clue how to display callsign i think its $callsign in scripts...

Code: Select all

<?php 
 
/*
        !!!A QUICK NOTE!!!
 
 Some of the database fields may have changed and you will need to alter them to your 
 database. 
 
 Remember to backup your database before you make any changes or you will regret it. 
 
 You will need to have a registered Google Map key which you can get for free from
 http://www.google.com/apis/maps/.
 
 You will need to know your database structure with username and password details. 
 
 I have made db connection easy but you can edit it as your coding levels suit. Ideally
 You should have a link to the db connection but that is entirely up to you.
 
 Anyway, hope this helps you in working out how to use google maps on your VA. 
 
 Cheers
 Steph.
*/
 
/* CHANGE THESE LINES TO YOUR DETAILS */
/* make connection to database */
$hostreal_name = "localhost";
$userreal_name = "xxx";
$pw = "xxx";
$dbreal_name = "xxx"; 
 
// Remember, you need to register with Google Map to get a valid registration key. 
// This key must be placed where I have put "###UR_KEY_HERE###" located in the <script src=> tag below.
?> 
<head>
<!--
Place you google map key in the line below over the "###UR_KEY_HERE###" text 
If you do not have a key this will not work. You can obtain a key from http://www.google.com/apis/maps/
-->
<script src=" http://maps.google.com/maps?file=api&v= ... _x87dZ05Ig" type="text/javascript"></script>
<link href="../css/css.css" rel="stylesheet" type="text/css" /> 
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { 
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//--> 
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
<!--
body {
 background-image: url(Images/Fsacarseurope.jpg); 
}
-->
</style><title>Air Croatia virtual - FSAcars Europa</title></head>
<body class="content">
<div id="map" style="width: 750px; height: 500px; z-index:1; top: 150px; left: 138px;"> </div>
<script type="text/javascript">
 
 // This is the google map part
 
 // Thes map settings are set to show Australia, so you will 
 // need to change co ordinates to suit your needs.
 

    //<![CDATA[
    
 
 //Center map on Alice Springs
    var map = new GMap(document.getElementById("map"));
 //$GMap->setMapType('G_HYBRID_TYPE');
    map.addControl(new GLargeMapControl()); 
 map.addControl(new GMapTypeControl());
 //  Alice Springs
 // LAT    LON
 // S2348'08.57 E13353'12.16
    map.centerAndZoom(new GPoint(15.532080078125, 44.770059260080004), 13);
 map.setMapType(G_SATELLITE_TYPE); 
 
 //  Palo Alto
 // LAT    LON
 // N3727'40.03 W12206'54.16
    //map.centerAndZoom(new GPoint(-122.1419, 37.4419), 4);
 
  // Creates a marker whose info window displays the given number
  var icon2 = new GIcon(); 
icon2.image = "http://www.aircroatia-virtual.com/Image5.png";
icon2.iconSize = new GSize(20, 17);
icon2.iconAnchor = new GPoint(29, 14);
icon2.infoWindowAnchor = new GPoint(5, 1);

 function createMarker(point, number)
 {
 var marker = new GMarker(point, icon2);
 // Show this markers index in the info window when it is clicked
 var html = number; 
 GEvent.addListener(marker, "click", function() {marker.openInfoWindowHtml(html);});
 return marker;
 };
<?php
 $link = mysql_connect("$hostreal_name", "$userreal_name", "$pw") or die("Could not connect: " . mysql_error()); 
 mysql_selectdb("$dbreal_name",$link) or die ("Can\'t use dbmapserver : " . mysql_error());
 $result = mysql_query("SELECT * FROM positions WHERE last_update > DATE_SUB( NOW() , INTERVAL 5 MINUTE )", $link); 
 if (!$result)
 {
 echo "no results ";
 }
 while($row = mysql_fetch_array($result))
 {
 // This is the data displayed in the google map text box when you click on a pilot name
 $info = "Pilot: ".$row['pilot_num'] . "<br>" . "From: " . $row['depAptICAO'] ." To: " . $row['destAptICAO'] . "<br>" . "Online: " . $row['Online'] . "<br>" . "GS: " . $row['gs'] . "<br>" . "ALT: " . $row['alt'] . "<br>" . "ETA: " . $row['timeDestApt']; 
 echo "var point = new GPoint(" . $row['lon'] . "," . $row['lat'] . ");\n";
 echo "var marker = createMarker(point, '" . $info . "');\n";
 echo "map.addOverlay (marker);\n";
 echo "\n";
 }
 
mysql_close($link);
 
?>
//]]>
</script>
<div id="Layer1" style="position:absolute; width:797px; height:344px; z-index:1; left: 153px; top: 669px;"> 
  <?php
$cont = 1;
 
/* mysql error */
if (!$result) {
    print "Error - Database Connection.";
    $cont = 0;
}
 
if ($cont) {
    if (mysql_numrows($result) == 0) {
        print "<td><font face=Verdana color=#000080 size=2>Svi piloti se trenutno odmaraju...<br><br><br>"; 
  
  
    } else {
        
        print "<table align=left >";
        print "<tr>";
 
        print "<td bgcolor=#000080 height=12 align=center><font face=Verdana color=#FFFFFF size=1><b>Pilot</b></font></td>"; 
        print "<td bgcolor=#000080 height=12 align=center><font face=Verdana color=#FFFFFF size=1><b>Flight#</b></font></td>";
        print "<td bgcolor=#000080 height=12 align=center><font face=Verdana color=#FFFFFF size=1><b>From/To</b></font></td>"; 
        print "<td bgcolor=#000080 height=12 align=center><font face=Verdana color=#FFFFFF size=1><b>Dist. from Ori.</b></font></td>";
        print "<td bgcolor=#000080 height=12 align=center><font face=Verdana color=#FFFFFF size=1><b>Dist. to Dest.</b></font></td>"; 
        print "<td bgcolor=#000080 height=12 align=center><font face=Verdana color=#FFFFFF size=1><b>Alt</b></font></td>";
        print "<td bgcolor=#000080 height=12 align=center><font face=Verdana color=#FFFFFF size=1><b>GS</b></font></td>"; 
        print "<td bgcolor=#000080 height=12 align=center><font face=Verdana color=#FFFFFF size=1><b>ETE</b></font></td>";
        print "<td bgcolor=#000080 height=12 align=center><font face=Verdana color=#FFFFFF size=1><b>STATUS</b></font></td>"; 
        print "<td bgcolor=#000080 height=12 align=center><font face=Verdana color=#FFFFFF size=1><b>Online</b></font></td>";
        print "</tr>";
 

        
        $phase_colors = array();
        $phase_colors[0] = "color=#FFFFFF"; // Disconnected from ACARS - White
        $phase_colors[1] = "color=#CCCCCC"; // Boarding - Gray
        $phase_colors[2] = "color=#FF00FF"; // Taxi From Gate - Purple 
        $phase_colors[3] = "color=#0000FF"; // Departing - Blue
        $phase_colors[4] = "color=#00FFFF"; // Climbing - Cyan
        $phase_colors[5] = "color=#00FF00"; // Cruising - Green 
        $phase_colors[6] = "color=#FFFF00"; // Descending - Yellow
        $phase_colors[7] = "color=#FF8800"; // Landed - Orange
        $phase_colors[8] = "color=#FF0000"; // Taxi To Gate - Red 
        $phase_colors[9] = "color=#FFFFFF"; // Arrived at Gate - White
        
        $phase_msgs = array();
        $phase_msgs[0] = "Disconnected";
        $phase_msgs[1] = "Boarding";            
        $phase_msgs[2] = "Taxi From Gate";   
        $phase_msgs[3] = "Departing";           
        $phase_msgs[4] = "Enroute";            
        $phase_msgs[5] = "Enroute";            
        $phase_msgs[6] = "Descending";          
        $phase_msgs[7] = "Landed";              
        $phase_msgs[8] = "Taxi To Gate";     
        $phase_msgs[9] = "Arrived At Gate";     
 
        $number = mysql_numrows($result);
        for ($i=0; $i < $number; $i++) {
            $pnum = mysql_result($result,$i,"pilot_num");
            $alt = mysql_result($result,$i,"alt"); 
            $gs = mysql_result($result,$i,"gs");
            $callsign = mysql_result($result,$i,"IATA");
            $dep = mysql_result($result,$i,"depAptICAO"); 
            $depreal_name = mysql_result($result,$i,"depapt"); 
            $dest = mysql_result($result,$i,"destAptICAO");
            $destreal_name = mysql_result($result,$i,"destapt");
            $distOrig = mysql_result($result,$i,"disDepApt"); 
            $distDest = mysql_result($result,$i,"disDestApt");
            $ETA = mysql_result($result,$i,"timeDestApt");
            $phase = mysql_result($result,$i,"phase");
            $Online = mysql_result($result,$i,"online"); 
            
 
            
            print "<tr>";
         print "<td width=30 height=12 align=center><font face=Verdana color=#000080 size=1>ACV$pnum</font></td>"; 
         print "<td width=60 height=12 align=center><font face=Verdana color=#000080 size=1>$callsign</font></td>";
         print "<td width=100 height=12 align=center><font face=Verdana color=#000080 size=1>$dep TO $dest</font></td>"; 
                print "<td width=60 height=12 align=center><font face=Verdana color=#000080 size=1>$distOrig</font></td>";
                print "<td width=60 height=12 align=center><font face=Verdana color=#000080 size=1>$distDest</font></td>"; 
         print "<td width=60 height=12 align=center><font face=Verdana color=#000080 size=1>$alt</font></td>";
         print "<td width=30 height=12 align=center><font face=Verdana color=#000080 size=1>$gs</font></td>"; 
         print "<td width=60 height=12 align=center><font face=Verdana color=#000080 size=1>$ETA</font></td>";
         print "<td bgcolor=#000000 width=150 height=12 align=center><font face=Verdana ".$phase_colors[$phase]." size=1><b>".$phase_msgs[$phase]."</b></font></td>"; 
         print "</tr>";
         
         
   
        }
    }
}
?>
</div>
<div id="Layer2" style="position:absolute; width:64px; height:26px; z-index:2; top: 129px; left: 928px;"><a href="http://www.aircroatia-virtual.com/" target="_self"><img src="Images/h-053.gif" width="60" height="23" border="0"></a></div>
</body>
Thank YOU ALL!!!


Everah | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

In which table is the Pilots call sign information stored?
ACV001
Forum Newbie
Posts: 7
Joined: Mon Nov 27, 2006 8:17 am

Post by ACV001 »

hm...in reports table...but i think it uses this data from program we use FGSAcars...as you see somewhere it says mysql_result...probably that dont know. I have 3 tables...positions, pilots and reports...
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Your query right now is only pulling positions. If you want pilot information, you need to modify the query to join your position result with your pilot result.
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

ACV001
Forum Newbie
Posts: 7
Joined: Mon Nov 27, 2006 8:17 am

Post by ACV001 »

Everah | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]


Here is one variant of it, this is original, and instead of cross i want to be my plane, simple is that...here is:

php:

Code: Select all

<style type="text/css">
<!--
body,td,th {
	color: #000066;
}
body {
	background-color: #33FFFF;
}
-->
</style><?php

	
$hostName = "localhost";
/* CHANGE THESE LINE TO YOUR DETAILS */
$userName = "xxx";
$password = "xxx";
$dbName = "aircroat_baza";

/* make connection to database */
 $dbh=mysql_connect ("localhost", "aircroat", "maja090878") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("aircroat_baza");

$sql = "SELECT * FROM positions WHERE last_update > DATE_SUB( NOW() , INTERVAL 3 MINUTE ) ORDER BY IATA";
$result = mysql_query( $sql );
$cont = 1;

/* mysql error */
if (!$result) {
    print "Error - Database Connection.";
    $cont = 0;
}

if ($cont) {
    if (mysql_numrows($result) == 0) {
        print "No Pilots Actively Flying.";
    } else {
        print "<img border=0 src=\"pilot_world_map_gen.php\"><br><br>";
        print "<table>";
        print "<tr>";

        print "<td bgcolor=#000080 width=30 height=12 align=left><font face=Verdana color=#FFFFFF size=1><b>Pilot</b></font></td>";
        print "<td bgcolor=#000080 width=80 height=12 align=left><font face=Verdana color=#FFFFFF size=1><b>Callsign</b></font></td>";
        print "<td bgcolor=#000080 width=60 height=12 align=left><font face=Verdana color=#FFFFFF size=1><b>Alt</b></font></td>";
        print "<td bgcolor=#000080 width=30 height=12 align=left><font face=Verdana color=#FFFFFF size=1><b>GS</b></font></td>";
        print "<td bgcolor=#000080 width=125 height=12 align=left><font face=Verdana color=#FFFFFF size=1><b>From</b></font></td>";
        print "<td bgcolor=#000080 width=125 height=12 align=left><font face=Verdana color=#FFFFFF size=1><b>To</b></font></td>";
        print "<td bgcolor=#000080 width=90 height=12 align=left><font face=Verdana color=#FFFFFF size=1><b>Dist. from Ori.</b></font></td>";
        print "<td bgcolor=#000080 width=80 height=12 align=left><font face=Verdana color=#FFFFFF size=1><b>Dist. to Dest.</b></font></td>";
        print "<td bgcolor=#000080 width=60 height=12 align=left><font face=Verdana color=#FFFFFF size=1><b>ETE</b></font></td>";
        print "<td bgcolor=#000080 width=150 height=12 align=left><font face=Verdana color=#FFFFFF size=1><b>STATUS</b></font></td>";
        print "</tr>";
        
        $phase_colors = array();
        $phase_colors[0] = "color=#FFFFFF"; // Disconnected from ACARS - White
        $phase_colors[1] = "color=#CCCCCC"; // Boarding - Gray
        $phase_colors[2] = "color=#FF00FF"; // Taxi From Gate - Purple
        $phase_colors[3] = "color=#0000FF"; // Departing - Blue
        $phase_colors[4] = "color=#00FFFF"; // Climbing - Cyan
        $phase_colors[5] = "color=#00FF00"; // Cruising - Green
        $phase_colors[6] = "color=#FFFF00"; // Descending - Yellow
        $phase_colors[7] = "color=#FF8800"; // Landed - Orange
        $phase_colors[8] = "color=#FF0000"; // Taxi To Gate - Red
        $phase_colors[9] = "color=#FFFFFF"; // Arrived at Gate - White
        
        $phase_msgs = array();
        $phase_msgs[0] = "Disconnected from ACARS";
        $phase_msgs[1] = "Boarding";            
        $phase_msgs[2] = "Taxi From Gate";   
        $phase_msgs[3] = "Departing";           
        $phase_msgs[4] = "Climbing";            
        $phase_msgs[5] = "Cruising";            
        $phase_msgs[6] = "Descending";          
        $phase_msgs[7] = "Landed";              
        $phase_msgs[8] = "Taxi To Gate";     
        $phase_msgs[9] = "Arrived At Gate";     
        
        $number = mysql_numrows($result);
        for ($i=0; $i < $number; $i++) {
            $pnum = mysql_result($result,$i,"pilot_num");
            $alt = mysql_result($result,$i,"alt");
            $gs = mysql_result($result,$i,"gs");
            $callsign = mysql_result($result,$i,"IATA");
            $dep = mysql_result($result,$i,"depAptICAO"); 
            $depname = mysql_result($result,$i,"depapt");
            $dest = mysql_result($result,$i,"destAptICAO");
            $destname = mysql_result($result,$i,"destapt");
            $distOrig = mysql_result($result,$i,"disDepApt");
            $distDest = mysql_result($result,$i,"disDestApt");
            $ETA = mysql_result($result,$i,"timeDestApt");
            $phase = mysql_result($result,$i,"phase");
            
            print "<tr>";
        	print "<td width=30 height=12 align=left><font face=Verdana color=#0000FF size=1>$pnum</font></td>";
        	print "<td width=60 height=12 align=left><font face=Verdana color=#0000FF size=1>$callsign</font></td>";
        	print "<td width=60 height=12 align=left><font face=Verdana color=#0000FF size=1>$alt</font></td>";
        	print "<td width=30 height=12 align=left><font face=Verdana color=#0000FF size=1>$gs</font></td>";
        	print "<td width=100 height=12 align=left><font face=Verdana color=#0000FF size=1>$dep</font></td>";
        	print "<td width=100 height=12 align=left><font face=Verdana color=#0000FF size=1>$dest</font></td>";
        	print "<td width=60 height=12 align=left><font face=Verdana color=#0000FF size=1>$distOrig</font></td>";
        	print "<td width=60 height=12 align=left><font face=Verdana color=#0000FF size=1>$distDest</font></td>";
        	print "<td width=60 height=12 align=left><font face=Verdana color=#0000FF size=1>$ETA</font></td>";
        	print "<td bgcolor=#000000 width=150 height=12 align=left><font face=Verdana ".$phase_colors[$phase]." size=1><b>".$phase_msgs[$phase]."</b></font></td>";
        	print "</tr>";
        }
    }
}
?>

and that script is coordinated with this one, i dont have a clue how it works so anyone willing for help, i would be very greatfull if he or she can solve it for me....

php2:

<?php
$hostName = "localhost";

/* CHANGE THESE LINES BELOW TO YOUR DETAILS */
$userName = "xxx";
$password = "xxx";
$dbName = "aircroat_baza";

/* make connection to database */
 $dbh=mysql_connect ("localhost", "xxx", "xxx") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("aircroat_baza");

if (($img1 = ImageCreateFromPng("earth.png")) == "") {    
    echo "Error - Could not open map image!";
    exit;
} 
$imX = ImageSX($img1);
$imY = ImageSY($img1);
$centerX = $imX/2.0;
$centerY = $imY/2.0;
$multX = $centerX / 180.0;
$multY = $centerY / 90.0;

$sql = "SELECT lat, lon, alt, gs, IATA, phase FROM positions WHERE last_update > DATE_SUB( NOW() , INTERVAL 3 MINUTE )";
$result = mysql_query( $sql );

/* mysql error */
if (!$result) {
    mysql_close();
    die("Error - Database Connection.");
}
if (mysql_numrows($result) == 0) {
    print "No Pilots Actively Flying.";
} else {
    // Latitude  -90 to 90
    // Longitude -180 to 180
    $phase_colors = array();
    $phase_colors[1] = ImageColorAllocate($img1, 192, 192, 192); // Boarding - Gray
    $phase_colors[2] = ImageColorAllocate($img1, 255, 0, 255);   // Taxi From Gate - Purple
    $phase_colors[3] = ImageColorAllocate($img1, 0, 0, 255);     // Departing - Blue
    $phase_colors[4] = ImageColorAllocate($img1, 0, 255, 255);   // Climbing - Cyan
    $phase_colors[5] = ImageColorAllocate($img1, 0, 255, 0);     // Cruising - Green
    $phase_colors[6] = ImageColorAllocate($img1, 255, 255, 0);   // Descending - Yellow
    $phase_colors[7] = ImageColorAllocate($img1, 255, 128, 0);   // Landed - Orange
    $phase_colors[8] = ImageColorAllocate($img1, 255, 0, 0);     // Taxi To Gate - Red
    $phase_colors[9] = ImageColorAllocate($img1, 255, 255, 255); // Arrived at Gate - White
        
    $number = mysql_numrows($result);
    for ($i=0; $i<$number; $i++) {
        $lat = mysql_result($result,$i,"lat");
        $lon = mysql_result($result,$i,"lon");
        $alt = mysql_result($result,$i,"alt");
        $gs = mysql_result($result,$i,"gs");
        $callsign = mysql_result($result,$i,"IATA");
        $phase = mysql_result($result,$i,"phase");
        $curX = (180.0+$lon) * $multX;
        $curX -= 4.0;
        if ($curX > $imX) $curX -= $imX;
        if ($curX < 0) $curX += $imX;
        $curY = (90.0 - $lat) * $multY;
        $curY -= 6.2;
        if ($curY > $imY) $curY -= $imY;
        if ($curY < 0) $curY += $imY;
        ImageString($img1, 3, $curX-13, $curY-10, $callsign, $phase_colors[$phase]);
        ImageString($img1, 3, $curX, $curY, "+", $phase_colors[$phase]);
    }
    
    header("Content-type: image/png");
    ImagePng($img1);
    
}

ImageDestroy($img1);

?>
I want to have picture of my plane, marker in php from previous posts with callsign added like in this last post...

I dont have bloody idea what are this codes for, so any help will be usefull...THANKS!


Everah | Please use

Code: Select all

,

Code: Select all

and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read:  [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Last edited by ACV001 on Mon Nov 27, 2006 1:48 pm, edited 2 times in total.
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

I'm sure that would be covered in the API's documentation.
ACV001
Forum Newbie
Posts: 7
Joined: Mon Nov 27, 2006 8:17 am

Post by ACV001 »

No it isnt but thanks anyway for support...i should know no one could help me with it! Sorry for disturbing
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

No offense, but we aren't here to do your work for you. Your a business man, you should know that if you aren't willing to make a serious effort to do this yourself, or you have a deadline quickly approaching, then you should consider hiring someone.
ACV001 wrote:No it isnt but thanks anyway for support...i should know no one could help me with it! Sorry for disturbing
I wouldn't be so assumptuous :wink:

If you can figure out where your pilot information is, we will start from there.
User avatar
aaronhall
DevNet Resident
Posts: 1040
Joined: Tue Aug 13, 2002 5:10 pm
Location: Back in Phoenix, missing the microbrews
Contact:

Post by aaronhall »

ACV001 wrote:No it isnt but thanks anyway for support...i should know no one could help me with it! Sorry for disturbing
I didn't at all mean to be short with you -- here's a link to the part of the documentation that covers what I think you are looking for.
ACV001
Forum Newbie
Posts: 7
Joined: Mon Nov 27, 2006 8:17 am

Post by ACV001 »

No problem fellows, i tried on different diedes but no one cen figure it out...pilot names comes from program that it sends it...FSAcars...this program sends all the informations to files .php on server and then .. i dont know what happened but i got plane position and all the other infos, but i want that marker uses label of pilot callsign currently working on that map...I tried everything, believe me, and push my limits of php knowledge much far, but now i must stop, my brain dont working anymore, i just dont know what and how to do...sorry for directiness but i really want if someon can just look it and put some ussefull code, so i figure it out that. Thank you very much!
ACV001
Forum Newbie
Posts: 7
Joined: Mon Nov 27, 2006 8:17 am

Post by ACV001 »

NO i've just try everything, and nothing usefull for me. If i find something, i really dont know what to do with it. Come on you php freeks, need someone who have time to solve this mistery for me...Please...
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

I don't mean to come across as rude, but few developers in this community are going to jump at chance of writing your code for you. If you want someone to do this for you, post a job listing in Job Hunt so developers can bid the project. Otherwise, we will help you work through this issue. But we will more than likely not do it for you without being compensated for it.
Post Reply