|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-04-22 19:47 UTC] jason at ezitsolutions dot com
I am using formmail.php with no special config. W2K, IIS 5, PHP in ISAPI mode. 1)When I put a url with variables on the end in the address bar I have no problem, but when the variables are on the end of a url in an include they are not getting processed. 2) Variables in forms are not getting passed either. Try this form to see what I mean: (no order will be processed, you can put in bogus info) http://www.atlantasilverbacks.com/game/season_ticket_order_form2.php Any suggestions??? Also, register_globals is on. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 06:00:01 2025 UTC |
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?<?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.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.Because this tag, which you keep saying works, makes no sense: <?php ("result.php?team=team1"); ?> The PHP parser has no idea what to with this. Putting a filename inside brackets is meaningless. There is no command there. So if this somehow worked before, then it is something other than PHP that made it work, and if it has now stopped working, then it is this something other than PHP that has broken on you.