Page 1 of 1

PROBLEM PASSING HTML TEXT VALUE TO PHP

PostPosted: 23. April 2009 22:09
by dachille
Hi ,

I am new to PHP and I am having problems with an HTMl document containing a text box input of Name to pass to a PHP document.

I do not have any problem with the pure PHP files but it is just when used with HTML.

Is there a setting to be done with Apache configuration file?

Thanks
dachille

Re: PROBLEM PASSING HTML TEXT VALUE TO PHP

PostPosted: 23. April 2009 22:33
by Nobbie
register_globals (as always - at least a billion times).

Re: PROBLEM PASSING HTML TEXT VALUE TO PHP

PostPosted: 24. April 2009 06:52
by dachille
Hi Nobbie,
Thanks for your prompt reply.

I actually amend the PHP.INI file in the "\xampp\apache\bin" folder.

<<register_globals = On>>

Shouldit be case sensitive as I realized that I put "on" instead of "On"?

Thanks
dachille

Re: PROBLEM PASSING HTML TEXT VALUE TO PHP

PostPosted: 24. April 2009 07:28
by Wiedmann
<<register_globals = On>> ... Shouldit be case sensitive as I realized that I put "on" instead of "On"?

You should not change a default configuration setting (even is this can work on some servers).

--> You should make a simple debugging of your script and correct it.