Passing parameters to scripts

From phpCMS

Jump to: navigation, search

[edit] Passing parameters to scripts

In order to pass parameters to a script called by a content file, the parameters for the script have to be added to the parameters of the content file URl or posted by a form, phpCMS will do everything else:

http://YourServer/index.htm?YourParameter=Value

Remark: The use of the variable name $i is not allowed, because it is used internally by the phpCMS parser! The best way to stay secure is to use own prefixes for variable names.

Note:

If you use a phpCMS version prior to 1.1.9 the parameter format has to be:

http://YourServer/index.htm?&YourParameter=Value

Main Page: Tutorials MainPage | Top Page: MiniHowTos MainPage

Diese Seite in anderen Sprachen: Deutsch

Personal tools