Location: PHPKode > projects > OmegaBB > omegabb-0.8.1/save_edit.php
<?php
/*OmegaBB 0.8.1*/

header( 'Cache-control: no-cache' );
header( 'Cache-control: no-store' );
header( 'Pragma: no-cache' );
header( 'Expires: 0' ); 

    require_once('omegabb.php');
	
    //$user_id=GetParam($_REQUEST,'user_id','');
    $post_id=GetParam($_REQUEST,'post_id','');
    $content_of_post=GetParam($_REQUEST,'content_of_post',1);
	
    $auth_ret = Check_Auth();
    
    if ($auth_ret <= 0) {
    	echo "-1^?auth_error: $auth_ret";
    	return;
    } 
		
    $user_id = $auth_ret;
    $return_stuff = EditMsg($post_id, $content_of_post, $user_id);    
    
    echo $return_stuff
        		
?> 
Return current item: OmegaBB