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 Mark Forums Read
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 02-25-2004, 08:40 PM   #1
KRL
Entrepreneur
 
Join Date: Oct 2002
Location: USA
Posts: 31,429
Quick question on .php3 files

I have a program on a server with all the .php files using the extension .php3. When I try to load the page, instead of executing the php script Explorer is asking me if I want to save or open the file.

Would that be a server configuration issue for the php settings or something funky not set right in Explorer?

From what I could find its a server config issue.

__________________
If you would like to develop your domains, you can lease inexpensive foreign labor
from the leaders in the field at iWebmasters.com TO LOWER YOUR COSTS AND INCREASE YOUR PRODUCTION!

*** *** *** *** *** *** *** *** *** *** *** ***
Domains Adult News KRL's Newsletter Biz Tips Just Listed Domains
KRL is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-25-2004, 08:42 PM   #2
frankfortuna
Confirmed User
 
Join Date: Aug 2002
Posts: 1,504
If php is installed properly, it is probably just a small file type / extension directive issue in Apache's httpd.conf. I'll dig it up for you in a sec.

Last edited by frankfortuna; 02-25-2004 at 08:49 PM..
frankfortuna is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-25-2004, 08:42 PM   #3
ztik
Confirmed User
 
ztik's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Nomad
Posts: 5,196
Im guessing your ruinning apache? You can open up your httpd.conf file in the apache root and search for ".php" it should say something about parsing content type, just copy the line and paste it below so there is a two of them. Rename the 2nd one to .php3. After that restart apache and you should be good

that should fix it
__________________
.
ztik is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-25-2004, 08:43 PM   #4
frankfortuna
Confirmed User
 
Join Date: Aug 2002
Posts: 1,504
Make sure this string in httpd.conf contains .php3

AddType application/x-httpd-php .php .php3 .php .phtml .inc .cfg
AddType application/x-httpd-php-source .phps
frankfortuna is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-25-2004, 08:44 PM   #5
ztik
Confirmed User
 
ztik's Avatar
 
Industry Role:
Join Date: Aug 2001
Location: Nomad
Posts: 5,196
Quote:
Originally posted by frankfortuna
Make sure this string in httpd.conf contains .php3

AddType application/x-httpd-php .php .php3 .php .phtml .inc .cfg
AddType application/x-httpd-php-source .phps
yeah. thats it
__________________
.
ztik is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-25-2004, 08:46 PM   #6
frankfortuna
Confirmed User
 
Join Date: Aug 2002
Posts: 1,504
Quote:
Originally posted by frankfortuna
Make sure this string in httpd.conf contains .php3

AddType application/x-httpd-php .php .php3 .php .phtml .inc .cfg
AddType application/x-httpd-php-source .phps
Ignore the duplicate .php reference in the following hahahahahahahaha

AddType application/x-httpd-php .php .php3 .php .phtml .inc .cfg

Should read:

AddType application/x-httpd-php .php .php3 .phtml .inc .cfg

Keep in mind your config may vary, so you could possibly have more AddType application/x-httpd-php extensions listed.
frankfortuna is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-25-2004, 08:47 PM   #7
RainMailer
Confirmed User
 
Join Date: Feb 2003
Location: Portland
Posts: 826
KRL make sure you make a backup copy of your httpd.conf file and once your done editing make sure you restart apache. Let me know if you need some help with this.
__________________
harbinc at gmail dot com
RainMailer is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-25-2004, 08:48 PM   #8
hoe_vender
Confirmed User
 
Join Date: Dec 2003
Location: Lincoln, NE
Posts: 2,018
dont know what that is
__________________
ICQ #286508534
hoe_vender is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-25-2004, 08:49 PM   #9
KRL
Entrepreneur
 
Join Date: Oct 2002
Location: USA
Posts: 31,429
Thanks guys for the fast response. I figured it had to be something not set right on the server config files.


__________________
If you would like to develop your domains, you can lease inexpensive foreign labor
from the leaders in the field at iWebmasters.com TO LOWER YOUR COSTS AND INCREASE YOUR PRODUCTION!

*** *** *** *** *** *** *** *** *** *** *** ***
Domains Adult News KRL's Newsletter Biz Tips Just Listed Domains
KRL is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-25-2004, 08:51 PM   #10
frankfortuna
Confirmed User
 
Join Date: Aug 2002
Posts: 1,504
Quote:
Originally posted by KRL
Thanks guys for the fast response. I figured it had to be something not set right on the server config files.


No problem. As Ztik mentioned, we are assuming Apache here. If not, the info I just provided is not applicable.
frankfortuna is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-25-2004, 08:52 PM   #11
Juicy D. Links
So Fucking Banned
 
Industry Role:
Join Date: Apr 2001
Location: N.Y. -Long Island --
Posts: 122,992
zend optimizer plus mod rewrite make me hard
Juicy D. Links is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-25-2004, 08:54 PM   #12
http
Confirmed User
 
Join Date: Oct 2001
Posts: 1,811
.php3 is sooooo 90's



http is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-25-2004, 09:55 PM   #13
Ash@phpFX
Confirmed User
 
Join Date: Nov 2003
Posts: 4,292
i tihnk the current standard is that all php files use the .php extention, i could be wrong though
Ash@phpFX 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
Thread Tools



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.