10-20-2009, 04:48 PM
i have been having trouble with php when I try to use it in a webpage it shows the script as if it is txt and it wont exec it what should i do?
annoying apache problem
|
10-20-2009, 04:48 PM
i have been having trouble with php when I try to use it in a webpage it shows the script as if it is txt and it wont exec it what should i do?
Does that happen on a local computer or on a web host.
If it's locally open yout httpd.conf file and find/add Code: DefaultType application/x-httpd-php It can also happen when you use windows default Notepad that the file is saved as name.php.txt
10-20-2009, 05:06 PM
well im on ubutu 9.04 and the script is javascript
[/php]
10-20-2009, 05:09 PM
10-20-2009, 05:50 PM
There is no need for the Javascript file to be saved as .php; .php is for PHP files =|
10-20-2009, 06:01 PM
(This post was last modified: 10-20-2009, 06:23 PM by jfmherokiller.)
10-20-2009, 06:32 PM
...The page is corrupted, right.
10-20-2009, 07:31 PM
(This post was last modified: 10-20-2009, 07:34 PM by jfmherokiller.)
nope i restored the page and now it tells me the same thing
but it says The following code needs to be included in the php: <script language='Javascript' src="http://localhost/beef/hook/beefmagic.js.php'></script> and the code is aready in it i was trying to use the beef framework from the backtrack module
10-21-2009, 03:18 AM
...Make a HTML page with that in it.
|
« Next Oldest | Next Newest »
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Apache 2.2 and PHP 5.2.11 | Gonzo | 3 | 1,147 |
10-27-2010, 08:01 PM Last Post: haphazard |
|
Installing .php, mysql and apache on Ubuntu [Help] | haphazard | 0 | 671 |
10-27-2010, 08:00 PM Last Post: haphazard |
|
Apache + MyBB + co.cc? | ßeowulf | 18 | 3,603 |
01-02-2010, 07:03 PM Last Post: Grizzly |
|
Apache Fail. | manipulate | 0 | 649 |
10-30-2009, 04:23 AM Last Post: manipulate |