Jump to content

Search the Community

Showing results for tags 'PHP - redirect'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. Hi I'm new to html and PHP and ended up coming to a point where I have no more knowledge and the Internet solutions don't work... So I’m trying to do a simple PHP-redirect after a mobile detection: <?php // Include the mobile device detect class require_once 'Mobile_Detect.php'; // Init the class $detect = new Mobile_Detect; // checking if the user comes with a mobile device if ($detect->isMobile()) { // Detects any mobile device. // Redirecting header("Location: http://www.ahornung.heliohost.org/mob");} else {header("Location: http://www.ahornung.heliohost.org/pc");} ?> Well on my PC, it’s a XAMPP-Server, I get my redirect but on the online-Server (Helios) I get this back: Warning: Cannot modify header information - headers already sent by So I hope someone could help me. Thanks for your help adho12 p.s. Sorry for my English
×
×
  • Create New...