[web] web development question

This topic is 4905 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

I am building a web page for an orginisation I am involved in, and I am using a PHP script for a calendar. But, I have a little problem... The script is being kept in a subdirectory of a subdirectory, this is how it all looks. my site folder -index.php -[calendar] --test.php (works fine...) --[images] --[data] --[modules] ---calendar.php I am calling calendar.php from index.php, and something gets lost in the process. How should I go about calling it? What I have been doing so far is use
require("calendar/modules.php");
That calls the script, but none of the images are displayed. Anyways, this is the calendar script I am using. If any of you have some ideas on what to do, let me know. Jax calendar. And I don't know if the server I will host on will have SQL, so I have to develop with out it. If anybody knows a better calendar script, then let me know.

Share on other sites
I don't know which images you mean, but I do see a reference to prev_month_wb.gif located in the images directory.
Yet this directory doesn't seem to contain any images at all. Or is that caused by a htaccess file?

Share on other sites
there is an images folder in the calendar folder as well.

Share on other sites
Could be, but the source tells me that the image tags point to the images folder in the "root" directory (http://69.24.189.160/xa/images/). But the page has changed now anyway.

Share on other sites
Quote:
 Original post by PnP BiosWhat I have been doing so far is use require("calendar/modules.php");That calls the script, but none of the images are displayed.

Not that I am an expert but shouldn't it be something like
require("calendar/modules/calendar.php");

Share on other sites
i was typing that off my head. it wasn't what was in my code.

Problem fixed

• What is your GameDev Story?

In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

• 9
• 13
• 9
• 9
• 15
• Forum Statistics

• Total Topics
634074
• Total Posts
3015348
×