Hi!

My system : win 98SE, Apache 1.3.19 & the latest php4.0.5-RC1 binaries from 
www.php4win.de

My problem is that I can't understand how the 'arg_separtor' directive works.
Here is my test script :
    <?php
    // grabs the sent variables names and values
    while(list($name, $value) = each($HTTP_GET_VARS))
        echo($name . ' = ' . $value . '<br />');
    ?>
    <p>
    <a href="test_amp.php?var1=1&var2=2&var3=3">test with simple '&'</a><br /><br />
    <a href="test_amp.php?var1=1&amp;var2=2&amp;var3=3">test with '& amp;'</a>
    </p>
Note that the second link contains '& amp;' to separate variables (I don't how this 
will be displayed on the list).

If the 'arg_separator' directive is set to '&amp;' I always (whatever is the link I've 
clicked on among the two previous ones) get the results:
    r1 = 1
    r2 = 2
    r3 = 3

What's matter? I must have done something wrong but what?

Thanks in advance,

---------------------------------------
Loïc (aka lolo) for the phpHeaven-team.
Please reply to: [EMAIL PROTECTED]
---------------------------------------

----- La messagerie itinérante sans abonnement NetCourrier -----
Web : www.netcourrier.com - Minitel : 3615 NETCOURRIER
Téléphone : 08 36 69 00 21


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to