Cos winders has php files registered to dreamweaver
[RESOLVED] dynamic action change using php/js
not familiar with 'cos winders' -
is this the problem even if I can call the php file directly in the browser without problem?
Works perfectly fine... I hope you have PHP correctly installed and configured or maybe you should check your file associations.
ok - changed file association of php file to explorer....now I get the windows box indicating a file download and do I want to open, save or cancel the script? Is there something I need to change in php as well? I do not have trouble executing a php file from the browser. I have php and apache as a local server
bobvaz wrote:not familiar with 'cos winders' -
is this the problem even if I can call the php file directly in the browser without problem?
Because Microsoft Windows, the operating system that you are using, has php file extension associated with the wrong program. You need to change it to your browser, be that IE of FF or whatever.
Usually when you get a prompt for download, PHP/APACHE is not working correctly. Also when you are trying to say run file:///c|/apache/htdocs/info.php or whatever instead of http://localhost/info.php, same thing happens.
I understand what you are saying Schajee, however, when running the code as above I get the prompt, yet when I enter http://localhost/setcookie.php, the script executes correctly. I am not real familiar with PHP, is there something in the config file I need to change?
Well, if you can run http://localhost/info.php and you can see the looong page, the there is nothing much wrong.
Why don't you try and do a clean install (sans XP). Hardly takes much time unless you have a setup that needs more.
Other than that, check to see if you can fix any registry problems. Otherwise I'm out of ideas.
Also if you can post your settings, i may be able to help u better.
Schajee,
I appreciate your help.
As a newbie, some of your statements are foreign to me....I am not familiar with the clean install nor how to fix registry problems. However, I am sure posting settings is possible, but I need to know which settings and I guess from where.
Thanks.
A thought just came to me,,,,should something happen when I run localhost/info.php. If so, I get nothing.
Yes, phpinfo() is a built-in function that shows details of the PHP version installed on the system and many other settings related to PHP only.
the info.php should contain the following code and nothing else
<?php
phpinfo();
?>
Try this and see if anything turns up.
could not find a file with that name, so I created one and executed it. Attached is the output--------------
Ok, are you using PHP from php.net or somewhere else? and r u using Zend or not? Cause if you are, since I don't use Zend, I can't tell you what it does or how it does it.