I am trying to set up a script to do some things when a new user logins in for the first time. I want to validate that it is a valid user, but I don't seem to be able to connect to the ossn_users table.
My script resides in the same domain as OSSN.
Why would it not be a valid user, to the point that they just signed up with the legit email they used, After that. goodness knows who they are. Do you mean addition info like passport, birth cert etc?
Apologies, bad hair day - found a novice error .... :(
Its okay now
I have connected with PDO first. OSSNuser value comes from $_GET etc
I get no rows found from:
$query = "SELECT guid FROM ossn_users WHERE guid = $OSSNuser AND username = 'nam'";
$stmt = PDOexecute($ossn_sql_id, $query, '', '', __FILE__, __LINE__);
if($stmt->rowCount() == 0)
kick($ossn_sql_id,"Please login on to and navigate from LocalApp.live site 1");
$row = $stmt->fetch(PDO::FETCH_ASSOC);
Why you can not able to connect to ossn user table? what error do you get?
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)