[DEV] LiCMS [PHP, MySQLi][Bootstrap]

Status
Not open for further replies.

Xerses

Member
Dec 29, 2012
30
4
cr4p. Gotta rewrite loads for MySQLi.
Hmm. I guess there's no point doing it in MySQL anymore as MySQL won't work in future PHP releases.

Again, I think its going to take me a while to learn MySQLi.
Version 2.0.0 will be MySQLi, but I'm just going to continue v1 in MySQL.

Wow. Completely forgot the Register page. -facepalm.

Anyways, Settings page done. Only Register, Comments, & Articles to go.
 

Bl0wf1sh

New Member
Nov 28, 2011
9
4
mysql_query("SELECT username FROM users WHERE username = '". $username ."'")

X

mysql_query("SELECT username FROM users WHERE username = '". mysql_real_escape_string($username) ."'")

 

Xerses

Member
Dec 29, 2012
30
4
mysql_query("SELECT username FROM users WHERE username = '". $username ."'")

X

mysql_query("SELECT username FROM users WHERE username = '". mysql_real_escape_string($username) ."'")


Changed that already.

Atm the variables are:
PHP:
$username = mysql_real_escape_string(strip_tags(stripslashes(htmlspecialchars($_POST['log_user']))));
$password = mysql_real_escape_string(strip_tags(stripslashes(htmlspecialchars($_POST['log_pass']))));
 

Bl0wf1sh

New Member
Nov 28, 2011
9
4
Awesome pics. Great size. Look thick. Solid. Tight. Keep us all posted on your continued progress with any new progress pics or vid clips. Show us what you got man. Wanna see how freakin' huge, solid, thick and tight this can get. Thanks.
 

Xerses

Member
Dec 29, 2012
30
4
Awesome pics. Great size. Look thick. Solid. Tight. Keep us all posted on your continued progress with any new progress pics or vid clips. Show us what you got man. Wanna see how freakin' huge, solid, thick and tight this can get. Thanks.

Good to hear. Development is slow atm as I've got exams on the 14th to the 20th. Gotta study ;(
 

iHarrison

Member
Mar 11, 2012
321
131
Don't use libmysql. Look into stuff like PDO or MySQLi.

is a handy library.


Sent from my iPhone using Tapatalk
 
Status
Not open for further replies.

Users who are viewing this thread

Top