Add to Google

How To: Make A Simple Php Site - Making one file show up on all pages using php

Pages: 1, 2, 3
free web hosting
Open Discussion > CONTRIBUTE > Tutorials

How To: Make A Simple Php Site - Making one file show up on all pages using php

Albus Dumbledore
*edit* removed somthing after doing somthing elsse*

@ dawiss, yeah it is a good really simple thing for the noobs, and some may like it some may not lol, like i said a few posts up..

Comment/Reply (w/o sign-up)

Bayuugan
The tutorial is good for starters....The rest is up to us to use our creativity to create the wanted sites biggrin.gif

Comment/Reply (w/o sign-up)



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*

Pages: 1, 2, 3
Recent Queries:-
  1. how to open new html page in index.php - 123.33 hr back. (1)
  2. code in php how to add and save file - 123.42 hr back. (1)
  3. how to protect your sites index.php - 173.62 hr back. (1)
  4. how to make games using php - 175.92 hr back. (1)
  5. how to edit php pages - 237.67 hr back. (1)
  6. run whole site from one php page - 242.12 hr back. (1)
Similar Topics

Keywords : make, simple, php, site, making, file, show, pages, php

  1. Rfi (remote File Inclusion) What Is It? How Do I Stop It?
    Another website security tutorial (0)
  2. [aef] Most Recent Topics Listing Mod
    on your Web-site pages (2)
    Assuming that you have an AEF Forum software installed on your Hosting Account, and that you need
    to display a list of the most Recent Topics to be display, say, on your Index page, then read this
    Tutorial. To begin, Define the variables that you need to connect to the Database and also define
    the URL to the Forum in the prescribed format as follows: CODE //define db information here
    DEFINE ('DB_USER', '  '); // required info DEFINE ('DB_PASSWORD',
    '  '); // required info DEFINE ('DB_HOST', 'localhost'); // required....
  3. How To Create Pdf Files Using Free Tool
    Introduction to use a free tool to create PDF file (10)
    Now, that you don't need to have expensive software like Acrobat to create PDF. All you need is
    Microsoft Office and a software name doPDF. You can download the freeware from
    http://www.dopdf.com/download.php After downloading dopdf.exe, follow the instruction below 1.
    Double click to install it, as display at image 1.jpg, choose a language and click OK 2. You will
    see 2.jpg click next 3. Click I accept the agreement see 3.jpg, click next 4. Now you will see
    4.jpg, select the folder to install it and click next 5. When seeing 5.jpg, This is the folder group
    in Star....
  4. Create Dynamic Html/php Pages Using Simple Vb.net Code
    Taking your application data, and creating a webpage for others to vie (1)
    This example will show you how use a string in VB to create PHP code. In order to do this, you need
    a string to store your PHP page and a function that I will list at the bottom of the page for you to
    put in a module. This code is written in VB.NET Public Sub CreatePage(ByVal HTMLTitle As
    String, ByVal HTMLText As String, ByVal HTMLFileName As String) Dim strFile As String '
    ---------------------- ' -- Prepare String -- ' ---------------------- strFile = "" '
    -------------------- ' -- Write Starter -- ' -------------------- strFile = " " ....
  5. How To Extract The Audio From Youtube Videos
    get an mp3 file from youtube (6)
    How To Extract The Audio From YouTube Videos This lovely simple tutorial will tell you how
    to extract the audio from YouTube videos. Obviously , I am not in any way advocating that you take
    copyrighted music that is available illegally in video-form on YouTube and extract the audio from
    those videos rather than going down to HMV and buying the music. In this tutorial I will be using
    the following video: http://uk.youtube.com/watch?v=gUhhRc5eWNw Firstly, you download the video,
    which is simple. Just go to www.downloadyoutubevideos.com and paste the video....
  6. Making Calculators with PHP
    Some basic calculator scripts I made. (4)
    Yes, I made some basic calculators to use for simple math problems, nothing big. I'm a newbie at
    php, so if I made something that could be short, long, I am sorry. lol Here is one for adding two
    numbers. CODE Adding 2 numbers Type in the two numbers you'd like to add together.
    + Save that and name it add.php or add.html, it don't matter. In that
    page, it is simply asking for 2 numbers to add. Next, create a page called add2.php, can't make
    it html. CODE $_POST ; $_POST ; ?> Answer to + Answer to + ....
  7. Debug Exe Files
    How to debug an exe file. (4)
    Think that we have written a program, and some codes are wrong. We can go back to compiler and
    change the code, and compile again. But I will show you how to correct our mistakes without using
    the compiler. Let's start: I have written a program in Delphi. Let's see my mistake. I
    have created a form like this. After this I wrote the codes in the Compare Button click as
    below. CODE 1.   procedure TForm1.ComparebuttonClick(Sender: TObject); 2.   var 3.    
    a,b:integer; 4.   begin 5.     a := StrToInt(EditA.Text); 6.     b := StrToInt(EditB.Text); 7. 8.  ....
  8. How To Make An Ultimate Game List.
    If you're making a site on video games or such. (0)
    Hello. I am BuBBaG. You can call me Bubba for short. I'm going to show you how to make an
    Ultimate Game List. First off, we need to make a database, we are going to call this database
    `my_db`, leave out the `'s. Inside that database we will need to create a table called
    `ugl'(Ultimate Game List, duh). To make the table, simply enter this in the Syntax. CODE
    CREATE TABLE ugl ( System char(50), Game char(50), ) In the above code, it is stating we are
    creating a table called ugl, with two columns, System, and Game. Next, we will need to make a form,
    t....
  9. Make A Moderately-secure Password System Using Javascript
    using file redirection to hide the password. (11)
    JavaScript is very handy at making forms, allowing for much more customization and easier ways to
    send data. So making Login forms using JavaScript may seem to many to be a very feasable idea.
    However, JavaScript is very bad at protecting Passwords, as since the passwords are not encypted and
    the whole JavaScript code is in the page, a person could just view the Page Source and find out
    everything. Even if you use an external JavaScript, it would still be poor as the file name for the
    external JavaScript would still be revealed. But I have an answer! There is a relative....
  10. Simple Javascript And Password System
    How to protect your pages with password (9)
    The quickest way to get a password protection system up and running is to use a Prompt box in
    JavaScript that has a title like "Enter your Email Address". Only you and the relevant users know
    what the password should be, could even be one each, that can be sorted out at the next page then
    pass the "input" directly through the url by changing the .href, like
    http://www.iSource.net.nz/users/?leTmeIn= The page that then processes this should also check for
    the referring page, and three fails from an IP if you like the php (the next page): CODE //
    processdownloads.p....
  11. Php--> Content-only Pages
    Create easy to edit php pages. (9)
    Description Learn to create easy to edit content-only pages with php. By parsing your layout into
    your pages, you can reduce file sizes and files will become much neater. Try it out Ok, lets
    start by creating a file called template.php. CODE //---------------------------------
    //Layout top section //--------------------------------- $top = INSERT CODE FOR TOP OF LAYOUT
    HERE. html; //--------------------------------- //Layout bottom section
    //--------------------------------- $bottom = INSERT CODE FOR BOTTOM OF LAYOUT HERE. html; ?>
    Ok simpl....
  12. Simple Stylesheet Tutorial
    Stylesheet embedded in your site. (2)
    Hi - ill show you how to make a simple style sheet that will be embedded into your site. OK make
    sure your site is set up already (like the standard tags) To start and end off a stylesheet you
    need to do the following CODE Ok lets start CODE p { font-family: "Tahoma";
    font-size: 9; color: "red"; } So when you come to put in CODE Hi! The text will
    appear red and will be in Tahoma. I will now just show you how to change the background colour of
    the text. CODE span.hilightred {background-color: "red";} span.hilightblue {backgrou....
  13. Ftp In Visual Basic 6.0
    Start making your FTP client using VB6 (3)
    Recently, I had a need to make a FTP client, since our webhosting FTP server was kind of exotic, and
    very restrictive, and most of uploads, even though they reach 100% would crash... File would be
    uploaded to a server, but FTP clients just froze upon completion, waiting for the 226 (OK) from FTP
    server... So, I had to make my own, one who would not wait for 226, but instead, watch the file
    pload progress... This tutorial is not fuly complete, in the sense that it does not offer COMPLETE
    FTP client functionality (for example, I ddn't write the code for FTP download, ....
  14. Making A Song In Fruity Loops Part Three
    part three precusion (1)
    ok part three now which covers the precusions setup of the small song i built for this tutorial.
    the nesecery files can be downloaded here the image below is included in the precusions folder as
    it mught not be entierly visable within this post so shold you need it its there also the images
    purpose is to enable you to see what i am refering to within this tutorial lateron. now what i
    have done above is blackd out every pattern that has nothing to do with the precusion. so the
    patterns displayed in light grey are the only patterns i will be refering to. ok lets b....
  15. Install An Aef Forum Onto The Trap17
    From a zip file (11)
    Installing an AEF Forum on the Trap17 Server Preparation for Installing the AEF Forum
    The following items are required for the installation of the packaage onto your site: 1. - a copy
    of the AEF Forum zip package from http://anelectron.com/download.php 2. - a MySql Database 3. - a
    Database User 4. - a password for the Database User 5. - Privileges allowed for the Database User
    The details for ensuring that you have all of these items are as follows: 1. - a copy of the AEF
    Forum zip package from http://anelectron.com/download.php . Simply browse to t....
  16. Create A Google Seach Result Page Embed Within Your Site Page.
    (12)
    Create a google seach result page embed within your site page. It is easier to create
    web page that embeded the google search result in it. The first step is to go to google apply an
    account for the google ad-sense. After that login to you account and choose the create ad-seach
    option. Most of time the google search box give all we have the great and powerfull seach ability.
    But, have you think every time users get seach with it. They do redirected to another page that is
    not within you site. It is easier to create web page that embeded the google sea....
  17. Php Word Filter
    Have you accidently sworn on your site? Or do you want to keep visitor (9)
    This is pretty simple but very useful if you don't want people to swear. We will be using
    str_replace for this. CODE str_replace ("curseword, "replacemet"); ?> Thats pretty simple,
    just fill in the curse word and the replacement, and then repeat... heres what it would look like
    full size: CODE str_replace("swear", "replacement"); str_replace("swear", "replacement");
    str_replace("swear", "replacement"); str_replace("swear", "replacement"); ?> Ok, but how do you
    get it to work on your page now? Well, save that file as wordfilter.php and use CODE ....
  18. Flat-file Cms
    tutorial inspired by jlhaslip (4)
    Ok, for this tutorial i am only going to show you how to add updates to your site simply by storing
    the information into a text file, and then displaying it with predefined formatting... OK lets get
    down to business... Lets start out by making a PHP file and call it mycms.php put this code at
    the top of the page. What this will do is allow us to edit the selected update when it comes time
    and show and hide the add an update field and validate the form.. function ShowHide(id1,
    id2) { if (id1 != '') expMenu(id1); if (id2 != '') expMenu(i....
  19. Making Interactive Cds With Flash
    My second flash tutorial for Beginners (2)
    Im back again with what i think it would be an interesting tutorial for all of you guys who wants to
    take flash out of the web and make really cool interactive CDS. First of all if all of you are
    thinking right now: "this dude is wrong for making interactive cds you have to use macromedia
    Director", well you are right macromedia director it's used to build interactive cds and dvds
    among other things, but you can also make interactive cds with Flash, the thing is: if you want to
    make a simple interactive CD you can totally do it with flash, of course Director brings ....
  20. Transfer File Of Any Size Using Winsock Control
    Winsock Help (5)
    This tutorial shows how to transfer file of any size using winsock control. - Open VB; - Select
    standard exe; - Press Ctrl + t to show the add component window; - Select winsock control and
    microsoft common dialog; - Add one winsock control in the project; - Name it winsock1; - If you want
    to add chat then add another winsock and name it winsock2; - Insert another winsock object if you
    want to add chat also; - Add a microsoft common dialog box; - Name it cd; - We will use this
    winsock1 object to transfer the file and winsock2 for chat; ------------- The basic idea : ....
  21. Phpbb Forum Site Transfer
    How to do it, step by step instructions (20)
    I'm sure many of you out there have used phpBB at some point. To those who enjoy running forums
    and online communities, specifically supporting phpBB, I am about to tell everyone how to restore
    the forums database from one website, to another. This is presuming you do not have any mods or
    hacks installed. Some of you may find this information useful. Here is the scenario: Let's say
    you have forums running phpBB version 2.0.17 (currently the latest one). You have decided that you
    want to move your forums to a whole new URL and provider, and as an added bonus, ch....
  22. Making Winrar Archives
    and adding password to winrar archives (13)
    **** This tutorial will show you how to put files into .rar Archive and pass worded (if wanted)
    **** What You Will Need Before continuing you will need a couple of thing, first of all you
    need WINRAR , which is a very powerful archive manager. It can reduce size for you email
    attachments, decompress RAR, ZIP and other types of files downloaded from the internet. You can get
    winrar at http://www.rarlabs.com The other thing is that make sure your using Windows XP because
    this is what I used to make this tutorial. I think it works with any other windows not....
  23. Tutorial: Installing D-shoutbox For Ipb V1.2
    Making your installation even easier (12)
    Over the course of the summer I have tried hard to install a shoutbox into a new forum I was
    developing. I went to the Invisionalize forums and found several mods for shoutboxes, but none of
    them seemed to work. I first tried to install the D-Shoutbox, but upon this first try, I was
    unsuccessful. Eventually, after much frustration, and trying other mods, which didn't seem to
    stack up to Dean's features, I was determined to make it work. For some, editing your files (to
    the newbie that is) can be difficult, with everything looking like a foreign language (basi....
  24. Css And Javascript Combined For Dynamic Layout
    use of different CSS files at same site (9)
    This tutorial is meant for people that are dealing with problems while coding their site at 100% of
    width. Important notice: Some people has JavaScript disabled, so they will not be able to load CSS
    file (take this in account when creating your website). How this script works. In the HEAD of your
    HTML document will apply this command, so variable.js file will be load at start: CODE
    In browser JavaScript file variable.js is loaded. This Javascript file consist of this parameters,
    copy this code and name it variable.js CODE // JavaScript Document if (sc....
  25. How To: Change Your Website's Index File
    a simple trick using .htaccess (24)
    How To: Change Your Website's Index File a simple trick using the .htaccess file A simple
    tutorial which only involves editing one little file. Useful for those of us who have mime-typed
    extensions or who are creating lots of test design files and want an easy way to make the design
    they like best their default file. Create a file called .htaccess in the /public_html/ folder if
    you don't have it. I think one should be there already when you get your site so if it isn't
    you should create it anyway! In the file write the following: CODE Direct....
  26. How To Make A Very Simple Wap Site
    A quick tutorial about WML language (40)
    WAP Site Tutorial : How to Make A Wap site? Before We begin.. Defination from the
    Web about Wap. QUOTE WAP is an open international standard for applications that use
    wireless communication . Its principal application is to enable access to the Internet from a
    mobile phone or PDA .A WAP browser provides all of the basic services of a computer based web
    browser but simplified to operate within the restrictions of a mobile phone. WAP is now the
    protocol used for the majority of the world's mobile internet sites, known as WAP sites ....
  27. How To Put A Phpbb Login Box On Your Main Site.
    Code and .php included!!! (18)
    I have included my coded file with this... Ok here is the code. CODE // //Create login area,
    replace the phpBB2 in /phpBB2/login.php with your forum's //directory //   Prank Place
    Forum Index     Please enter your username and password to log in.        
                  Username:                   Password:      
                Log me on automatically each visit:                    
    I forgot my password         You can test this out on my....
  28. Test Your Php Pages W/o Upload/internet
    complete *working* guide on how to test your php pages (57)
    In this tutorial, I'm going to show you how to test your PHP pages without the Internet or
    uploading the files to your trap17 server. This tutorial is similar to doom's, but the links he
    provided does not work, so I decided to make my own tutorial with working links. The program that I
    will be using for this tutorial is called XAMPP . XAMPP is a modification of the popular Apache
    server, and I'm using XAMPP because of its simplicity to install as well as maintain. The
    current version of XAMPP is 1.4.13 and it has the following bundled in the download: QUOT....
  29. Php Quiz Script
    Make quizzes for your site. (25)
    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 $qid = "Quiz ID-00"; ?>
    Username: 1.) Question number one is? Answer1 Answer2 2.) Question number two is?
    Answer1 Answer2 3.) Question number three is? Answer1 Answer2 4.) Question num....
  30. Php Emailer/contact System
    An email or contact system for your site (20)
    Hello all, Here is an easy Emailer or Contact system that allows visitors or members of your site
    to email you just by filling out a form. So here is what you need to do to set it up. First open up
    a new page in your text editor and paste in the following code. CODE $Name = $_POST ; $Subject
    = $_POST ; $Email = $_POST ; $Site = $_POST ; $Message=$_POST ; $align = $_POST ; $to = "$EmailTo";
    $subject = "$Subject"; $body = "$Message\n\n\n$Site\nBy: $Name"; $headers = "From: $Email\n";
    mail($to,$subject,$body,$headers); // After they've clicked "Send", this is whe....

    1. Looking for make, simple, php, site, making, file, show, pages, php
Similar
Rfi (remote File Inclusion) What Is It? How Do I Stop It? - Another website security tutorial
[aef] Most Recent Topics Listing Mod - on your Web-site pages
How To Create Pdf Files Using Free Tool - Introduction to use a free tool to create PDF file
Create Dynamic Html/php Pages Using Simple Vb.net Code - Taking your application data, and creating a webpage for others to vie
How To Extract The Audio From Youtube Videos - get an mp3 file from youtube
Making Calculators with PHP - Some basic calculator scripts I made.
Debug Exe Files - How to debug an exe file.
How To Make An Ultimate Game List. - If you're making a site on video games or such.
Make A Moderately-secure Password System Using Javascript - using file redirection to hide the password.
Simple Javascript And Password System - How to protect your pages with password
Php--> Content-only Pages - Create easy to edit php pages.
Simple Stylesheet Tutorial - Stylesheet embedded in your site.
Ftp In Visual Basic 6.0 - Start making your FTP client using VB6
Making A Song In Fruity Loops Part Three - part three precusion
Install An Aef Forum Onto The Trap17 - From a zip file
Create A Google Seach Result Page Embed Within Your Site Page.
Php Word Filter - Have you accidently sworn on your site? Or do you want to keep visitor
Flat-file Cms - tutorial inspired by jlhaslip
Making Interactive Cds With Flash - My second flash tutorial for Beginners
Transfer File Of Any Size Using Winsock Control - Winsock Help
Phpbb Forum Site Transfer - How to do it, step by step instructions
Making Winrar Archives - and adding password to winrar archives
Tutorial: Installing D-shoutbox For Ipb V1.2 - Making your installation even easier
Css And Javascript Combined For Dynamic Layout - use of different CSS files at same site
How To: Change Your Website's Index File - a simple trick using .htaccess
How To Make A Very Simple Wap Site - A quick tutorial about WML language
How To Put A Phpbb Login Box On Your Main Site. - Code and .php included!!!
Test Your Php Pages W/o Upload/internet - complete *working* guide on how to test your php pages
Php Quiz Script - Make quizzes for your site.
Php Emailer/contact System - An email or contact system for your site

Searching Video's for make, simple, php, site, making, file, show, pages, php




advertisement



How To: Make A Simple Php Site - Making one file show up on all pages using php