Much Ado About IT
Blog
Knowledgebase
IT Glossary
GitHub Pages, Jekyll and Liquid
Hugo Hints and Tips
Microsoft Office Hints and Tips
Node-RED Q & A
Node.JS and JavaScript
VSCode Hints and Tips
Windows Hints and Tips
Home Broadband
Home Sensors
IT History
Categories
Tags
About
Getting in Touch
Licenses & Copyright
Privacy Policy & Disclosure
Design for this Blog
Julian Knight's Profile
Totally Information
Search
Ramblings and rantings from IT Architect & Designer, Julian Knight
Development
2007-07-04
📖
Posts
|
📎
Development
|
🔖
php
Handle web parameters gracefully in PHP
Handle web parms (Call as: myParms('report');) # Ensures that the given parm is always set function myParms($var) { global $$var; if(isset($_REQUEST[$var])){ $$var=$_REQUEST[$var]; } else { $$var=''; } }
««
«
1
2
3
…
5
6
»
»»
Share/save this page using:
Follow me on:
I signed the
Pro-Truth Pledge:
please hold me accountable.