zero-perfoliate
zero-perfoliate

Author Topic: Help !! Code aftler -> is not recognized. Some problem with class???  (Read 671 times)

Offline phpuser

  • New PHP Members
  • Posts: 1
  • Karma: +0/-0
Hi, I am new to this forum and PHP. I have installed PHP and MySQL on windows XP. I have run a couple of codes, but where ever in code class->memberfunction syntax comes the code does not get parsed beyond that. Is there some problem with the installation of extensions.

Also when i select all the extensions that are available with PHP and install, there is a problem in running any code. The error says :
The specified CGI application misbehaved by not
 returning a complete set of HTTP headers.
 The headers it did return are:
      etc...

Can anyone please help....

icestormz

  • Guest
Re: Help !! Code aftler -> is not recognized. Some problem with class???
« Reply #1 on: October 23, 2008, 09:24:29 AM »
Are you using apache or IIS if you are using IIS try installing this hotfix it might fix your problem

http://support.microsoft.com/default.aspx?scid=kb;EN-US;884764

Offline rynnyer

  • New PHP Members
  • Posts: 1
  • Karma: +0/-0
Re: Help !! Code aftler -> is not recognized. Some problem with class???
« Reply #2 on: November 07, 2008, 08:27:36 AM »
I'm having the same problem - but when I change the php tags from
<? php
...
?>


to
<script language="php>
...
</script>


it works.
Does someone have a better idea?  Why is '->' being confused with the php close tag '?>' ?

Offline PhPHelper

  • http://Digiscapers.com
  • Full Member
  • PHP Problem Solvers
  • ****
  • Posts: 179
  • Karma: +50/-0
    • Bad Apple Mail
Re: Help !! Code aftler -> is not recognized. Some problem with class???
« Reply #3 on: December 16, 2008, 06:15:38 PM »
if your running php locally I suggest using XAMPP: http://www.apachefriends.org/en/xampp.html easy to setup and could remove the problem you have.

 

zero-perfoliate