dkmulford
|
posted on 8/11/2003 at 08:56 AM |
I just got v. 2.0. Thanks Shawn!
DM
|
Shawn
|
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
|
dkmulford
|
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");
?>
|
|
|
|