well, of course that is all php script, but appear the little windows classic´s firefox to download (for example) "cookies_read.php"
[56K WARN] offer to download the script file, why?
Moderator: General Moderators
- visonardo
- Forum Contributor
- Posts: 136
- Joined: Mon Oct 02, 2006 7:49 pm
- Location: Argentina, South America´s Sun.
[56K WARN] offer to download the script file, why?
sometimes happened me that, i dont know if the server is full or what, but im using firefox. I dont understand why is it 
well, of course that is all php script, but appear the little windows classic´s firefox to download (for example) "cookies_read.php"
well, of course that is all php script, but appear the little windows classic´s firefox to download (for example) "cookies_read.php"
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
- aaronhall
- DevNet Resident
- Posts: 1040
- Joined: Tue Aug 13, 2002 5:10 pm
- Location: Back in Phoenix, missing the microbrews
- Contact:
I think you're PHP scripts aren't being parsed? You need an AddType directive in httpd.conf for Apache to recognize PHP filetypes. Check out http://www.roundridge.com/hs/apache-php-homesite05.php.
- visonardo
- Forum Contributor
- Posts: 136
- Joined: Mon Oct 02, 2006 7:49 pm
- Location: Argentina, South America´s Sun.
for example, i paste the url in browser´s address bar and not do a click over a link, its independiently if i do click commounly or go to that directly in the address bar pasting the url. Its true, so creazy, but i dont know why, perhaps is something of apache as aaronhall told

i dont believe that because just offer download the echos or result of php file and not the script, surely is something of my script, but sooo rare, because it happened in to differents servers. It happened when the script take more time that usually, like to say 1 of 50 times. But happenaaronhall wrote:I think you're PHP scripts aren't being parsed?...
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
Two questions:visonardo wrote:for example, i paste the url in browser´s address bar and not do a click over a link, its independiently if i do click commounly or go to that directly in the address bar pasting the url. Its true, so creazy, but i dont know why, perhaps is something of apache as aaronhall told![]()
i dont believe that because just offer download the echos or result of php file and not the script, surely is something of my script, but sooo rare, because it happened in to differents servers. It happened when the script take more time that usually, like to say 1 of 50 times. But happenaaronhall wrote:I think you're PHP scripts aren't being parsed?...
1) are other PHP pages actually parsing?
(To test, make a file called php_info.php and add this to it:)
Code: Select all
<?php phpinfo(); ?>- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
- visonardo
- Forum Contributor
- Posts: 136
- Joined: Mon Oct 02, 2006 7:49 pm
- Location: Argentina, South America´s Sun.
for example now i want search some in phpbb official forum site and when i do click en submit firefox open the download´s windows offering download the file "search.php" 
http://www.phpbb.com/phpBB/search.php
http://www.phpbb.com/phpBB/search.php

