The header() information must be send first before sending any character to
browser. That why you receive this error. Try to move the php code first. If
you want to display only an image remove any html codes.
--
Best regards,
George Nicolae
IT Manager
___
PaginiWeb.com -
php-windows Digest 27 Apr 2002 07:27:51 - Issue 1114
Topics (messages 13334 through 13351):
Re: Excel not closing after using it via COM
13334 by: Scott Hurring
13337 by: Scott Hurring
13338 by: Alan Brown
13344 by: Neil Lincoln
Re: Security
Hi,
1st - GD (even in the binaries) must be compiled manually ( I have no
compiler)
Then tell me, which options to use to compile and I'll compile it for
you.
You told me, your server hangs if you use precompiled binaries ...
Maybe you try on of these solutions:
- Update MicrosoftVisualC
Thanks for replying, I had untagged the - extention=GD2.DLL - which isn't
nessesairy at all.
The extention=GD.DLL- or what it suppose to do is now standard included
(supported) by PHP.
This means the problem is solved now :0)
By the way, I am using Windows 98 with Xitami webserver, partly
Thank you for the help. I put the header in the top ot the document and now it works.
I need one more tip. The result is not the image itself, but the content of the Blob
Field, how can I fix that?
Thanks.
Waldemar
The source code:
?php
header(Content-type: image/jpeg);
There is more to know here. Even with the bug fix in place it is still
possible to leave excel in memory.
These two lines will do just that.
$excel = new COM(Excel.Application);
$book = $excel-workbooks-open($file);
If you add a $book-close(FALSE); then excel goes away proerly. Thus when
you
My mistake. The correct code is:
input type=image src=image.php border=0;
--
Best regards,
George Nicolae
IT Manager
___
PaginiWeb.com - Professional Web Design
www.PaginiWeb.com
George Nicolae [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
i am new in using and understanding php. need help in following issue:
opening (executing) an external program (not a file) like winword.exe with
php4.
my system-configuration:
- windows 2000
- php4 1.1.1
- winword execution program-path is:
c:\programme\micosoft office\office\winword.exe
Some things to think about are:
1. http://www.php.net/manual/en/function.exec.php
2. If you are going to use backslashes in a string, you need to escape
them, so the sample code your specialist gave you would need to be changed:
?
shell_exec('c:\\programme\\microsoft
php-windows Digest 27 Apr 2002 20:52:24 - Issue 1115
Topics (messages 13352 through 13361):
Re: GD solutions
13352 by: Sebastian Müsch
13353 by: Webmaster
Showing a blob filed part II
13354 by: Waldemar Brand Neto
13357 by: George Nicolae
13358 by:
If you have your mime type settings set correct in your Internet Explorer,
you just have to do a HTML call to a Winword document to make Winword
integrate with the browser !
The way you are trying now is the most dangerous one, because it can then
too execute other programs remotely !
This is
Hallo Erik, je probleem is Windows 2000, de php pagina's geven aan wat er
verandert moet worden in je PHP.INI file.
Als je de laatste PHP hebt, is dat 4.2.0 en moet je in de PHP.INI het
volgende toevoegen:
cgi.force_redirect=0
cgi.redirect_status_env ENV_VAR_NAME
Je probleem moet dan opgelost
12 matches
Mail list logo