Jul 25, 2008

Page Generation Time Script - A script to tell how long it took to generate

Free Web Hosting, No Ads > CONTRIBUTE > Tutorials
Pages: 1, 2

free web hosting

Page Generation Time Script - A script to tell how long it took to generate

Albus Dumbledore
this is a script used to tell you or visitors how fast your page was generated for the person who is viewing it...

Ok it is verry simple!! all you have to do is put this script on every page... that you want it to be on

CODE
<?php

$starttime = explode(' ', microtime());
$starttime = $starttime[1] + $starttime[0];

?>


and put it before everything on the page, for me i put it right underneith the DOCTYPE script which i think is a bloody waste of space to have it on there, but anyways.. i put it right below that and it works fine!!

now where you want the time it took for the page to load to show put this script, generally at the bottom of the page, i put it at the evrry end right before the </html> tag

CODE
<?php

$mtime = explode(' ', microtime());
$totaltime = $mtime[0] + $mtime[1] - $starttime;
printf('Page loaded in %.3f seconds.', $totaltime);

?>


you can center that, put a box around it and all that change the text of what it shows wether it shows Page Generated in.... or if it says somthing else simply edit the stuff in bold here

QUOTE
<?php

$mtime = explode(' ', microtime());
$totaltime = $mtime[0] + $mtime[1] - $starttime;
printf('Page loaded in %.3f seconds.', $totaltime);

?>


ALSO, please note that the page you are putting this code on should be a .php oage because it is a php script that it is being used

 

 

 


Reply

Amezis
Hi, I think you're actually wrong. The script doesn't tell how fast the page loads for each visitor, but how fast the page is generated. "Page loaded in 0.371 seconds" would be very fast, and I would love that the internet was that fast. But I think it's the time the page is generated in. Correct me if i'm wrong smile.gif

Anyway, thanks for the code, it might be useful, and I may use it smile.gif

Reply

apollo
It isn`t working. I did all how you said, but it isn`t wokring...

Reply

BuffaloHELP
Whever you enter PHP code, that file should be saved as file_name.php otherwise it won't execute the program code.

Reply

Editor
Nice code, I always wanted to find a code that could see how long it will take to load my site.

Reply

Albus Dumbledore
buffalo >_< the

//////////
thanx

was ment to be a thanks for whoever edits it lol oo well... guess i could have specified that... and thanx for clarifying that it must be a .php file, i guess i forgot that :-D

Reply

smartbei
I think this is the time it takes for the page to generate, not load. After all, the php is purely server side, and once the page is generated by the server it cannot report back (unless you tell it to with a seperate frame and using javascript perhaps). After the page is generated, it is sent to the user where the user needs to download it, including all images, and the server cannot know the user's connection speed, etc. Still, an interesting script that would be cool to develop on with javascript (onload) so that it truly shows the loading time.

Reply

Albus Dumbledore
yeah, that was said a few times before >_< but now that ive been told by a few people i edited the post to say that it does not show how long it took to load, but acculy how long it took to generate..thanx every1

Reply

@ReeveZ
can u tell me how the script work and for what ?
because i thing if we put a lot script in our page! its will be decrease the loading page speed............... tongue.gif

Reply

Albus Dumbledore
it basicly tells you how long it took the server to generate the page that the user is viewing...and how it works is i dunno, i believe it pings the server and however long it takes to respond it posts it there...and i do not think it will delay your page any longer than it allready does..it jsut depends on what the script has to do

Reply

Latest Entries

Dawiss
Nice thing.. have seen such on lots of websites.. but I really don't get why need such thing??!!.. just don't get it don't make anything better or worse just stands there and shows some time.. ok maybe Im too stupid for it but it looks ok.. no mstter what it does biggrin.gif..

Great tutorial keep them coming! biggrin.gif

Reply

Jesse
Ok thank you smile.gif

Reply

Albus Dumbledore
well to be honest, i do not know why....maybe it is possible that the page took 0.000 seconds to load... i took your page and put it on my server and it showed the same way, i added a doctype, in which your page didn't have, and it still didn't work...i took everything off of your page and put my own content and it still shows the same thing..maybe it is because you dont have that many images on your site, i will do more looking into it and post if i come up with anything

Reply

Jesse
You can view a testpage of it at: www.zaccynetwork.com/test.php

Notice from BuffaloHELP:
Please provide the source code.


Code According to Internet Explorer:


QUOTE
<html>
<head>


<!-- YOUR WEBSITE TITLE -->
<title>Home</title>


<link rel="stylesheet" type="text/css" href="styles.css">
</head>

<body topmargin="0" leftmargin="0" bgcolor="#DFFFFC"><center>
<table width="750" border="0" cellpadding="0" cellspacing="0">
<tr><td background="barleft.jpg" width="24" height="24"></td>
<td background="bar.jpg" width="703" height="24">

<p align="center"><font color="#FFFFFF" size="2" face="Verdana">
<span style="text-decoration: none; font-weight: 700">Zaccy Network &amp; OzChat</span></font></td>
<td background="barright.jpg" width="23" height="24"></td></tr>
<tr><td background="barleft.jpg" width="24"></td>
<td width="703"><table width="703" border="0" cellpadding="0" cellspacing="0">
<tr><td valign="top" width="149">

<font face="Verdana">


<!-- HERE GOES THE NAVIGATION ! -->
</font>
<table border="0" cellpadding="0" cellspacing="0" width="93">
<tr><td background="menu.jpg" width="85" height="24" class="title">
<font face="Verdana">Navigation</font></td></tr>
<tr><td background="menuback.jpg" width="93">
<table align="left" border="0" cellpadding="4" cellspacing="0" width="92"><tr><td align="left">
<table border="0" bordercolor="#000000" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="138">
<tr><td align="center"><font color="#0000FF" face="Verdana" size="2">
<span style="font-weight: 400"><a href="http://www.zaccynetwork.com/">
<span style="text-decoration: none">Home</span></a></span></font></td></tr>
<tr><td align="center"><font color="#0000FF" face="Verdana" size="2">
<span style="font-weight: 400">
<a href="http://www.zaccynetwork.com/chat.html">
<span style="text-decoration: none">Chat</span></a></span></font></td></tr>
<tr><td align="center"><font color="#0000FF" face="Verdana" size="2">
<span style="font-weight: 400"><a href="http://www.zaccynetwork.com/forum">
<span style="text-decoration: none">Forum</span></a></span></font></td></tr>
<tr><td align="center"><font color="#0000FF" face="Verdana" size="2">
<span style="font-weight: 400">Contact Us</span></font></td></tr>
</table>
</td></tr></table>
</td></tr>
<tr><td bgcolor="#000000" width="93" height="1"></td></tr>
</table>
<font face="Verdana">
<br>
&nbsp;</font><table border="0" cellpadding="0" cellspacing="0" width="146">
<tr>
<td background="menu.jpg" width="138" height="24" class="title">
<font face="Verdana">Member Panel</font></td>
</tr>
<tr><td background="menuback.jpg" width="146">
<table align="left" border="0" cellpadding="4" cellspacing="0" width="145"><tr><td align="left">
<table border="0" bordercolor="#000000" cellpadding="0" cellspacing="0" style="border-collapse: collapse" width="130">
<tr><td class="text">
<form>
<p align="center"><font face="Verdana">Username:<br />
<input type="text" name="username" size="15"><br />
Password:<br />
<input type="text" name="username" size="15"><br />
<input type="submit" value="Login" name="submit">
<br>
<br>
<b><font color="#FF0000">Area Under Construction</font></b></font></p>
</form>
</td></tr>
</table>
</td></tr></table>
</td></tr>
<tr><td bgcolor="#DFFFFC" width="146" height="25"></td></tr>
</table>
<font face="Verdana">
<table bgcolor="#ffffff" width="148" id="table13">
<tr><td nowrap="nowrap" valign="top" align="center" height="32">
<a href="http://www.google.com/">
<img src="http://www.zaccynetwork.com/Logo_25wht.gif" border="0" alt="Google" align="middle" width="72" height="32"></img></a>
<br/>
<input type="text" name="q" size="14" maxlength="255" value=""></input>
</td></tr>
<tr><td valign="top" align="center">
<input type="submit" name="sa" value="Search Now"></input>
</input>
</input>
</input>
</input>
</input>
</input>
</td></tr></table>
<!-- HERE ENDS THE LOGIN PANEL ! -->


</font>


</td><td width="13" height="100%" bgcolor="#DFFFFC">&nbsp;</td>
<td width="382" valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="94%">


<!-- HERE GOES THE SHORT DESCRIPTION -->
<tr><td background="menu2.jpg" height="24" width="94%" class="title">
<font face="Verdana">Welcome</font></td></tr><tr><td width="96%">
<table border="1" cellpadding="4" cellspacing="0" bordercolor="#FF6600" bgcolor="#FFDBA6" style="border-collapse: collapse" width="100%"><tr>
<td width="87%" class="text">

<p align="center"><font face="Verdana">Hello there! I would like to take this
short moment to welcome you to the Zaccy Network and OzChat.<br>
<br>
</font><font face="Verdana" size="2">Due to circumstances beyond our control it
appears that we have lost the former Website. The reason for this is unknown.
The matter is currently being investigated and there was no backup of this site.
So a new site is currently being created and will be available as soon as
possible. We are sorry for any problems that this has caused our visitors and
team.<br>
&nbsp;</font></td></tr></table></td></tr>
<tr><td height="16" bgcolor="#DFFFFC">&nbsp;</td></tr>
<!-- THE SHORT DESCRIPTION BOX ENDS HERE -->


<!-- HERE GOES THE SOME FEATURES BOX -->
<tr><td background="menu2.jpg" height="24" width="94%" class="title">
<font face="Verdana"><font color="#0000FF">NEW</font> Update</font></td></tr><tr><td width="96%"><table border="1" cellpadding="4" cellspacing="0" bordercolor="#FF6600" bgcolor="#FFDBA6" style="border-collapse: collapse" width="100%"><tr><td width="100%" class="text">

<p align="center"><font face="Verdana" size="2">Our Chat Server and Forums are
back in full swing after a few minor problems. Everything is back running
smoothly. If you have any problems you can contact us on the link to the left of
this page.<br>
</font><font style="font-size: 8pt" face="Verdana"><br>
Posted By: Admin on 17 March
2006 at 3.19PM AEST</font></td></tr></table></td></tr>
<tr>
<td height="16" bgcolor="#DFFFFC"></td>
</tr>
<tr>
<td background="menu2.jpg" height="24" width="94%" class="title">
<font face="Verdana">Web Host Info. </font>
</td>
</tr>
<tr>
<td width="96%">
<table border="1" cellpadding="4" cellspacing="0" bordercolor="#FF6600" bgcolor="#FFDBA6" style="border-collapse: collapse" width="100%" id="table14"><tr><td width="100%" class="text">

<p align="center"><font face="Verdana" size="2">We are proud to announce that
our Site is now Hosted by AussieHQ. This is an Australian Web Hosting Company
dedicated to it clients.<br>
<br>
<img border="0" src="ahsmall02.jpg" width="75" height="27"><br>
<br>
</font><font style="font-size: 8pt" face="Verdana">Posted By: Admin on 12 March
2006 at 4.25PM AEST</font></td></tr></table></td>
</tr>
<tr><td height="7" bgcolor="#DFFFFC"></td></tr>
<!-- HERE ENDS THE SOME FEATURES BOX -->

</table>
</td>
<td width="160" height="100%" valign="top" bgcolor="#DFFFFC">


<table border="0" cellpadding="0" cellspacing="0" width="160" id="table7">
<!-- SPONSORED LINKS STARTS -->
<tr><td background="menu.jpg" width="160" height="24" align="center" class="title">
<p align="left">
<font face="Verdana">Sponsors </font>
</td></tr><tr><td background="menuback2.jpg" width="160">
<table border="0" cellpadding="4" cellspacing="0" width="160" id="table8"><tr><td width="160" align="center">
<font face="Verdana" size="2" color="#FF0000">Information currently not
available.</font></td></tr></table></td></tr><tr><td bgcolor="#000000" width="160" height="1"></td></tr>
<tr><td height="24"></td></tr>
<!-- SPONSORED LINKS ENDS HERE -->


<!-- ADDITIONAL LINKS STARTS -->
<tr><td background="menu2right.jpg" width="160" height="24" align="center" class="title">
<p align="left">
<font face="Verdana">Additional Links
</font>
</td></tr><tr><td background="menuback2.jpg" width="160">
<table border="0" cellpadding="4" cellspacing="0" width="160" id="table9"><tr><td width="160" align="center">
<font face="Verdana" size="2" color="#800080"><a href="http://www.google.com">
<span style="text-decoration: none">Google</span></a><br>
<a href="http://www.yahoo.com"><span style="text-decoration: none">Yahoo</span></a></font></td></tr></table></td></tr><tr><td bgcolor="#000000" width="160" height="1"></td></tr>
<tr>
<td height="24"></td>
</tr>
<tr>
<td background="menu2right.jpg" width="160" height="24" align="center" class="title">
<p align="left">
<font face="Verdana">Site Stats</font></td>
</tr>
<tr>
<td background="menuback2.jpg" width="160">
<table border="0" cellpadding="4" cellspacing="0" width="160" id="table10"><tr><td width="160" align="center">
<b><font face="Verdana" size="2">Online Since</font></b><font color="#ff0000" face="Verdana" size="2"><br>
</font><font color="#800080" face="Verdana" size="2">12 March 2006<br>
4.00PM AEST</font></td></tr></table></td>
</tr>
<tr>
<td bgcolor="#000000" width="160" height="1"></td>
</tr>
<tr>
<td height="24"></td>
</tr>
<tr>
<td background="menu2right.jpg" width="160" height="24" align="left" class="title">
<font face="Verdana">Chat Server Status </font>
</td>
</tr>
<tr>
<td background="menuback2.jpg" width="160">
<table border="0" cellpadding="4" cellspacing="0" width="160" id="table12"><tr><td width="160" align="center">
<font face="Verdana" size="2"><b>Date:</b> <script type="text/javascript">
var d = new Date()
document.write(d.getDate())
document.write(".")
document.write(d.getMonth() + 1)
document.write(".")
document.write(d.getFullYear())
</script><br>
<font color="#FF0000"><b>ONLINE</b></font></font></td></tr></table></td>
</tr>
<tr>
<td bgcolor="#000000" width="160" height="1"></td>
</tr>
<tr>
<td height="24"></td>
</tr>
<tr>
<td background="menu2right.jpg" width="160" height="24" align="center" class="title">
<p align="left">
<font face="Verdana">Hit Counter</font></td>
</tr>
<tr>
<td background="menuback2.jpg" width="160">
<table border="0" cellpadding="4" cellspacing="0" width="160" id="table11"><tr><td width="160" align="center">
<font size="2" face="Verdana"><b>
<i>
<img src="http://www.supercounters.com/counter.php?id=118592"
border="0" alt="free web counter"></i></b></font></td></tr></table></td>
</tr>
<tr>
<td bgcolor="#000000" width="160" height="1"></td>
</tr>
<!-- ADDITIONAL LINKS ENDS HERE -->
</table>


<table border="0" cellpadding="0" cellspacing="0" width="160" id="table17">
<tr>
<td height="24"></td>
</tr>
<tr>
<td background="menu2right.jpg" width="160" height="24" align="center" class="title">
<p align="left">
<font face="Verdana">Other Info.</font></td>
</tr>
<tr>
<td background="menuback2.jpg" width="160">
<table border="0" cellpadding="4" cellspacing="0" width="160" id="table18"><tr><td width="160" align="center">
<font face="Verdana" size="2"><b>Best View</b><br>
800 x 600 Screen Res.<br>
with Internet Explorer</font></td></tr></table></td>
</tr>
<tr>
<td bgcolor="#000000" width="160" height="1"></td>
</tr>
<!-- ADDITIONAL LINKS ENDS HERE -->
</table>


</td></tr></table></td><td background="barright.jpg" width="23"></td></tr><tr>
<td width="24" height="24" background="barleft.jpg"></td>
<td width="703" height="24" bgcolor="#DFFFFC">&nbsp;</td>
<td width="23" height="24" background="barright.jpg"></td></tr><tr>
<td width="24" height="24" background="footer.jpg"></td>
<td width="703" height="24" background="footer.jpg" class="copyright" align="center">


<!-- THE COPYRIGHT -->
©Copyright 2005 - 2006 - Zaccy Network &amp; OzChat</td>
<td width="23" height="24" background="footer.jpg"></td></tr>
</table></center>
Page loaded in 0.000 seconds.</body>
</html>
<p><br>
</p>
<p><br>
</p>


Reply

Albus Dumbledore
please provide me with a link and i could look at the source and see if there is somthing wrong with it there..are you sure your page is saved as .php and not .html?

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2
Recent Queries:-
  1. php generation time - 1.01 hr back. (1)
  2. php page generation - 1.66 hr back. (1)
  3. website generation time php script - 9.72 hr back. (1)
  4. counting page generation in php - 18.24 hr back. (1)
  5. script generate time php - 22.44 hr back. (1)
  6. php time generation - 30.00 hr back. (1)
  7. php page gener time - 56.78 hr back. (1)
  8. php script page load time - 59.55 hr back. (1)
  9. simple php page generation time - 61.98 hr back. (1)
  10. script generation pages html - 89.01 hr back. (1)
  11. page generation script - 96.14 hr back. (1)
  12. php this page took - 109.69 hr back. (1)
  13. php script generation time - 64.63 hr back. (3)
  14. php generation times - 142.60 hr back. (1)
Similar Topics

Keywords : page, generation, time, script, script, long, generate

  1. [phpbb] Member Last-visit Report Script
    for phpbb2 databases (0)
  2. Background Image Swap Script
    Change a Background Image based on clock time (15)
    Background Image Changer Script To swap the background image from your CSS file according to the
    Server Clock Time. 1.) In your CSS file, add the following rule: CODE body {
        background: url(time.png); } 2.) Create a "folder" named time.png. 3.) Into the
    folder, place three images named morning.png, day.png, night.png. 4.) Also, in the same folder,
    create an index.php file and copy/paste the following script. CODE <?php $hour =
    date('H'); if ($hour < 12 ) {     $image =
    "morning.png"; } ....
  3. Image Rotator Script (another One)
    easy to implement (0)
    In case you haven't noticed, I have a different Avatar display on the Forum each time the page
    is refreshed. /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif"
    /> For those of you who might want the script to do that, here is the one I am using: HTML
    $filesp = glob('*.png'); if(empty($filesp)){ echo
    'no images found...die br >'; die(); } else{ foreach ($filesp as
    $file) { $img_array[] = trim($file); }....
  4. For ... Next Loops And Script Planning
    My Fifth PHP Tutorial (2)
    Be sure to read the other ones. They are located in the TUTORIALS section, and at the time of this
    writing all on the first page. Intro To PHP Tutorial 5 - For ... Next Loops and Planning Scripts
    Released 4/15/07 By Chris Feilbach aka GhostRider Contact Info: E-mail: assembler7@gmail.com AIM:
    emptybinder78 Yahoo: drunkonmarshmellows Website: http://www.ghostrider.trap17.com Before I start
    talking about what wonderful things loops are and all the cool stuff they can do, I want to address
    something first. I was asked about something to write in PHP. There isn't....
  5. How To: Ip Configuration Script (win Xp)
    If you travel a lot with your laptop, and need to switch between diff (0)
    How To: IP Configuration Script (win XP) If you travel a lot with your laptop, and need to switch
    between different IP's in different locations, this script is for you. There are many programs
    that handle this task very well, but they cost sometimes pretty big money. This tutorial will show
    you how to make your own IP Configuration Script for free. This script is for a static ip address
    configuration and is based on a little program called "NETSH.EXE" which is supplied with Windows.
    How it works. QUOTE Microsoft Windows XP - Using Netsh Netsh.exe is a....
  6. Php Script To Make A Link List
    From the list of the Directory Files (6)
    Well, it has been a while since I have added anything to the Tutorial Sectiion, so here is another
    script for the members to enjoy. This one creates a list of links from the contents of the directory
    which it is run from. For instance, if you run it from the public_html folder, then all the files
    (not the Directores) are listed and linked so when you click on the link, that file is parsed and
    output to the browser. Here is the code: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    An XHTML 1.0 Strict Page to List the files in this directory ....
  7. Php Menu Bulding Script And Site Template
    available for download (0)
    A Php Menu-builder Tutorial This Sidebar Menu-builder code and the php scripts are adapted from
    a Tutorial on the Astahost.com Forum titled : CMS101 - Content Management System Design .
    Since the original tutorial's author (vujsa) did such a marvellous job of describing the system
    in the original Topic posting, I will not attempt to explain it here, rather, I invite you to have a
    look at his Topic and learn from it. The Basic tutorial provided coding for developing a table-based
    web-site template which used php includes and embedded data to create a &....
  8. Script To Build A List Of Links
    from filenames and h3 tags (2)
    Another Unordered List Script If you remember this Script , that tutorial was about creating
    an un-ordered list of links from a list of files contained in a Folder which was specifically named
    in the script. This current Tutorial goes several steps beyond that first Tutorial by being able to
    create a list from several folder names and, more importantly, the script reads the list of links
    from a 'flat file' rather than depending on the name of the folder to be hard coded in the
    script. It is only one small step to have the folder names found in a mysql ....
  9. Verifying Email Addresses
    Using a simple PHP script (8)
    This simple script will allow you to run some basic checks to make sure that any email address
    entered is actually an email address. There is no guarantee offered that this will stop every single
    fake email address, but it'll provide some protection. Now, the code! First we need to get
    the email address to verify. Here, I get it using POST from an HTML form. CODE <?php //Load
    email address from web form $email = $_POST['email']; Now, we move on
    to our first check. Does the text that has been entered look like it could b....
  10. Installing Ndstats!
    The greatest Stats script of all time. (4)
    An example of this script cna be found at http://www.own.tc/ (click enter) This is by far the
    BEST stats script and most sites use it! This is a PHP script and requires you to include files
    (Please... don't do iframes!) DOWNLOAD LINK: GO TO www.ZYMIC.com and go to Php scripts>stats
    scripts> and the current version of NDSTATS. Downlaod it and unzip it! Go to your WWW directory
    and create a folder called "ndstats". Then what you need to do is upload all of your files into
    that folder. You all should know how to do that. Then go to the top of the pag....
  11. Random Quote Script
    (6)
    Here's a little random quote script that you can use to randomly choose from an array of quotes
    you provide. It's very easy to use on any page as it's an external script, you just call it
    from your page. I wouldn't use it for any more than about 50 quotes though, it would probably
    slow your site down too much. Here's the code: var ar = new Array(44) ar = "Do not meddle in
    the affairs of wizards, for they are subtle and quick to anger." ar = "Faithless is he that says
    farewell when the road darkens." ar = "I cordially dislike allegory in all its ....
  12. How To Use Trap17 Cgi Formmail
    a built-in script in every hosting (15)
    This tutorial is using TRAP17 hosting's built-in script called cgiemail. There are several
    hundreds of free scripts you can download and install it yourself but why not use what is already
    provided for you, if all you need is a simple submit and data collection? Let's begin. There
    are three things you need to remember: 1) you can rename the file however you'd like 2) two
    files (which I'll name them submitForm.html and template.txt ) must be in the same directory
    3) first two lines in template.txt must EXIST. Write your submitForm.html (where you ....
  13. [php] Simple Newsletter Script
    (8)
    This tutorial will give you the code needed and tell you how to implement it. First off you need to
    create a file called mailing.php this will be the file that processes the adding of emails to the
    list. CODE <?php $email = $_POST['email']; $file =
    fopen("mailing.txt", "a"); fwrite($file, "\n" .
    $email); fclose($file); header("Location:
    mailing_thankyou.php"); ?> Next you need to create a file called
    mailing_thankyou.php , simple a p....
  14. Secure The Email Addresses On Your Website!
    Wonderful script and useful! And working (10)
    Just follow the instructions below: /* Secure Email Function by Juan Karlo Aquino de
    Guzman Website: http://www.karlo.ph.tc and http://www.abs-cbn.ph.tc E-mail:
    http://www.karlo.ph.tc/send.php Usage: showEmail("support@microsoft.com",0); OR
    showEmail("support@microsoft.com",1); Types: 0 = ordinary random 1 = more secure random To
    include to a script: include_once("email_secure.php"); */ And here is the code :
    CODE <?php /*     Secure Email Function by Juan Karlo Aquino de Guzman     Website:
    http://www.karlo.....
  15. E-mail Mailer Script 0.1
    useful for website visitors (4)
    Are you pissed off when you are putting e-mail in your website, you always get spammers? Well,
    here's the solution. Just change the default variables to anything that you like, etc... follow
    the instructions on the script.. Here it is... hope you like it /smile.gif' border='0'
    style='vertical-align:middle' alt='smile.gif' /> CODE <?php //E-mail Mailer Script 0.1
    by Juan Karlo de Guzman //FOR TRAP17 ONLY... DEMO VERSION... DO NOT DISTRIBUTE
    header("Content-type: text/html; CHARSET=UTF-8");
    $int_rand=mt_rand(1,20); if&#....
  16. Simple Php Counter Script
    How to make a simple php counter script (2)
    In this tutorial i will explain how to make a simple script writen in PHP...that uses .txt file.
    CODE <?php // script writen by tema $a = fopen ("count.txt",
    "r"); // 1. $bytes = 4;         $x = fread($a, $bytes); //
    2. $y=$x + 1;                   // 3. $fp = fopen ("counter/count.txt",
    "w+");  // 4. fwrite ($fp, "$y");     // 5. fclose
    ($fp);                // 6. echo "Posjeta:$y";                // 7.
    ?>....
  17. Email Script/form With Php
    how to make a simple email script using php (35)
    Today, I'm going to show you how to make an email script using PHP and HTML. Most people usually
    put Email me if they want an email link on their site, but there are several cons to this.
    First, it's very inconvenient for those people who use web-based mail such as Yahoo!,
    Hotmail, or Gmail because that darn Micro$oft Outlook program comes up if one accidently click
    the link. Second, you are very suseptible to spam bots because they scan your HTML source code for
    anything with the same pattern as an email address and add it to their database. If yo....
  18. Php Guessing Script
    Script game.. (4)
    Here's the guessing script, they guess a number and checks if they are right or wrong.. CODE
    <form method="guess.php?action=yes"> <input type="text"
    name="t_guess"> <br> <input type="submit" value="Guess">
    <?php if($action==yes){ //have the number that they are suppose to guess...
    $guess=14; //end if($t_guess==$guess){ print "Good job! Guess was
    right!"; }else{ print "Guess was wrong! Try again!"; } } ?> Tha....
  19. Php Quiz Script
    Make quizzes for your site. (20)
    Hello all, A little bit back I decided to make a quiz scriptjust out of no where lol. However it
    doesnt do anything special but I am going to make an email mod for it so that it will email results
    to your email address. So here is the basis of it. INSTRUCTIONS: Open a new page in your text
    editor and paste in the following code. CODE <?php $qid = "Quiz ID-00"; ?>
    <html> <head> <title><? echo "Gamers Pub $qid";
    ?></title> </head> <body> <p><h3><? echo "....
  20. Mail Form (php)
    This is a great email form script. (3)
    save this page as formmail.php Code: QUOTE $MailTo = "your email"; $MailSubject
    = "contact"; $MailHeader = "From: $s1"; $MailSent = "Put here the information you
    want to be shown after the message is sent."; if ($s1 == ""){ echo "You did not put your
    name ."; } else { $MailBody = "Name : $s1\n"; } if ($s2 == ""){ echo "You did
    not put your E-Mail ."; } else { $MailBody .= "Email : $s2\n"; } if ($s3 ==
    ""){ } else { $MailBody .= "Message : $s3\n"; } { mail($MailTo....
  21. Multiple Admin Login (php)
    This is a script that doesnt requre SQL (3)
    first off make a login.html page Code: QUOTE Admin Login Username: Password:
    then make a check.php page Code: QUOTE $admin1 = "admin1"; //
    first admin username $adm_pass1 = "password1"; // first admin password $admin2 =
    "admin2"; // second admin username $adm_pass2 = "password2"; // second admin password
    if(($username == $admin1 && $password == $adm_pass1) || ($username ==
    $admin2 && $password == $adm_pass2)){ echo "Congratulations " . $_POST . " ....

    1. Looking for page, generation, time, script, script, long, generate

Searching Video's for page, generation, time, script, script, long, generate
advertisement



Page Generation Time Script - A script to tell how long it took to generate



 

 

 

 

ADD REPLY / Got an Opinion! Remove these ADs! RAPID SEARCH! Free Web Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE