Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    PHP




Arrays, Drop Downs & Includes ...


I am setting up a classifieds site using a script bought in. set about hacking a few bits & pieces that I did not like, the script has mainly text fields but I wanted drop downs.

I copied the way countries were populated using an include file & replicated 10 times, i read somewhere that multiple includes in a script can slow things immensely is this so?
The code:




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
Drop Down Lists Changing Depending On Other Drop Downs
I want to have a drop down system like this one.  But without the radio buttons.

I want to have 3 drop downs but have no idea how to go about it.  I assume I will need to activate some sort of Javascript on the onChange event of the option drop downs.

Drop Downs
trying to get dropdowns to appear and getting no where! I have a script with a config file that has a list of options. I have added a list of ages like so:

$age[0]= 18;
$age[1]= 19;
$age[2]= 20;

I now want to include these in a page in a drop down menu and have tried this code :

$ageshow .= "<option>$age</option>";
echo "<tr bgcolor =$bg2>";
echo "<td class="classadd1"><div class="maininputleft">Age:</div></td>";
echo "<td class="classadd2"><select name="in[sfield]">";
echo "$ageshow</select> ";
echo "</td>";
echo "</tr>";

this does not list the ages but just has array in the drop down. What am I doing wrong?

Dependent Drop Downs?
I have a drop down menu populated from a database. There are 3 other drop downs on the page that I want to populate from the database AFTER the user has made a selection in the first list. Can that be done? Are there any scripts for that anywhere?

PHP 4.3.4 Upgrade ... Need Help With Drop Downs
I upgraded from PHP 4.1.2 to 4.3.4 (Mac OS X 10.2.8), and then had to adjust all of my form scripts to retrieve the POST variables explicitly (because 4.3.4 requires this). I did this like the following:

<input type=text name=myinputbox>
<input type=submit name=submit value=submit>
-------
$myinputbox = $_POST[''myinputbox];
$submit = $_POST['submit'];

That works just fine, and the variable data is available for use elsewhere in the script. Radio buttons and textareas also work in this way.

However, my problem is that <SELECT> drop down menus apparently DO NOT work in this way. This renders my form useless without this ability. If you can post a reply code for retrieving the <SELECT> POST variable to the following code, I would appreciate it.

<SELECT name="MENU">
<option>option1</option>
<option>option2</option>
<option>option3</option>
</SELECT>

I assumed it would be this (but didn't work):
$MENU = $_POST['MENU'];

Hope I am clear with my explanation.

Two Different Drop Downs From MySQL
I have a admin area for a website, and on some part the admin can
select options from two different drop down boxes. Now i thought that
it would be better to use one Query for both dropdowns. How can i get
them together?
I now have something similair twice:

<select name="series_id" class="dropdownbox" id="series_id">
<option value="0">- select -</option>

<?php
$db = mysql_connect("localhost", "name", "pass");
mysql_select_db("db_name");
$result = mysql_query("SELECT * FROM series ORDER BY name");

if ($data = mysql_fetch_array($result)){
do {
$current_id = $data['series_id'];
if($current_id == $id){$selected = "selected";};
echo "<option value="".$data['series_id'].""
".$selected.">".ucfirst($data['name'])."</option>
";
} while ($data = mysql_fetch_array($result));
} else {
echo "";
};
mysql_close($db);?>
</select>

I hope it's clear what i mean. I do not make connection twice, but the
rest is similair except for the tablename of course.

Dynamic Associated Drop Downs
I wrote a function to pull country values from my MySQL database into my forms country drop down list. This works great. However, I want to also pull region/state data for my form's region drop down list whenever a country is selected/changed in the country form field.

I know I can do this with javascript but I want to do it with PHP only. Can I do like a onclick command on the country field and have it resubmit the query that populated the region field? I think this is possibe but not sure how to do it.

Dynamic Drop Downs With Php And Java
I'm working on a project where I need the drop down menus to be dynamic almost identical.
I found a java code that looks to do what I want it to do. But, being that I know very little about this, I'm not sure what goes where.

Calculate Values From Drop Downs
I've been trying to get this to work myself all day long before posting here.

I want to create an order form which includes 2 drop down menus, StartLength and EndLength, the menu options for both being:

0-10 min
10-30 min
30-60 min

The respective values for each option are:

25
50
100

(the user should not see these values.) The total cost will be displayed and will be the average of the two values.

I've tried several different things, and nothing has really worked.
Here is the code I have at the moment.. Code:

Auto Populating Multiple Drop Downs.
im trying to create two dropdowns, i need the first one to be the category and the second one to be the subcategory.  The category drop down autopopulates with the correct info from the database. and uses the table "category", the value of each drop down is represented by the "cat" field in the table (cat is basically and integer id number) and "Category" is used as what the user actually sees in the drop down (category is the actual word of the category).

Once the category is selected i would like to have the sub category auto populate with everything that has the same values as the selected category (cat)

Here is a break down of how the tables work.

Table 1 Name: "category"
Fields for Table 1:  "cat" (the id number), "category" ( the actual name of the category)

Table 2 Name: "subcategory"
Fields for Table 2: "cat" (corresponds with the cat id from table 1 to pull the correct data), "subc" (the basic id of the subcategory), "subcat" the actual name of the subcategory.

so the way i see it, have a normal drop down populated by a php query. then on change, populate subcategory drop down where cat = cat and display sub category.

PHP Includes Vs. Server Side Includes
Up until now I've been using the PHP include(" "); function to parse items such as navigation bars into my web pages. But I've heard a lot about the SSI way to do it, and I was wondering which is better. For example, is SSI faster because the server doesn't have to load the PHP (if it does at all). So which is generally better for that specific task?

PHP Includes
Heres my prob.

Ive got for eg a structure like this.

/index.php
/info.php

/inc/database.php
/inc/header.php
/inc/footer.php

Say index.php includes header.php and footer.php.
Then in header.php that includes database.php and info.php.

I cant get the paths to work and ive completely forgotten how to sort it. Its doing my head in because I cant move forward in the development of the project.

PHP Includes And SEO
I want to use PHP includes for the menus and header on my next site, something like this:

<?php
include ("menu.html");
?>

in the main pages with the menu and headers on a separate files for ease of editing. Just a bit concerned as to whether search engine bots and spiders will be able to index the links and see the content of the include okay.

Includes
when using includes, will suing the full url to the include file make any difference from if ui just used the something like folde/filename?

Includes In Php As Cgi
I am in the process of moving a site to a new server.

On the old server, these two functions:

<?include("header.shtml");?>

and

<?include("footer.shtml");?>

allowed me to successful include a simple header and footer on every
page of the site.

However: on the new server, php is installed as cgi.

What function will allow me to successfully include the header and
footer files with this configuration? The host swears that shtml works
perfectly as an include for the php installed as cgi configuration --
but I cannot get it to work with this standard command.

Includes
i am using an the following code with an include file on every page on my site...

//GET NAME OF THIS PAGE IN CASE CONNECTION FAILS
$failedpage = basename($PHP_SELF);

//INCLUDE THE GENERAL FUNCTIONS PAGE
include("../resources/functions.php");

//CONNECT TO DATABASE
Connectme($failedpage);

what happens here is that the page gets its own name, it includes the functions page which contains the function Connectme which of course connects it to the database. it then calls the function Connectme passing the name of the page the call is coming from as $failedpage.

So the first thing every page does is connect to the database, if the connect fails then there is a clause in the Connectme function which waits a few seconds and then retries. now this works fine but i have noticed something very odd happening in the functions.php.

the function.php is an include file, before it makes the connect in the function Connectme it includes a file called myconst.h which contains all the passwords for the connection to the database. so the include file function.php has an include file myconst.h, with me so far? the myconst.h resides in the same folder as function.php and so the include is simply...

include("myconst.h");

however it fails to find it, if i change the include to...

include("../resources/myconst.h");

which is the same thing as the folder it resides in is called resources, it works? now i'm not mad! i've tested it about 5 times and systematically every time the first fails and the second works!

PHP Includes
Basically I have a layout index page. What I want to accomplish is display my content pages WITHIN my index page and I dont want to use iframes. Code:

<?php
if(strstr($id, "..") || $id[0]=="/") $id = "";
if(empty($id)) $id = "/home/vbd/public_html/home.html";
else { $id = $id . ".html"; }
if(is_file("$id")){ include("$id");
} else include ("404error.html");?>

I'm formatting my links like this: Code: <a href="index.php?id=news">News</a> And heres what's happening, the home page work as it should but none of the links are working.

PHP Includes
I have a configuration file called config.php" that I would like all my pages to have. The problem with it is that I have to include it in all my pages and have to specify the exact directory wherever it's located and I have my files throughout different files in the filesystem and it becomes a tedious job.

So my question is, is there a way to have php include the file on all your pages in a specific directory recursivly or is there an apache setting through .htaccess that can maybe pull this off?

Using Includes
I have set up my includes outside the public_html directory in directory phpincludes.
When I access index.php in public_html the includes work. I also have a second directory inside public_html, dir2 and want to access these same includes.

I've used an .htaccess file to set the path to the includes from public_html. I don't think I need another .htaccess file inside dir2 since I'm under the impression the directives cascade up the root tree. Can someone point me in the right direction. The PHP files are a counter using MySQL. I would like to use them from several different directories.

PHP Includes
Is it necessary to have your file named *.php to use PHP code in it, such as
for includes? Can't any extension be used?

PHP Includes
I don't want to use Server-Side Includes and recently found out about PHP Includes. (I am new to PHP :P) I've heard that it is simple. If you can provide me with a link to a great tutorial on how I should get started, that would be great.

Includes
I have 3 files Index.php, x.php and  login/Login.php in Login.php

<?php require_once "../x.php"; ?>

Index.php
<?php require_once "loginLogin.php"; ?>

when executing Index.php error is Failed opening required '../x.php'
I can of course say <?php require_once "x.php" ?> in Login.php, then Index.php would load fine.. However if I load loginLogin.php independently, x.php would not be found.
So what should I do?

Using Includes
When I use includes on my site, I have usually had the conf.php file in the same folder as the web page which will be using it and everything has worked fine, but when I have tried to tidy up my folder structure and put all of the includes in the same folder, the page gives me an error. The code which I am using is below.

include("/../includes/conf.php");

Includes . . .
In the site I am building I am using templates to make it easier, what do you think is the best way to do it, put the header and footer together and include the body, or include the header and footer in the body? For example:

include ('header.php');
Body Here
include ('footer.php');

OR

Header here
include ('body.php');
Footer here

Arrays Within Arrays, How To Split
I have been stumped on this one and it is probably easier than I think it is, especially since my brain is fried.

This is what my array looks like:
array(7) { ["injuredPerson"]=> string(0) "" ["dates"]=> string(0) "" ["describe"]=> string(0) "" ["location"]=> string(0) "" ["type"]=> array(3) { [0]=> string(8) "abrasion" [1]=> string(10) "amputation" [2]=> string(12) "asphyxiation" } ["part"]=> string(0) "" ["times"]=> string(0) "" }

This is actually an array of information from a form check. I have the error handling check the form and depending on if there is an error or not, the array gets populated with "" or an actual value(s).

I am testing a checkbox area of the form (the name is type, so type can hold an array of values, thats why it currently contains abrasion, amputation, and asphyxiation).

I have had no problem going through the array until I get to the area with an array within the array. Let me give you some code so you can see how I am doing this:

Searching Arrays With Arrays
ive looked through alot of the array search functions and i dont think any of them support arrays as the "needle" to search for.

so say i had a numeric array, $array1 with say 5 elements, 0-4, each element is a single word, lowercase.

say i had another numeric array structured the same way called $array2 with say about 5 elements, 0-4. Is there a function which i could use or does anyone know of an easy way to search every element in $array1 and compair it through each of the elements of $array2? and if a duplicate is found in $array2 have that element be removed or unset? im sure this can be done probably easy with some kind of loop function, but thats my weak point right now in php and im working on it.

About Partial Includes
I tried the following code, which simply includes all the contents from the other file. I want it NOT to include HTML code AFTER <END HTML DATA> tag in the other file.
Please let me know if the code needs to be corrected, or I am doing something wrong.

<?
$off_site = "./";
$data_start = "<!-- START HTML DATA -->";
$data_end = "<!-- END HTML DATA -->";
$fp = fopen ("$off_site$page", 'r')
or die("Unable to open file $off_site$page for reading");
$readData = false;
while (!feof ($fp)) {
$buf = trim(fgets($fp, 4096));
if ($readData) {
echo $buf;
continue;
}
if ($buf == $data_start) {
$readData = true;
continue;
}
if ($buf == $data_end) {
$readData = false;
continue;
}
}
fclose ($fp);
?>

Perl Includes
Am I using this right, trying to get a cgi/perl script to run as an include on a php page

virtual("./cgi-bin/schlabo/potd/potd_thumbnail.pl");

Im pretty sure thats correct but when i use it, its read as text on the page and doesnt run the script.

Are Mysql Includes Possible?
I use the php include function regularly for headers and other common page elements. What I would like to do is "include" my mysql queries too. i.e.

mysql_select_db($database_name, $mydb);
$query_rsCatdept = "SELECT category.name FROM category WHERE category.categoryID = $pagevar";
$rsCatdept = mysql_query($query_rsCatdept, $mydb) or die(mysql_error());
$row_rsCatdept = mysql_fetch_assoc($rsCatdept);
$totalRows_rsCatdept = mysql_num_rows($rsCatdept);
$catname = $row_rsCatdept['name'];

The $pagevar variable would change depending on what page my mysql query was "included".

This way I can create a "commonmysql.php" page that holds all my queries, and if i decide to change them, I only have to do it once.

Breadcrumbs And Includes
One of our clients who has an existing site would like for us to implement a breadcrumbs line.

My problem here is that his site was built on the basis of a single layout file and inumerous include files and no directories. One single include file may contain different aspects of different pages. A real mess from my point of view but there is little I can do at this stage to recode evrything of course.

Well... now onto my problem... I actually have no idea on how to code a breadcrumbs for this very specific case, I mean from what I understood existing breadcrumbs scripts list items on a directory or file basis... Not sure how to work this out with a single layout file and includes inside it...

XML Includes In PHP Causes Failure.
First off, I'm posting this question for a friend that doesn't have
access to the news groups.

Problem:
Using PHP as the base and has several PHP < includes > for various
functions, all this by its self works just fine.

Failure occurs on adding the XML include.

Here's the wierd: If all the PHP includes are removed/commented out,
the XML includes work fine. As soon as you replace/uncomment the PHP
includes everything fails.

Includes In Libraries
A fairly simple question:

I have a library A which depends on library B and C.

Currently I have:

<?php
include("A.inc.php");
include("B.inc.php");
include("C.inc.php");
?>

....in my HTML.

This needs changing to:

<?php
include("../A.inc.php");
include("../B.inc.php");
include("../C.inc.php");
?>

....if I call it from deeper in the directory tree.

I don't want lots of includes in my HTML. I want to write:

<?php
include("A.inc.php");
?>

....and to have the other includes in the "A.inc.php" file.

However if I put:

include("B.inc.php");
include("C.inc.php");

....in the library, it doesn't fild the files when included using:

<?php
include("../A.inc.php");
?>

....in an HTML file some distance from the root.

I don't want to wire absolute paths in.

I *could* pass the "../" in as a method parameter - but that
seems like a total mess.

What is the best way to resolve this issue?

Includes In An Array
I'm trying to have rotating server side includes. I've got this far, I've got the code in place to show the words one, two, three and four in rotation. When I replace the words with <?php require_once('rotating_links_01.php');?> it kicks it out because of the extra '. I'm sure I'm not containing it correctly.

<?php
$links =
array('one', 'two', 'three', 'four');
$i = rand(0, count($links)-1);
$selectedLinks = $links[$i];
?>

Php Global Includes?
Isn't there some way to include some php code every time a php script is
run without having to put an include statement in the script?

All I want to do is set the ORACLE_HOME environmental variable on a
development machine. The servers have it compiled into php and it's
different on different machines. So programmers using the development
platform shouldn't have to set ORACLE_HOME.

I've been browsing the php documentation and doing google searches for an
hour already. I thought there was a config file somewhere where you could
put some php code and it would be run every time a script is run.

Wordpress And PHP Includes
I am currently using wordpress and have it installed to the folder mysite.com/blog/ and would like to have the most recent post appear on mysite.com/news.html

Is there any way of doing this. I want the whole post to be displayed including pictures.

With Includes / Font Tag
I was wondering how I would be able to strip the <font> tags from a file
when I include it so it can take on the characteristics of my own stylesheet
instead of the font tag attributes.

Server Includes?
on SSI or IIS you can do a <!--#INCLUDE FILE="page.html"--> or in Cold Fusion its <CFINCLUDE TEMPLATE="page.html"> what might that be in PHP?

Variables And Includes
<? $variable = 1;
include('http://www.website.com/file.php');?>

It seems like if I referenced $variable from file.php it should have a value of 1. This does not seem to be the case. Is my assumption wrong? It works on my server, but not on an acquaintances.

What Kind Of Includes Don't Use PHP?
I just moved this site a new server:

On the new server, it does not work. Most pages have a top banner and
bottom footer that is included. The include works successfully on old
server but not on the new one. At first I thought I was seeing PHP
includes() and what needed to happen has that the .htacess needed to
send all html files to the PHP parser - I'd done this many times
before. In fact, I'd done this on my own personal site. So I wrote a
..htaccess file for this to happen. I could not get it to work, though
I checked the paths and the capitalization many times.

If you look at these pages, you'll see the headers and footers are
missing (compared to the same pages shown at the site above):

If you look at the source code, all the includes begin to jumpu out at
you, including this one at the top and the two at the bottom:

<!--#include file="inc_scripts.js" -->
<link href="staengl3.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#E8E5D9"
onLoad="MM_preloadImages('images/subpage_nav_r1_c1_f2.gif','images/subpage_nav_r1_c2_f2.gif','images/subpage_nav_r1_c3_f2.gif','images/subpage_nav_r1_c4_f2.gif','images/subpage_nav_r1_c5_f2.gif','images/subpage_nav_r1_c6_f2.gif');">
<div align="center">
<table width="740" border="0" cellpadding="10" cellspacing="0"
class="borderOuter">
<tr>
<td align="center" valign="middle"><table width="100%"
border="0" cellpadding="0" cellspacing="0" class="borderOuter">
<tr>
<td align="center">
<!--#include file="inc_header_company.htm" -->
<!--#include file="inc_nav.htm" -->

What kind of include is this, and how do I activate on the new
server.?

PHP Includes Question
If my index.php has two includes:

require_once( './includes/WebStart.php' );
require_once( "includes/Wiki.php" );

Then each of those have includes, then each of those...... etc. etc.
etc..........

Once index.php is called, even if it aborts (not from an error but say by
the program's own design), do every single one of my thousands of PHP
interlinked files by "require_once" lines get all loaded, compiled, and put
into memory?

Includes Across Sub Domains
I have a site www.mysite.com.
I have 3 subdomains sub1.mysite.com, sub2.mysite.com and
sub3.mysite.com.
sub3.mysite.com is password protected.
All pages end with .php (ie index.php)
I use the following code:

<?php
include("inc23.inc");
?>

I find that I will require some of the same includes in more than one
subdomain.
Can I do the following?

1) Create a subdomain called resources.mysit.com with 3 folders - images,
includes and stylesheets
and use

A.

<?php
include("resources.mysit.com/includes/ inc23.inc");
?>

B.

<link rel="stylesheet" type="text/css"
href="resources.mysit.com/stylesheets/stylesheetraw.css" />
Instead of
<link rel="stylesheet" type="text/css" href="stylesheetraw.css" />

C.

In my style sheet use

#toparea {background-image: url(resources.mysit.com/images/images/gs1.gif);
etc
instead of
#toparea {background-image: url(images/gs1.gif); etc

D

Does the fact that one of my subdomains is password protected complicate
anything?

Path To Includes
I can't seem to get the path to my include files right.
The php app sits in /var/www/html/myapp.
I have my include files in /var/www/includes.
I've tried every configuration of relative paths to get to them, but
nothing works. So I tried the absolute path like this
include("/var/www/includes/HtmlFooter.txt")
and that doesn't work. I've opened up the permissions all the way on
the path and file, but still no luck. I even tried putting the files
in "/usr/lib/myapp" and I still can't access them.

Includes Question
I was just wondering ...

I use the following a lot:

include_once("connectToDB.php");
include_once("some_functions.php");
include_once("HTML_snippets.php");

etc...

Can I do this:

include_once(http://www.someotherurl.com/HTML_snippets.php);

and if so, it is a security risk to have my include files in an unprotected
(www or public) directory????

What is the usual setup in terms of access priveleges?

Includes Question
There's 3 files involved:

test.php
library/myconnect.php
library/insert.php

test.php contains a form which I've just smacked together to test an insert record function I created in library/insert.php. library/myconnect.php opens a connection my mySQL db.

My problem is this. In test.php I'm am including library/myconnect.php and library/insert.php at the top of the script using:

include("library/insert.php");
include("library/myconnect.php");

This returns an error in library/myconnect.php like the connection to the database hasn't been opened. If instead of including both files in test.php, I include library/myconnect.php in library/insert.php, everything works but I have to specify the subdirectory to library/myconnect.php and I don't want to do that as it's not portable.
Has anyone got any ideas as to why this might be? I've tried using require() as well but no joy!

Function Or Includes?
I'm building my first dynamic web site using MySQL for the database and PHP for rendering the data in my HTML templates. It's a site that shows accomodation listings for a particular region. Here's my question:

Currently, I'm not using functions for "resuable code" but instead I'm using required (); and pulling in the query and php rendering code for each new query I need to call on a page. Here's the require call: PHP Code:

PHP - Can I Nest Includes?
Can I include a PHP file from a file that has been included.
From the example below, I have a start PHP page with an include to a
type of template page, and from page 2, I include a 3rd page. The
first include works, but the page 3 is brought in as standard text.
Is this a PHP limitation, or do I need to make a change to the PHP
config. file?

(Page1)

<? include("page2.php"); ?>

(Page2)

<html>

<head>
<title>Sans Titre</title>
<meta http-equiv="content-type" content="text/html;
charset=iso-8859-1" />
<meta name="generator" content="HAPedit 3.1">
</head>
<body bgcolor="#FFFFFF">
<?
// Your code here
echo "<hr />
".
"HAPedit 3.1.11.111 (September 2005 7:03:30 PM)<p>";
?>
requires("page3.php");
</body>

</html>

(Page3)

<?
$x = 100;
echo $x." This is a test";
?>

Server Includes
Server Includes were shut off on my site at:
http://web.ics.purdue.edu/~cthilges/

Warning: include() [function.include]: URL file-access is disabled in
the server configuration in /home/lookout/h2/cthilges/www/index.php on
line 2

Warning: include(http://web.ics.purdue.edu/~cthilges/header.php)
[function.include]: failed to open stream: no suitable wrapper could be
found in /home/lookout/h2/cthilges/www/index.php on line 2

Warning: include() [function.include]: Failed opening
'http://web.ics.purdue.edu/~cthilges/header.php' for inclusion
(include_path='.:') in /home/lookout/h2/cthilges/www/index.php on line 2

I use this feature so that i can have a basic template file for my site
with only two includes:

<?header=http://web.ics.purdue.edu/~cthilges/header.php>
the content
<?footer=http://web.ics.purdue.edu/~cthilges/footer.php>

With an absolute url as well i never have to count ../../../

What security reason is this disabled?
It seems to be a very convenient and irreplaceable feature.
I add pages of flashy site code this way.

Php/apache Includes
Not sure if this is an apache configuration or a php configuration
problem, i'm hoping someone can help. I'm running a webserver on FreeBSD
consisting of apache2 and php4 among other items. I've got a site that has
an alias directive defined in httpd.conf like:

alias /include "/path/to/directory/include"

In that area i have a file header.php which contains standard information i
want displayed across my web pages. In my index file i have:

<? include "/include/header.php"; ?>

Brackets Across Includes
I am trying to create a user authentication system, and I would like to
separate the authentication code into include files. As I see it, the
basic flow would go something like this:

if (not authentic) {
display login
} else {
display content
}

I would like to separate this code so that the login bit is in an
included file. I imagined the breakup like this:

file: [auth_head.php]
-----------------------
if (not authentic) {
display login
} else {
-----------------------

file: [auth_foot.php]
-----------------------
}
-----------------------

So in each file which requires authentication, I can simply include the
first bit in the head, the second bit at the bottom, and put the
content in the middle. Makes sense, right?

Unfortunately, it seems that you cannot continue a { bracket }
statement across includes in this manner, as php errors. (It wants you
to wrap up your brackets before the end of the file.)

Does anyone know of a solution to this problem, or perhaps a
work-around?

Includes Not Including..
The problem is with SSI and getting the part that says Scripture Today under the menu.
I have it including a file called func.php (attached) but it is not pulling from my server. I have changed directories and done everything I could think of but I still do not understand.


Copyright © 2005-08 www.BigResource.com, All rights reserved