|
|
| Author |
Message |
|
|
denore
Joined: 20 Feb 2007 Posts: 2
|
Posted: Tue Feb 20, 2007 1:22 pm Post subject: open .php file |
|
|
hi all
i saved myfile.php to the Desktop.
how can i run mysite.php file by programatically.
popen(/usr/bin/mozilla /root/Desktop/myfile.php","r");
it is not working.
can you please showme the way
thank you |
|
| Back to top |
|
 |
Micah Carrick Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 481 Location: Portland, OR USA
|
Posted: Tue Feb 20, 2007 8:50 pm Post subject: |
|
|
| I don't actually understand your question. Can you rephrase? |
|
| Back to top |
|
 |
openldev Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 386 Location: Fairfax, Virginia
|
Posted: Tue Feb 20, 2007 9:12 pm Post subject: |
|
|
| What you have to realize is, that to run a PHP file in mozilla, you must install a web server such as apache. On my system, http://localhost/ then points to /var/www/. You can place PHP files in there to load them and have them actually run if php is also installed. |
|
| Back to top |
|
 |
|