index.php help

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mr Pheer
    So Fucking Banned
    • Dec 2002
    • 22170

    #1

    index.php help

    can anyone tell me why, when i name my index to index.php, it doesnt format the page as html, in other words its just text. links dont work or things like that.

    I take the same page and name it .html and links work, but of course then the php stuff doesnt
  • kenny
    Confirmed User
    • Mar 2002
    • 7245

    #2
    I don't know about php.

    But one time I wasted a hour on a similar problem with a .cgi page. It was because I didnt define content type
    7

    Comment

    • fris
      I have to go potty
      • Aug 2002
      • 56031

      #3
      do you have mod_php4 installed?
      Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


      Only Fans Data

      20+ Custom Adult Themes and Plugins

      Comment

      • Mr Pheer
        So Fucking Banned
        • Dec 2002
        • 22170

        #4
        i've already checked that... over & over & over

        Comment

        • Mr Pheer
          So Fucking Banned
          • Dec 2002
          • 22170

          #5
          Originally posted by fris
          do you have mod_php4 installed?
          yes

          Comment

          • Babagirls
            Text Writer
            • Feb 2001
            • 18812

            #6
            did you set permissions (chmod) right?




            Need a Text Writer?
            Blogs|Reviews|Descriptions|Paysites|TGP's|Stories

            ICQ: 397892500

            Comment

            • baddog
              So Fucking Banned
              • Apr 2001
              • 107089

              #7
              add this line to your .htaccess to parse the .html file as PHP:

              AddType application/x-httpd-php .htm .html





              or is that for the other way around? hmmm . . .not sure now
              Last edited by baddog; 08-29-2004, 04:04 AM.

              Comment

              • Mr Pheer
                So Fucking Banned
                • Dec 2002
                • 22170

                #8
                Originally posted by baddog
                add this line to your .htaccess to parse the .html file as PHP:

                AddType application/x-httpd-php .htm .html





                or is that for the other way around? hmmm . . .not sure now
                can i just put that in httpd.conf? I dont use htaccess

                Comment

                • baddog
                  So Fucking Banned
                  • Apr 2001
                  • 107089

                  #9
                  Originally posted by MrPheer
                  can i just put that in httpd.conf? I dont use htaccess
                  I don't want to steer you wrong, I am going by notes . . . and I am even having second thoughts about the info I gave you. I think that might make an html file function as a PHP file

                  Comment

                  • Fake Nick
                    So Fucking Banned
                    • Jul 2004
                    • 7708

                    #10
                    show us where you are fuckin up , that would speed up the help process by 100%

                    Comment

                    • Mr Pheer
                      So Fucking Banned
                      • Dec 2002
                      • 22170

                      #11
                      Originally posted by baddog
                      I don't want to steer you wrong, I am going by notes . . . and I am even having second thoughts about the info I gave you. I think that might make an html file function as a PHP file
                      wll now it does the same thing named html as it did named php

                      Comment

                      • woj
                        <&(©¿©)&>
                        • Jul 2002
                        • 47880

                        #12
                        Post the url to the page? It would make debugging 10x easier...or if you want, you can hit me up on icq, and I'll take a look real quick...
                        Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000
                        Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager
                        Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager

                        Comment

                        • masterE
                          Confirmed User
                          • Aug 2004
                          • 366

                          #13
                          Do you have other php scripts running on the same account?

                          I'd first check to make sure your script starts with <?php



                          Promote Lady Sonia
                          and earn 60% on sign-up and 60% on rebills!
                          ^^ Weekly CCBill Payouts - Hosted Galleries - Promo Content - Free Hosting ^^
                          ^^ No Cross Sells - No Traffic Leaks - 100% Exclusive Content! ^^

                          Comment

                          • Doctor Dre
                            Too lazy to set a custom title
                            • Jan 2001
                            • 51692

                            #14
                            I have the same problem with firefox with asp.

                            If there is no asp code in your page it will do that .
                            Originally posted by rayadp05
                            I rebooted, deleted temp files, history, cookies and everything...still cannot view the news clip. All I see is that fucking gay ass music video from "Rick Roll". Anyone else have a different link to the news clip?

                            Comment

                            Working...