22. Mai 2013 13:33:15
Navigation
· Startseite
· Artikel
· Forum
· Gästebuch
· Links
· Fotogalerie
· News Kategorien
· FAQ
· Link us
· Suche
· Impressum
PHP-Fusion
· Downloads
· Roadmap/Bugtracker
· PHP-Fusion Suche
Fun
· Games
· Witze
· Quiz (in development)
Downloads

Neue Downloads

· Gray_Theme (Nic...
· Blue_Flash
· Profile.php V7....
· ShoutBox V2.2
· Forum Extension...

Top 5 Downloads

· PHP-Fusion: Inf... [36855]
· PHP-Fusion: Inf... [35623]
· PHP-Fusion: Inf... [22468]
· PHP-Fusion: Inf... [19430]
· PHP-Fusion: Inf... [15469]
Advertisement
Neueste Artikel
· EN: How to change th...
· Inhalt der Registrie...
· Favicon in PHP-Fusio...
· Wie kann man die Anz...
· Globale Variablen un...
Game Events
Latest scores
Martini
Scored 2 Points
In gta
Xars
Scored 4 Points
In 3dsuperballGC
lustigerdaddy
Scored 7463 Points
In goldminer
lustigerdaddy
Scored 1510 Points
In pacman
mikelo89
Scored 862 Points
In 501darts
Latest Champions
calimero
Is the New Champion
In helicopter
with 734 Points.
Basti
Is the New Champion
In Glumballs
with 24276 Points.
Basti
Is the New Champion
In 983
with 640 Points.
C@rlos
Is the New Champion
In 3dgolf9hole_1
with 45 Points.
Jante
Is the New Champion
In 2dknockout
with 10 Points.
Arcade Best
# Name Scores
 AlbaBin 19
 Megalega 9
 ThePostman 9
 ritchi 6
 djbigbaer 5
 Wildfire 5
 PHPexpert 3
 DJ-Matze 3
 Basti 3
Benutzer Online
· Gäste Online: 1

· Mitglieder Online: 0

· Registrierte Mitglieder: 2,785
· Neustes Mitglied: Schnassel63
letzte User
· Schnassel6302:19:27
· DJMars21:16:45
· Ratlos23:29:52
· Meifeng33 1 Tag
· Webbi 1 Tag
· Skadush 1 Tag
· URLAUBS_BILLY 2 Tage
· Zwerg 4 Tage
· feuerwehr 5 Tage
· Schlagertyp 6 Tage

Globale Variablen und Konstanten in "PHP-Fusion"
Wenn man eigene Modifikationen in das bestehende CMS PHP-Fusion mit einbauen will, kann es sein, dass man damit konfrontiert wird: Woher bekomme ich den Usernamen von dem User, der gerade auf der Seite surft oder wie kann ich eine Seite nur für Admins zugänglich machen?
Innerhalb von PHP-Fusion gibt es eine ganze Reihe von Variablen und Konstanten, die sehr hilfreich sind und die man aus Gründen der Sicherheit und Performance verwenden sollte. Im folgenden sind diese aufgelistet und beschrieben.

Konstanten

Allgemeine Konstanten:

IN_FUSION : Damit kann man kontrollieren, ob die Datei in die maincore.php eingebudnen ist

LOCALESET : Gewählte Sprache

USER_IP : IP des Aktuellen Besuchers

QUOTES_GPC : Zur Kontrolle ob magic_quotes_gpc aktivit ist

FUSION_REQUEST : enthält den Scriptnamen inklusive etwaiger Unterordner und GET-Variablen. z.B. forum/post.php?action=newthread&forum_id=62

FUSION_SELF : enthält den Scriptnamen (ohne Unterordner und Get-Variablen) z.B: post.php

FUSION_QUERY : enthält den Parameter(= GET-Variablen) einer Datei z.B. action=newthread&forum_id=62

Relative Pfade:

BASEDIR : Der relative Pfad zum Hauptverzeichnis von PHP-Fusion, z.B. ../

ADMIN : Relativer Pfad zum Administrations-Ordner

IMAGES : Relativer Pfad zum Images-Ordner

IMAGES_A : Relativer Pfad zum Ordner "images/articles"

IMAGES_N : Relativer Pfad zum Ordner "images/news"

IMAGES_NC : Relativer Pfad zum Ordner "images/news_cats"

PHOTOS : Relativer Pfad zum Ordner "images/photoalbum/"

INCLUDES : Relativer Pfad zum includes-Ordner

LOCALE : Relativer Pfad zum Locale-Ordner

FORUM : Relativer Pfad zum Forum-Ordner

INFUSIONS : Relativer Pfad zum Infusions-Ordner

THEMES : Relativer Pfad zum Themes-Ordner

THEME : Relativer Pfad zum Ordner des gewählten Themes

Zugriffsabfragen:

iGUEST : ist wahr, wenn der Besucher nicht angemeldet ist

iMEMBER : ist wahr, wenn der Besucher angemeldet ist.

iADMIN : ist wahr, wenn der User als Administrator eingetragen ist

iSUPERADMIN : ist wahr, wenn der User als Super Administrator eingetragen ist

iUSER : enthält das Userlevel (0 = Gast, 101 = Mitglied, 102 = Admin oder 103 =Super Admin)

iUSER_RIGHTS : Liste der Adminrechte dieses Users

iUSER_GROUPS : Liste mit IDs der Gruppen, in die der User eingetragen ist

iAUTH : Enthält den Aidlink fürs Admin panel (Sicherheitsmaßnahme)


Variablen:

Sprachdateien:

$locale : Enthält lokalisierte Texte aus den Dateien im locale Ordner

Seiteneinstellungen:

$settings["sitename"] : z.B: PHP-Fusion Powered Website
$settings["siteurl"] : z.B: http://www.yourdomain.com/
$settings["sitebanner"] : z.B: images/baner.gif
$settings["siteemail"] : z.B: you@yourdomain.com
$settings["siteusername"] : z.B: Basti
$settings["siteintro"] : z.B: Welcome to your site
$settings["description"] : z.B:
$settings["keywords"] : z.B:
$settings["footer"] : z.B: Copyright © 2007
$settings["opening_page"] : z.B: news.php
$settings["news_style"] : z.B: 0
$settings["locale"] : z.B: English
$settings["theme"] : z.B: fusion2
$settings["shortdate"] : z.B: %d/%m/%Y %H:%M
$settings["longdate"] : z.B: %B %d %Y %H:%M:%S
$settings["forumdate"] : z.B: %d-%m-%Y %H:%M
$settings["subheaderdate"] : z.B: %B %d %Y %H:%M:%S
$settings["timeoffset"] : z.B: 0
$settings["numofthreads"] : z.B: 5
$settings["attachments"] : z.B: 1
$settings["attachmax"] : z.B: 150000
$settings["attachtypes"] : z.B: .gif,.jpg,.png,.zip,.rar,.tar
$settings["thread_notify"] : z.B: 0
$settings["enable_registration"] : z.B: 1
$settings["email_verification"] : z.B: 1
$settings["admin_activation"] : z.B: 0
$settings["display_validation"] : z.B: 1
$settings["validation_method"] : z.B: image
$settings["thumb_w"] : z.B: 100
$settings["thumb_h"] : z.B: 100
$settings["photo_w"] : z.B: 400
$settings["photo_h"] : z.B: 300
$settings["photo_max_w"] : z.B: 1800
$settings["photo_max_h"] : z.B: 1600
$settings["photo_max_b"] : z.B: 150000
$settings["thumb_compression"] : z.B: gd2
$settings["thumbs_per_row"] : z.B: 4
$settings["thumbs_per_page"] : z.B: 12
$settings["tinymce_enabled"] : z.B: 0
$settings["smtp_host"] : z.B: smtp.host.de
$settings["smtp_username"] : z.B: Maonor
$settings["smtp_password"] : z.B: 23134rt
$settings["bad_words_enabled"] : z.B: 0
$settings["bad_words"] : z.B: asshole
$settings["bad_word_replace"] : z.B: ****
$settings["guestposts"] : z.B: 0
$settings["numofshouts"] : z.B: 10
$settings["flood_interval"] : z.B: 15
$settings["counter"] : z.B: 4
$settings["version"] : z.B: 6.01.11
$settings["maintenance"] : z.B: 0
$settings["maintenance_message"] : z.B: Seite wird gerade gewartet

Userdaten:

$userdata["user_id"] : z.B: 1
$userdata["user_name"] : z.B: Basti
$userdata["user_password"] : z.B: cucb1e7232373312861277343123
$userdata["user_email"] : z.B: test@test.com
$userdata["user_hide_email"] : z.B: 1
$userdata["user_location"] : z.B: Germany
$userdata["user_birthdate"] : z.B: 1919-01-01
$userdata["user_aim"] : z.B: Aimuser
$userdata["user_icq"] : z.B: 123456789
$userdata["user_msn"] : z.B: mymsn@hotmail.com
$userdata["user_yahoo"] : z.B:
$userdata["user_web"] : z.B: http://basti2web.de
$userdata["user_theme"] : z.B: fusion2
$userdata["user_offset"] : z.B: 0
$userdata["user_avatar"] : z.B: avatar[1].jpg
$userdata["user_sig"] : z.B: Unmögliches ist dazu da, möglich gemacht zu werden
$userdata["user_posts"] : z.B: 3
$userdata["user_joined"] : z.B: 1151313189
$userdata["user_lastvisit"] : z.B: 1156592574
$userdata["user_ip"] : z.B: 127.0.0.1
$userdata["user_rights"] : z.B: A.AC.AD.B.C.CP.DB.DC.D.FQ.F.IM.I.IP.M.N.NC.P.PH.PI.PO.S.SL.S1.S2.S3.S4.S5.S6.S7.SU.UG.U.W.WC
$userdata["user_groups"] : z.B:
$userdata["user_level"] : z.B: 103

Sollten noch Fragen offen sein, dann bitte ich Sie diese in meinem Forum zu stellen.
Kommentare
obscure am 12. November 2008 00:20:57

Kommentare: 1
Benutzerlevel: Mitglied

das ist ne geile hilfe, danke gut gemacht
ritmi am 22. Februar 2010 18:01:47

Kommentare: 1
Benutzerlevel: Mitglied

GOILLL super teil Pfft
Meifeng33 am 07. Mai 2013 08:04:35

Kommentare: 45
Benutzerlevel: Mitglied

fake watches on sale fabulous wedding gowns in her Fifties Wedding welcome interview. All photos  Dana Bolton Once Upon a Time unless otherwise stated.When why did you setup your company. I began creating wedding dresses about ten years ago. This was following numerous years operating freelance in Television costume along with a couple of other incarnationsIt truly was such a fantastic choice as, at final, I could direct my personal destiny. Bridal put on was becoming much more thrilling and experimental with numerous of my early customers currently selecting vintage designs, fake audemars piguet classic watches I believe my initial fifties commission was about seven years ago. I truly wanted to make a little style led company, within the maker tradition, with an artisan ethic fake rolex .Are you able to inform us a bit bit concerning the inspiration behind your styles. I take inspiration from so extremely numerous various
Meifeng33 am 20. Mai 2013 20:30:19

Kommentare: 45
Benutzerlevel: Mitglied

reduce friction is granted Patent No. 315161 1956Creation of the First autonomous quartz clock. 1958On July 31 wholesale wedding dresses , the firm Patek Philippe is accorded Patent No. 331592 for a system of adjustable fixing of the hairspring t the balancecock. 1958Henri Stern is appointed President and General Manager of Patek Philippe, Geneva. 1958Creation of a prototype wristwatch with linear minute and hour indicator (not made in series). Patent No. 338402. This watch in 18k gold with bracelet has a rectangular horizontal shape vintage bridesmaid dresses , Movement No. 977121, 990 caliber, Gyromax balance. 1958The masterwatchmaker Andre Bornand Modifies the rectangular caliber 34 S and fits in with a 57hour power reserve, 50seconds Tourbillon regulator with Guillaume balance, bronzeberyllium cage, weight of 1, western wedding dresses 018 grams including escapement, 21'600 oscillations per hour. Five of these
Meifeng33 am 21. Mai 2013 11:12:52

Kommentare: 45
Benutzerlevel: Mitglied

to his situation, Friedrich Nietzsche travelled far and wide and lived as a writer in SilsMaria, Good, Genoa, Turin and Rapallo, exactly where he wrote the very first a part of his significant function "Also Sprach Zarathustra" (Therefore Spoke Zarathustra) in just ten days. In the age of 44 he suffered a nervous breakdown and his mental illness took its course. For the rest of his life, he was within the care and below the guardianship of his mother, followed by his sister, till he died, completely deranged, in the age of 55. His quickly gathering fame, fake watches for sale which had currently begun throughout his lifetime, was some thing of which he remained oblivious.Congratulation to our winners replica watches .?Some Renown American Treasures Treasure Mountain Discovered on Treasure Mountain, this gold is worth greater than $33 million. rolex fake French prospectors planned to bury the treasure inSummitville, CO.
Kommentar schreiben
Nur Mitgliedern ist das Kommentieren gestattet.
Bewertungen
Aktuelle Bewertung: (Insgesamt: 2 Bewertungen)  
Aktuelle Durchschnittsbewertung: 4 Sterne
Share this article
URL:
BB-Code:
HTML:
AddThis:
Share |
Login
Benutzername

Passwort



Noch kein Mitglied?
Registriere dich jetzt.

Passwort vergessen?
Jetzt ein neues Passwort zuschicken lassen.
Sprachen
Sponsor
Shoutbox
Gästen ist das schreiben von Mitteilungen nicht erlaubt.


No User Avatar
Neophyte23
10.04.2013 17:46
selber mahlzeit^^

User Avatar
Schlagertyp
10.04.2013 12:31
Mahlzeit

No User Avatar
Neophyte23
06.04.2013 14:13
das ist schade aber vlt hat er auch einfach keine zeit

User Avatar
zoc
31.03.2013 21:51
Tja, was auf jeden Fall schade und auch MIST ist ?!?!? Der slaughter lässt sich nicht mehr blicken und lässt auch seine Pimped Seite total vergammeln. Da ist alles dicht mit Werbung und Spam. Kann da

User Avatar
d-k-u-theo
23.03.2013 10:43
Cool moin,moin Männer u Frauen!!!

User Avatar
Schlagertyp
24.02.2013 08:58
Morsche zusammen

User Avatar
Xars
21.02.2013 13:03
Willkommen Stephanie25 auf dem Forum hier

User Avatar
Xars
20.02.2013 12:58
Mahlzahn Schorsch

User Avatar
schorsch8
20.02.2013 06:03
Moin@all Grin

User Avatar
Xars
19.02.2013 16:10
Hallo, eine Klasse Seite hier! Mach weiter so Basti! Gruss RPS

Seitenaufbau: 0.06 Sekunden - 61 Queries 4,440,184 eindeutige Besuche