RE: [PHP] Re: Capturing $_POST variables

From: Mike Ford (M.Ford_at_lmu.ac.uk)
Date: 11/28/03


To: 'Shaun' <shaun@mania.plus.com>, php-general@lists.php.net
Date: Fri, 28 Nov 2003 14:42:23 -0000

On 28 November 2003 14:21, Shaun wrote:

> Thanks you for your replies,
>
> is there a reason why i couldn't use the following?
>
> $_POST = $_POST;

None whatsoever -- but it's an expensive way of effectively doing nothing!
(Which, I suspect, is not what you want to do.)

The fact that you are even asking this suggests that you have a fundamental
misunderstanding of the way things work. You have received several good
answers to your original question -- pick the one you prefer.

Cheers!

Mike

---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211



Relevant Pages

  • RE: [PHP] Major wierdness - ack!
    ... > I have put some error trapping code in my site with the ... Mike Ford, Electronic Information Services Adviser, ... Learning Support Services, Learning & Information Services, ...
    (php.general)
  • RE: [PHP] eregi filter stopping valid email address, part two
    ... No. You've only allowed for hyphens in the first element after the @ sign ... Mike Ford, Electronic Information Services Adviser, ... Learning Support Services, Learning & Information Services, ...
    (php.general)
  • RE: [PHP] sorting
    ... then all the comparisons are string-ti-string, so there are no type conversions involved, so your sort proceeds exactly how you expect. ... Mike Ford, Electronic Information Services Adviser, ... Learning Support Services, Learning & Information Services, ...
    (php.general)
  • RE: [PHP] stepping through alphabet
    ... Jay Blanchard contributed these pearls of wisdom: ... Mike Ford, Electronic Information Services Adviser, ... Learning Support Services, Learning & Information Services, ...
    (php.general)
  • RE: [PHP] where is my session data on my new server?
    ... > server $pw ... Mike Ford, Electronic Information Services Adviser, ... Learning Support Services, Learning & Information Services, ...
    (php.general)