Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Sobota, 28. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  use of global variables better than echo

phpMyEdit Features     use of global variables better than echo
Odoslať novú tému   Odpovedať na tému    
 
Stefan     Založený: 21.04.2006   Príspevky: 1  
Príspevok Zaslal: 2006-04-26 22:37
Návrat hore  Odpovedať s citátom     

Hello,

I'm using phpMyEdit 5.5, it is indeed a really useful and powerful tool. But sometimes it may be useful to integrate phpMyEdit into applications which care about the session management, user authentifikation or something else. These apps. are often written as classes with methods which handle the html code in special variables which are returned via the php return instruction at the end of the methods.
The integration of phpMyEdit is not an easy task because in phpMyEdit the html code is written directly with the echo instruction. I changed all the echo instructions in the phpMyEdit functions into a global Variable assignment. $globalPAGE .= ... . At the end this global variable is accessible from my other php classes.
My suggestion is to change the next phpMyEdit release in this way so that it is more easy to integrate into other web applications.

Regards Stefan

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov