problem

Problems with the Windows version of XAMPP, questions, comments, and anything related.

problem

Postby salamander123 » 10. November 2014 16:43

<?php
if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
$uri = 'https://';
} else {
$uri = 'http://';
}
$uri .= $_SERVER['HTTP_HOST'];
header('Location: '.$uri.'/xampp/');
exit;
?>
Something is wrong with the XAMPP installation :-(
salamander123
 
Posts: 1
Joined: 09. November 2014 22:19
Operating System: windows 8

Re: problem

Postby Altrea » 10. November 2014 16:54

We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11935
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: problem

Postby Nobbie » 10. November 2014 18:33

salamander123 wrote:Something is wrong with the XAMPP installation :-(


... means in fact: something is wrong with the User, as he does not open PHP files via "http://localhost/...." in browser, but instead via double click in explorer or similar (i.e. open file).
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 109 guests