hello, I have this javascript code and working just fine: <script language="JavaScript"> <!-- function SymError() { return true; } window.onerror = SymError; //--> </script> <script language="JavaScript"> <!-- function SymError() { return true; } window.onerror = SymError; //--> </script> <script type="text/javascript" language="javascript"> <!-- var _ga_pa = {"uacct":"UA-712321-1","udn":"fgdf.com","vars":[],"init":function(){var pt=window.pageTracker=_gat._getTracker(this.uacct);pt._initData(); pt._setDomainName(this.udn);for(var i = 0; i < this.vars.length; ++i){pt._setVar(this.vars);}pt._trackPageview();}}; function $(o) { return (typeof(o) == "string") ? document.getElementById(o) : o; } function AddElementEvent( e, el, f ) { var prev = el[e]; el[e] = (typeof(prev) != "function") ? f : function() { prev(); f(); }; } function AddElementLoadEvent( el, f ) { AddElementEvent("onload", el, f); } function AttachOnLoad( f ) { AddElementLoadEvent(window, f); } function AttachTimer(delay, f) { var a = function() { window.setTimeout( function () { f(); a(); } , delay); }; f(); a(); } var $A = function(a) { if (!a) return []; var r = []; for (var i = 0; i < a.length; i++) { r.push(a); } return r; } Function.prototype.bind = function () { var __method = this, args = $A(arguments), object = args.shift(); return function() { return __method.apply(object, args.concat($A(arguments))); } } Object.prototype.extend = function(o) { if (o) { for (var m in o) { this[m] = o[m]; }} return this; } if((document.location.protocol != "https:") && (document.location.protocol != "https")) { window.TEXT = top.TEXT; window.Vader = top.Vader; window.renderUsers = function (element) { top.EntitiesRenderer.Render(element ? $(element) : document, $("divLoadingMessage")); }; } window.onerror = function( message, url, line ) { var v = "message=" + escape( message ); v += "&line=" + line; v += "&url=" + escape( url ); v += "&referrer=" + escape( document.referrer ); if( window.onerror.caller ) { var caller = window.onerror.caller; var stack = []; while ( caller != null ) { var callerBody = caller.toString(); var calledLines = callerBody.split("\r\n"); if ( calledLines.length > 0 ) { var callerArgs = caller.arguments; var args = []; for ( var i = 0; i < callerArgs.length; i++ ) { switch (typeof(callerArgs)) { case "number": case "string": case "boolean": case "date": args.push(callerArgs.toString()); break; default: args.push("[" + typeof(callerArgs) + "]"); break; } } var signature = calledLines[0].replace("function ","").replace("anonymous","?"); signature = signature.substr(0, signature.indexOf("(")+1) + args.join() + ")"; if (stack.length == 0) { signature = signature + calledLines.slice(1).join("\r\n"); } stack.push(signature); } caller = caller.caller; } v += "&callerArg="; v += "&caller=" + escape( stack.join("<-").replace(/\s/img,"") ); } if( typeof( XMLHttpRequest ) != "object" && typeof( XMLHttpRequest ) != "function" ) { function XMLHttpRequest() { return new ActiveXObject("Microsoft.XMLHTTP"); } } var req = new XMLHttpRequest(); if((document.location.protocol != "https:") && (document.location.protocol != "https")) { req.open( "POST", _wwwUrl + "sys/jserror.ashx", true ); } else { req.open( "POST", "/cc/jserror.ashx", true ); } req.setRequestHeader( "Content-Type", "application/x-www-form-urlencoded" ); req.send( v ); return true; }; --> </script> <script type="text/javascript" language="javascript" src="next.js?build=0809261317"></script> <script type="text/javascript" language="javascript" src="cokmjkfbgghine.js?build=0809261317"></script> <script type="text/javascript" language="javascript" src="frecosdre.js?build=0809261317"></script> <script type="text/javascript" language="javascript" src="asgfhhsjembghgfhlies.js?build=0809261317"></script> <script type="text/javascript" language="javascript" src="page.js?build=0809261317"></script> <script type="text/javascript" language="javascript" src="phkajax.js?build=0809261317"></script> <script type="text/javascript" language="javascript" src="Tojloltifghgfp.js?build=0809261317"></script> <script type="text/javascript" language="javascript" src="gka.js"></script> <script type="text/javascript" language="javascript"> <!-- if (_framesetOption && ( window == window.top )) { window.location.href = _wwwUrl + "default.php?framesetUrl=" + UrlEncode(window.location.href); } if( window != window.top ) { window.top.location = window.location; } AttachOnLoad(function (){ _ga_pa.init(); }); --> </script> and the question is how do i make a page code like: default.php?framesetUrl= if they access example the page: hello.php and the page automatically redirect to same page but have this page code: default.php?framesetUrl=http://fgfd.com/hello.php thanks in advance
typically you would have something like... index.php?page=test because, the text your would be seeing would be coming from the database. if you explain a little more about what you are really trying to accomplish i can help you more. if you just want an odd url, may i ask why?