SartajPHP Demo


Front file /spanel/public_html/apps/fronts/index_main.front Start Here:-

Skill examples

Links use getGateUrl (works under Apache subfolder /SartajPhpDoc/).

Book2 examples (ebook/book2)

Run *-install.html once to create tables (db/db_book2.php).

  • Blog (blog) — ch4 Page Events, ch5 FrontFile Events
  • Product (product) — ch7 two fronts + Pagination · holder demo (ch9)
  • Task (task) — ch11 complete example
  • PDO interop (pdodemo) — ch12 third-party DB

Default Super Admin login:- user:- admin and password:- 1234.

You can set it in comp.php file. use $admUser = 'admin'; $admPass = '1234';

Project Path/spanel/public_html
Project Registery file reg.php/spanel/public_html/reg.php
Project Settings file comp.php/spanel/public_html/comp.php
Current Browser Request to Gateindex
Current Browser Request Event
Current Browser Request Event Param
Registered Gate File which running this Front File/spanel/public_html/apps/Index.gate.php
This Front file Path check setFrontFile in BasicGate's PageEvent page_new event handler/spanel/public_html/apps/fronts/index_main.front
Master file Path check setMasterFile in BasicGate's LifeCycle onstart Event Handlermasters/framework/master.mast.php

Master design file path: masters/framework/master.mast.php You can edit menu bar and basic html design in this file. Which master design file work is set in application path:-


Server Response Display here

Front file /spanel/public_html/apps/fronts/index_main.front End Here:-