---
title: "include... fel!"
type: "forum-thread"
url: "https://www.webforum.nu/amne/php/146576-include-fel"
topic: "PHP"
topic_url: "https://www.webforum.nu/amne/php"
author: "überfuzz"
published: "2006-05-07T20:20:28.000Z"
updated: "2006-05-07T20:31:25.000Z"
replies: 1
views: 274
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/php/146576-include-fel"
---

# include... fel!

## #1 — überfuzz, 2006-05-07T20:20Z

Nu är klockan mycket och jag är trött. Vad gör jag för fel?

\<?php
$pages = array(
"1"=\>"DFG969DFGN96.html",
"2"=\>"DF50SDF45H0S.html",
"3"=\>"DFG85SH5SH58.html",
"4"=\>"DFH9S56GH65S.html",
"5"=\>"DF875DGFJ569.html"
);
include $pages\[$\_GET\['page_id'\]\];
?\>

Ger mig:
Warning: include() \[function.include\]: Failed opening '' for inclusion (include_path='.:/usr/share/php:/usr/share/pear:/web/www/include') in /web/www/frac/users/fuzz/index.php on line 116

Sov gott alla hackers,men inte förns ni hjälpt mig va.

Permalänk: https://www.webforum.nu/p/146576

## #2 — Matte, 2006-05-07T20:31Z

Utav felmeddelandet ser det ut som om $\_GET\['page_id'\] saknas, eller har ett annat värde än 1-5.

Permalänk: https://www.webforum.nu/p/1811149

---

Tråden på webben: https://www.webforum.nu/amne/php/146576-include-fel
