/revive-php-tools

I try to make it work.

Primary LanguageC

Revive the Personal Home Page Tools

Alternative names

  • PHP 1.0
  • Personal Home Page Tools
  • PHP Tools
  • PHP Forms Interpreter
  • PHP/FI

Timeline

  • Debian GNU/Linux 0.91 announcement: 1994 January link
  • PHP Tools announcement: 1995 June 8, Thursday @ 9:00:00 AM UTC+2 link

Prerequisites

  • sudo apt-get install qemu-system-x86 qemu-utils

Help

Commands

  • Read nework doc: zcat /usr/doc/NET-2-HOWTO.gz | less

Early PHP Tools snippet:

<!--include /text/header.html-->

<!--getenv HTTP_USER_AGENT-->
<!--if substr $exec_result Mozilla-->
  Hey, you are using Netscape!<p>
<!--endif-->

<!--sql database select * from table where user='$username'-->
<!--ifless $numentries 1-->
  Sorry, that record does not exist<p>
<!--endif exit-->
  Welcome <!--$user-->!<p>
  You have <!--$index:0--> credits left in your account.<p>

<!--include /text/footer.html-->

Mini SQL support:

http://moko.ru/doc/msql-manual/api.htm