It simply consists of 6 repititions of 0xFF, followed by 16 repititions of the IEEE address of the machine you are trying to wake up. (On an Ethernet, this refers to the MAC address.) This pattern be included in the payload of any type of packet as long as it will be seen by the destination machine (so a unicast packet to a third machine won't help if you are on a switched Ethernet).
A MagicPacket frame has an ethertype of 0x0842
lib/main.php:944: Notice: PageInfo: Cannot find action page