
-


































Code:
int Stuff::save(Stuff *sPtr)
{
ofstream outfile("Outfile.txt");
if( !outfile )
{
cerr << "Couldn't open file" << endl;
return 1;
}
outfile << sPtr->string << endl << sPtr->stringTwo << endl << sPtr->num << endl;
outfile.close(); // I don't trust destructors
return 0;
}

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>

PHP Code:
// Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup('viewforum');

