Author |
Message |
c0ldfyr3
MOD Creator

Joined: 23 Apr 2006 Posts: 469 Location: Dublin, Ireland |
|
Maps Section Finished =) |
|
Got a few minutes this morning to finish the maps section.
For anyone interested in writing PHP, the function below is what I wrote to overcome the strrpos PHP4 functionality.
Now, if anyone who can see the How To forum would like to do the honours of uploading a few maps that would be awesome.
|
|
Thu Apr 27, 2006 2:08 pm |
|
 |
|
 |
c0ldfyr3
MOD Creator

Joined: 23 Apr 2006 Posts: 469 Location: Dublin, Ireland |
|
Code |
|
Can't post the code in the main topic because the news page can't handle code blocks yet =P
 |  | function Q_strrpos( $sHaystack, $sNeedle )
{
$iFound = 0;
$iPos = 0;
$bDone = false;
while ( !$bDone )
{
$iPos = strpos( $sHaystack, $sNeedle, $iPos + 1 );
if ( $iPos != false )
{
$iFound = $iPos;
}
else
{
$bDone = true;
}
}
return $iFound;
} |
|
|
Thu Apr 27, 2006 2:18 pm |
|
 |
Ahmet
I'm here!
Joined: 27 Apr 2006 Posts: 10 Location: Naples, FL |
|
|
|
Woot loks pretty sweet.
My first post here.
I would like to find out how can i upload maps.
If this code is trying to explain something i dont get it 
|
|
Thu Apr 27, 2006 2:55 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|