Add this page to Favorites

Add this page to Favorites <span style=’cursor:hand;text-decoration:underline;’onclick=’window.external.AddFavorite(location.href,document.title);’> Click here to add this page to your favorites</span> Add another page to Favorites <a href=”javascript:window.external.addFavorite(‘http://www.prosoxi.gr’,’Prosoxi’);”> Click here to add the homepage to your favorites!</a>

554 This server requires PTR for unauthenticated

Hi. This is the qmail-send program at ns1.###.##. > I’m afraid I wasn’t able to deliver your message to the following > addresses. > This is a permanent error; I’ve given up. Sorry it didn’t work out. > > <@@@@@@@.@@>: > ##.##.213.98 does not like recipient. > Remote host said: 554 This server requires PTR …

Make a Div Into a Link

It’s easy to make any div into a link by using a bit of javascript. You can use this technique to make any div “clickable”. For example, you might want your “header” div to link to your home page. Here’s how it’s done. <div onclick=”location.href=’http://www.example.com’;” style=”cursor:pointer;”></div> you can make your header div clickable by using …

Create Left Image ico In H1 Div

HTML Code <div id=”prdleftcol”> <h1>Φωτογραφίες</h1> <h1>Gallery</h1> </div> CSS Code #prdleftcol{ width:260px; float:left; border-right:1px solid #E8EBEC; color:#666666; font-size:11px; } #prdleftcol  h1 { background: transparent url(../images/icn_more.gif) 0px 2px no-repeat; padding-left: 17px; padding-bottom: 5px; margin-top: 10px; font-size:14px } Image Download

Switch Case

Example #1 switch structure <?php if ($i == 0) { echo “i equals 0”; } elseif ($i == 1) { echo “i equals 1”; } elseif ($i == 2) { echo “i equals 2”; } switch ( $i) { case 0: echo “i equals 0”; break; case 1: echo “i equals 1”; break; case 2: echo “i equals 2”; break; } ?> Example #2 switch structure allows usage of strings <?php switch ($i) { case “apple”: echo “i is apple”; …