[Release][PHP] Unique Rank

03/21/2017 14:55 B1Q#1


k the script i released a year ago was bugged and didn't work for a lot of people

here's a new script that i wrote 2 hours ago


Change your SQL Information in the config.php file
create the unique points table in your database (table.sql file)
change how much points you get for each unique
enable pdo_sqlsrv in your webserver


the rest is all html

Image

03/21/2017 14:59 xxxvip2019#2
nice one keep it
03/21/2017 14:59 Gidzy#3
Very helpful, thanks.
03/21/2017 18:53 Damitsu#4
Nice release, keep it up!
03/21/2017 21:17 thebigbody#5
why i have this ?
[Only registered and activated users can see links. Click Here To Register...]

and that's my line 20 in config i didn't even touch it :D
[Only registered and activated users can see links. Click Here To Register...]
03/22/2017 05:23 B1Q#6
Quote:
Originally Posted by thebigbody View Post
why i have this ?
[Only registered and activated users can see links. Click Here To Register...]

and that's my line 20 in config i didn't even touch it :D
[Only registered and activated users can see links. Click Here To Register...]
you're not using PHP 5.6 :D
03/22/2017 11:05 thebigbody#7
Quote:
Originally Posted by B1QB0SS :3 View Post
you're not using PHP 5.6 :D
well i tried many ways to upgrade my php in my appserv but didn't work
could u tell me ?
03/22/2017 11:22 Devsome#8
Quote:
Originally Posted by thebigbody View Post
well i tried many ways to upgrade my php in my appserv but didn't work
could u tell me ?
Replace
Code:
$_Columns[0] with $_tableName 
$_Columns[1] with $_charnameColumn
$_Columns[2] with $_modCodeColumn
$_Columns[3] with $_Columns
03/22/2017 12:25 thebigbody#9
Quote:
Originally Posted by Devsome View Post
Replace
Code:
$_Columns[0] with $_tableName 
$_Columns[1] with $_charnameColumn
$_Columns[2] with $_modCodeColumn
$_Columns[3] with $_Columns
i did that and i removed the columns but i have many other errors with PDO Statement i solved some of them but others can't :/

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

ofc that's because the difference between versions but how to change that code to the old one ?
03/22/2017 23:24 B1Q#10
Quote:
Originally Posted by Devsome View Post
Replace
Code:
$_Columns[0] with $_tableName 
$_Columns[1] with $_charnameColumn
$_Columns[2] with $_modCodeColumn
$_Columns[3] with $_Columns
it's not just the array hh

Quote:
Originally Posted by thebigbody View Post
i did that and i removed the columns but i have many other errors with PDO Statement i solved some of them but others can't :/


ofc that's because the difference between versions but how to change that code to the old one ?
not sure tbh. haven't used PHP 5.5 or less for years now

use this version of appserv
[Only registered and activated users can see links. Click Here To Register...]

don't forget to enable pdo_sqlsrv
03/23/2017 19:45 thebigbody#11
Quote:
Originally Posted by B1QB0SS :3 View Post
it's not just the array hh



not sure tbh. haven't used PHP 5.5 or less for years now

use this version of appserv
[Only registered and activated users can see links. Click Here To Register...]

don't forget to enable pdo_sqlsrv
didn't work too same error
03/23/2017 19:48 B1Q#12
Quote:
Originally Posted by thebigbody View Post
didn't work too same error
you fucked up the query with a non existent variable that will print empty space.
which caused the error you specified before.

[Only registered and activated users can see links. Click Here To Register...]
03/23/2017 23:52 thebigbody#13
Quote:
Originally Posted by B1QB0SS :3 View Post
you fucked up the query with a non existent variable that will print empty space.
which caused the error you specified before.

[Only registered and activated users can see links. Click Here To Register...]
i didn't mean that error i meant the first one :D
[Only registered and activated users can see links. Click Here To Register...]
03/24/2017 00:22 B1Q#14
Quote:
Originally Posted by thebigbody View Post
i didn't mean that error i meant the first one :D
[Only registered and activated users can see links. Click Here To Register...]
remove the line 20 because you're not using the array.

as for the error message it means
you're not using PHP 5.4+ because the new array initializer was introduced in PHP 5.4
03/24/2017 11:49 thebigbody#15
Quote:
Originally Posted by B1QB0SS :3 View Post
remove the line 20 because you're not using the array.

as for the error message it means
you're not using PHP 5.4+ because the new array initializer was introduced in PHP 5.4
alright look i have installed the app version u gave me and started from the beginning
first error in the website itself cuz iam using Falcon website is this
[Only registered and activated users can see links. Click Here To Register...]

and this error in your files
[Only registered and activated users can see links. Click Here To Register...]