• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Programmer PHP / HTML / CSS / MySQL and more

Kris Groove

New Member
Joined
Jul 23, 2010
Messages
1
Reaction score
0
Hi!
I can code yours layout from project (e.g. *.PSD [Photoshop]) to site (e.g. forum, gesior acc) Offer on contact.

Contact: [email protected]

WORK's:
1. This code get price from another site.
PHP:
<?php
function getPrice($url)
{
    if(!extension_loaded('curl'))
        return;
    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $content = curl_exec($ch);
    preg_match('|<span class="price">(.*) </span>|U', $content, $match);
    return $match[1];
}

echo getPrice('http://www.###.com/');
?>

2. That code add slots for players online (e.g. SMS System) in Counter Strike
PHP:
<?php
$ftp_server = 'localhost';
$ftp_user_name = 'user';
$ftp_user_pass = 'pass';
$sciezka = "cstrike/addons/amxmodx/configs/users.ini";
$zapisz = 'users.ini';

$nick = $_POST['nick'];
$sid = $_POST['sid'];

if(!strstr($sid, "STEAM_"))
{
    ErrorSid();
} else {
    if($conn_id = ftp_connect($ftp_server)) {
        echo "Connect to FTP<br /><br />";
    } else {
        ErrorConnect();
    }
    if($login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass)) {
        echo "LOG IN to FTP<br /><br />";
    } else {
        ErrorLogin();
    }
    
    if ($pobieranie = ftp_get($conn_id, $zapisz, $sciezka, FTP_BINARY)) {
    echo "Save as file $zapisz<br /><br />";
	} else {
		ErrorDownload();
	}
    
    if($open_file = fopen($zapisz, "a+")) {
        echo "Open file $zapisz<br /><br />";
    } else {
        ErrorFileOpen();
    }
    if($write_file = file_put_contents($zapisz, "\n\"$sid\" \"\" \"bz\" \"ce\" ; $nick", FILE_APPEND))
    {
        echo "Save in file...<br /><br />";
    } else {
        ErrorWriteFile();
    }
    
    if ($zapisywanie = ftp_put($conn_id, $sciezka, $zapisz, FTP_BINARY)) {
        echo "Resave file<br /><br />";
        SuccessfullyWrite();
    } else {
        ErrorUpload();
    }
    
    fclose($open_file);
    ftp_close($conn_id);
}

function ErrorSid() {
	echo "This is not STEAM_ID !";
}

function ErrorConnect() {
    echo "Error Connect FTP<br /><br />";
}

function ErrorLogin() {
    echo "Error LogIN FTP<br /><br />";
}

function ErrorDownload() {
	echo "Error download file ($sciezka)<br /><br />";
}

function ErrorFileOpen() {
    echo "Error open file ($sciezka)<br /><br />";
}

function ErrorWriteFile() {
    echo "Error download file ($sciezka)<br /><br />";
}

function ErrorUpload() {
	echo "Error save file ($sciezka)<br /><br />";
}

function SuccessfullyWrite() {
    echo "GZ " . $_POST['nick'] . "! Your slot correctly was added! [" . $_POST['sid']  . "]<br /><br />";
}

?>
 
Last edited:
o.0 show some examples of your work. Atm you don't look like a person that can be trusted, sorry.
 
Kris Groove, I get tell you numerous of reasons why you won't get anybody.

1) You joined this month
2) 1 Post
3) You have shown NO skill of what you can do
4) There is so many words I can grab out of my vocabulary to describe what's wrong with this thread.

I made this post out of pure boredom.
 
Back
Top