Auxpages

From PhpCOIN Documentation

Jump to: navigation, search

An auxpage is a page that has nothing to do with phpCOIN but you want it to appear within phpCOIN's display and have access to all the phpCOIN info. An example would be a client's Domain Control Panel.

Auxpages can contain anything, from html to php code, and are "wrapped" within phpCOIN. It also means that your external pages can access phpCOIN data and variables without having to setup any database connections or do any fancy interfacing.

Auxpages differ from SiteInfo pages in that siteinfo is for pages that display text. SiteInfo pages are basically for pages that form part of phpCOIN, such as the index page. Plain html is the order of the day here.

Create your desired auxpage, save it in /coin_auxpages directory, then call it with auxpage.php?page=pagename_without_DOTphp_extension

The sample /coin_auxpages/auxpage_example.php gives you an idea how to create an auxpage, and even shows how to do it if it should only be accessed by logged in users/admins.

Personal tools

Inscrita el Registro Mercantil de Mallorca Tomo 2140, Hoja No. PM-51034, Folio 135
This website owned and operated by: Technology Services RPVW S.L. CIF# B57345084
Avda Constitucion 48 Bajos Alaro 07340 Baleares SPAIN
Tel:+34 971518362    Fax: +34 971518368    eMail: support@phpcoin.com