Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP or ASP but not Both (until you reopen the browser)

Status
Not open for further replies.

teash

IS-IT--Management
May 3, 2005
99
US
Hello,

We recently moved from NT to SBS 2003 and are hitting a few bumps in the road.

I have installed PHP/MYSQL and it works just fine. I enabled ASP in IIS as well. All scripts work fine.

However...
Upon login (from any computer), I run a php script. Let's call it "updateinventory.php". I can keep "updating the inventory" until I decide to login to the "orderform.asp". All the ASP scripts will continue to work, but if I go back to the php scripts they stop working.

"Stop working" is loosely used here. The PHP script processing works, however I use "GET", "POST", "REQUEST" methods. In other words the form submissions won't work.
The code didn't change, neither did the client computers.

Ang suggestions?

 
My suggestion was to turn on content expiration, in the belief that might cause IE to consider its cache perpetually stale and always reload pages.

apologies. my suggestion stands separately and cumlative then. turn off server cacheing.
 
I have "enable content experation" checked to expire it immediately. PHP is installed as an isapi application.

I used code similar what earlier in my troubleshooting. When I do refresh the browser, I get the message about posting refreshed data. Looks normal, just isn't there.

In Internet explorer I open our main page (with links to the order form, RGA's, inventory, etc.). IE takes me there. When I open it with Mozilla, I am required the "login" to the domain/server to access any of our intranet pages.




 
In Internet explorer I open our main page (with links to the order form, RGA's, inventory, etc.). IE takes me there. When I open it with Mozilla, I am required the "login" to the domain/server to access any of our intranet pages.

this is because IE can pick up and send through your NT logon data.

i'm stumped on the more specific issue. can you confirm the same behaviour for both GET and POST methods? (i.e. change the method on your test form above).

have you also turned off content cacheing at the server as I suggested?

lastly, instead of echoing just the GET variable, echo the entire local variable set (i.e. use
Code:
<?
header ('Cache-control: no-cache, must-revalidate');
header("Cache-control: private");                 
header ('Pragma: private');
?>
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "[URL unfurl="true"]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">[/URL]
<html xmlns="[URL unfurl="true"]http://www.w3.org/1999/xhtml">[/URL]
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>ASP/PHP Form Test</title>
</head>
<body>
<form name="form1" action="<?=$_SERVER['PHP_SELF']?>" method="get" enctype="application/x-[URL unfurl="true"]www-form-urlencoded">[/URL]
    <input type="text" name="id">
    <input type="submit" value="submit" name="submitform">
</form>

<hr/>
<br/>
<pre>
<?php
$vars =get_defined_vars();
print_r($vars);
?>
</pre>
<body>
</html>
 
[_ENV] => Array
(
[ALLUSERSPROFILE] => C:\Documents and Settings\All Users
[ClusterLog] => C:\WINDOWS\Cluster\cluster.log
[CommonProgramFiles] => C:\Program Files\Common Files
[COMPUTERNAME] => RVM
[ComSpec] => C:\WINDOWS\system32\cmd.exe
[EXCHICONS] => C:\Program Files\Exchsrvr\bin\maildsmx.dll
[FP_NO_HOST_CHECK] => NO
[NUMBER_OF_PROCESSORS] => 1
[OS] => Windows_NT
[Path] => C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft Windows Small Business Server\Networking\;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\PHP\ext
[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.VBS
[PROCESSOR_ARCHITECTURE] => x86
[PROCESSOR_IDENTIFIER] => x86 Family 15 Model 2 Stepping 4, GenuineIntel
[PROCESSOR_LEVEL] => 15
[PROCESSOR_REVISION] => 0204
[ProgramFiles] => C:\Program Files
[SBSProgramDir] => C:\Program Files\Microsoft Windows Small Business Server
[SystemDrive] => C:
[SystemRoot] => C:\WINDOWS
[TEMP] => C:\WINDOWS\TEMP
[TMP] => C:\WINDOWS\TEMP
[USERPROFILE] => C:\Documents and Settings\Default User
[windir] => C:\WINDOWS
[winsbprogramdir] => C:\Program Files\Windows for Small Business Server
)
[HTTP_ENV_VARS] => Array
(
[ALLUSERSPROFILE] => C:\Documents and Settings\All Users
[ClusterLog] => C:\WINDOWS\Cluster\cluster.log
[CommonProgramFiles] => C:\Program Files\Common Files
[COMPUTERNAME] => RVM
[ComSpec] => C:\WINDOWS\system32\cmd.exe
[EXCHICONS] => C:\Program Files\Exchsrvr\bin\maildsmx.dll
[FP_NO_HOST_CHECK] => NO
[NUMBER_OF_PROCESSORS] => 1
[OS] => Windows_NT
[Path] => C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft Windows Small Business Server\Networking\;C:\Program Files\MySQL\MySQL Server 5.0\bin;C:\PHP\ext
[PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.VBS
[PROCESSOR_ARCHITECTURE] => x86
[PROCESSOR_IDENTIFIER] => x86 Family 15 Model 2 Stepping 4, GenuineIntel
[PROCESSOR_LEVEL] => 15
[PROCESSOR_REVISION] => 0204
[ProgramFiles] => C:\Program Files
[SBSProgramDir] => C:\Program Files\Microsoft Windows Small Business Server
[SystemDrive] => C:
[SystemRoot] => C:\WINDOWS
[TEMP] => C:\WINDOWS\TEMP
[TMP] => C:\WINDOWS\TEMP
[USERPROFILE] => C:\Documents and Settings\Default User
[windir] => C:\WINDOWS
[winsbprogramdir] => C:\Program Files\Windows for Small Business Server
)

################ BEFORE ASP AFTER SUBMIT ########################
[_SERVER] => Array
(
[ALL_HTTP] => HTTP_CONNECTION:Keep-Alive
HTTP_ACCEPT:image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
HTTP_ACCEPT_ENCODING:gzip, deflate
HTTP_ACCEPT_LANGUAGE:en-us
HTTP_HOST:rvm
HTTP_REFERER:HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
HTTP_UA_CPU:x86

[HTTPS] => off
[SCRIPT_NAME] => /system/inv/test.php
[HTTP_COOKIE] =>
[AUTH_PASSWORD] =>
[AUTH_TYPE] =>
[AUTH_USER] =>
[CONTENT_LENGTH] => 0
[CONTENT_TYPE] =>
[PATH_TRANSLATED] => C:\Inetpub\ [QUERY_STRING] => id=ThisIsBeforeASP&submitform=submit
[REMOTE_ADDR] => 192.168.1.50
[REMOTE_HOST] => 192.168.1.50
[REMOTE_USER] =>
[REQUEST_METHOD] => GET
[SERVER_NAME] => rvm
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SOFTWARE] => Microsoft-IIS/6.0
[APPL_MD_PATH] => /LM/W3SVC/1/ROOT
[APPL_PHYSICAL_PATH] => C:\Inetpub\ [INSTANCE_ID] => 1
[INSTANCE_META_PATH] => /LM/W3SVC/1
[LOGON_USER] =>
[REQUEST_URI] => /system/inv/test.php?id=ThisIsBeforeASP&submitform=submit
=> /system/inv/test.php?id=ThisIsB...URL unfurl="true"]wwwroot\system\inv\test.php
[ORIG_PATH_INFO] => /system/inv/test.php
[PATH_INFO] =>
[ORIG_PATH_TRANSLATED] => C:\Inetpub\ [DOCUMENT_ROOT] => C:\Inetpub\ [PHP_SELF] => /system/inv/test.php
[HTTP_CONNECTION] => Keep-Alive
[HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_ACCEPT_LANGUAGE] => en-us
[HTTP_HOST] => rvm
[HTTP_REFERER] => [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
[HTTP_UA_CPU] => x86
[REQUEST_TIME] => 1143833564
[argv] => Array
(
[0] => id=ThisIsBeforeASP&submitform=submit
)

[argc] => 1
)

[_POST] => Array( )
[HTTP_POST_VARS] => Array( )
[_GET] => Array(
[id] => ThisIsBeforeASP
[submitform] => submit
)
[HTTP_GET_VARS] => Array
(
[id] => ThisIsBeforeASP
[submitform] => submit
)

[_COOKIE] => Array( )
[HTTP_COOKIE_VARS] => Array()


[HTTP_SERVER_VARS] => Array
(
[ALL_HTTP] => HTTP_CONNECTION:Keep-Alive
HTTP_ACCEPT:image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
HTTP_ACCEPT_ENCODING:gzip, deflate
HTTP_ACCEPT_LANGUAGE:en-us
HTTP_HOST:rvm
HTTP_REFERER:HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
HTTP_UA_CPU:x86

[HTTPS] => off
[SCRIPT_NAME] => /system/inv/test.php
[HTTP_COOKIE] =>
[AUTH_PASSWORD] =>
[AUTH_TYPE] =>
[AUTH_USER] =>
[CONTENT_LENGTH] => 0
[CONTENT_TYPE] =>
[PATH_TRANSLATED] => C:\Inetpub\ [QUERY_STRING] => id=ThisIsBeforeASP&submitform=submit
[REMOTE_ADDR] => 192.168.1.50
[REMOTE_HOST] => 192.168.1.50
[REMOTE_USER] =>
[REQUEST_METHOD] => GET
[SERVER_NAME] => rvm
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SOFTWARE] => Microsoft-IIS/6.0
[APPL_MD_PATH] => /LM/W3SVC/1/ROOT
[APPL_PHYSICAL_PATH] => C:\Inetpub\ [INSTANCE_ID] => 1
[INSTANCE_META_PATH] => /LM/W3SVC/1
[LOGON_USER] =>
[REQUEST_URI] => /system/inv/test.php?id=ThisIsBeforeASP&submitform=submit
=> /system/inv/test.php?id=ThisIsB...URL unfurl="true"]wwwroot\system\inv\test.php
[ORIG_PATH_INFO] => /system/inv/test.php
[PATH_INFO] =>
[ORIG_PATH_TRANSLATED] => C:\Inetpub\ [DOCUMENT_ROOT] => C:\Inetpub\ [PHP_SELF] => /system/inv/test.php
[HTTP_CONNECTION] => Keep-Alive
[HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_ACCEPT_LANGUAGE] => en-us
[HTTP_HOST] => rvm
[HTTP_REFERER] => [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
[HTTP_UA_CPU] => x86
[REQUEST_TIME] => 1143833564
[argv] => Array
(
[0] => id=ThisIsBeforeASP&submitform=submit
)

[argc] => 1
)

[_FILES] => Array
(
)

[HTTP_POST_FILES] => Array
(
)

[_REQUEST] => Array
(
[id] => ThisIsBeforeASP
[submitform] => submit
)

[vars] => Array
##################################################################

###################### AFTER ASP BEFORE sUBMIT ####################
[_SERVER] => Array
(
[ALL_HTTP] => HTTP_CONNECTION:Keep-Alive
HTTP_ACCEPT:image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
HTTP_ACCEPT_ENCODING:gzip, deflate
HTTP_ACCEPT_LANGUAGE:en-us
HTTP_COOKIE:ASPSESSIONIDASBCSBSS=KJEGCLCCGDGEEJCKJFHFJINE
HTTP_HOST:rvm
HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
HTTP_UA_CPU:x86

[HTTPS] => off
[SCRIPT_NAME] => /system/inv/test.php
[HTTP_COOKIE] => ASPSESSIONIDASBCSBSS=KJEGCLCCGDGEEJCKJFHFJINE
[AUTH_PASSWORD] =>
[AUTH_TYPE] =>
[AUTH_USER] =>
[CONTENT_LENGTH] => 0
[CONTENT_TYPE] =>
[PATH_TRANSLATED] => C:\Inetpub\ [QUERY_STRING] =>
[REMOTE_ADDR] => 192.168.1.50
[REMOTE_HOST] => 192.168.1.50
[REMOTE_USER] =>
[REQUEST_METHOD] => GET
[SERVER_NAME] => rvm
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SOFTWARE] => Microsoft-IIS/6.0
[APPL_MD_PATH] => /LM/W3SVC/1/ROOT
[APPL_PHYSICAL_PATH] => C:\Inetpub\ [INSTANCE_ID] => 1
[INSTANCE_META_PATH] => /LM/W3SVC/1
[LOGON_USER] =>
[REQUEST_URI] => /system/inv/test.php
=> /system/inv/test.php ...URL unfurl="true"]wwwroot\system\inv\test.php
[ORIG_PATH_INFO] => /system/inv/test.php
[PATH_INFO] =>
[ORIG_PATH_TRANSLATED] => C:\Inetpub\ [DOCUMENT_ROOT] => C:\Inetpub\ [PHP_SELF] => /system/inv/test.php
[HTTP_CONNECTION] => Keep-Alive
[HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_ACCEPT_LANGUAGE] => en-us
[HTTP_HOST] => rvm
[HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
[HTTP_UA_CPU] => x86
[REQUEST_TIME] => 1143833634
[argv] => Array
(
)

[argc] => 0
)

[HTTP_SERVER_VARS] => Array
(
[ALL_HTTP] => HTTP_CONNECTION:Keep-Alive
HTTP_ACCEPT:image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
HTTP_ACCEPT_ENCODING:gzip, deflate
HTTP_ACCEPT_LANGUAGE:en-us
HTTP_COOKIE:ASPSESSIONIDASBCSBSS=KJEGCLCCGDGEEJCKJFHFJINE
HTTP_HOST:rvm
HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
HTTP_UA_CPU:x86

[HTTPS] => off
[SCRIPT_NAME] => /system/inv/test.php
[HTTP_COOKIE] => ASPSESSIONIDASBCSBSS=KJEGCLCCGDGEEJCKJFHFJINE
[AUTH_PASSWORD] =>
[AUTH_TYPE] =>
[AUTH_USER] =>
[CONTENT_LENGTH] => 0
[CONTENT_TYPE] =>
[PATH_TRANSLATED] => C:\Inetpub\ [QUERY_STRING] =>
[REMOTE_ADDR] => 192.168.1.50
[REMOTE_HOST] => 192.168.1.50
[REMOTE_USER] =>
[REQUEST_METHOD] => GET
[SERVER_NAME] => rvm
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SOFTWARE] => Microsoft-IIS/6.0
[APPL_MD_PATH] => /LM/W3SVC/1/ROOT
[APPL_PHYSICAL_PATH] => C:\Inetpub\ [INSTANCE_ID] => 1
[INSTANCE_META_PATH] => /LM/W3SVC/1
[LOGON_USER] =>
[REQUEST_URI] => /system/inv/test.php
=> /system/inv/test.php ...URL unfurl="true"]wwwroot\system\inv\test.php
[ORIG_PATH_INFO] => /system/inv/test.php
[PATH_INFO] =>
[ORIG_PATH_TRANSLATED] => C:\Inetpub\ [DOCUMENT_ROOT] => C:\Inetpub\ [PHP_SELF] => /system/inv/test.php
[HTTP_CONNECTION] => Keep-Alive
[HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_ACCEPT_LANGUAGE] => en-us
[HTTP_HOST] => rvm
[HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
[HTTP_UA_CPU] => x86
[REQUEST_TIME] => 1143833634
[argv] => Array
(
)

[argc] => 0
)

[_FILES] => Array
(
)

[HTTP_POST_FILES] => Array
(
)

[_REQUEST] => Array
(
[ASPSESSIONIDASBCSBSS] => KJEGCLCCGDGEEJCKJFHFJINE
)

[vars] => Array

####################################################################


###################### AFTER ASP AFTER sUBMIT ####################
[_SERVER] => Array
(
[ALL_HTTP] => HTTP_CONNECTION:Keep-Alive
HTTP_ACCEPT:image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
HTTP_ACCEPT_ENCODING:gzip, deflate
HTTP_ACCEPT_LANGUAGE:en-us
HTTP_COOKIE:ASPSESSIONIDASBCSBSS=KJEGCLCCGDGEEJCKJFHFJINE
HTTP_HOST:rvm
HTTP_REFERER:HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
HTTP_UA_CPU:x86

[HTTPS] => off
[SCRIPT_NAME] => /system/inv/test.php
[HTTP_COOKIE] => ASPSESSIONIDASBCSBSS=KJEGCLCCGDGEEJCKJFHFJINE
[AUTH_PASSWORD] =>
[AUTH_TYPE] =>
[AUTH_USER] =>
[CONTENT_LENGTH] => 0
[CONTENT_TYPE] =>
[PATH_TRANSLATED] => C:\Inetpub\ [QUERY_STRING] => id=NowIHaveRanSomeASP&submitform=submit
[REMOTE_ADDR] => 192.168.1.50
[REMOTE_HOST] => 192.168.1.50
[REMOTE_USER] =>
[REQUEST_METHOD] => GET
[SERVER_NAME] => rvm
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SOFTWARE] => Microsoft-IIS/6.0
[APPL_MD_PATH] => /LM/W3SVC/1/ROOT
[APPL_PHYSICAL_PATH] => C:\Inetpub\ [INSTANCE_ID] => 1
[INSTANCE_META_PATH] => /LM/W3SVC/1
[LOGON_USER] =>
[REQUEST_URI] => /system/inv/test.php?id=NowIHaveRanSomeASP&submitform=submit
=> /system/inv/test.php?id=NowIHav...URL unfurl="true"]wwwroot\system\inv\test.php
[ORIG_PATH_INFO] => /system/inv/test.php
[PATH_INFO] =>
[ORIG_PATH_TRANSLATED] => C:\Inetpub\ [DOCUMENT_ROOT] => C:\Inetpub\ [PHP_SELF] => /system/inv/test.php
[HTTP_CONNECTION] => Keep-Alive
[HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_ACCEPT_LANGUAGE] => en-us
[HTTP_HOST] => rvm
[HTTP_REFERER] => [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
[HTTP_UA_CPU] => x86
[REQUEST_TIME] => 1143833781
[argv] => Array
(
[0] => id=NowIHaveRanSomeASP&submitform=submit
)

[argc] => 1
)

[HTTP_SERVER_VARS] => Array
(
[ALL_HTTP] => HTTP_CONNECTION:Keep-Alive
HTTP_ACCEPT:image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
HTTP_ACCEPT_ENCODING:gzip, deflate
HTTP_ACCEPT_LANGUAGE:en-us
HTTP_COOKIE:ASPSESSIONIDASBCSBSS=KJEGCLCCGDGEEJCKJFHFJINE
HTTP_HOST:rvm
HTTP_REFERER:HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
HTTP_UA_CPU:x86

[HTTPS] => off
[SCRIPT_NAME] => /system/inv/test.php
[HTTP_COOKIE] => ASPSESSIONIDASBCSBSS=KJEGCLCCGDGEEJCKJFHFJINE
[AUTH_PASSWORD] =>
[AUTH_TYPE] =>
[AUTH_USER] =>
[CONTENT_LENGTH] => 0
[CONTENT_TYPE] =>
[PATH_TRANSLATED] => C:\Inetpub\ [QUERY_STRING] => id=NowIHaveRanSomeASP&submitform=submit
[REMOTE_ADDR] => 192.168.1.50
[REMOTE_HOST] => 192.168.1.50
[REMOTE_USER] =>
[REQUEST_METHOD] => GET
[SERVER_NAME] => rvm
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SOFTWARE] => Microsoft-IIS/6.0
[APPL_MD_PATH] => /LM/W3SVC/1/ROOT
[APPL_PHYSICAL_PATH] => C:\Inetpub\ [INSTANCE_ID] => 1
[INSTANCE_META_PATH] => /LM/W3SVC/1
[LOGON_USER] =>
[REQUEST_URI] => /system/inv/test.php?id=NowIHaveRanSomeASP&submitform=submit
=> /system/inv/test.php?id=NowIHav...URL unfurl="true"]wwwroot\system\inv\test.php
[ORIG_PATH_INFO] => /system/inv/test.php
[PATH_INFO] =>
[ORIG_PATH_TRANSLATED] => C:\Inetpub\ [DOCUMENT_ROOT] => C:\Inetpub\ [PHP_SELF] => /system/inv/test.php
[HTTP_CONNECTION] => Keep-Alive
[HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
[HTTP_ACCEPT_ENCODING] => gzip, deflate
[HTTP_ACCEPT_LANGUAGE] => en-us
[HTTP_HOST] => rvm
[HTTP_REFERER] => [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; SV1; .NET CLR 1.1.4322)
[HTTP_UA_CPU] => x86
[REQUEST_TIME] => 1143833781
[argv] => Array
(
[0] => id=NowIHaveRanSomeASP&submitform=submit
)

[argc] => 1
)

[_FILES] => Array
(
)

[HTTP_POST_FILES] => Array
(
)

[_REQUEST] => Array
(
[id] => NowIHaveRanSomeASP
[submitform] => submit
[ASPSESSIONIDASBCSBSS] => KJEGCLCCGDGEEJCKJFHFJINE
)

[vars] => Array

####################################################################
 
PHP 5.(whatever they had published last week)

 
that's surreal. the data is in there in $_REQUEST. $_REQUEST is supposed to be populated from incoming get/post/cookie data.

so what seems to be happening is that php is not populating its get and post variables, even though it's got the data in $_REQUEST (and the query string etc). i've not come across this before (and cannot replicate the error on my servers).

stumped.
 
Maybe I should do a new install of php and start over.
Probably will get the same thing, but its worth a shot.
I was hoping it to be a setting in thge php.ini file.
Thanks for your time and help.


 
i'd still stake money on it being your IE or your IIS installation (particularly as you use NT authentication which IE handles automatically and other browsers dont - in fact, that's a thought. can you turn OFF all directory security and test whether you get the same issue? or maybe just turn off integrated windows authentication for starters )
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top