The script
<?
define('IN_PHPBB', true);
include('extension.inc');
include('common.'.$phpEx);
?>
<?
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_VIEWMEMBERS);
init_userprefs($userdata);
//
// End session management
//
?>
$URL = ".$phpbb_root_path."login.php?redirect=http://www.testdumbies.com/Forum/submit.php";
if($userdata['session_logged_in']){
$to_echo = <<<EOM
hi
EOM;
echo $to_echo;
}
else{
echo '<META HTTP-EQUIV="refresh" content="0;URL=' . $URL . '">'
}
// that will redirect the user to a login page that will then log them in and send them straight back to the upload page.
The error
http://www.testdumbies.com/Forum/submit.php
it automatically sends people from that page to fast. It should stop and let them upload granted i don't have the actual up load script in there yet.
well can anyone help me >< can anyone use whats above to make it so that only users can upload and provide a upload script fo rme >< much appreciated thx.
<?
define('IN_PHPBB', true);
include('extension.inc');
include('common.'.$phpEx);
?>
<?
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_VIEWMEMBERS);
init_userprefs($userdata);
//
// End session management
//
?>
$URL = ".$phpbb_root_path."login.php?redirect=http://www.testdumbies.com/Forum/submit.php";
if($userdata['session_logged_in']){
$to_echo = <<<EOM
hi
EOM;
echo $to_echo;
}
else{
echo '<META HTTP-EQUIV="refresh" content="0;URL=' . $URL . '">'
// that will redirect the user to a login page that will then log them in and send them straight back to the upload page.
The error
http://www.testdumbies.com/Forum/submit.php
it automatically sends people from that page to fast. It should stop and let them upload granted i don't have the actual up load script in there yet.
well can anyone help me >< can anyone use whats above to make it so that only users can upload and provide a upload script fo rme >< much appreciated thx.





