Home
Help
Login
Register
LATEST NEWS:
What Features Do You Want To See On Paid Hosting?
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Helping Webmasters - Website Support and Webmaster Forum
T35 Hosting Support
Free Hosting General Support
Passing html pages threw the php parser?
Pages: [
1
]
« previous
next »
Print
Topic: Passing html pages threw the php parser? (Read 440 times)
Passing html pages threw the php parser?
« on: January 25, 2008, 09:01:31 AM »
diablo416
Newbie
Posts: 7
Hello,
im trying to include some php scripts to be called from my index.html page,
im using <?php include(...); ?> but it isnt working? why is this ? is their any way to set up the server to pass my html pages threw the php parser?
thanks in advance
Report to moderator
Logged
Re: Passing html pages threw the php parser?
« Reply #1 on: January 25, 2008, 10:38:26 AM »
chickenmeister
master of chickens
Global Moderator
Member
Posts: 220
the php include function should work. But if you want to use php in one of your pages, you have to make sure that that files name ends with .php. So if you want to use php in your index page, name it index.php instead of index.html.
Report to moderator
Logged
Hello world!
Re: Passing html pages threw the php parser?
« Reply #2 on: February 09, 2008, 10:00:37 PM »
Atrain
Newbie
Posts: 34
not to be an asshole but duh. If your going to use php, make ur file .php. If your going to use html make it. html, or .htm. If your going to make your page with javascript, make it .js. And so on.
Report to moderator
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General and Business Discussion
=> Introductions
=> Web Hosting Forum
=> Website Reviews
=> How To's & Tutorials
=> Web Hosting Blog
-----------------------------
T35 Hosting Support
-----------------------------
=> Announcements
=> Pre-Sales Inquiries
=> Free Hosting General Support
=> Free Hosting Login Support
=> Free Hosting Domain Support
=> Paid Hosting General Support
=> Paid Hosting cPanel & Fantastico Support
=> T35 Hosting Testimonials
=> T35 Hosting Suggestions
-----------------------------
Web Design & Developement
-----------------------------
=> Web Design / HTML
=> Programming
=> Graphic Design
=> Useful Resources
-----------------------------
Revenue & Traffic
-----------------------------
=> Ad Revenue
=> Search Engine Optimization
-----------------------------
Market Place
-----------------------------
=> Sites & Domains for Sale
=> Trade Services / Employment
=> Contests
=> Site Promotion
Powered by SMF
|
SMF © 2006-2008, Simple Machines LLC