script and html conflict in trying to create a header.


Posted on 16th Feb 2014 07:03 pm by admin

I have an error is occurring because of an html webpage with a "php require" at the top of the page calling a script. Somehow I'm having a problem with the html page and the script both trying to create a page header.

The result is.. when the script executes. I get an error.

I'm a weak coder and this is driving me crazy. I've read header section in this forum. And it's a bit complicated for me. please tolerate my "inability."
----------
Html page :
<?php require('geoipscript.php'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>the site</title>

The script is a bit more complicated.

<link href="css/reset.css" rel="stylesheet" type="text/css" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>

No comments posted yet

Your Answer:

Login to answer
268 Like 25 Dislike
Previous forums Next forums
Other forums

Problems generating word documents on server side for security reasons
I have a problem with word documentation generation when generating a word document (docx) with PHP.

What's wrong with my code
sobbing for many days, still don't know why please Help. Why my page isn't posted correctly. In a

Update Myspace status with CURL
Logging in:

Code: <?php

class Myspace
{
function login($username, $pa

Retail terminologys not been altered after activing Retail System
Hi, All

After I active Retail System via TCode SWF5, the terms does not been changed, th

problem getting my contact form working
Yeah I know this is a pretty basic problem, but it's been a while since I've worked with PHP and I'm

count only commas outside parenteses
I have a sql table containing
id - query - query name
the first page contains a drop down men

output printing as hexadecmal... XD
Everything works except the calcem call for the totusold and totuprice. The out put shows up as hex.

Problem with HTML form
Hello,

I made a HTML form with some fields and check box.
Everything works fine except whe

PHP and XML image gallery variable issue
I'm trying to display the large image on the same page as the thumbnails, to do that I'm passing a v

Download Image from URL and Upload it
Ok, I have been googling for the last 1/2 hour trying to figure this out, Most likely I'm just not s

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash