php?

This is a discussion on php? within the Tech Board forums, part of the Community Boards category; umm i pretty sure it needs to be php. I want to put something on my site that allows people ...

  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,262
    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,109
    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
    498
    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,262
    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
    Portugal
    Posts
    7,510
    However, regarding the initial question, it does not need to be PHP. ASP with VBSCript or JavaScript, Perl, Python, Rebol, Zope, Cold Fusion...
    The programmer’s wife tells him: “Run to the store and pick up a loaf of bread. If they have eggs, get a dozen.”
    The programmer comes home with 12 loaves of bread.


    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, 09:55 AM
  2. PHP installation
    By ssharish2005 in forum Tech Board
    Replies: 8
    Last Post: 11-23-2007, 08:42 PM
  3. PHP on my Computer!
    By xxxrugby in forum Tech Board
    Replies: 4
    Last Post: 03-15-2005, 08:34 AM
  4. C++ and PHP communication
    By Korhedron in forum Game Programming
    Replies: 4
    Last Post: 01-12-2004, 05: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, 06:40 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21