tricky77puzzle
Feb 18 2008, 10:11 PM
I'm trying to make a layout for my website for the areas that aren't occupied by Wordpress, and I want to use PHP includes to do it. So far, I know how to use <?php include ... ?> tags, like this: CODE <table> <?php include "sidebar.php" ?> </table> This is okay, but I want to be able to include everything in one "container" file. Kind of like this: For every HTML file that I include: CODE <html> <head> <?php include "frame.php" ?> <title></title> </head> <body> <!-- Include pure page content here --> </body> </html> This is so that the HTML files I originally made stay HTML files except for the PHP sidebar I add, and I won't need any permalinks. How would I go about doing this?
Reply
jlhaslip
Feb 18 2008, 11:42 PM
In order to have your 'html' pages parsed as PHP, you will need to create an .htaccess file and change the list of file extensions which should be parsed as php. This is done by adding the htm and html file extensions to the php application handler. There have been several Tutorials about how to do this. Here is one of them that is quite well explained. http://www.trap17.com/forums/index.php?showtopic=46392
Reply
tricky77puzzle
Feb 19 2008, 12:52 AM
QUOTE(jlhaslip @ Feb 18 2008, 06:42 PM)  In order to have your 'html' pages parsed as PHP, you will need to create an .htaccess file and change the list of file extensions which should be parsed as php. This is done by adding the htm and html file extensions to the php application handler. There have been several Tutorials about how to do this. Here is one of them that is quite well explained. http://www.trap17.com/forums/index.php?showtopic=46392Sorry, I misphrased myself. I meant, I want my HTML files to stay the way they were, except for being renamed to PHP and having the sidebar added in as a "header". I don't really feel like editing the .htaccess file.
Reply
jlhaslip
Feb 19 2008, 01:35 AM
If you want a 'common' snippet of php code added into all of your site pages, the system needs to know that the php is in there and that it needs to send the file to the php parser. Two ways to do that: 1. rename the files with a php extension. ( you don't want to do that) 2. Add the above to your htaccess file. (you will need to do this) Without the file extension, or the application/type redirect in your .Htaccess file, the php code will be treated as text and display on your page as raw code, possibly displaying stuff you don't want public, like Database Information. You need to do one or the other.
Reply
tricky77puzzle
Feb 19 2008, 01:55 AM
QUOTE(jlhaslip @ Feb 18 2008, 08:35 PM)  If you want a 'common' snippet of php code added into all of your site pages, the system needs to know that the php is in there and that it needs to send the file to the php parser.
Two ways to do that:
1. rename the files with a php extension. ( you don't want to do that) 2. Add the above to your htaccess file. (you will need to do this)
Without the file extension, or the application/type redirect in your .Htaccess file, the php code will be treated as text and display on your page as raw code, possibly displaying stuff you don't want public, like Database Information.
You need to do one or the other. Well, actually I do want to rename the files. I just want to know how I can build the site AROUND the pure code that exists as my HTML page. I just don't want to have to put the "table" stuff in every page, and would rather have all the table containers and stuff in one php file that I can put a <?php include "frame.php" ?> for in the page. That's my only problem.
Reply
truefusion
Feb 19 2008, 03:46 AM
Are you basically saying you want a "header", a "footer" and a "content" file to be included all in one page as to act as a template to use as your main structure for your site? I'm having a bit of trouble understanding you, too.
Reply
[John]
Feb 19 2008, 11:08 PM
The easiest way would be to have the content already inside the frame you are trying to include. if it is called content.php.... on the content.php page you can simply echo an iframe, and in the iframe use <?php include("page1.html") ?> or something of the sort. that way, once loaded, the content is already in the middle iframe. You can simple target iframes to change the content in the middle through links
Reply
BuffaloHELP
Feb 20 2008, 04:03 AM
You can also perform PRINT or ECHO to spit out HTML codes, such that: HTML <?php
print ' <html> <head>';
include "frame.php";
print ' <title></title> </head> <body> <!-- Include pure page content here --> </body> </html>';
?> You don't have to do any modification to your code and simply save this page as filen_name.php Notice the usage of single quote verses double quote.
Reply
tricky77puzzle
Feb 21 2008, 10:56 PM
QUOTE(truefusion @ Feb 18 2008, 10:46 PM)  Are you basically saying you want a "header", a "footer" and a "content" file to be included all in one page as to act as a template to use as your main structure for your site? I'm having a bit of trouble understanding you, too. Well, sort of. I want to be able to include the frame in one file, and reference it as a "header" file in the page content. To [John], I don't want to use iframes, because that would defeat the purpose of using PHP for it. I want to be able to include a top bar and a sidebar inside the include frame. Currently, the page layout I want looks like this: CODE <html> <!-- include HTML header code here --> <body>
<table id="page" width="100%">
<tr><td> <table id="top-bar" height="148px"> <tr><td width="172px"><img src="logo.png"></td><td><!-- title --></td></tr> </table> </td></tr>
<tr><td> <table id="sidebar" width="256px"> <!-- does the "width" and "height" option go into CSS? I don't remember. --> <tr style="background-image: sidebar-top.png;"><!-- link to home page --></tr> <tr style="background-image: sidebar-middle.png; background-repeat: repeat;"><!-- other links --></tr> <tr style="background-image: sidebar-bottom.png;"><!-- spotlight link: possibly to Trap17, maybe an ad or two --></tr> </table> </td><td> <!-- insert pure page content here --> </td></tr>
</table>
</body> </html> As you can see, it's quite a simple page layout. Now what I want to do is to cut out everything except for the pure page content and the includes that I want to add. How would I go about doing that?
Reply
KansukeKojima
Feb 21 2008, 11:08 PM
I believe I understand what you are saying... If I understand correctly: you want to have a basic template seperated from the the rest of your content, and then just parse the content into the template, or the template around the content right? If this is the case I would recommend using this. CODE <?php //---------------------------------- // Content Include //---------------------------------- $cont = $_GET['cont'];
$default = "HOME PAGE FILE HERE";
if($cont == "") { $cont = $default; }
elseif(isset($cont)) { $cont = $cont; }
if(file_exists("$cont.html")) { $content = file_get_contents("$cont.html"); } else { $content = "Unfortunately, the file you were looking for could not be located."; } //---------------------------------- // Content Select //----------------------------------
if(isset($cont)) { $content_select = <<< html $content html; } else { $content_select = <<< html There is a content_select error. html; }
//--------------------------------- //Template //---------------------------------
$template = <<< html <html> <!-- include HTML header code here --> <body>
<table id="page" width="100%">
<tr><td> <table id="top-bar" height="148px"> <tr><td width="172px"><img src="logo.png"></td><td><!-- title --></td></tr> </table> </td></tr>
<tr><td> <table id="sidebar" width="256px"> <!-- does the "width" and "height" option go into CSS? I don't remember. --> <tr style="background-image: sidebar-top.png;"><!-- link to home page --></tr> <tr style="background-image: sidebar-middle.png; background-repeat: repeat;"><!-- other links --></tr> <tr style="background-image: sidebar-bottom.png;"><!-- spotlight link: possibly to Trap17, maybe an ad or two --></tr> </table> </td><td> <!-- THIS IS WHERE YOUR CONTENT WOULD BE PARSED INTO THE PAGE--!> $content_select <!-- THIS IS WHERE YOUR CONTENT WOULD BE PARSED INTO THE PAGE--!> </td></tr>
</table>
</body> </html>
html;
//---------------------------------- // Display the Final Template //---------------------------------- echo $template; ?> After you create the above index.php file, create all your content on seperate .html files. For your links, simply use "<a href="index.php?cont=page">" Without the .html extension, as it will be placed in after the file name.
Reply
KansukeKojima
Feb 22 2008, 09:18 PM
QUOTE(tricky77puzzle @ Feb 22 2008, 01:29 PM)  Yes, this is exactly what I wanted. Thanks, Kansuke! You arrrr welcome..... let me know if it works or not... I hope it does... (by the way: you owe me your soul!)
Reply
sonesay
Feb 22 2008, 08:37 PM
In effect what your using kansuke is a template. Thats what how I do my webpages at the moment. The only improvements that I think you can make are include the full HTML in your layout.php. That way you can contorl everything such as headings, javascripts includes, CSS. now when you need to make changes to the site you just edit the layout.php template and it will affect your whole website. when you use it you can create a page (example.php) and pass it variable specific to that page. CODE example.php
$title $content = "example_content.php" (I always do this as in include in the actual template)
include('layout.php');
So first thing you would do is create a plain HTML layout you like and set where you content and items will be. Then identifiy what changes and make place holders in your template for it. Then when you are happy with it you turn it into a PHP file being the templat you will use for all your pages. Now when you need a page or extra one you just create one and pass it the variables appropriate to it. Heres an example of my index.php page CODE <?php
session_start(); include('includes/db.php');
$title = "Welcome"; $location = "index.php"; $content = "includes/home_content.php";
include('_core.php');
?>
and heres my tempate CODE <?php /* Core template ============== $title include('menu_list.php'); $content
*/ $title = $title." - Si Web Portfolio";
echo" <!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"> <html xmlns=\"http://www.w3.org/1999/xhtml\"> <head> <meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" /> <title>$title</title> <script type='text/javascript' src='js/si.js'></script> <link rel=\"stylesheet\" type=\"text/css\" href=\"main.css\" /> </head>
<body> <!-- Begin Wrapper --> <div id=\"wrapper\"> <!-- Begin Header --> <div id=\"header\"> <div id=\"header_leftside\"></div> <div id=\"header_rightside\"></div> <div id=\"header_center\"> <div id=\"header_logo\"></div> </div> </div> <!-- End Header --> <!-- Begin sub_heading --> <div class=\"container\"> <div id=\"sh_center\"> <div id=\"sh_block\"> <img src=\"images/si_15.png\" alt=\"\" /> </div> </div> <div id=\"sh_left\"></div> <div id=\"sh_right\"></div> </div> <!-- End sub_heading --> <!-- MAIN CONTENT --> <div id=\"content_container\"> <div id=\"leftsidebar\" class=\"leftbar\"> <div id=\"left_nav_container\"> <ul class=\"navigation\">"; // include menu list include('menu_list.php');
echo" </ul> </div> <div id=\"left_nav_footer\"></div> </div> <div id=\"maincontent\" class=\"centerbar\"> <div id=\"center_content\">"; // include Content if($content != "") include($content); else { // default notice echo"<h1>No content</h1>"; echo"<p>"; echo"There has been no content added in this section yet. Please return back later at a later date. Thank You!"; echo"</p>"; } echo" </div> <div id=\"si_closing\"><img src=\"images/si_closing.png\" alt=\"\" /></div> </div> <div id=\"rightsidebar\" class=\"rightbar\"> </div> </div> <!-- MAIN CONTENT END --> <!-- Begin Footer --> <div id=\"footer_container\"> <div class=\"footer_centerbar\"> </div> <div class=\"footer_leftbar\"> </div> <div class=\"footer_rightbar\"> </div> </div> <div id=\"footer_notice\"> <a href=\"http://validator.w3.org/check?uri=referer\"><img src=\"http://www.w3.org/Icons/valid-xhtml10-blue\" alt=\"Valid XHTML 1.0 Strict\" height=\"31\" width=\"88\" /></a> </div> <!-- End Footer --> </div> <!-- End Wrapper --> </body> </html> ";
?>
Hope this gives you some ideas on how to do things. Theres always more then one ways to do something but what ever is easier for you and works should be good enough. This is the method I have just picked up while doing websites. I used to copy and paste the whole layout to each page not too long ago lol.
Reply
tricky77puzzle
Feb 22 2008, 08:29 PM
QUOTE(KansukeKojima @ Feb 22 2008, 02:35 PM)  Ok what you could do: Create a php file that contains the layout of your page. make it look somewhat like this (call it layout.php) CODE <?php //--------------------------------- //Layout top section //--------------------------------- $top = <<< html <!-- include HTML header code here --> <body>
<table id="page" width="100%">
<tr><td> <table id="top-bar" height="148px"> <tr><td width="172px"><img src="logo.png"></td><td><!-- title --></td></tr> </table> </td></tr>
<tr><td> <table id="sidebar" width="256px"> <!-- does the "width" and "height" option go into CSS? I don't remember. --> <tr style="background-image: sidebar-top.png;"><!-- link to home page --></tr> <tr style="background-image: sidebar-middle.png; background-repeat: repeat;"><!-- other links --></tr> <tr style="background-image: sidebar-bottom.png;"><!-- spotlight link: possibly to Trap17, maybe an ad or two --></tr> </table> </td><td> html; //--------------------------------- //Layout bottom section //---------------------------------
$bottom = <<< html </td></tr>
</table>
</body> html; ?> Ok, so in this you have two variables. The first being the 'top' part of your layout. This would be everything before your 'pure content' areas. The second variable is the 'bottom' part of your layout. This would be everything after your 'purecontent' area. So in short it would look like this. $top content $bottom Now here is where what you want comes into play. You can echo your entire layout around your content like this. CODE <html> <?php include ("layout.php"); echo $top; ?> Put your content here!!! <?php echo $bottom; ?> </html> I think this should work... maybe jlhaslip or another member more expierienced than me could point out any flaws if any... and I hope this is what you were looking for.... Yes, this is exactly what I wanted. Thanks, Kansuke!
Reply
KansukeKojima
Feb 22 2008, 07:35 PM
Ok what you could do: Create a php file that contains the layout of your page. make it look somewhat like this (call it layout.php) CODE <?php //--------------------------------- //Layout top section //--------------------------------- $top = <<< html <!-- include HTML header code here --> <body>
<table id="page" width="100%">
<tr><td> <table id="top-bar" height="148px"> <tr><td width="172px"><img src="logo.png"></td><td><!-- title --></td></tr> </table> </td></tr>
<tr><td> <table id="sidebar" width="256px"> <!-- does the "width" and "height" option go into CSS? I don't remember. --> <tr style="background-image: sidebar-top.png;"><!-- link to home page --></tr> <tr style="background-image: sidebar-middle.png; background-repeat: repeat;"><!-- other links --></tr> <tr style="background-image: sidebar-bottom.png;"><!-- spotlight link: possibly to Trap17, maybe an ad or two --></tr> </table> </td><td> html; //--------------------------------- //Layout bottom section //---------------------------------
$bottom = <<< html </td></tr>
</table>
</body> html; ?> Ok, so in this you have two variables. The first being the 'top' part of your layout. This would be everything before your 'pure content' areas. The second variable is the 'bottom' part of your layout. This would be everything after your 'purecontent' area. So in short it would look like this. $top content $bottom Now here is where what you want comes into play. You can echo your entire layout around your content like this. CODE <html> <?php include ("layout.php"); echo $top; ?> Put your content here!!! <?php echo $bottom; ?> </html> I think this should work... maybe jlhaslip or another member more expierienced than me could point out any flaws if any... and I hope this is what you were looking for....
Reply
tricky77puzzle
Feb 21 2008, 11:48 PM
QUOTE(KansukeKojima @ Feb 21 2008, 06:17 PM)  So you want all of your websites content to be in a single file? No, that's not what I meant. I mean that I want the container to be 1 page, and then all the other files will link to it with the PHP include. Sorry if I'm messing myself up.
Reply
Recent Queries:--
php include frame - 334.01 hr back. (1)
Similar Topics
Keywords : php, includes, include, frame, page,
- I Can't Find The Password Reset Page... [resolved]
(5)
Cant Log Into Cpanel [resolved]
Page cant be displayed (11) Help I can not log into cpanel. I just upgraded to IE-7 and now I can not get into my Cpanel. what
the page is telling me is this. QUOTE Internet Explorer cannot display the webpage Most
likely causes: You are not connected to the Internet. The website is encountering problems. There
might be a typing error in the address. What you can try: Diagnose Connection Problems
More information This problem can be caused by a variety of issues, including: Internet
connectivity has been lost. The website is temporarily unavailable. The D....
Shadow_x21 Tutorial Includes: Remote Shutdown
and Local Shutdown (7) Shadow_x21 Tutorial : Remote and Local Shutdowns Shadow_x21 To Remote Shutdown A Computer.
Used to shutdown a computer on the same network. Like at school open notepad or a simple text
editor( not microsoft word) or you can use the command prompt type @echo off cls shutdown -m
\\Computername -s -t 120 -c "Comment Goes Here" Explanation: @echo off : means that
the code you typed below @echo off will not be displayed to the user cls : will clear the
screen shutdown : represents shutdown.exe or the shutdown method -m : represents a rem....
My Ro Page
(4) I designed my own website and code it xD this website is for my server JevilRO www.jevilro.com....
Plot Page Help Invisionfree
(0) I've made a few boards with invisionfree before, but I have no idea of what a plot page is or
how to make one. can someone help me out?....
Page Load Error When Trying To Get Into Control Panel
I just changed domain (2) I had put a domain name that I didn't have when I registered my website. I got the 15 credits
and changed it to a subdomain. Now I can't log into my control panel. At first it was telling me
I had the wrong password which I'm sure I don't. Now I just get a timed out error. Also my
confirmation email for changing my domain was kinda blank. QUOTE Hi, This mail is to notify
you that your domain has been changed to : Regards, trap17.com So yeah... any help? EDIT:
Also I don't see my request to change domain the proper forum I had attempte....
A Few Wrods With The Respectful Admins Of Www.qupis.com Free Hosting Service
This topic includes your opinions, critics, and suggestions to Qupis a (1) Dear Qupis admins, We have a few words to say tonight. Well, we own a small website for our chess
club hosted kindly by you which is: http://veins.qupis.com Everything is great and works fine but
a few problems still are in the air that we want to discuss them with you. *- You said in your
terms and conditions that "place no files to be downloaded from this site except for a few Kb"!
OK! We have some .xls Excel sheets which are over 300 KB and we want to put some chess e-books
for download there which will never exceed your designated space limitations. W....
Php Linking
Ned help to do this through a internal portal page. (2) OK I'm trying to create an internal php page to link to my main sites index.html page.
Here's the code that's automatically generated when I click on the Create Php page link.
CODE <?php /* Write code inserting output inside variable $content as in following
example. You have DB connection, all global vars and all MKPortal and Forum functions at your
availability */ $nome = $mkportals->member['name'];
$content="Hi $nome"; So, how would I change this so it links to my sites
index.html page? PS I....
Web Page Designing
(5) as a beginner how we can start to learn web page designing....
How To Implement A Date Picker On A Web Page
(0) Some pages may need users to input date values. It would be nice if the users just need to click and
pick and done. This way we may also eliminate the possible input errors. Below is the code I used to
implement this. You may want to save it as datepicker.js for other web pages to use. I also attached
3 files for you to download. All you need to do is unzip the 3 files to a directory under any web
server and start trying it. If you are using jsp, you can refer to the submited field by adding
something like request.getParameter("date1") to your page. If you're using....
World Of Warcraft And Vista With Choppy Frame Rates
(2) I am simply irate as to not knowing why this is happening. My friend is running Vista Home Basic.
Apparently it was working well until I touched the machine and optimized Vista, disabling services
that she didn't need and turning off the eye candy that would slow the machine down. (It's a
Dell Inspiron 1501, by the way.) Now when she runs World of Warcraft in her usual windowed mode, it
exhibits very choppy frame rates... as in that it pauses/becomes unresponsive every second. However,
when she maximizes the windowed mode it runs perfectly fine. I have not tried....
Redirecting Visitors To Different Page
Explains two methods. (8) Well, almost all of you would have experienced redirecting pages while you were downloading
something on the net. Redirecting users to new pages is a fact of life when programming dynamic
websites. The primary reason is that you often need to redirect a user after making session state
changes. For example, when you add an item to a shopping cart, you want the user to go to a page
such as the current shopping cart, and you don't want to add another one of the same item to the
cart again if you reload that shopping cart page. The same case if you developed guestbook w....
Naming Web Page Files
Which way you like- MyPage.html or my-page.html or my_page.html (9) Everybody talks about meta tags, keywords, good title names and how they can increase page rankings,
etc. But I was wondering whether the page name itself holds any value in indexing. Yes, I am
talking about the web page file names (some-thing.html) NOT the one which you put in title tags. I
am going to express my views and want to know what you think is correct. I have seen pages named in
various ways like these: 1) my_web_page.html 2) DoYouLikeMyPage.html 3) hey-see-my-webpage.html (I
think this way is more appropriate) 4) this.is.a.page.html (somewhat confusing) ....
PHP Function To Add Previous and Next Page Feature
useful php function (5) CODE <?php function navigationbar($start_number = 0, $items_per_page = 50,
$count) { // Creates a navigation bar $current_page =
$_SERVER["PHP_SELF"]; if (($start_number < 0) ||
(! is_numeric($start_number))) { $start_number = 0; }
$navbar = ""; $prev_navbar = ""; $next_navbar =
""; if ($count > $items_per_page) { $nav_count = 0;
$pag....
Need Help To Increase The Page Rank Of Website!
(2) Hi everybody, I am dealing in online business and looking for some tips to increase the page rank of
my website. In this I need some helps from you people. Please suggest me some tips so that I can get
good traffic to my website and get more benefits. Your any suggestion will be highly appreciated.
Thanks in advance! ....
Adding Flash Music Player To Home/any Page
How-to (put any song you want!!!) (4) Want to put music on all pages (near the top)? Want any song you want? Well heres how! Place the
following IN PLACE of the tag (paste in while thats highlighted. The text in red you HAVE to
replace with the song url. The text in green is OPTIONAL (whether you want it to autostart or not.
Right now it doesnt, if you want it to replace no with yes.) Of course place this in Admin
Cp>>>Skinning and Styles>>>Board Wrappers>>>Header and Body QUOTE REPLACE THIS
WITH YOUR SONG URL &autoStart= no " /> src="http://www.podbean.com/podcast-au....
Page Load Error When Accessing Cpanel
(0) Not sure what the issue is. I cannot even load up any of the cpanel's to allow me to put in a
password. I have tried the link that is located in the Credit System 2.0 I have tried the links
with subdomain/cpanel I have tried the links with subdomain:2082 All 3 of these just give page
load errors. Please note : This isn't a "my password doesn't work" thread. This is a "I
can't even get cpanel to TRY to load" thread. Thanks in advance.....
How To Make An Item Scroll With You On The Page.
(10) ok im not sure where or how to really ask this... but you can find an example at
http://www.demonoid.com the ad that is on the right side scrolls with you basically to the bottom
of the page. I know they use an iframe but can you show me how that works or what makes it do that?
i tried to copy the source and css but it did not work.. any advice?....
What Is Your Home Or Start Page?
(19) I've had Yahoo! as my start page for many years. I'm wondering if there's a better
start page out there. I remember using Excite several years ago, but their home page now looks
outdated. Do you design your own start pages? If so, what's on it?....
Web Page Tree Menu: Style Sheet - Javascript
(6) I got bored and lazy working on the things that I should do... so I end up creating this tree menu
for anyone to use if they find it interesting. Well the idea is to create a tree menu in a webage.
Instead of those linear menu it would be better to add more dynamic to your webpage with a tree
menu. Others use image rollovers. As expecte the tree menu should behave like the one in Windows
Explorer. When you click a node depending on its state it will pull down or pull up its chlid nodes.
I have achieved by exploiting one style sheet property, display . Basically this s....
Google Page Creator Updated
(4) Google Page Creator currently enables Google Account holders to create single pages, with up to
100MB of storage. The company provides a free URL at http://username.googlepages.com to access the
pages a user creates. Google says Page Creator does not currently support making full "sites" of
content. Creating a page using the service requires just a few mouse clicks, and although it's
still an early beta release, industry analysts and pundits say it already shows promise. "From the
Page Manager, click on the title of the page you want to edit. This will take you to ....
Scrolling Images?
How to Make an Image Scroll With the Page (5) I'm trying to make my homepage look a little fancier and I've got a nice background image,
but I want it to scroll with my page, like if you scroll down the image will still appear like it
does on the top of the page. Can someone tell me how to do this? I'm using Microsoft Frontpage
to edit it. I'm not sure what programming language this would be, probably CSS or Javascript,
but I can edit the page script with Notepad or something to make this work. Right now the page is
purely HTML, so whichever language this is, can somebody also give me the tags and ma....
Help In Ipb 2.1.6 Portal Page
plaese help me (1) hi any 1 know how can a add my topics in ipb poratl page in my server i uploaded ipb 2.1.6 plaese
tell me. like this site.....
Wap Source Code Viewer
Mobile/wap source code viewer page (4) This is a source code viewer that will workl on wap/mobile sites but you can easily convert it to
work on web im sure ;-) CODE <? header("Content-Type:
text/vnd.wap.wml"); echo '<?xml version="1.0"
encoding="utf-8"?> <!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml"> <wml> <head><meta
http-equiv="Cache-Control" content="no-cache"
forua="true"/></head> <card title="s60.nerds.....
Google To Take On Geocities
Google Page Creator (53) Well I just found out about a new webhosting service offered by Goolge, the highly imaginatively
titled Google Page Creator, its your basic (ie not very good) free webhosting services, with the
massive advantage of its name being preceded by the all powerful Google. I havent extensively used
the service but I will atempt a brief overview of the service. The basic service consists of the
usual what you see is what you get (WYSIWYG), which is allows novice users to create pages with no
knowlegde of HTML (I'm sure you all know ho wthey work). It comes in the usual temp....
Problem With Page Redirect
Help me out with this problem... (8) hey ppl, i just wanted a little help...i designed this website, but i want that if i click on
certain link, it should open new page for few seconds and then browser should automatically redirect
me to some other page....i tried this with header() function but i couldnt do the wait n redirect
part, ... so somebody plz help.... -thanx in advance! Thanks Avalon, topic changed. ....
Refresh Page After Back Button Hit
(11) Hi. I have a page that is dynamically build through DOM manipulation. So, when I browse outside the
page, and then click back, those dynamically created DOM objects are gone. Since I am also using JSP
/ Servlet technology, I can rebuild this page easily, which I have done. Here is my dilemma. If
the user leaves the dynamic page, then clicks back on their browser, I need the page they are going
back to to refresh. I can't figure out how to do this. I've tried using the META tag, but it
won't do it. Help would be appreciated. Thanks. ....
How To Create Java Button Or Frame
to be customized (14) hi to all!!!! just like to ask if it would be possible if i could make a custom
button or frame in java. i got tired of using the build infeatures in java. i would like to create
my own dessign of button or frame.. can it be possible!!! /biggrin.gif' border='0'
style='vertical-align:middle' alt='biggrin.gif' /> thank!!!! /laugh.gif'
border='0' style='vertical-align:middle' alt='laugh.gif' /> New Help In! is NOT a descriptive
topic title. Next time you decide not to follow the posting rules, you will be issued a w....
Button To Print Current Web Page
(14) Hi, Does anyone know how to create a button that will printo out the current page. What I want to
do is have the user fill out a form (containing name, address, zip, etc). They will then click on a
"print" button and it will print out the form data. Any ideas? Thanks.....
Php Unique Hit Counter
Count page hits with php. (29) Hello all, Here is a neat and helpful PHP script that can count unique page views on your website.
First you need to open up a new page in your text editor and paste in this code. CODE <?php
$filename = "hits.txt"; $file = file($filename); $file =
array_unique($file); $hits = count($file); echo $hits; $fd
= fopen ($filename , "r"); $fstring = fread ($fd , filesize
($filename)); fclose($fd); $fd = fopen ($f....
Looking for php, includes, include, frame, page,
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for php, includes, include, frame, page,
*MORE FROM TRAP17.COM*
|
advertisement
|
|