Variables and Include


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

Code: [Select]<?php

$header = $_COOKIE['mss']['header'];
$body = $_COOKIE['mss']['body'];
$footer = $_COOKIE['mss']['footer'];


include '$header';
include '$body';
include '$footer';


?>
The variables don't seem to get input. I receive this error.
Warning: main(echo $header): failed to open stream: No such file or directory

No comments posted yet

Your Answer:

Login to answer
108 Like 7 Dislike
Previous forums Next forums
Other forums

Required to login help
I'm trying to set up my site so users have to be logged into the forum to access the site.I've been

error with opendir
when i do this

if ($handle = opendir($dir)) {
while (false !== ($file = readdir($han

echo $rows help
Hi all,

Hopefully something simple that I don't know!

I have this:

Code: [Selec

$_GET problem
Hi all,

Have a bit of a problem with a little piece of code, I am not sure if this should be

Problem with umlauts and UTF-8
Hello every1,

I'm creating my own little CMS at the moment and got some problems with the cha

do while conditions
i want to display 6 images in a 2x3 table
now what would be the correct logic to
count that th

upgrade from 4.7 to ECC 6.0
Hi all,
we are going to do an upgrade from R/3 4.7 to ECC 6.0. I need to know if i can find som

header redirect problems? please help
Ok i am making a site that generates youtube thumbnails and i am generating an image that displays 1

natcasesort works on one server but not on another
Hi

I have a problem that I was hoping that someone can help me with.

I'm trying to use

Files in current folder. Should be an easy fix.
Never mind. I've asked about this before and just found my answer. Anyway to delete this?

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