#23310 [Bgs]: Variables are not being passed

From: Date: Wed, 23 Apr 2003 02:18:42 +0000
Subject: #23310 [Bgs]: Variables are not being passed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38107@lists.php.net to get a copy of this message
ID: 23310 User updated by: jason at ezitsolutions dot com Reported By: jason at ezitsolutions dot com Status: Bogus Bug Type: IIS related Operating System: W2K PHP Version: 4.3.2RC1 New Comment: yes it really did work before. i don't know why you are making me sound like i'm crazy. it works on server side includes with .shtml extension and it did work as a server side include with .php ext. until I switched to ISAPI. Previous Comments: ------------------------------------------------------------------------ [2003-04-22 21:10:33] rasmus@php.net Are you really trying to tell me that <?php ("result.php?team=team1"); ?> has done something useful for you in any way whatsoever? If so, then you know something nobody else does because that line really makes no sense at all. Please also point me to your reference of many other people using the same syntax. ------------------------------------------------------------------------ [2003-04-22 21:04:36] jason at ezitsolutions dot com thanks for the typo, in my script I do have the $. I just forgot to put it in my comments for the bug database. sorry. And also, it is not complete nonsense. I have been doing it for over a year and it worked fine until I switched to ISAPI mode. I have searched everywhere and found that many people have the same problems and thought it might be a bug. ------------------------------------------------------------------------ [2003-04-22 20:50:17] rasmus@php.net <?php ("result.php?team=team1"); ?> Is complete nonsense and could never have worked under any circumstance, CGI or otherwise. In your other examples you are missing $ in front of your variable declarations. This looks like you simply don't understand what you are doing and need some help. The bug system is not the place for it. Please ask your questions on the php-general mailing list. ------------------------------------------------------------------------ [2003-04-22 20:40:23] jason at ezitsolutions dot com oh, yeah - maybe I am using the wrong verbage... like this: <?php ("result.php?team=team1"); ?> I am aware the PHP behaves differently under IIS than under APACHE. Again, this worked in CGI mode, but not in ISAPI mode. So now I have to do this: <?php team = "team1"; include ("result.php"); ?> This works. The problem is that if I do it again on the same page like this: <?php team = "team2"; include ("result.php"); ?> It never picks up team2. So I can only declare that variable one time on the page. Any ideas? ------------------------------------------------------------------------ [2003-04-22 20:32:12] rasmus@php.net What do you mean by includes? Server-side includes? I have no idea how those work under IIS. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/23310 -- Edit this bug report at http://bugs.php.net/?id=23310&edit=1

« previous php.bugs (#38107) next »