boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

source d'un .php

 
Post new topic   Reply to topic    boardom Forum Index -> Aide en français
View previous topic :: View next topic  
Author Message
java



Joined: 15 Feb 2003
Posts: 5
Location: Paris

PostPosted: Sat Jul 05, 2003 1:54 pm    Post subject: source d'un .php Reply with quote

Dans un autre thread, Michel dit que
michel v wrote:
(le source est à b2.phps si tu veux voir, y'a un filter dedans)

j'aurais voulu savoir comment créer un .phps à partir d'un .php, cette fonction me serait très utile...
merci à tous Smile
_________________
hiho powered - http://www.vaurien.net/
Back to top
View user's profile Send private message
TigerDE2



Joined: 04 Jan 2003
Posts: 57
Location: Germany, Erfurt

PostPosted: Tue Jul 08, 2003 7:14 pm    Post subject: Reply with quote

salut!
malhereusement, je ne parle pas francais. (pas assez pour l'expliqué, ca veut dire... Smile )

(Tu prend le source d'un php et change l'extension à phps, c'est tout.
le server fait le reste.)

So, you basicly just rename your file tp phps, upload it and Apache's doing the rest with the help of php. You don't have to do anything else afaik.

Christian
_________________
Make me happy. Smile
Correct my awful grammar and spelling mistakes...
-----
b2 is now WordPress.
Names change, excellence remains. Go, change.
Back to top
View user's profile Send private message
java



Joined: 15 Feb 2003
Posts: 5
Location: Paris

PostPosted: Tue Jul 08, 2003 7:22 pm    Post subject: Reply with quote

okay thanx so much, but look what's appearing : http://www.vaurien.net/index.phps

could you explain this bug ?
and one more time, thanx a lot Smile
(and my english is very bad too, but I understand it - well I'm actually trying )
_________________
hiho powered - http://www.vaurien.net/
Back to top
View user's profile Send private message
TigerDE2



Joined: 04 Jan 2003
Posts: 57
Location: Germany, Erfurt

PostPosted: Tue Jul 08, 2003 9:23 pm    Post subject: Reply with quote

I think it has sth. to do with either your php.ini or the apache configuration settings.
Ask your webhost.
Maybe, you can use a .htaccess in order to get it working... Smile

Maybe, this helps:
http://fr.php.net/function.highlight-file
>>make sure your Apache httpd.conf file includes the line
>>AddType application/x-httpd-php-source .phps

So, try to create an empty file txt.htaccess and insert the following:

Code:

AddType application/x-httpd-php-source .phps

Upload it into your root directory and rename it to .htaccess
Hope this helps.
Christian
_________________
Make me happy. Smile
Correct my awful grammar and spelling mistakes...
-----
b2 is now WordPress.
Names change, excellence remains. Go, change.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> Aide en français All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group