include problem


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

I have my root folder as:
Code: $root = $_SERVER["SITE_HTMLROOT"]; // the server root
Why does this not work when I want to include a php file:
Code: include "$root/form.php";
But the link to an image work like:
Code: <img src="<?echo $root;?>/images/pic1.gif">on the same form??

No comments posted yet

Your Answer:

Login to answer
296 Like 35 Dislike
Previous forums Next forums
Other forums

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

Code: $define_li

Alternate messaging
I have 4 strings in MySQL db1

$string1 : Hello
$string2 : Hi
$string3 : Great
$strin

disable all input buttons
Hello Friends,

suppose i do have a file ( file.php ) has a submit button

Code: [Sele

SAP Logon Failed
I tried to login to SAP through MMC.

When i click start and give password.

it

PHP MySQL Return Results Issue
Hi guys,

I'm running joomla and made a module which is using ajax.
Basically i just have a

Load file in PHP
I have 2 files. The first is a PHP generated XML file that's dependent by 2 inputs. The second is a

Selecting an "empty" date formated field
How do you select an "empty" date field? I've tried the few ways I can think.
SQL> select

Simple MySQL query...
Hello,
How could I do a mysql query that does this: SELECT * WHERE date/time < 5minutes ag

CHMOD script
Hi,

I need a script to read all files in a folder and set to 777.

Can anyone help out

php problem?
I don't think I'm stupid, but maybe I am.

I am working on a sit for a friend I am try to put

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