Why I couldn't fetch my variable from the form?

Register_Globals directive is set to OFF because of potential security issues.  PHP has this directive set to OFF since version 4.2, by default.

You will need to update your script to not require register_global.

For more information, see http://us2.php.net/register_globals

use this instead

$varname = $_POST['varname']; to retrieve a POST variable

and

$varname = $_GET['varname']; to retrieve a GET variable

  • 9 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

I get an error 'Server.CreateObject Failed' when I try to use CDONTs. What can I do?

CDONTs is no longer supported on Windows 2003 server.  Microsoft introduced CDO back several...

Do you allow custom COM components?

Yes, we do allow Custom Components and we have to charge setup fee for your COM Components...

ASP to MSSQL connection

Before you can access your MS-SQL Server database from your ASP code , you need to connect to it...

How do I send email from ASP using SMTP Authentication?

Please note that our mail server is configured with Authentication. Below is the code snippet...

After I configure the custom error setting in the control panel, I still get the generic error page?

Custom error setting is a web server setting that sets your website Error Pages, but you can...