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

108 Like 7 Dislike
Previous php-forum Next php-forum
Other php-forum

BB_Code error
I'm having a problem with a custom built function and keep getting this error:


Warning: M

Run function every 5 mins ??
I have a function PostMessage()

How can I run it every 5 mins ??

Checking if field is empty AND using !is_numeric
Hi lads,

Need to be able to display an error message (using isset?) that says "Cant lea

help with this code please?
Hello,

I am trying to build a remote upload script for my image hosting site.

I am usi

Linked Keywords
I am trying to get a script that makes my predefined keyword converted to links and / or converted t

get multiple rows
Hi I want to get multiple rows from a db

I am using this for the db query
Code: public

How to Detect it is public_html or httpdocs?
How to check whether it is cPanel or Plesk?

If it found public_html perform <?php incl

array & querys help/advice.
Ok so here goes , I have a mysql database and basically here's what I need to do.

// foreach

Beginner question regarding Array's
Hi everyone, the page im working on has an array of variable at the top...

Code: $define_li

how to get IP address?
hey guys,

i have this code which is supposed to get me the IP address of my site visitors:

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