Find programmers and grapic design experts at ScriptLance.com
<? DEW-CODE.COM  
Dew-Code
Welcome, Guest
Please Login or Register.    Lost Password?
Extensionless PHP scripts (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Extensionless PHP scripts
#443
fattymattybrewing (User)
Support Your Local Brewer
Expert Boarder
Posts: 105
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Fatty Matty Brewing Location: Southwestern Wisconsin Birthdate: 1974-11-05
Extensionless PHP scripts 5 Months ago Karma: 3  
This topic was started off-topic in another thread which is here: http://www.dew-code.com/component/option,com_fireboard/func,view/Itemid,26/catid,8/id,439/

To recap, I have setup a new hosting account at Godaddy.com (happy with so far) and I read in the Godaddy user knowledgebase this...

http://help.godaddy.com/article/1274
QUOTE:
For security reasons, we run PHP as a CGI and not as a module. Because of this and the version of Apache we run (1.3.3), you cannot use extensionless PHP files on your Web site without employing a tool like mod_rewrite.


I have been thinking about setting up this Dew-NewPHPLinks BETA script for helping tweek and contribute to this beta script project and have the opportunity with a new website I have built for a client. After our recent initial launch with his site I am now at the door steps of promoting his site- SEO style.

Don't understand what I am doing here, but I think the below comments about using an .htaccess file may be ignored(??) if I can figure out how to use mod_rewrite to run "directory".

I have messed around with using a test .htaccess file which tells the server(??) to use my extensionless PHP script (in our case "directory" as a PHP file. The test .htaccess file looks like this:

Code:

<Files godaddy_phpscript> #ForceType application/x-httpd-php #SetHandler application/x-httpd-php #SetHandler application/x-httpd-php5 ForceType x-httpd-php </Files>
To accompany the test .htaccess file, I have the test extentionless PHP script here: http://www.glacierviewlandscape.com/landscaping_links/godaddy_phpscript The godaddy_phpscript file actually shows the php and html code. I tried un-commenting each ForceType & SetHandler lines and reuploading the .htaccess file each time but non of them actuall just showed...
QUOTE:
This PHP script is running
Funny enough, I did try running this test extensionless script "godaddy_phpscript" using a joomla iframes wrapper and it worked. This relates to my other post today.
 
Report to moderator   Logged Logged  
 
Lifes Too Short To Drink Crappy Beers
fattymattybrewing.com
  The administrator has disabled public write access.
      Topics Author Date
    thread link
Extensionless PHP scripts
fattymattybrewing 2008/08/05 11:59
    thread link
thread linkthread link Re:Extensionless PHP scripts
Dewed 2008/08/10 14:10
    thread link
thread linkthread linkthread link Re:Extensionless PHP scripts
fattymattybrewing 2008/08/15 07:53
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Newsflash

Sign up for PayPal and start accepting credit card payments instantly.
Copyright Dew-Code 2008