[Tool/Web/Other] Dynamic signatures. [MySQL / INI]
#1

Dynamic Signatures with INI support!
ABOUT:
I know there are a few similiar very poorly scripted projects so I decided to make my own. It supports MySQL and INI.
How it looks like?
http://puu.sh/5SVcW.jpg

You can also include it in your forum signature
Код:
\[img\]http://your.domain.tld/signature.php?name=somename[/img]
I will also add rewrite rules for apache/lighttpd if you want.

PREREQUISITES:
MySQL server / PDO extension.

SOURCE CODE:
https://github.com/Djole1337/SA-MP-Signatures

INSTALLATION:
Edit config/configuration.php

CHANGELOG:
--
Reply
#2

Nice thanks
Reply
#3

Quote:
Originally Posted by Djole1337
Посмотреть сообщение
Dynamic Signatures with INI support!
ABOUT:
I know there are a few similiar very poorly scripted projects so I decided to make my own. It supports MySQL and INI.
How it looks like?
http://puu.sh/5SVcW.jpg

You can also include it in your forum signature
Код:
[/img]http://your.domain.tld/signature.php=name?somename[/img]
I will also add rewrite rules for apache/lighttpd if you want.

PREREQUISITES:
MySQL server / PDO extension.

SOURCE CODE:
https://github.com/Djole1337/SA-MP-Signatures

INSTALLATION:
Edit config/configuration.php

CHANGELOG:
--
Nice, but I have a question, if you're using Y_INI on a hosted host, for example volt-host, how can you configure its location? also if you have given credits Nordoz(You took some snippets out of it )
Reply
#4

Quote:
Originally Posted by pds2k12
Посмотреть сообщение
Nice, but I have a question, if you're using Y_INI on a hosted host, for example volt-host, how can you configure its location?
You can't, it has to be hosted on the same machine.

Quote:
Originally Posted by pds2k12
Посмотреть сообщение
also if you have given credits Nordoz(You took some snippets out of it )
Also I never took any snippet from Nordoz's code, some parts *might* look similiar as we both use imagettftext() and imagecolorallocate() PHP function.
Reply
#5

About time I saw a release where PDO is used, good job!
Reply
#6

Quote:
Originally Posted by Djole1337
Посмотреть сообщение
You can't, it has to be hosted on the same machine.
Actually im pretty sure it is possible to access files on remote machines as long as you have ftp access and i have yet to see a host where you don't lol.

Код:
fopen("ftp://user:password@example.com/scriptfiles/users/testuser.txt", "r");
http://www.php.net/manual/en/function.fopen.php

Not sure if it would work properly but its worth a try.
Reply
#7

Very good, tnx.
Reply
#8

I was working on something like this before.

You can use file_get_contents to get the data inside the user's ini file over FTP.

PHP код:
$sFile file_get_contents("ftp://username:password@serverip/{$aGlobalConfig["settings"]["ini_loc"]}/{$_GET["name"]}.ini"); 
Though you might have to change some of your code.
Reply
#9

Yes, It's actually possible.
Reply
#10

Good Job !
Tank You !
Reply
#11

How to use for sql systems ?
Reply
#12

Thansk Boy!

Rep+
Reply
#13

Hey!!, link doesnґt work!
Reply
#14

Link not found. Reupload pliz
Reply
#15

This tutorial is outdated. It's from 2 years ago, the creator probably renamed, or deleted their github account. There are newer dynamic signature tutorials out there, so just search.
Reply
#16

Here is the link: https://github.com/Mortalis/SA-MP-Signatures
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)