Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 21

Thread: Php Is It Like C++?

  1. #11
    shn's Avatar Ð3ƒμ|\|(7
    Join Date
    May 2003
    Posts
    3,568
    Originally posted by Cl1mh4224rd@25 September 2003 - 23:04
    CHMOD 777

    'CHMOD' is a Unix/Linux command that sets access permissions on files and directories.
    theycould be using windows with php.

    In that case they would have to allow permissions to the internet guest account or whatever its called so that its writable when they run the web based installer for the forum.

  2. Software & Hardware   -   #12
    Originally posted by shn
    False.

    It does not generate html. Why would php generate html? That doesnt make sense. Thats like saying C++ generates C. 
    Your wrong.

    PHP can and usually does produce HTML via echo. This is the "dynamic web content" you mentioned.

    Here is part of a script from the open source edge engine to prove it.

    Code:
    echo "<p><table border=0 cellpadding=1 cellspacing=1 width=80%>";
    	echo "<tr><td> </td><td class=edgesmall colspan=3>".flecho("most discussed topics for last $edge_boardmostdisc days",$es_mostdisct)."</td></tr>";
    	echo "<tr><td></td>
      <td class=edgesmall bgcolor=$wb_table_bg>".flecho('subject',$es_subject)."</td>
    	<td class=edgesmall bgcolor=$wb_table_bg>".flecho('author',$es_author)."</td>
    	<td class=edgesmall  bgcolor=$wb_table_bg>".flecho('nr. of posts',$es_nrofposts)."</td></tr>";

  3. Software & Hardware   -   #13
    Poster
    Join Date
    Mar 2003
    Posts
    622
    ice ice baby

  4. Software & Hardware   -   #14
    BANNED
    Join Date
    Jul 2003
    Location
    Guatemala
    Posts
    4,044
    goin back to the topic in question.... him askin "PHP is it like C++?"....

    well not like C++....more like C alone.... they say that if u know C, u know 90% php....so gl

    DWk

  5. Software & Hardware   -   #15
    Originally posted by dwk
    well not like C++....more like C alone.... they say that if u know C, u know 90% php....so gl
    Kind of...

    PHP is similar to C in the respect that it uses the 3 basic elements of procedural programming. Sequence, selection and iteration. But then again... so do most procedural languages.

    PHP is more similar to Perl because they're both interpreted languages that require an interpreter to run the scripts, whereas C is a compiled language.

    Perl is also used to dynamically create HTML as well.

  6. Software & Hardware   -   #16
    umm im confused how to install this board...

    http://www.phpbb.com/

    http://www.toon-network.com/soul/php...ll/install.php

    im confused on what to do...

  7. Software & Hardware   -   #17
    shn's Avatar Ð3ƒμ|\|(7
    Join Date
    May 2003
    Posts
    3,568
    Originally posted by evilbagpuss+26 September 2003 - 06:14--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (evilbagpuss @ 26 September 2003 - 06:14)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-shn
    False.

    It does not generate html. Why would php generate html? That doesnt make sense. Thats like saying C++ generates C.&nbsp;
    Your wrong.

    PHP can and usually does produce HTML via echo. This is the "dynamic web content" you mentioned.

    Here is part of a script from the open source edge engine to prove it.

    Code:
    echo &#34;&#60;p&#62;&#60;table border=0 cellpadding=1 cellspacing=1 width=80%&#62;&#34;;
    	echo &#34;&#60;tr&#62;&#60;td&#62;&nbsp;&#60;/td&#62;&#60;td class=edgesmall colspan=3&#62;&#34;.flecho&#40;&#34;most discussed topics for last &#036;edge_boardmostdisc days&#34;,&#036;es_mostdisct&#41;.&#34;&#60;/td&#62;&#60;/tr&#62;&#34;;
    	echo &#34;&#60;tr&#62;&#60;td&#62;&#60;/td&#62;
     &nbsp;&#60;td class=edgesmall bgcolor=&#036;wb_table_bg&#62;&#34;.flecho&#40;&#39;subject&#39;,&#036;es_subject&#41;.&#34;&#60;/td&#62;
    	&#60;td class=edgesmall bgcolor=&#036;wb_table_bg&#62;&#34;.flecho&#40;&#39;author&#39;,&#036;es_author&#41;.&#34;&#60;/td&#62;
    	&#60;td class=edgesmall &nbsp;bgcolor=&#036;wb_table_bg&#62;&#34;.flecho&#40;&#39;nr. of posts&#39;,&#036;es_nrofposts&#41;.&#34;&#60;/td&#62;&#60;/tr&#62;&#34;;
    [/b][/quote]
    Dont contradict me on something as mediocre as that.

    Their two different languages. If your going to use php to generate html then you might as well just use html anyway because you can have dynamic html web content without using php. Its frivilous to even attempt to use the method you posted because all it does is defeats the purpose and makes the process of generating dynamic content an unnecessary hassle.

    By the way, going on google and copying and pasting code on the board is not going to prove your point, especially when have no idea what your referring to yourself.

  8. Software & Hardware   -   #18
    alrite i got the board workin my friend told me that he was alloweed to create those board w/out having to dl it and install it

    wow theres still arguing lol

  9. Software & Hardware   -   #19
    Originally posted by Soul814@27 September 2003 - 00:43
    umm im confused how to install this board...

    http://www.phpbb.com/

    http://www.toon-network.com/soul/php...ll/install.php

    im confused on what to do...
    Good to see that you prefer phpbb the best.

    Check out these links:

    Step by step installation instructions

    phpBB 2.0.4 install guide

    Information and notices

    phpBB Users guide

  10. Software & Hardware   -   #20
    Wolfmight's Avatar Poster BT Rep: +1
    Join Date
    Feb 2003
    Location
    Location: Location:
    Posts
    5,545
    seems like a more advanced kind of html.. like xml

Page 2 of 3 FirstFirst 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •