Menu

Can't use .php3 files

Help
Anonymous
2001-07-13
2012-09-14
  • Anonymous

    Anonymous - 2001-07-13

    Hi
    I have had your chat software on the website for ages and then my site gets hacked and busted. In the process of rebuilding it I notice I can't run .php3 files... The ISP sates that .php3 were insecure and they only support .php and .php4 files now.

    This is about the best chat software I have found how can I use it on my site now? Any Ideas would be appreciated.

    Many Thanks
    Jerry

     
    • Anonymous

      Anonymous - 2001-07-13

      If you are using Apache try this in your httpd.conf file:

      ScriptAlias /php/ "C:/php/"
      ScriptAlias /php2/ "C:/php/"
      ScriptAlias /php3/ "C:/php/"

      AddType application/x-httpd-php4 .phtml .pwml .htm
      AddType application/x-httpd-php4 .php4 .php .php3 .php2 .htm

      Action application/x-httpd-php4 "/php/php.exe"

      Tell me if it worked

       
    • Anonymous

      Anonymous - 2001-07-29

      I am new to the Apache environment and so this question might sound very basic - nevertheless, is the httpd.conf file found in every user's directory or is it at a root level.  Where do I look for it?  Is it a hidden file?

      Many thanks.
      SwamySK

       
    • Michael Grier

      Michael Grier - 2001-08-01

      Since you are on a shared server at your ISP, I believe your only recourse at this point is to rename all of the files to have a .php extension. What a pain. IMNSHO, your ISP's logic here is pretty screwed up. PHP4 will run PHP3 files just fine, except for a few rarely used options. It isn't the extension that determines the security, it's what version of PHP is running on the server. (rollin' my eyes)

      Mike

       
    • henning hansen

      henning hansen - 2001-08-10

      If you are on a shared server you can add the following line to your .htaccess
      AddType application/x-httpd-php .php .php3

       
    • Anonymous

      Anonymous - 2002-05-03

      i had the same problem! i renamed all *,php3 files to *.php and i changed all IN ALL FILES the extension php3 into php! you can do this with ultraedit or another good text editor

       
    • Daniel Wistman

      Daniel Wistman - 2002-05-25

      .php3 is suppose to be a big no no with php4 and the rules state that the extention should be .php - ok that is easy enough to change but a lot of phpChat's file names include underscores and periods, also a big no no with php4

      Ok having quoted the rules, I'm not that well up on php and wanted to know, am I going to have to change the filenames? No doubt this'll mean that all  the files will have to be checked for these file names to be changed also.

      Alternatively is there a php4 update for phpChat?

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.