Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /*
- UserSpice 4
- An Open Source PHP User Management System
- by the UserSpice Team at http://UserSpice.com
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation, either version 3 of the License, or
- (at your option) any later version.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
- ?>
- <?php
- require_once 'users/init.php';
- require_once $abs_us_root.$us_url_root.'users/includes/header.php';
- require_once $abs_us_root.$us_url_root.'users/includes/navigation.php';
- ?>
- <?php //if (!securePage($_SERVER['PHP_SELF'])){die();} ?>
- <div id="page-wrapper">
- <div class="container-fluid">
- <!-- Page Heading -->
- <div class="row">
- <div class="col-sm-12">
- <h1 class="page-header">
- Welcome to UserSpice
- <small>An Open Source PHP User Management Framework</small>
- </h1>
- <!-- Content goes here -->
- <?php
- $x = Input::get('x');
- echo "DEBUG: x=<pre>".print_r($x,true)."</pre><br />\n";
- $y = Input::get('y');
- echo "DEBUG: y=<pre>".print_r($y,true)."</pre><br />\n";
- $z = Input::get('z');
- echo "DEBUG: z=<pre>".print_r($z,true)."</pre><br />\n";
- ?>
- <form>
- <input type="text" name="x[a]" value="abc" />
- <input type="text" name="x[b]" value="bc" />
- <input type="text" name="x[c]" value="cd" />
- <input type="text" name="x[d]" value="def" />
- <input type="text" name="x[aLongNameJustForFun]" value="def" />
- <input type="text" name="x[a name with spaces]" value="def" />
- <input type="text" name="x[]" value="empty brackets0" />
- <input type="text" name="x[]" value="empty brackets1" />
- <input type="text" name="x[]" value="empty brackets2" />
- <input type="text" name="x[1]" value="numeric 1 after empty brackets" />
- <input type="text" name="x[14]" value="numeric 14" />
- <input type="text" name="y" value="non-array y" />
- <input type="text" name="z" value="non-array z" />
- <input type="submit" />
- </form>
- <!-- Content Ends Here -->
- </div> <!-- /.col -->
- </div> <!-- /.row -->
- </div> <!-- /.container -->
- </div> <!-- /.wrapper -->
- <?php require_once $abs_us_root.$us_url_root.'users/includes/page_footer.php'; // the final html footer copyright row + the external js calls ?>
- <!-- Place any per-page javascript here -->
- <?php require_once $abs_us_root.$us_url_root.'users/includes/html_footer.php'; // currently just the closing /body and /html ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement