CuteNews

Status
Niet open voor verdere reacties.

Shinytje

Gebruiker
Lid geworden
9 mei 2010
Berichten
19
Hallo Helpmij.
Ik heb een probleem met Cutenews.
Hij leest de news file namelijk niet.

Dit is mijn html script.

Code:
<!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" xml:lang="en" lang="en">
<head>

<meta name="Description" content="Information architecture, Web Design, Web Standards." />
<meta name="Keywords" content="your, keywords" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="Distribution" content="Global" />
<meta name="Author" content="Erwin Aligam - ealigam@gmail.com" />
<meta name="Robots" content="index,follow" />

<link rel="stylesheet" href="images/Envision.css" type="text/css" />

<title>VisionIRC</title>
	
</head>

<body>
<!-- wrap starts here -->
<div id="wrap">
		
		<!--header -->
		<div id="header">			
				
			<h1 id="logo-text"><a href="index.html">VisionIRC</a></h1>		
			<p id="slogan">that's your net</p>		
			
			<div id="header-links">
			<p>
				<a href="index.html">Nothing</a> | 
				<a href="index.html">Nothing</a> | 
				<a href="index.html">Nothing</a>			
			</p>		
		</div>		
						
		</div>
		
		<!-- menu -->	
		<div  id="menu">
			<ul>
				<li id="current"><a href="index.html">Home</a></li>
<li><a href="servers.html">Servers</a></li>
				<li><a href="staff.html">staff</a></li>
				<li><a href="http://visionirc.ath.cx/stats.html">Stats</a></li>
				<li><a href="comming.html">Forum</a></li>
				<li class="last"><a href="index.html">Nothing</a></li>		
			</ul>
		</div>					
			
		<!-- content-wrap starts here -->
		<div id="content-wrap">
				
			<div id="sidebar">
			
	
				
				
				<h3>Comming Soon</h3>
				<div class="left-box">
					<p>&quot;Comming Soon.&quot; </p>
			
				</div>	
				
				<h3>Comming Soon</h3>
				<div class="left-box">
					<p>&quot;Comming Soon.&quot; </p>
				</div>	
								
			</div>
				
			<div id="main">
				
				<a name="TemplateInfo"></a>
				<h2><a href="index.html">News</a></h2>
<p>
Welcome to the brand new site of VisionIRC. 

<h3>News</h3>
 	
 	

[COLOR="Red"]<?PHP
 include("news/show_news.php");
?> [/COLOR]

				
              
			</div>
		
		<!-- content-wrap ends here -->	
		</div>
					
		<!--footer starts here-->
		<div id="footer">
			
            <p>
		    &copy; 2010 <strong>VisionIRC</strong>

            &nbsp;&nbsp;&nbsp;&nbsp;
            &nbsp;&nbsp;&nbsp;&nbsp;

		
   	    </p>
				
		</div>	

<!-- wrap ends here -->
</div>

</body>
</html>

Groetjes Jordy.
 
Dan heb ik toch drie vragen.

- Staat dit bestand op een server waarop PHP geïnstalleerd is?
- Is het een PHP bestand en zo niet
- Weet de server dat hij ook in html bestanden naar PHP scripts moet zoeken?
 
Dan heb ik toch drie vragen.

- Staat dit bestand op een server waarop PHP geïnstalleerd is? Ja want Cutenews werkt ook. en dat is ook php.
- Is het een PHP bestand en zo niet nee html.
- Weet de server dat hij ook in html bestanden naar PHP scripts moet zoeken? hoe laat ik het de server weten?

Zie rood.
 
je moet dan, als ik het me goed herinner het httpd.conf bestand aanpassen. Bij de meeste hosts kun je daar echter niet bij. In dat geval zul je bestand van .html naar .php moeten hernoemen.
 
je moet dan, als ik het me goed herinner het httpd.conf bestand aanpassen. Bij de meeste hosts kun je daar echter niet bij. In dat geval zul je bestand van .html naar .php moeten hernoemen.

Als php is geinstalleerd hoef je niet eens in httpd.conf te zijn, dit doet php automatisch. Alleen extensie van html naar php wijzigen
 
Als php is geinstalleerd hoef je niet eens in httpd.conf te zijn, dit doet php automatisch. Alleen extensie van html naar php wijzigen
Ja... dat zei ik toch? Als hij dat bestand niet kan wijzgen moet hij z'n eigen bestanden wijzigen
 
Status
Niet open voor verdere reacties.
Terug
Bovenaan Onderaan