You are here: Re: cannot pass query string (GET) vars « PHP Programming Language « IT news, forums, messages
Re: cannot pass query string (GET) vars

Posted by Kevin Blount on 10/25/07 19:47

On Oct 25, 2:35 pm, Kevin Blount <kevin.blo...@gmail.com> wrote:
> On Oct 25, 2:16 pm, Kevin Blount <kevin.blo...@gmail.com> wrote:
>
>
>
>
>
> > On Oct 25, 1:58 pm, "Rik Wasmus" <luiheidsgoe...@hotmail.com> wrote:
>
> > > On Thu, 25 Oct 2007 20:44:58 +0200, Kevin Blount <kevin.blo...@gmail.com>
> > > wrote:
>
> > > >> > http://216.244.107.150/info.php?test=me
>
> > > >> > the code should just output:
>
> > > >> > Hello me
>
> > > >> > but instead the server just hangs, until my browser timesout. If I
> > > >> > remove "?test=me" from the URL, the script works just fine (output:
> > > >> > "Hello "), but for some reason all my PHP scripts now hang when I try
> > > >> > and pass a name/pair on the URL.
> > > >> Seems to work OK from here using that IP. Are you sure it isn't some
> > > >> local
> > > >> firewall/proxy setting? Does IIS keep a access and/or error log, and if
> > > >> so, what is in it?
> > > > To confirm.. when you click the above you see "Hello me" - not just
> > > > "Hello"?
>
> > > Indeed. Changing test to 'oelebole' worked too (see your access logs)
>
> > > > No firewall/proxy.. it was working fine for me earlier today. I'll
> > > > check IIS6 again, but I'm not sure what to look for. I just tried from
> > > > Firefox, and receieved this error message:
> > > > "PHP has encountered an Access Violation at 01C21255" - I also tried
> > > > from another PC on my network.. same deal. Lastly tried from a remote
> > > > PC (via Remote Desktop to the server this is all running from)
> > > > ok.. something screwy is going on, right?
>
> > > I'd say so. Try to access any access/error logs and check it out. The one
> > > with 'oelebole' in the get strings was OK, compare that to your failed
> > > requests.
> > > --
> > > Rik Wasmus- Hide quoted text -
>
> > > - Show quoted text -
>
> > Here are the logs.. anything jump out at you?
>
> > As you can see. I tried "oelebole" first, and it worked! So, I tried
> > "me" again, failed.. I tried "kevinblount" hinking the length or
> > reserved word thing might be in play, but it failed to. I then tried
> > "beekay", failed.. finally back to "oelebole" and it failed this
> > time.
>
> > Really confused now :p
>
> > Kevin
>
> > #Software: Microsoft Internet Information Services 6.0
> > #Version: 1.0
> > #Date: 2007-10-25 19:02:05
> > #Fields: date time s-sitename s-ip cs-method cs-uri-stem cs-uri-query
> > s-port cs-username c-ip cs(User-Agent) sc-status sc-substatus sc-win32-
> > status
> > 2007-10-25 19:11:27 W3SVC1260829704 192.168.2.143 GET /info.php
> > test=oelebole 80 - 76.210.180.155 Mozilla/4.0+(compatible;+MSIE
> > +7.0;+Windows+NT+5.1;+QS+4.2.1.0;+.NET+CLR+1.1.4322;+.NET+CLR
> > +2.0.50727;+FDM) 500 0 0
> > 2007-10-25 19:11:34 W3SVC1260829704 192.168.2.143 GET /info.php
> > test=me 80 - 76.210.180.155 Mozilla/4.0+(compatible;+MSIE+7.0;+Windows
> > +NT+5.1;+QS+4.2.1.0;+.NET+CLR+1.1.4322;+.NET+CLR+2.0.50727;+FDM) 500 0
> > 0
> > 2007-10-25 19:11:39 W3SVC1260829704 192.168.2.143 GET /info.php
> > test=beekay 80 - 76.210.180.155 Mozilla/4.0+(compatible;+MSIE
> > +7.0;+Windows+NT+5.1;+QS+4.2.1.0;+.NET+CLR+1.1.4322;+.NET+CLR
> > +2.0.50727;+FDM) 500 0 0
> > 2007-10-25 19:11:49 W3SVC1260829704 192.168.2.143 GET /info.php
> > test=kevinblount 80 - 76.210.180.155 Mozilla/4.0+(compatible;+MSIE
> > +7.0;+Windows+NT+5.1;+QS+4.2.1.0;+.NET+CLR+1.1.4322;+.NET+CLR
> > +2.0.50727;+FDM) 500 0 0
> > 2007-10-25 19:11:59 W3SVC1260829704 192.168.2.143 GET /info.php
> > test=oelebole 80 - 76.210.180.155 Mozilla/4.0+(compatible;+MSIE
> > +7.0;+Windows+NT+5.1;+QS+4.2.1.0;+.NET+CLR+1.1.4322;+.NET+CLR
> > +2.0.50727;+FDM) 500 0 0- Hide quoted text -
>
> > - Show quoted text -
>
> quick extra -
>
> I just checked the evnet logs.. nothing showing at all regarding PHP
> or IIS
> I also restarted IIS, and after that the script worked with "me" and
> then "kevin", but if I try it again, it's back to hanging and failing.- Hide quoted text -
>
> - Show quoted text -

I wish I could edit these posts, rather than spamming all the time..

I found that turning on "friendly HTTP errors gave some clues"..
here's the latest

ok.. restart IIS again
1) first I run http://216.244.107.150/info.php and see "Hello"

2) next I run http://216.244.107.150/info.php?test=me" and it hangs

3) I tru and go back to http://216.244.107.150/info.php and this time
IE returns the friendly error "HTTP 500 - Te website cannot display
the page"

4) no matter how long I eave it, once it's failed once, I can't get
the scipt to work again.

RK: Could you try again, then if it works.. try a different couple of
test= values? I want to mke sure it's working for you multiple times,
not just once.. might be connection/IP based? clutching at straws
here

seems that this is server based, rather than script. Again, nothing
obvious in the IIS logs and no event log entries

I think I need to reinstall PHP and/or follow the IIS setup section
again

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация