php-general Digest 19 Nov 2012 09:49:40 -0000 Issue 8047
Topics (messages 319735 through 319736):
Re: globbed includes?
319735 by: Adam Richardson
Re: Variables with - in their name
319736 by: Alessandro Pellizzari
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
On Sun, Nov 18, 2012 at 3:29 PM, tamouse mailing lists <
tamouse.li...@gmail.com> wrote:
> There are certain times I'd like to include all files in a given
> directory (such as configuration stuff that is split out by type, a la
> apache conf.d). Anyone have something handy that implements that?
>
http://stackoverflow.com/questions/599670/how-to-include-all-php-files-from-a-directory
--
Nephtali: A simple, flexible, fast, and security-focused PHP framework
http://nephtaliproject.com
--- End Message ---
--- Begin Message ---
Il Sun, 18 Nov 2012 01:09:11 -0500, Ron Piggott ha scritto:
> echo "<select name=\"distributor-" . $row['promo_code_prefix'] . "-" .
> $row['promo_code_suffix'] . "\" style=\"text-align: center;\">\r\n";
> It could be wrote:
>
> <?php
> echo $distributor-42-2;
You MUST disable register_globals in your php.ini
Once you have done that (and even before that...) you find your variable
in $_POST['distributor-42-2']
(or $_GET, depends on your form method)
Bye.
--- End Message ---