RE: [PHP] Making it so the .php isn't needed
You can accomplish this by enabling multiviews in your httpd.conf > -Original Message- > From: Teren Sapp [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 02, 2003 3:18 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Making it so the .php isn't needed > > > Hi, I had it setup on my server before i reloaded it, but what i > need to have happen is so that when i'm passing variables to a > php file, I don't have to include the .php in the link...so i can have > > http://www.my-domain.com/page1?var1=3&var2=4 > instead of > http://www.my-domain.com/page1.php?var1=3&var2=4 > > Anybody know how i can make this work? THanks > > Teren > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Making it so the .php isn't needed
at a guess would say have something to do with the line in ur server config ... eg in apache the httpd.conf file ... and where you tell it what to run thru the php engine Teren Sapp wrote: Hi, I had it setup on my server before i reloaded it, but what i need to have happen is so that when i'm passing variables to a php file, I don't have to include the .php in the link...so i can have http://www.my-domain.com/page1?var1=3&var2=4 instead of http://www.my-domain.com/page1.php?var1=3&var2=4 Anybody know how i can make this work? THanks Teren -- Peter Houchin Sun Rentals STR Manager Phone: 03 9869 6452 Fax: 03 9866 2511 Mobile:0438 789 220 [EMAIL PROTECTED] http://www.sunrentals.com.au/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Making it so the .php isn't needed
Hello, read this: http://php.benscom.com/manual/en/security.hiding.php :) cheers, - Sebastian - Original Message - From: "Teren Sapp" <[EMAIL PROTECTED]> Hi, I had it setup on my server before i reloaded it, but what i need to have happen is so that when i'm passing variables to a php file, I don't have to include the .php in the link...so i can have http://www.my-domain.com/page1?var1=3&var2=4 instead of http://www.my-domain.com/page1.php?var1=3&var2=4 Anybody know how i can make this work? THanks Teren -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Making it so the .php isn't needed
this is funny , you could have any extension u like say , i'm a synth freak , i luv the word "303" so on some of my musik pages i have pages called something.303 so AddType application/x-httpd-php .303 :D >= Original Message From "Sebastian" <[EMAIL PROTECTED]> = >Hello, > >read this: >http://php.benscom.com/manual/en/security.hiding.php > >:) > >cheers, >- Sebastian > >- Original Message - >From: "Teren Sapp" <[EMAIL PROTECTED]> > > >Hi, I had it setup on my server before i reloaded it, but what i need to >have happen is so that when i'm passing variables to a php file, I don't >have to include the .php in the link...so i can have > >http://www.my-domain.com/page1?var1=3&var2=4 >instead of >http://www.my-domain.com/page1.php?var1=3&var2=4 > >Anybody know how i can make this work? THanks > >Teren > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Making it so the .php isn't needed
yeah pretty cool, there are no limits on what you can do. cheers, - Sebastian - Original Message - From: "daniel" <[EMAIL PROTECTED]> | this is funny , you could have any extension u like say , i'm a synth freak , | i luv the word "303" so on some of my musik pages i have pages called | something.303 | | so | | AddType application/x-httpd-php .303 :D | >= Original Message From "Sebastian" <[EMAIL PROTECTED]> = | >Hello, | > | >read this: | >http://php.benscom.com/manual/en/security.hiding.php | > | >:) | > | >cheers, | >- Sebastian | > | >- Original Message - | >From: "Teren Sapp" <[EMAIL PROTECTED]> | > | > | >Hi, I had it setup on my server before i reloaded it, but what i need to | >have happen is so that when i'm passing variables to a php file, I don't | >have to include the .php in the link...so i can have | > | >http://www.my-domain.com/page1?var1=3&var2=4 | >instead of | >http://www.my-domain.com/page1.php?var1=3&var2=4 | > | >Anybody know how i can make this work? THanks | > | >Teren | > | > | > | > | >-- | >PHP General Mailing List (http://www.php.net/) | >To unsubscribe, visit: http://www.php.net/unsub.php | | -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php