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

Display error above the login forum help!
Hi guys. just so you know im not asking for someone to do this for me I just need to be pointed in t

Save User Inputs while javascript reloading!
hi..
i have written a PHP code in which i reload the page when user selects a value in dropdown..

Parse multirow HTML table
Hello all,
I have a site I am working on. Its a sports site and I am trying to add stats to a DB

Greek characters in php
Hi,

I'm making a script and I m using for first time greek characters.
I started to write

PHP login form help (Done Most of It)
Hi i am having a problem, when i try logging in it is always saying "Invalid Login" im not

quick question about System Change Number(SCN) in FlashBack Query topic
i know tht we can get the SCN of the database using flashback concept as follows

SQL>

Form File Upload
I've read through tons of resources and tutorials and as far as I can tell, my code is accurate, but

Linking with Foreign Keys
I have been getting an erro when I try and link:

create table Faculty_Specialty (I_Name v

file downloaded can't be read !!
<?php
$fileName = 'mypic.jpg';
$mimeType = 'image/jpeg';
header('content-dispositio

Combining refCursors and Summing
Given the following DDL:

CREATE TABLE FOODSALESTEST ("WEEKNBR" NUMBER, "ST

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