All pastes #510428 Raw Edit

Someone

public text v1 · immutable
·published 2007-05-25 22:02 UTC
rendered paste body
File: 1.php
global $SQLTABLE_auth, $SQLTABLE_page, $SQLTABLE_compteur;
$SQLTABLE_auth = 'auth_system';
$SQLTABLE_page = 'page_system';
$SQLTABLE_compteur = 'neva_compteur';

File 2.php
include('1.php');
.....
function GetNeva($var) {
	$sql1 = mysql_query("SELECT * FROM `".$SQLTABLE_page."` WHERE id='$var'") or die(mysql_error());
	$sql_array = mysql_fetch_array($sql1);
	$GetPage = $sql_array['contenu'];
	return $GetPage;
}
.......