<? Include ?> <iframe/> - This could save me tons of time!

Pages: 1, 2, 3
free web hosting
Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > PHP Programming

<? Include ?> <iframe/> - This could save me tons of time!

Amezis
Still can't get it to work. I am using <?php include 'file.htm'; ?> and it works fine, but <?php include($load); ?> won't work, when I enter loadpage.php?load=testpage.htm (that's what I called it). Do it really have to be INDEX.php or is LOADPAGE.php allowed too? Where the testpage.htm should load, there's nothing...

Reply

karlo
I suggest you try using XMLHttpRequest to make your website unique, as well as making your website load faster, and consumes less bandwidth. The include function in PHP is really useful, but when I comes to uploading your whole website, having seperate files can be a little pain, so if you can, use only 1 PHP file for all of your pages. Or use MySQL to fetch each pages. biggrin.gif

Reply

hype
Or you can trying integrating all the codes into the files you want to open then lesser error will open... Using the includ codes is very dangerous and may result to pages breakdown...

Reply

Amezis
What I want, is just to get <?php include($load); ?> to work, since I think it's more usefull than <?php include 'file.htm'; ?>, and there will be less files, but for some reasons I can't get it to work!

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, 3
Recent Queries:-
  1. php to load navagation - 35.31 hr back. (1)
  2. include iframe - 56.03 hr back. (1)
  3. iframe php include - 60.44 hr back. (2)
  4. iframe include html link - 64.38 hr back. (1)
  5. variables php saved iframe - 66.28 hr back. (1)
  6. include in an iframe php - 66.90 hr back. (1)
  7. iframe include web site - 72.23 hr back. (1)
  8. php include vs. iframe - 72.82 hr back. (1)
  9. iframe include it - 75.76 hr back. (1)
  10. php include in iframe ie7 - 78.68 hr back. (1)
  11. iframe vs div how to show file in div tags - 109.31 hr back. (1)
Similar Topics

Keywords : tons


    Looking for save, tons, time

Searching Video's for save, tons, time
advertisement



<? Include ?> <iframe/> - This could save me tons of time!



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free 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