Welcome Guest ( Log In | Register)



3 Pages V  < 1 2 3 >  
Reply to this topicStart new topic
> How To: Make A Simple Php Site, Making one file show up on all pages using php
Albus Dumbledore
post Feb 18 2006, 03:00 AM
Post #11


Hidden Secrets can't be told threw just words. One must feel what the other feels to truely understand...
**************

Group: Members
Posts: 1,523
Joined: 8-January 06
From: Sacramento California
Member No.: 16,756



QUOTE(Tyssen @ Feb 16 2006, 10:43 PM) *

You can't do PHP includes with HTML.
By the way Albus, your file doesn't have to have an .html extension, it can be whatever you want - .php, .asp, .txt, .inc. The page that calls the include, rather than the include separately is what gets parsed, so it doesn't matter what format the include is in.


thanx for telling me of this! i have checked it out just to make sure (not that i didn't believe you) and it works just the same and just as fine...so i have edited the post to say that the

[code]<?php include("FILE NAME.html"); ?>

stuff in bold up there DOES NOT have to be a .html, but can be anything you want it to be i suppose, i only tryed it with php but it worked as well! thanx for telling me
Go to the top of the page
 
+Quote Post
technocrat
post Feb 18 2006, 10:11 AM
Post #12


Newbie [Level 2]
**

Group: Members
Posts: 26
Joined: 5-February 06
Member No.: 18,245



THANX ! this really helped me ! ..
I used to make embedded menus and stuff biggrin.gif
and used to change all the links again biggrin.gif stupid me

THanx a million !
Go to the top of the page
 
+Quote Post
king4aday
post Feb 20 2006, 12:45 PM
Post #13


Newbie
*

Group: Members
Posts: 1
Joined: 17-February 06
Member No.: 18,770



Hi Guys

I'm New to these forums and couldn't help but spot this briefing on php.

Just a few questions on this, Can you use the afforementioned example on a freely hosted site? ie; yahoogeocities, Lycos, Tripod or any other?

if you can use your example on a freely hosted site, but not on any of the ones i've listed. Then can you advise me on which freely hosted sites will allow php?

Go to the top of the page
 
+Quote Post
zwek
post Feb 20 2006, 01:34 PM
Post #14


Newbie [Level 1]
*

Group: Members
Posts: 24
Joined: 29-November 05
Member No.: 15,102



Thanks this really helped me !
Go to the top of the page
 
+Quote Post
TripleH13
post Feb 20 2006, 08:35 PM
Post #15


Privileged Member
*********

Group: Members
Posts: 623
Joined: 26-August 05
Member No.: 11,160



finally a good tutorial for this kind of stuff. I needed this to get started on mine. Thanks man!
Go to the top of the page
 
+Quote Post
Albus Dumbledore
post Feb 20 2006, 10:57 PM
Post #16


Hidden Secrets can't be told threw just words. One must feel what the other feels to truely understand...
**************

Group: Members
Posts: 1,523
Joined: 8-January 06
From: Sacramento California
Member No.: 16,756



QUOTE(king4aday @ Feb 20 2006, 04:45 AM) *

Hi Guys

I'm New to these forums and couldn't help but spot this briefing on php.

Just a few questions on this, Can you use the afforementioned example on a freely hosted site? ie; yahoogeocities, Lycos, Tripod or any other?

if you can use your example on a freely hosted site, but not on any of the ones i've listed. Then can you advise me on which freely hosted sites will allow php?


i do not believe that any of those sites support PHP, but trap17 does support PHP, if you ever need to look for sites that are free and that do support PHP, you can search HERE and find one, although Trap17 is the best there is! no ads! etc!
Go to the top of the page
 
+Quote Post
jlhaslip
post Feb 20 2006, 11:28 PM
Post #17


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,971
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



QUOTE(king4aday @ Feb 20 2006, 05:45 AM) *

Hi Guys

I'm New to these forums and couldn't help but spot this briefing on php.

Just a few questions on this, Can you use the afforementioned example on a freely hosted site? ie; yahoogeocities, Lycos, Tripod or any other?

if you can use your example on a freely hosted site, but not on any of the ones i've listed. Then can you advise me on which freely hosted sites will allow php?

Try looking at trap17.net. If you don't mind an Ad banner. But it isn't too bad, actually.
Go to the top of the page
 
+Quote Post
Dawiss
post Feb 21 2006, 03:55 PM
Post #18


Super Member
*********

Group: Members
Posts: 286
Joined: 4-December 05
From: Latvia, Riga
Member No.: 15,337



This tutorial is ok but it's too simple I think and nothing so special for it.. but if you first hear about PHP and website making with PHP maybe it's something that can give a idea anyone.. Nice things but still i think it's way too simple.. sorry but thats the way it is.. ok nice tutorial and hope to see more of your tutorials wink.gif
Go to the top of the page
 
+Quote Post
antony2kx
post Feb 22 2006, 09:55 PM
Post #19


Newbie [Level 2]
**

Group: Members
Posts: 35
Joined: 13-February 06
Member No.: 18,583



for site building help go to http://wapforum.org.uk. Its only for wap, also http://hotscripts.com they have alot of free scripts there.
Go to the top of the page