I'm sure it's not an html error, more of a user error. But I'm getting text at the top of this page:
and I can't figure out why.
Lil help please.
I have this HTTP request, I expected this, but WURFL is returning that. Please provide enough data to reproduce the problem.
2 posts • Page 1 of 1
I can see from your page's source code that your server is not parsing the page as PHP:
This is because your file extension is .html. You will need to rename the file to pbma.php
Code: Select all
<?php require_once("Tera-Wurfl/TeraWurfl.php"); $wurflObj = new TeraWurfl(); $wurflObj->getDeviceCapabilitiesFromAgent(); $isWireless = $wurflObj->getDeviceCapability("is_wireless_device"); if($isWireless) header("location: http://www.m.mobideviceads.com/pbma.html"); ?>
Who is online
Users browsing this forum: No registered users and 1 guest