Home    Cart    Free Download    Manual

Installation:
  Free Downloads
  The H2O Family
  Install Notes

Programming:
  Prerequisites
  H2O Whitepaper
  Online Manual
  Code Examples
  H2O Free Support


What's H2O?
H2O is programming made for the web.

What's it like?
H2O is English-like. If you know some Perl, VB, ASP, or PhP you'll be immediately productive in H2O. It runs on Linux, Mac, Unix, and Windows.

How do I try it?
Download H2O for free. Get it from hosting providers. Or buy on-line.

Where does H2O come from?
The language was invented by Aestiva. H2O stands for:
   HTML with
   HTML/OS
   Overlays.


Upload File

upload.html



<<

file_name="uploadedfile.txt"
>>

<html>
<title>Upload File</title>
<body bgcolor=white>
<<
IF err_msg != "ERROR" THEN
DISPLAY err_msg + "<br>" /DISPLAY
err_msg = "ERROR"
/IF
>>


<form method=post enctype="multipart/form-data" action=upit><br>
File: <input type=file size=30 name=<<"F"+USERNUM+".txt">> >
<input type=submit value="Upload Now">
</form>
</body>
</html>

<<OVERLAY upit
# H2O places uploaded files in the /upload folder.
# The uploaded file is given the same name as the
# variable in the <input type=file> statement.
/#
uploadfile_name="/upload/F"+USERNUM+".txt"
void=FILEINFO(uploadfile_name)
IF void[2] != "" AND void[2] > 2 THEN
FILEMOVE(uploadfile_name,file_name)
err_msg="Upload Successful"
ELSE
FILEREMOVE(uploadfile_name)
err_msg="<font color=red>Upload Not Successful</font>"
/IF
GOTO PAGE
>>


Home | Cart | Free Download | Online Manual
COPYRIGHT © 2005 Aestiva, LLC. ALL RIGHTS RESERVED.