killerwhale65
Newbie
Offline
Posts: 19
Thank You
-Given: 0
-Receive: 0
|
 |
« Reply #30 on: March 09, 2006, 06:48:05 PM » |
|
hi,
what if i whish to integrate a php file instead of a html? How can i do that?
|
|
|
|
Logged
|
|
|
|
mawenzi
4images Moderator
4images Guru
   
Offline
Posts: 4500
Thank You
-Given: 36
-Receive: 121
|
 |
« Reply #31 on: March 09, 2006, 07:33:42 PM » |
|
|
|
|
|
Logged
|
|
|
|
Gwydion
Full Member
 
Offline
Posts: 126
Thank You
-Given: 0
-Receive: 2
|
 |
« Reply #32 on: April 06, 2006, 08:35:31 PM » |
|
That solved my problem as well! Would it be possible to put a summary of the correct instructions in the first post? Luckily it's only a 2 page thread but still ... I don't need it anymore now but I am sure many others would appreciate it.
|
|
|
|
Logged
|
|
|
|
koikonut
Jr. Member

Offline
Posts: 75
Thank You
-Given: 0
-Receive: 4
|
Kann man die über ?template=... Pages aus einem anderen Ordner includen? Ich möchte aus dem Hauptverzeichnis zum Beispiel eine Kategorie-Liste includen:
domain.com/index.php --> includet: domain.com/4images/index.php?template=categorylist
Muss ich dann CHDIR oder etwas in der Art machen beim includen oder geht das auf die Weise nicht?
Danke für die Hilfe, Konradin
----
Can they include a page that is processed by ?template=... from another folder? I want to include for example a categorylist from the root folder:
domain.com/index.php --> includes domain.com/4images/index.php?template=categorylist
Do I have to use CHDIR or something like this for the include code or doesn't it work in this way?
Thx for helping, Bye Konradin
|
|
|
|
Logged
|
|
|
|
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
   
Offline
Posts: 17849
Thank You
-Given: 47
-Receive: 580
mmm PHP...
|
For security reason such include is not possible. Yet, you might want to try create a normal categorylist.html template with this code inside: 1 2 3
| <?php include("path/to/your/real/categorylist.html"); ?>
|
|
|
|
|
Logged
|
|
|
|
koikonut
Jr. Member

Offline
Posts: 75
Thank You
-Given: 0
-Receive: 4
|
I don't understand.  So, how can I include 4images-Information from another page? The categorylist that you have mentioned ist static, isn't it? Thx for helping, bye Konradin
|
|
|
|
Logged
|
|
|
|
|
|
jojomart
Guest
|
 |
« Reply #38 on: December 21, 2007, 04:09:51 PM » |
|
This is awesome! I used this to add my contact form to my Wallpaper Downloads site - works very well!
Thanks,
Joanne
|
|
|
|
Logged
|
|
|
|
Elfinee
Pre-Newbie
Offline
Posts: 5
Thank You
-Given: 2
-Receive: 0
|
 |
« Reply #39 on: August 10, 2012, 04:02:15 PM » |
|
Hi, ich habe mir diesen Thread http://www.4homepages.de/forum/index.php?topic=4996.0 durchgelesen und noch Fragen dazu. Leider kann ich in dem Thread nicht antworten. Ich bin mir da noch etwas unsicher. Also soll ich beispielsweise die error.html kopieren und in einem Editor einfügen? Diese dann umbenennen in Beipsielweise faq? Dieses lang_error und error_msg soll ich ja löschen. Nur diese Worte oder irgendwie ganze Abschnitte? Und wo trage ich da meinen eigenen Text ein? Hab das irgendwie nicht so ganz verstanden und bevor ich da irgendwie Bockmist baue, frag ich lieber mal nach 
|
|
|
|
Logged
|
|
|
|
Saschilys
Jr. Member

Offline
Posts: 51
Thank You
-Given: 5
-Receive: 0
|
 |
« Reply #40 on: August 10, 2012, 04:16:24 PM » |
|
Jep, die error.html in faq.html umbenennen.
Um was neues zu schreiben, wie schon angedeutet die beiden Atribute löschen. Am besten nimmst du dir ein WYSIWYG-Editor. Dann siehst du auch gleich, was du löschst und wie es am Ende aussieht.
|
|
|
|
Logged
|
|
|
|
|