Thread: php?

  1. #1
    Pokemon Master digdug4life's Avatar
    Join Date
    Jan 2005
    Location
    Mystic Island, NJ
    Posts
    91

    php?

    umm i pretty sure it needs to be php.

    I want to put something on my site that allows people to post comments and whatnot. Um i still not sure exactly what i want but at the moment it seems like im trying to make a guestbook. Can someone give me code or help me on finding some. I dont want to use one of those gay sitemaking websites. if anyone even understands what i was asking, can you help?
    Verbal Irony >>

    "I love english homework!" When really nobody like english homework.
    -Mrs. Jennifer Lenz (English Teacher)

  2. #2
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    If you want to write it yourself, you will need PHP and MySQL (or something similar). However, you can use this site:

    http://cbox.ws/

    which I use in my site, to make a chatter. Lotsa options there.

  3. #3
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    Location
    between photons and phonons
    Posts
    1,110
    It can indeed be done with php, unless you want to jump into any database management system like mysql, SQL or whatever you could use an xml file to store comments.

    Im sure there's php code somewhere that you would just copy paste and change some variables to your needs to make the whole thing work.

    If you want to start from scratch then look into some php tutorials as it seems you are not familiar with it. Also check if php is running on the server where your webspace is located right now. Seems a silly thing but it would be stupid to start coding locally to find out afterwards that php is not supported on your space .

    First google I did gave me this : http://php.resourceindex.com/Complet...ts/Guestbooks/ . There are guestbooks that require a DBMS and there are ones that dont require any DBMS so it's up to you .

  4. #4
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    499
    What I really like about PHP is the fact that it's so similar to C/C++. For example, to load a file you can still use fopen() or fread(). The biggest change for me in learning PHP though, is that it's a more loosely typed language. Like the fact that you can just start using a variable without declaring it first. But in my opinion, if you just want something simple like a guestbook, find some add-on somewhere.

    It would be overkill to write something simple like a guestbook from scratch.

  5. #5
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    Like my link above. Just create an account, and it will give you some embeded code which will work for you. For proof: http://twomers.googlepages.com/Tablesl.htm click one of the chat links.

  6. #6
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    However, regarding the initial question, it does not need to be PHP. ASP with VBSCript or JavaScript, Perl, Python, Rebol, Zope, Cold Fusion...
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. combining c php and mysql
    By Thoth in forum C Programming
    Replies: 2
    Last Post: 01-30-2009, 10:55 AM
  2. PHP installation
    By ssharish2005 in forum Tech Board
    Replies: 8
    Last Post: 11-23-2007, 09:42 PM
  3. PHP on my Computer!
    By xxxrugby in forum Tech Board
    Replies: 4
    Last Post: 03-15-2005, 09:34 AM
  4. C++ and PHP communication
    By Korhedron in forum Game Programming
    Replies: 4
    Last Post: 01-12-2004, 06:37 AM
  5. PHP 4.3.0 released
    By codingmaster in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-30-2002, 07:40 AM