php-general Digest 14 Nov 2010 20:49:18 -0000 Issue 7036
Topics (messages 309478 through 309480):
Re: confusion about the file extension for php interpreter to interpret
309478 by: Sharl.Jimh.Tsin
309479 by: »ÝÐÂå·
Re: String manipulation
309480 by: Ron Piggott
Administrivia:
To subscribe to the digest, e-mail:
php-general-digest-subscr...@lists.php.net
To unsubscribe from the digest, e-mail:
php-general-digest-unsubscr...@lists.php.net
To post to the list, e-mail:
php-gene...@lists.php.net
----------------------------------------------------------------------
--- Begin Message ---
you can use Apache configuration and mod_rewrite to get it, without no
changes on php.
Best regards,
Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**)
2010/11/14 肖晗 <xiaohan2...@gmail.com>:
> Apache defaultly use php interpreter to execute files ended with '.php'
> extension.
> How can I change this rule?Can I change the default extension to any
> arbitrary name? Such as .PHP or .Php and so on.
> And I am using Ubuntu/Linux, Apache2 and php5.
>
> Thanks very much!
>
--- End Message ---
--- Begin Message ---
Hi:
add "AddType application/x-httpd-php .Php" into httpd.conf or any
other config file in apache/conf/extra
thanks
惠新宸 Xinchen Hui
http://www.laruence.com/
On 11/14/2010 13:29, 肖晗 wrote:
> Apache defaultly use php interpreter to execute files ended with '.php'
> extension.
> How can I change this rule?Can I change the default extension to any
> arbitrary name? Such as .PHP or .Php and so on.
> And I am using Ubuntu/Linux, Apache2 and php5.
>
> Thanks very much!
--- End Message ---
--- Begin Message ---
How would I write an IF statement that looks for the first space space (“ “)
left of the 76th character in a string or <br>, which ever comes first --- OR
the end of the string (IE the string is less than 76 characters long? I
specifically want is it’s character position in the string. Ron
The Verse of the Day
“Encouragement from God’s Word”
http://www.TheVerseOfTheDay.info
--- End Message ---