Spidean Forums


 < Last Thread   Next Thread >Ascending sortDescending sorting  New Topic  Post Reply
Author: Subject: What needs updating?

Junior Member





Posts: 34
Registered: 6/5/2003
Status: Offline

  posted on 8/6/2003 at 04:16 PM
Below is the code in your index.php file. What needs to be updated to make it work?

Anxiously awaiting a working Postjump,
DM


quote:

if(!defined("LOADED_AS_MODULE")) {
die("You can't access this file directly...");
}

$ModName = $GLOBALS['name'];
modules_get_language();

include("header.php");

if(!$url) {
//Change this value to the url you want to redirect to
$url = "modules.php?op=modload&name=PostWrap&file=index&page=http://sp idean.mckenzies.net/";
}

//See if redirect is JavaScript or PHP if passed
if($type == "js") {
//This is the JavaScript way to redirect
echo "<script type=\"text/javascript\">window.location.href=\"$url\"</script>\n" ;
} else {
//This is the PHP way to redirect (prefered and default)
header("Location: $url");
}

include("footer.php");

?>


 
Reply With Quote Visit User's Homepage

Junior Member




Posts: 34
Registered: 6/5/2003
Status: Offline

  posted on 8/11/2003 at 08:56 AM
I just got v. 2.0. Thanks Shawn!

DM

 
Reply With Quote

Administrator




Posts: 4548
Registered: 10/7/2002
Status: Online

  posted on 8/7/2003 at 02:38 PM
Not sure. I'm testing new ver that is pnAPI compliant and user pnuser.php. Hopefully out soon.

Thanks!
Shawn

 
Reply With Quote
New Topic    Post Reply


Powered by the AutoTheme HTML Theme System
Page created in 0.878353 Seconds