Skip to content
View in the app

A better way to browse. Learn more.

GTAGames.nl - De Nederlandse Grand Theft Auto Community!

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP Includen faalt erg hard :7

Hallo mensen, ik heb nu een kleine site die op E107 draait. Je kan daar pagina's toevoegen. Die krijgt dan een ID en wordt weergegeven als "www.domein.nl/page.php?3"

Ik wil een bestaand fotoalbum weergegeven, maar dan niet dat hij de rest van de pagina der omheen (Log in etc.) weghaalt. Ik wil ook neit die hele .php code copieren en daar neer plakken dus probeer ik het te includen.

Ik doe in dat nieuwe bestand:

<?php include("wwww.mijndomein.nl/foto/index.php"); ?>

Als ik hem bekijk zegt ie: Of bestand niet gevonden/beschikbaar of helemaal niks. What to do?

Edited by dji-unit

Featured Replies

Include is alleen voor lokale paden, dus zonder domeinnaam. Het wordt dus:

<?php include("foto/index.php"); ?>

  • Author

Danku, had ik ook al geprobeerd. Ik denk dat het aan de site ligt. Ik ga het anders proberen.

Beste oplossing: Photo Gallery verwijderen :7

Edited by dji-unit

  • 4 months later...

Danku, had ik ook al geprobeerd. Ik denk dat het aan de site ligt. Ik ga het anders proberen.

Beste oplossing: Photo Gallery verwijderen :7

Is je include 'wwww.mijndomein.nl/foto/index.php' een andere locatie dan je lokale content? Zo ja kan je ook gebruik maken (indien het alleen om de clientsite code gaat)

echo file_get_contents('wwww.mijndomein.nl/foto/index.php');

gebruiken.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.