Jump to content


Problem with comments


2 replies to this topic

#1 Chrypetex

    Young Padawan

  • Members
  • Pip
  • 121 posts
  • Gender:Male
  • Location:Sweden
  • Interests:Photos

Posted 18 May 2007 - 09:39 AM

Hello everybody :D
I've been building a blog for a while now, and i have some problem with the coding of the comment-system.

And here comes the errors:

http://img441.images...664/blogvm0.png

http://img441.images...77/blog2pw1.png

Someone knows why? :/

Edited by Chrypetex, 04 April 2008 - 10:22 AM.


#2 magiceye

    Young Padawan

  • Members
  • Pip
  • 11 posts

Posted 18 May 2007 - 10:48 AM

What does the source of the first example look like?

#3 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 18 May 2007 - 01:39 PM

Well, now the problem is obvious.
<form action="<?=$_SERVER["PHP_SELF"];?>" method="post">
You either don't have php enabled, or you don't have short_open_tags enabled.

Since you're running this on localhost, i'm going to assume you simply don't have short_open_tags enabled.
ref: http://php.net/manua...x.php#id2644482





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users