smart_techie

smart_techie supports this item

Supported

Popular questions for this item

Can I use this Script on HTML webpages ?

Yes you can, as long as your server has PHP & .htaccess support. Please make sure that you hosting provider allows you to execute HTML files as PHP . Incase your hosting provider does not provide the option of executing HTML files as PHP , you have a work around

Rename your .html file to .php & Add this to your .htaccess and change the index.html to index.php

RewriteEngine On
RewriteRule ^index.html /index.php [L]

This way you will maintain the same link & your SEO would not be affected either.

Can I redirect only the Mobiles & not the Tablets ?

Yes, this is perfectly possible

if(MobileSniffer::isRequestForMobile()){
    if(!MobileSniffer::isTablet()){
         MobileSniffer::redirectByPreference();
    }
}

Can I redirect only for iPad and not iPod or iPhone

Yes, this scenario is possible

if(MobileSniffer::isDevice(Device::iPad)){
     // Put your redirection logic here, or leave the redirection to the Sniffer
         MobileSniffer::redirectByPreference();
}
<pre /></pre>

Can I redirect to different pages based on different devices ?

Yes you can

if (MobileSniffer::isDevice(Device::Android))
    header("Location: ../android/");
elseif (MobileSniffer::isDevice(Device::Apple))
    header("Location: ../apple/");
elseif (MobileSniffer::isDevice(Device::BlackBerry))
    header("Location: ../bb/");
elseif (MobileSniffer::isDevice(Device::Symbian))
    header("Location: ../symb/");
elseif (MobileSniffer::isDevice(Device::Windows))
    header("Location: ../win/");

Show more

Contact the author

This author will respond to buyers' questions and provides limited support through their own support system.

Additional information from smart_techie:

Support for my items includes:
  • Responding to questions or problems regarding the item and its features
  • Setting up / Installation of the script if your existing code does not require heavy modifications
  • Fixing bugs and reported issues
  • Providing updates & enhancements if applicable or on request by majority
Item support does not include:
  • Customization and/or modifications of existing code required for the installation services
  • Errors arising out of platform incompatibility or not having the required prerequisites
  • Support for third party software and plug-ins
by
by
by
by
by
by