PDA

View Full Version : Problems with php



NightwoLF
Mon 10th Jul '00, 2:15pm
Hello

the first time im sorry for my bad english
so now my problem

My Server only Support PHP3 Scripts
and in the Members Area i only found .php scripts
and this scripts dont run at my server

what can i do.

Give it a License vers who write in php3 ?


so i hope for help

thnaks
Thomas M.

P.S: Im Sorry again about my bad english

Aaron
Fri 21st Jul '00, 5:41pm
Well, the way I see it you've got two choices.

1. Rename all of the files to .php3 and any referances to those files.

2. Telnet into your server and tell it to parse .php files.

Personally I'd go with choice #2 because it'll be a lot faster and leave less room for error, but on the other hand, you may not have access to your servers config files.

Bealers
Wed 26th Jul '00, 9:45pm
Assuming you run apache...............

create a file called .htaccess in your htdocs folder

add the line:

AddType application/x-httpd-php3 .php

if you are running php4 add this instead

AddType application/x-httpd-php .php

sorted

Bealers