Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Product Lifecycle
  3. Collaboration / Beta Testing
  4. Updated: PHP version of the CP forums

Updated: PHP version of the CP forums

Scheduled Pinned Locked Moved Collaboration / Beta Testing
phpannouncement
17 Posts 5 Posters 10 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Jon Sagara

    I prefer PHP because of its C-like syntax. PHP seems to be a tad more accessible than ASP, too. OTOH, ASP appears to be a more professional technology because it is produced by one company, not hundreds of independent developers. Example: in PHP, naming conventions are not strictly enforced. There is a function named stripslashes() to remove backslashes from a string. There is also a function named strip_tags() to remove HTML/script tags from a string. Kinda shoddy if you ask me, but everything seems to work just fine. However, I haven't done enough ASP programming to be able to make an in-depth comparison of the two. As far as I can tell, they are pretty much the same, though I don't know how PHP matches ActiveX controls. I think you'd have to write a custom extension for PHP and then recompile the binaries in order to get the same functionality you would normally get out of an ActiveX control. Sorry I don't have a better answer than that. Maybe tomorrow. It's bed time now. ;P Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

    P Offline
    P Offline
    Paul Watson
    wrote on last edited by
    #4

    Jon Sagara wrote: Sorry I don't have a better answer than that No, your answer was great, thanks :) I just wanted a general feeling really.

    Paul Watson
    Bluegrass
    Cape Town, South Africa

    Christopher Duncan wrote: Which explains why when Santa asked, "And what do you want for Christmas, little boy?" I said, "A life." (Accesories sold separately)

    1 Reply Last reply
    0
    • J Jon Sagara

      Hello again everyone! I have updated the forum scripts to include Dynamic mode for Internet Explorer. I have only tested with IE6 sp1, but the scripts should work for at least IE 5. Please bang away and notify me of any bugs. Thanks! http://www.sagara.org/cpforums[^] Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

      M Offline
      M Offline
      Megan Forbes
      wrote on last edited by
      #5

      Cool! :cool: Now we all have somewhere to go if Chris should happen to nod off once every 100 days and the servers misbehave - a lifesaver :)


      I knew it would end badly when I first met Chris in a Canberra alleyway and he said 'try some - it won't hurt you'..... - Christian Graus on Code Project outages Damned nice for remote servers where using Enterprise Manager is like wadding through treacle while covered in velcro, upside down -Paul Watson on SQL Server Query Analyser

      1 Reply Last reply
      0
      • J Jon Sagara

        Hello again everyone! I have updated the forum scripts to include Dynamic mode for Internet Explorer. I have only tested with IE6 sp1, but the scripts should work for at least IE 5. Please bang away and notify me of any bugs. Thanks! http://www.sagara.org/cpforums[^] Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

        J Offline
        J Offline
        Jon Sagara
        wrote on last edited by
        #6

        The scripts now support Dynamic mode for Netscape 6+, though they have only been tested with NS7. Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

        1 Reply Last reply
        0
        • J Jon Sagara

          Hello again everyone! I have updated the forum scripts to include Dynamic mode for Internet Explorer. I have only tested with IE6 sp1, but the scripts should work for at least IE 5. Please bang away and notify me of any bugs. Thanks! http://www.sagara.org/cpforums[^] Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

          D Offline
          D Offline
          David Wulff
          wrote on last edited by
          #7

          I tried to break them but failed. :(( :-D


          David Wulff http://www.davidwulff.co.uk

          Live for today and die tomorrow.

          J 1 Reply Last reply
          0
          • D David Wulff

            I tried to break them but failed. :(( :-D


            David Wulff http://www.davidwulff.co.uk

            Live for today and die tomorrow.

            J Offline
            J Offline
            Jon Sagara
            wrote on last edited by
            #8

            Actually, your little clicky link thing did break them. :) Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

            D 1 Reply Last reply
            0
            • J Jon Sagara

              Actually, your little clicky link thing did break them. :) Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

              D Offline
              D Offline
              David Wulff
              wrote on last edited by
              #9

              Did it work for you then? I tried them but both of them merely replace the entire window's content rather than perform the actions there were supposed to.


              David Wulff http://www.davidwulff.co.uk

              Live for today and die tomorrow.

              J 1 Reply Last reply
              0
              • D David Wulff

                Did it work for you then? I tried them but both of them merely replace the entire window's content rather than perform the actions there were supposed to.


                David Wulff http://www.davidwulff.co.uk

                Live for today and die tomorrow.

                J Offline
                J Offline
                Jon Sagara
                wrote on last edited by
                #10

                That's what it did for me, too, but I want to eliminate that. Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

                1 Reply Last reply
                0
                • J Jon Sagara

                  Hello again everyone! I have updated the forum scripts to include Dynamic mode for Internet Explorer. I have only tested with IE6 sp1, but the scripts should work for at least IE 5. Please bang away and notify me of any bugs. Thanks! http://www.sagara.org/cpforums[^] Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

                  V Offline
                  V Offline
                  Victor Boctor
                  wrote on last edited by
                  #11

                  What is the aim of this development? For fun, open source, to be included in CodeProject? .. just out of interest! I noticed that even if the author unchecks the e-mail on replies checkbox, the e-mail is still mandatory. I guess if this option is disabled, then e-mail should be optional and in this case the [Email to Author] should not be available for this message. Also when composing the message, there is not URL and URL^. There is also something that is not feeling right about the images, it is either that the server is slow, or CP has a trick to make it load faster. You may want to consider pre-loading the pictures using JavaScript or providing the width / height if they are not there. Good work... phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

                  J 1 Reply Last reply
                  0
                  • J Jon Sagara

                    I prefer PHP because of its C-like syntax. PHP seems to be a tad more accessible than ASP, too. OTOH, ASP appears to be a more professional technology because it is produced by one company, not hundreds of independent developers. Example: in PHP, naming conventions are not strictly enforced. There is a function named stripslashes() to remove backslashes from a string. There is also a function named strip_tags() to remove HTML/script tags from a string. Kinda shoddy if you ask me, but everything seems to work just fine. However, I haven't done enough ASP programming to be able to make an in-depth comparison of the two. As far as I can tell, they are pretty much the same, though I don't know how PHP matches ActiveX controls. I think you'd have to write a custom extension for PHP and then recompile the binaries in order to get the same functionality you would normally get out of an ActiveX control. Sorry I don't have a better answer than that. Maybe tomorrow. It's bed time now. ;P Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

                    V Offline
                    V Offline
                    Victor Boctor
                    wrote on last edited by
                    #12

                    I didn't use ASP much, but I know why I love PHP: 1. Very easy to use if you are familiar with C/C++ syntax. 2. You can program at a very low level (sockets, ..etc) 3. Widely available in hosting companies for no extra fees. 4. Available on both Windows/Linux hosts. 5. Integrates very well with a variety of databases. 6. Can be extended by programming your own extensions. 7. More popular than ASP, see hotscripts poll with about 40,000 voters (http://www.hotscripts.com/polls/results.hsp[^]) 8. Open Source phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

                    1 Reply Last reply
                    0
                    • V Victor Boctor

                      What is the aim of this development? For fun, open source, to be included in CodeProject? .. just out of interest! I noticed that even if the author unchecks the e-mail on replies checkbox, the e-mail is still mandatory. I guess if this option is disabled, then e-mail should be optional and in this case the [Email to Author] should not be available for this message. Also when composing the message, there is not URL and URL^. There is also something that is not feeling right about the images, it is either that the server is slow, or CP has a trick to make it load faster. You may want to consider pre-loading the pictures using JavaScript or providing the width / height if they are not there. Good work... phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

                      J Offline
                      J Offline
                      Jon Sagara
                      wrote on last edited by
                      #13

                      Victor Boctor wrote: I noticed that even if the author unchecks the e-mail on replies checkbox, the e-mail is still mandatory. I guess if this option is disabled, then e-mail should be optional and in this case the [Email to Author] should not be available for this message. I'm just doing a straight port for the time being. Maybe in a future version I will worry about this. Victor Boctor wrote: Also when composing the message, there is not URL and URL^. What browser are you using? Those currently only show up for IE4+. Victor Boctor wrote: There is also something that is not feeling right about the images, it is either that the server is slow, or CP has a trick to make it load faster. You may want to consider pre-loading the pictures using JavaScript or providing the width / height if they are not there. I checked, and the width/height were not specified for any of the smilies. Thanks for catching that. They load much faster now. Victor Boctor wrote: Good work... Thanks. :) Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

                      V 1 Reply Last reply
                      0
                      • J Jon Sagara

                        Victor Boctor wrote: I noticed that even if the author unchecks the e-mail on replies checkbox, the e-mail is still mandatory. I guess if this option is disabled, then e-mail should be optional and in this case the [Email to Author] should not be available for this message. I'm just doing a straight port for the time being. Maybe in a future version I will worry about this. Victor Boctor wrote: Also when composing the message, there is not URL and URL^. What browser are you using? Those currently only show up for IE4+. Victor Boctor wrote: There is also something that is not feeling right about the images, it is either that the server is slow, or CP has a trick to make it load faster. You may want to consider pre-loading the pictures using JavaScript or providing the width / height if they are not there. I checked, and the width/height were not specified for any of the smilies. Thanks for catching that. They load much faster now. Victor Boctor wrote: Good work... Thanks. :) Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

                        V Offline
                        V Offline
                        Victor Boctor
                        wrote on last edited by
                        #14

                        Jon Sagara wrote: What browser are you using? Those currently only show up for IE4+. I was using Mozillia 1.2.1. You didn't answer my question about the reason for the development? phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

                        J 1 Reply Last reply
                        0
                        • V Victor Boctor

                          Jon Sagara wrote: What browser are you using? Those currently only show up for IE4+. I was using Mozillia 1.2.1. You didn't answer my question about the reason for the development? phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

                          J Offline
                          J Offline
                          Jon Sagara
                          wrote on last edited by
                          #15

                          Victor Boctor wrote: You didn't answer my question about the reason for the development? No reason. ;P Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

                          V 1 Reply Last reply
                          0
                          • J Jon Sagara

                            Victor Boctor wrote: You didn't answer my question about the reason for the development? No reason. ;P Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

                            V Offline
                            V Offline
                            Victor Boctor
                            wrote on last edited by
                            #16

                            Jon Sagara wrote: No reason. So, are you planning to make the code available? GPL or whatever? phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

                            J 1 Reply Last reply
                            0
                            • V Victor Boctor

                              Jon Sagara wrote: No reason. So, are you planning to make the code available? GPL or whatever? phpWebNotes is a page annotation system modelled after php.net. http://webnotes.sourceforge.net/demo.php[^]

                              J Offline
                              J Offline
                              Jon Sagara
                              wrote on last edited by
                              #17

                              Someday, but no time soon. Lots of work left to be done. Definitely NOT GPL, though. Jon Sagara When I want something, I just go out and buy it. That makes me a go-getter. -- My sister

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups