Author Topic: Verzeichnis Prob.  (Read 6485 times)

0 Members and 1 Guest are viewing this topic.

Offline TCA

  • Pre-Newbie
  • Posts: 5
    • View Profile
Verzeichnis Prob.
« on: June 27, 2002, 09:47:25 PM »
Wie bereits erwähnt, hab ichs noch nicht ganz drauf, aber werde mich bemühen! *VERSPRECH*

Also habe meine WYSWIG Seiten im Verzeichnis: /home/html/index.php

möchte nun dort:  /home/php/bilder/index.php   "includen", sollte also mal das Verzeichnis wechseln.

DIE FRAGE: Kann ich das pauschal irgendwo einstellen, oder wie hätte das nun auszusehen? Probier schon zwei Stündchen rum, aber bekomme das irgendwie nicht so hin  :cry:

Dieser Include ist irgendwie nur die halbe Miete:

<?php
chdir("../");                    //raus aus "html"
chdir("php/bilder");         //rein nach "php/bilder"
include("index.php");      // UND DER REST FEHLT - ABER WARUM???
?>




Danke!
Gruss TCA

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Verzeichnis Prob.
« Reply #1 on: June 27, 2002, 11:44:08 PM »
Warum machst Du nicht einfach:

include("/home/php/bilder/index.php ");

Gruß Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline TCA

  • Pre-Newbie
  • Posts: 5
    • View Profile
Verzeichnis Prob.
« Reply #2 on: June 28, 2002, 12:55:40 PM »
Danke Jan, aber leider funzt das auch nicht...:


Warning: Unable to access ./global.php in /home/php/bilder/index.php on line 30

Warning: Failed opening './global.php' for inclusion (include_path='.:/usr/lib/php') in /home/php/bilder/index.php on line 30

Warning: Unable to access .//includes/sessions.php in /home/php/bilder/index.php on line 31

Fatal error: Failed opening required './/includes/sessions.php' (include_path='.:/usr/lib/php') in /home/php/bilder/index.php on line 31


Noch eine Idee?

DANKE!
Gruss
Carsten (TCA)

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Verzeichnis Prob.
« Reply #3 on: June 28, 2002, 01:05:54 PM »
Nur mal zum Verständnis: Du willst aber nicht die ganze Galerie in eine andere Seite includen, oder? Das geht nämlich nicht ;)

Gruß Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline TCA

  • Pre-Newbie
  • Posts: 5
    • View Profile
Verzeichnis Prob.
« Reply #4 on: June 28, 2002, 01:13:00 PM »
doch das hatte ich vor - betonung liegt dann wohl auf hatte...

Ich hätte gemeint, dass das gehen sollte..., kann aber alternativ auch die betroffene Seite in das Frame laden...

Schade -  Danke für den wertvollen Hinweis! - Hätte mich sicher noch ein paar Stündchen gekostet... :lol:

Gruss Carsten