can someone suggest what method need to be used in PHP COM if i want to open .php file?
If to open .html file, $ie->navigate("filename.html"); will be used. But how to open .php file?
PHP:COM to open .php file
Moderator: General Moderators
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: PHP:COM to open .php file
Did you try?
Obviously the PHP file needs to be hosted on a web server with PHP installed so that the page can be parsed and executed, whereas with HTML this is not necessary because the browser understands HTML.
Code: Select all
$ie->navigate("http://www.example.com/filename.php");mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Re: PHP:COM to open .php file
already try the code.I'm using my own machine as the localhost with apache and php installed.The exception message give this :COM exception 'com_exception' with message 'Source: Unknown