Jump to content

Binaries

Active Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by Binaries

  1. Assuming you use 240v in Australia then just using a plug shape converter will result in the same as I had, a blown transformer, you'll need one that drops the input voltage as well

    Thanks for the heads up, don't suppose you'd be able to link me to an ebay/amazon/IT site item that does this? I've never heard of such a thing before.

    Cheers.

  2. I've worked on a few large scale projects within CakePHP, I wouldn't classify myself as an expert but It definitely cuts development times. Like most MVC frameworks :) I like that it follows PEAR standards.

    I Work with raw PHP, Drupal and CakePHP generally.

  3. There's the off chance you might have a "Boolean FALSE" being returned. There's a few ways to counter this but i recommend using preg_match instead.

    Try this:

    <?php
    
    $ref = $_SERVER['HTTP_HOST'];
    
    if (preg_match('/facebook/', $ref)) { 
       header('Location: facebook.html'); 
       exit; 
    }
    
    require('peets.html');
    
    ?>

    http://php.net/manual/en/function.strpos.php

    Checkout the return value on strpos.

    This happens because it finds the value 'facebook' within the first position (0).

    A good way to counter it would of been doing something like this:

    <?php
    
    $ref = $_SERVER['HTTP_HOST'];
    
    if (strpos($ref, 'facebook') !== FALSE) { 
       header('Location: facebook.html'); 
       exit; 
    }
    
    require('peets.html');
    
    
    ?>
    

  4. Hi All,

    Not sure if this is the correct area to be posting but anyway...

    I recieved my Pineapple today, I want to start playing around with it but I don't have a US to AUS adapter or batteries laying around. I don't know much when i comes to voltage, AC/DC etc. I'm wondering if i can use an AC adapter with:

    Input : 100-240v - 50/60Hz 0.6A

    Output : 12v===1.5 A

    The US supplied adapter is:

    Input : 100-240v - 50/60Hz 0.5A

    Output : 0.5v===2.0 A

    I'm just wondering what kind of input/output i would need to supply enough power and to not cause any issues including overloading.

    Thanks!

    FAQ Reference:

    Q:

    What kind of power supply and antenna does the Wifi Pineapple Version2 use?

    A:

    The router comes with a 2dbi antenna and a 110/240V Power Supply (US plug).

    Q:

    Specs of the power supply?

    A:

    5v Power Supply (US model, 110v)

    Q:

    How many volts is the pineapple?

    A:

    It needs at least 5-6 volts to work, which is why we send you a AA Battery charger in the pack.

×
×
  • Create New...