- As you saw in the previous lesson, the PHP function echo
- is a means of outputting text to the web
- browser. Throughout your
- PHP career you will be using the echo function more than any other.
- So
- let's give it a solid perusal!
- Outputting a String
Friday, June 21, 2013
PHP - Echo
9 Tips to Choose a Great Domain Name
- 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.
- 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
- Browsers already have "back" buttons, so you'd better have a darn good reason for needing to put one on your page!
- Input button with inline JavaScript
- <input type="button" value="Go Back From Whence You Came!" onclick="history.back(-1)" />
- This is totally obtrusive, but you could fix that by only appending this button through JavaScript.
- PHP
- If JavaScript isn't a possibility, you could use the HTTP_REFERER, sanitize it, and echo it out via PHP.
- <?php
- $url = htmlspecialchars($_SERVER['HTTP_REFERER']);
- echo "<a href='$url'>back</a>";
- ?>
ShoutBox Code For Wapka.Mobi
- Here Is The ShoutBox Code For Wapka.
- <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" >
- <input type="hidden" name="d_token" value="4e6b0cc367031fb47048dcc5263b6ab8" />
- Name:<br/><input type="text" name="meno" maxlength="20"/>
- <br/>Text:<br/><input type="text" name="text" maxlength="20000"/>
- <br/><input type="hidden" name="ret_s" value="yy" />
- <input type="submit" name="submit" value="Submit" /></form>
Thursday, June 13, 2013
Your last visit on site script
- Your last visit on site script js script:
- demo : http://adf.ly/Q5aax
- visit this site http://adf.ly/Q5aax and copy this code:
- <script type="text/javascript">
- function getCookie(c_name)
- {
- if(document.cookie.length>0)
- {
- c_start=document.cookie.indexOf(c_name + "=" );
- if (c_start!=-1)
- {
- c_start=c_start + c_name.length+1;
- c_end=document.cookie.indexOf(";",c_start);
- if (c_end==-1) c_end=document.cookie.length;
- return unescape(document.cookie.substring(c_start,c_end));
- }
Subscribe to:
Posts (Atom)