[PHP] Include werkt niet?

Gestart doorSkytop5 reacties35 weergaven

6 berichten · pagina 1 van 1

Skytop

Lid · Topicstarter

Berichten
1.101
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoi iedereen,

Ik ben bezig met een ledensysteem biggrin.
Maar nu heb ik mijn logout.php waar ik errors krijg.

CODE:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR]

[URL="http://www.php.net/session_destroy"]session_destroy[/URL][COLOR= #007700]();[/COLOR]

[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"design_top"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je bent nu uitgelogd. Klik <a href=index.php>hier</a> om terug te keren."[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"design_bottom"[/COLOR][COLOR= #007700]);[/COLOR]
?>


Je kan wel nog steeds uitloggen.
Maar het probleem is dus dat de design er niet komt.

ERRORS:

Warning: include(design_top) [function.include]: failed to open stream: No such file or directory in /home/marklzg47/domains/win7editions.net/public_html/sem/logout.php on line 6

Warning: include(design_top) [function.include]: failed to open stream: No such file or directory in /home/marklzg47/domains/win7editions.net/public_html/sem/logout.php on line 6

Warning: include() [function.include]: Failed opening design_top for inclusion (include_path=.:/usr/local/lib/php) in /home/marklzg47/domains/win7editions.net/public_html/sem/logout.php on line 6
Je bent nu uitgelogd. Klik hier om terug te keren.
Warning: include(design_bottom) [function.include]: failed to open stream: No such file or directory in /home/marklzg47/domains/win7editions.net/public_html/sem/logout.php on line 8

Warning: include(design_bottom) [function.include]: failed to open stream: No such file or directory in /home/marklzg47/domains/win7editions.net/public_html/sem/logout.php on line 8

Warning: include() [function.include]: Failed opening design_bottom for inclusion (include_path=.:/usr/local/lib/php) in /home/marklzg47/domains/win7editions.net/public_html/sem/logout.php on line 8


Ik snap de fout niet confused.
Skytop
0
Berichten
10.857
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien

Den Haag

failed to open stream: No such file or directory in


3x raden emo
0
Berichten
4.912
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/include"]include[/URL] je config mischien[COLOR= #007700]?[/COLOR]
[URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR]

[URL="http://www.php.net/session_destroy"]session_destroy[/URL][COLOR= #007700]();[/COLOR]

[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"design_top.php"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je bent nu uitgelogd. Klik <a href=index.php>hier</a> om terug te keren."[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"design_bottom.php"[/COLOR][COLOR= #007700]);[/COLOR]
?>
0
Berichten
15.446
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR]

[URL="http://www.php.net/session_destroy"]session_destroy[/URL][COLOR= #007700]();[/COLOR]

 [URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]design_top.php[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Je bent nu uitgelogd. Klik <a href="index.php">hier</a> om terug te keren.[/COLOR][COLOR= #007700];[/COLOR]
 [URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]design_bottom.php[/COLOR][COLOR= #007700];[/COLOR]
?>


misschien zo wel?
0
Skytop

Lid · Topicstarter

Berichten
1.101
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Marjolein schreef:
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR]

[URL="http://www.php.net/session_destroy"]session_destroy[/URL][COLOR= #007700]();[/COLOR]

 [URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]design_top.php[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Je bent nu uitgelogd. Klik <a href="index.php">hier</a> om terug te keren.[/COLOR][COLOR= #007700];[/COLOR]
 [URL="http://www.php.net/include"]include[/URL] [COLOR= #DD0000]design_bottom.php[/COLOR][COLOR= #007700];[/COLOR]
?>


misschien zo wel?
Ja, die werkt! redfaceIk dacht dat je maar op 1 manier kon includen?

Achja! Bedankt!
Slotje clown
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Gebruik:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/session_start"]session_start[/URL][COLOR= #007700]();[/COLOR]

[URL="http://www.php.net/session_destroy"]session_destroy[/URL][COLOR= #007700]();[/COLOR]

[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"design_top.php"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]"Je bent nu uitgelogd. Klik <a href=index.php>hier</a> om terug te keren."[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/include"]include[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]"design_bottom.php"[/COLOR][COLOR= #007700]);[/COLOR]
?>


wink

Je moet er wel het bestandstypen achter zetten, zoals .php of .html etc..
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren