Mailinglist Archive: opensuse (769 mails)

< Previous Next >
Re: [opensuse] Submitting parameters to php
On 05/05/16 19:08, Per Jessen wrote:

Wolfgang Mueller wrote:

By default submitting parameters to php is not possible.

Wolfang, can you explain what you mean by "submitting parameters to
php"? As we are in apache mode, parameters to php are usually
specified on the URL:

This URL gives an excellent example of what I mean with "submitting parameters to php": The data submitted to phpscript are:

$parm1 = "wolfgang"; $parm2 = "anton";

You access those through $_GET[]

So, if I understand you well, I have to write $_GET["parm1"] and $_GET["parm2"] instead of simply $parm1 and $parm2. Is that correct?

Previously, this option could be turned on by setting

register_globals = On

Register_globals is gone as of php 5.4.0.

That's a pity because the $_GET[] syntax is a little bit lengthy. Anyway, thanks a lot.


To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups