473,379 Members | 1,386 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

Formatting of phpinfo() with HTML under CLI PHP

In the code below, invoked with CLI PHP, it would make good sense to
have phpinfo() include HTML tags with its output. Is there any way to
effect this? My attempt using ini_set("html_errors", "1"); did not
make any difference.

<?php
$ie = new COM("InternetExplorer.Application");
$ie->Navigate("about:blank");
$ie->visible = true;
ob_start();
phpinfo();
$phpinfo = ob_get_contents();
ob_end_clean();
$ie->Document->Write($phpinfo);
?>

Thanks,
Csaba Gabor from Vienna
Again, this is not in a web server context. I am calling PHP.exe or
PHP-Win.exe on Win XP Pro and want to dump output to a local instance
of IE.

Aug 2 '05 #1
1 3423
Why not just use the CGI version of PHP?

Aug 3 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Shawn Wilson | last post by:
Hi, My host keeps messing things up and not telling me. I am trying to write a cron job that will test to make sure the "unusual" functions I use work and, if not, email me. I want it to send...
2
by: ChronoFish | last post by:
Hello, From my understanding, setting the ini value "html_errors" is supposed to force the output from phpinfo to be either plain text or HTML. I have setup two files. One is executes as CGI,...
4
by: lawrence | last post by:
I wanted to use the AddType directive in an .htaccess file. So I used phpinfo() to get the path info for PHP. I found this line: PATH /bin:/usr/bin So I tried this, but it did not work:...
2
by: John Drako | last post by:
I just updated my server to apache 1.3.33 and php 5.0.3 from apache 1.3.31 and php 4.3.9. It's running RedHat and MySQL 4.0.20. All the code that I created myself in PHP is working as it should...
10
by: Coleen | last post by:
Hi all :-) I have a weird formatting problem with an HTML table that I am populating using VB.Net and HTML. Here is the snippet of code for the cell I'm trying to format: Dim...
6
by: Brian Huether | last post by:
When I run phpinfo, it diaplays the same thing regardless of changes I make to php.ini. For instance, php.ini shows register globals on max upload filesize of 16M. etc, etc. But phpinfo always...
1
by: Randell D. | last post by:
Folks, I consider myself well versed with Apache 1.3 and PHP4 - I found drupal and wanted to try it out - I had problems getting it working with Apache2/PHP5/MySQL5 so I downgraded... Note: I...
4
by: Ronald Raygun | last post by:
I have just discovered that the value reported for $_SERVER by phpinfo is different from the value I obtain when I run the following: <?php echo $_SERVER ?> My natural assumption is to assume...
7
by: eholz1 | last post by:
Hello All, I have reviewed various posts in regard to Oracle and PHP. I am running Apache 2.0.59, on Windows XP, with PHP 5.2. I would like to connect using PHP to a remote oracle db (ver. 7)...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.