Käynnissä

PHP include(ed) file problem

This is probably a ridiculously small job for this forum, but I've googled for days and have no other option but to seek help.

The exact directory structure, file info, etc is shown in detail, in the attached txt document, however, Generally this is the issue...

I have an include file that calls up a php rotator script. The script rotates some html content, including a second php rotator script that rotates an image within the text content.

The second rotator will not run unless I surf the included html directly.

i don't believe it is related to paths because both include statements are called with the document root which is supposed to make it bullet proof as far as the path goes:

<?php include($_SERVER['DOCUMENT_ROOT']."/includes/HomeContentRotator.php"); ?>

and, I don't believe its related to the include files themselves, because I know they both work. further... it can not be related to the second include file (FeatCommRotator) because.... that file is being called from the 2nd include which lives in the ***results*** of the first included file. ***that*** file won't even run a basic php command such as echo which was placed there as a test. (but it does run if i surf that html directly.)

so if echo does not work, then the second include is not even getting fired up.

not sure if i explained that clearly , i know its kind of abstract :-) i ****think**** the problem has more to do with the *resulting* file that is rotated as a result of the first include (the first rotator...homecontent)

At any rate... the exact directory structure, file info, etc is shown in detail, in the attached txt document.

Taidot: PHP

Näytä lisää: work seek, test seek, seek test, seek job, seek it, seek i, seek for job, root info, problem statements, php forum script, it seek, it job seek, i seek job, getting fired from a job, getting fired, forum php html, fired from job, fired from a job, fired, ed don, php include messes html, php include file issue, problem, php rotator, php command

Tietoa työnantajasta:
( 2 arvostelua ) Sugarloaf, United States

Projektin tunnus: #390719

Myönnetty käyttäjälle:

gangrelsurf

This looks like a great first project for me to try out the GAF system. I can find the hang up in no time. From what you describe in the text file, I'm sure it has to do with the paths getting messed up somewhere. Mayb Lisää

30 $ USD 1 päivässä
(1 arvostelu)
1.2

7 freelancers are bidding on average $30 for this job

dboyzhang

Please check PMB

30 $ USD 0 päivässä
(248 arvostelua)
7.0
wincent

quick fixing.

30 $ USD 0 päivässä
(79 arvostelua)
6.0
exitsol

lets get started

30 $ USD 0 päivässä
(107 arvostelua)
5.8
tonyinabox

i am ready for the job

30 $ USD 1 päivässä
(14 arvostelua)
4.8
Remoddy

PM........

30 $ USD 0 päivässä
(9 arvostelua)
4.0
kumaresanme

I can fix this .

30 $ USD 1 päivässä
(1 arvostelu)
1.0