Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 08-29-2004, 03:54 AM   #1
Mr Pheer
Retired
 
Mr Pheer's Avatar
 
Industry Role:
Join Date: Dec 2002
Posts: 21,261
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
Mr Pheer is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 03:59 AM   #2
kenny
Confirmed User
 
Industry Role:
Join Date: Mar 2002
Posts: 7,245
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
kenny is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 04:00 AM   #3
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
do you have mod_php4 installed?
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 04:00 AM   #4
Mr Pheer
Retired
 
Mr Pheer's Avatar
 
Industry Role:
Join Date: Dec 2002
Posts: 21,261
i've already checked that... over & over & over
Mr Pheer is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 04:00 AM   #5
Mr Pheer
Retired
 
Mr Pheer's Avatar
 
Industry Role:
Join Date: Dec 2002
Posts: 21,261
Quote:
Originally posted by fris
do you have mod_php4 installed?
yes
Mr Pheer is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 04:02 AM   #6
Babagirls
Text Writer
 
Babagirls's Avatar
 
Join Date: Feb 2001
Location: Wisconsin
Posts: 18,812
did you set permissions (chmod) right?
__________________




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

ICQ: 397892500
Babagirls is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 04:02 AM   #7
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
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 at 04:04 AM..
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 04:06 AM   #8
Mr Pheer
Retired
 
Mr Pheer's Avatar
 
Industry Role:
Join Date: Dec 2002
Posts: 21,261
Quote:
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
Mr Pheer is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 04:08 AM   #9
baddog
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
Quote:
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
baddog is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 04:11 AM   #10
Fake Nick
So Fucking Banned
 
Join Date: Jul 2004
Location: go troll goo!
Posts: 7,708
show us where you are fuckin up , that would speed up the help process by 100%
Fake Nick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 04:12 AM   #11
Mr Pheer
Retired
 
Mr Pheer's Avatar
 
Industry Role:
Join Date: Dec 2002
Posts: 21,261
Quote:
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
Mr Pheer is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 04:34 AM   #12
woj
<&(©¿©)&>
 
woj's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
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
woj is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 04:35 AM   #13
masterE
Confirmed User
 
Join Date: Aug 2004
Location: at home! ICQ 199579013
Posts: 366
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! ^^
masterE is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 08-29-2004, 02:55 PM   #14
Doctor Dre
Too lazy to set a custom title
 
Doctor Dre's Avatar
 
Industry Role:
Join Date: Jan 2001
Posts: 51,692
I have the same problem with firefox with asp.

If there is no asp code in your page it will do that .
__________________
Quote:
Originally Posted by rayadp05 View Post
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?
Doctor Dre is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.