/    Sign up×
Community /Pin to ProfileBookmark

includes statement wont load up 1 file..

ok, on my site i use a php with 2 constant includes and one variable. it works perfectly, except with 1 page. With that page ( [url]http://projep.t35.com/a.php?a=shadow[/url] ) the two constants are displayed but thats it…

wtf?

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@SamFeb 10.2004 — hard to say without some source, but I would guess just a small typo (maybe a case sensitivity thing) also there could be a busted loop in your php source, cuz the thing took forever to load
Copy linkTweet thisAlerts:
@Ben_RogersauthorFeb 11.2004 — yes but all the other pages work fine (i.e.: http://projep.t35.com/a.php?a=leet )

...

i also think the long load thing i because of my server.

and finally...
[code=php]
<?
include 'top.html';
$mid = $_GET['a'];
include ($mid . ".html");
include 'bottom.html';
?>
[/code]
Copy linkTweet thisAlerts:
@SamFeb 11.2004 — yeah, I was thinking maybe your shadow.html was accidently named Shadow.html or something to that effect

EDIT:

did you change something, cuz i just went and it loaded...
Copy linkTweet thisAlerts:
@Ben_RogersauthorFeb 11.2004 — yeah, i just fixed some of the code (unclosed div) and then reloaded it.. i don't know wh ythat would change anything tho. o well, spaztastic, topic closed tho.. thx for ur time... ?
×

Success!

Help @Ben_Rogers spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...