PDA

View Full Version : <<CONTENT>> tag


Crake
05-01-2005, 02:36 PM
hi i downloaded a script login/register script and it says i need to put a <<CONTENT>> tag code on the template.html page so when please click register on www.coke-news.com it refreshes the page and then you can register

Crake
05-01-2005, 03:15 PM
anyone....

chilipie
05-01-2005, 04:13 PM
LOL, it is Sunday lunch-time, and you hadn't even waited an hour :rolleyes: .

I know you showed me some of the code earlier, but what server-side language is the script powered by? It may be that you have to change the page's extension ;) .

Crake
05-01-2005, 11:11 PM
its not powerd by a host i host it on my site.

Len Whistler
05-01-2005, 11:53 PM
its not powerd by a host i host it on my site.

Then you are the host. Is it a PHP script?

Mr Deck
05-02-2005, 12:28 AM
Shot in the dark here but would you not need somthing like www.coke-news.com/login.php or html or whatever the full path?

Just an Idea

tc All

_Aerospace_Eng_
05-02-2005, 12:39 AM
maybe he needs to send a refresh header to the page?
header( 'refresh: 0; url=http://www.coke-news.com' );
or just a meta tag?
<meta http-equiv="refresh" content="0;url=http://www.coke-news.com">

Crake
05-03-2005, 06:16 PM
thanks for the replys so far sorry i havent been to clear.

i downloaded the script it has

login.php
settings.php - all configured
install.php
index.php
success.php
template.html

then i enterd this page to the home page of my website

<h2>Login</h2>
<form method="post" action="login.php?action=login">
<table>

<tr>
<td align="right">Username:</td>
<td align="left"><input type="text" name="name"></td>
</tr>
<tr>
<td align="right">Password:</td>
<td align="left"><input type="password" name="pass"></td>
</tr>
<tr>
<td align="right"><input type="reset" value="Reset"></td>

<td align="left"><input type="submit" value="Submit"></td>
</tr>
</table></form>
<a href="login.php?action=register">Register</a> | <a href="login.php?action=lost">Lost password?</a>

and then i made the template.html page look like the home page.

but now i got to add <<content>> to it and for some reason its just not working