Recent content by somavian

  1. S

    PHP Header Redirection Not Working

    That worked, thanks for the reference. Updated Code: <?PHP function redirect($url){header("location: ".$url); exit;} ob_start("redirect"); session_start();?> //... <?PHP redirect($url); ob_end_flush();?> EDIT: That worked once the page was already loaded, but it stops the rest of the page...
  2. S

    PHP Header Redirection Not Working

    I'm using the PHP Header function to redirect to another page after doing some checks, but the redirect isn't working correctly, it just refreshed to an almost completely blank page of the same name (it includes and <link> and <script> in <head>, <body is empty). My redirect function looks like...
  3. S

    iFrame Difficulties

    You're right again, thanks. I had tried a few and none of them liked it, but I finally got smart enough to try another one of my sites and that worked.
  4. S

    iFrame Difficulties

    var query = document.location.search.substring(1); var params = query.split('&'); var url = params[0].split('='); alert(url); document.write('<iframe id="displayFrame" frameborder="0" width="' + (screen.availWidth - 34) + '" height="' + GetHeight() + '" src=' + url[1] + '></iframe>'); The alert...
  5. S

    iFrame Difficulties

    I have an iFrame setup and it works fine with local pages, but not any external pages. Is there a feature blocking that on x10hosting? I didn't think it was against the terms of service, but am I wrong?
  6. S

    Default Page Issues

    That worked, thank you very much.
  7. S

    Default Page Issues

    I'm having some issues with my index.php page not appearing when I go to my site in Google Chrome, I get "/cgi-sys/defaultwebpage.cgi" instead. What confuses me is that this only occurs in Google Chrome and not in Internet Explorer or Firefox. Anyone have any ideas?
Top