By conversion of some areas to SSL I have problems with some external sites that are called. I want this future can only be accessed via HTTP. An example is to be found here
http://www.vbulletin-germany.com/for...l=1#post170289 The problem is that it is written for VB3.
Hence my question, how should the script be rewritten as follows to make it work in VB4
Quote:
Einstiegspunkt: parse_templates
Plugin-Name: Werbebanner anzeigen
Ausf?hrungsreihenfolge: 6
Code:
|
Code:
// normale HTTP-Anfragen
if($_SERVER['SERVER_PORT'] == 80) {
// Banner anzeigen
$werbebanner = '<<< CODE 1 >>>';
// HTTPS-Anfragen
} else {
$rnd = rand(0, 1);
// HTTPS Banner
if($rnd == 0) {
$werbebanner = '<<< CODE 2 a >>>';
} else {
$werbebanner = '<<< CODE 2 b >>>';
}
}
Excuse for my bad English :erm:
--------------- Added [DATE]1325928690[/DATE] at [TIME]1325928690[/TIME] ---------------
No idea ?