[PHP] Re: php file extension

2008-02-09 Thread Nathan Rixham
Often people install php4 and 5 on the same server, then configure .php 
to use the latest version of php(5) and anything with extension php4 to 
use the old`e php4.


Thus, the file contents remain the same, however the way they are 
executed depends entirely on the server(s) config.


Nathan

MaryAnn Woodall wrote:
Just starting to use php  on my webpages. If I save a file as .php or 
.php4 are they the same file. For example is index.php the same as 
index.php4?


MaryAnn


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] re: php file extension

2008-02-09 Thread Nathan Nobbe
and if you want even more superfluous information
windows, more specifically, ntfs, doest support files
with only capitalization differences in the file names.
eg.
WindowsSucks.txt
windowssucks.txt

-nathan


Re: [PHP] re: php file extension

2008-02-08 Thread Per Jessen
MaryAnn Woodall wrote:

 Just starting to use php  on my webpages. If I save a file as .php
 or .php4 are they the same file. For example is index.php the same as
 index.php4?

If you save the same file with two different names, the contents will
remain the same.  How the different extensions are interpreted at
runtime will depend on your browser config.


/Per Jessen, Zürich

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] re: php file extension

2008-02-08 Thread Richard Lynch
On Thu, February 7, 2008 1:49 pm, MaryAnn Woodall wrote:
 Just starting to use php  on my webpages. If I save a file as .php
 or .php4 are they the same file. For example is index.php the same as
 index.php4?

They are not the same file at all, unless you use really old Windows
that only let you have 3 characters in the extension, or some other
program is converting to the 8.3 filename...

-- 
Some people have a gift link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: php file extension

2008-02-07 Thread Shawn McKenzie
MaryAnn Woodall wrote:
 Just starting to use php  on my webpages. If I save a file as .php or
 .php4 are they the same file. For example is index.php the same as
 index.php4?
 
 MaryAnn

Depends upon what your server is set to parse as PHP.  AFAIK, the only
portable extension would be .php.

-Shawn

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] re: php file extension

2008-02-07 Thread Jason Pruim

Hi MaryAnn

I would recommend if you are going to be sending these files out to be  
used on a server other then you own, such as a clients server, leave  
the file as .php other wise the system admin for the client server  
will have to reconfigure the server to also parse .php4 files.


But, if it's your server and you have full control over it there is no  
reason you couldn't use .php4 or .aspSucks if you wanted to :)


Just don't expect other servers to pick them up :)


On Feb 7, 2008, at 2:49 PM, MaryAnn Woodall wrote:

Just starting to use php  on my webpages. If I save a file as .php  
or .php4 are they the same file. For example is index.php the same  
as index.php4?


MaryAnn

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




--

Jason Pruim
Raoset Inc.
Technology Manager
MQC Specialist
3251 132nd ave
Holland, MI, 49424
www.raoset.com
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] re: php file extension

2008-02-07 Thread Andrew Ballard
On Feb 7, 2008 2:49 PM, MaryAnn Woodall [EMAIL PROTECTED] wrote:
 Just starting to use php  on my webpages. If I save a file as .php
 or .php4 are they the same file. For example is index.php the same as
 index.php4?

 MaryAnn


No, they have different name and are different files. It would depend
on your system's configuration whether one would be the folder index
for the directory, and whether .php4 is even processed by PHP.

Andrew

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] re: php file extension

2008-02-07 Thread MaryAnn Woodall
Just starting to use php  on my webpages. If I save a file as .php  
or .php4 are they the same file. For example is index.php the same as  
index.php4?


MaryAnn

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php