Friday, June 21, 2013

PHP - Echo

  1. As you saw in the previous lesson, the PHP function echo
  2. is a means of outputting text to the web
  3. browser. Throughout your
  4. PHP career you will be using the echo function more than any other.
  5. So
  6. let's give it a solid perusal!
  7. Outputting a String

9 Tips to Choose a Great Domain Name

  1. Tip #1: Always use your business name as the domain name. Your visitors should have only one name to remember your business - be it your business or your domain name.
  2.  
  3. Tip #2: Your domain name should be short and/or easy to remember. The limit is 67 characters. Domain names that are short and easy to remember names make it easier for your visitors to visit you repeatedly.

Pikachu

Copy the following code into your <HEAD></HEAD> tags.

<!-- TWO STEPS TO INSTALL POKEMON:

  
1.  Copy the coding into the HEAD of your HTML document
  2.  Add the last code into the BODY of your HTML document  
-->


<
SCRIPT LANGUAGE="JavaScript">
<!-- 
Original:  Paul (Poke_Paul@hotmail.com) -->
<!-- 
Web Site:  http://www.angelfire.com/ak3/MewHiddenLair -->

<!-- Begin
now
=new Date;x=now.getTime() %32768;
function 
Random(min,max) {x=(1103515245*x+12345) % 32768;
return 
Math.floor(x*(max-min+1)/32768+min);
}

No Right Click

Copy the following code into your <HEAD></HEAD> tags.
JS Code:
<script language="JavaScript">
<!--

var 
message="Sorry, that function is disabled.\nThis Page Copyrighted and\nImages and Text protected!\nALL RIGHTS RESERVED";
// Don't edit below!
function click(e) {
if (
document.all) {
if (
event.button == 2) {alert(message);
return 
false;
}
}
if (
document.layers) {
if (
e.which == 3) {alert(message);
return 
false;
}
}
}`

“Go Back” Button

  1. Browsers already have "back" buttons, so you'd better have a darn good reason for needing to put one on your page!
  2.  
  3. Input button with inline JavaScript
  4. <input type="button" value="Go Back From Whence You Came!" onclick="history.back(-1)" />
  5.  
  6. This is totally obtrusive, but you could fix that by only appending this button through JavaScript.
  7.  
  8. PHP
  9.  
  10. If JavaScript isn't a possibility, you could use the HTTP_REFERER, sanitize it, and echo it out via PHP.

  11. <?php
  12. $url = htmlspecialchars($_SERVER['HTTP_REFERER']);
  13. echo "<a href='$url'>back</a>";
  14. ?>

ShoutBox Code For Wapka.Mobi

  1. Here Is The ShoutBox Code For Wapka.

  2. <b>SAY SOMETHING TO ALL!!!</b>:forumlistf=540460, l=1, s=1, o=n:: <small>%lname% » Says »<b> %text%</b></small>::<br/>:/forumlist:<br/><a href=":forum-540460:">» Recent Shouts «</a><form method="post" action="forum_add_540460.xhtml" >
  3. <input type="hidden" name="d_token" value="4e6b0cc367031fb47048dcc5263b6ab8" />
  4. Name:<br/><input type="text" name="meno" maxlength="20"/>
  5. <br/>Text:<br/><input type="text" name="text" maxlength="20000"/>
  6. <br/><input type="hidden" name="ret_s" value="yy" />
  7. <input type="submit" name="submit" value="Submit" /></form>

Thursday, June 13, 2013

Your last visit on site script

  1. Your last visit on site script js script:
  2.  
  3. demo : http://adf.ly/Q5aax
  4.  
  5. visit this site  http://adf.ly/Q5aax  and copy this code:
  6.  
  7. <script type="text/javascript">
  8. function getCookie(c_name)
  9. {
  10. if(document.cookie.length>0)
  11. {
  12. c_start=document.cookie.indexOf(c_name + "=" );
  13. if (c_start!=-1)
  14. {
  15. c_start=c_start + c_name.length+1;
  16. c_end=document.cookie.indexOf(";",c_start);
  17. if (c_end==-1) c_end=document.cookie.length;
  18. return unescape(document.cookie.substring(c_start,c_end));
  19. }