[PHP-INST] TTF - GD
Hello, I am one week recompiling source of php-4.2.3 to put support TTF I am having problem with gd true type font . I've been trying execute this php. But, always show me this error Warning: Could not find/open font in /usr/home/hosting/b4u/public_html/congressos/fenasoft/ProgramacaoListar.php on line 5 ?PNG IHDRj+¹¦ËPLTEÎÁ´Ï¿ÊÈÈTÌÁ_%Y)IDATxocP"0(" ~" "I×e¨Ä@º&cãQ]£ºFuê¢".*Y"â@uPIEND®B`, This is my phpinfo GD Support enabled GD Version 1.6.2 or higher FreeType Support enabled FreeType Linkage with freetype I found a webhosting that function my php.This is php configuration of webhosting GD Support enabled GD Version 1.6.2 or higher FreeType Support enabled FreeType Linkage with TTF library Thanks for help me. Breno [EMAIL PROTECTED] -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
php-install Digest 13 Jan 2003 09:04:40 -0000 Issue 1199
php-install Digest 13 Jan 2003 09:04:40 - Issue 1199 Topics (messages 9668 through 9679): Re: Output line to long. PHP 4.3 install 9668 by: Alan W. Rateliff, II 9669 by: Jeffrey_N_Dyke.Keane.com 9670 by: Jeffrey_N_Dyke.Keane.com 9672 by: Jeffrey_N_Dyke.Keane.com PHP Install Problems W/FrontPage 9671 by: Martin DiViaio 9673 by: Timothy Hitchens \(HiTCHO\) 9674 by: Martin DiViaio 9675 by: Timothy Hitchens \(HiTCHO\) Re: Output line to long. PHP 4.3 install --FIXED -- 9676 by: Jeffrey_N_Dyke.Keane.com 9677 by: Alan W. Rateliff, II Re: xphome+apache1.3.27+php4.2.3 EQUALS blank pages 9678 by: toby - TTF - GD 9679 by: Breno Cardoso Perucchi Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- --- Begin Message --- - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 11:37 AM Subject: [PHP-INST] Output line to long. PHP 4.3 install > I have a solaris 8/apache combo, and am trying to install PHP 4.3. i > currently have 4.2.3 on this lpar of the box. When i try to 'make install' > for 4.3 i get this when trying to run a /bin/sh libtool --silent etc etc > etc... > > Output line too long. > Output line too long. > Output line too long. > Output line too long. > gcc: -E required when input is from standard input > > that is the last 6 lines spit out, but attached is that final command that > it died on. it's about 40 lines. is there a way to set the -E? will that > make it get by this?? > > Has anyone had issues with this? I have run into this exact problem. I made a post to the php.install group, but it never showed up. Another poster had mentioned he solved his compilation problem by using the libtool from 4.2.3, but that failed for me as well. I tried this on three different Solaris 8 boxes: one Sparc and two Intel. All three are running similar, but not identical, installations. All, however, are using gcc 3.2, the latest flex and bison installations, and required modules to support the Horde framework with Imp webmail system. I was attempting to do an installation with Apache 1.3.27. I installed gmake to attempt to solve this issue, and have been trying to download the gcc 3.2.1 package from SunFreeWare to try, also. Thus far, I still cannot compile. -- Alan W. Rateliff, II --- End Message --- --- Begin Message --- how do you use the libtool from 4.2.3. do you just replace it from that disto? thanks for your reply. any information is good information. Jeff "Alan W. Rateliff, II"To: <[EMAIL PROTECTED]> Subject: Re: [PHP-INST] Output line to long. PHP 4.3 install 01/12/2003 04:00 PM - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, January 12, 2003 11:37 AM Subject: [PHP-INST] Output line to long. PHP 4.3 install > I have a solaris 8/apache combo, and am trying to install PHP 4.3. i > currently have 4.2.3 on this lpar of the box. When i try to 'make install' > for 4.3 i get this when trying to run a /bin/sh libtool --silent etc etc > etc... > > Output line too long. > Output line too long. > Output line too long. > Output line too long. > gcc: -E required when input is from standard input > > that is the last 6 lines spit out, but attached is that final command that > it died on. it's about 40 lines. is there a way to set the -E? will that > make it get by this?? > > Has anyone had issues with this? I have run into this exact problem. I made a post to the php.install group, but it never showed up. Another poster had mentioned he solved his compilation problem by using the libtool from 4.2.3, but that failed for me as well. I tried this on three different Solaris 8 boxes: one Sparc and two Intel. All three are running similar, but not identic
[PHP-INST] php.ini
Hi, I'm using Win2K Prof. and installed Apache 1.3.2 as my web server plus PHP 4.0.6 as module. I have several sie on my computer. for one of them I need to include certain file before any thing. I know that there is auto_prepend_file in php.ini but this will run for all of my sites :-( Is there any way? I know that in Linux I must be able to use .httaccess but do not know how? and in Windows I do not know at all. Any one can help me? Tnx Sadeq -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Embed word, excel and pdf documents
I have stored Word, Excel and PDF documents in a database. Now I am trying to retrieve the documents from the database using PHP and embed them onto an html web page. I don't want to use hyperlink. The documents will be displayed on the web page along with other information. When I use header() function to specify the type of document I want to display in PHP. I got the error saying that I can't change the header information on a web page. I tried to set the second parameter of header() to True/False but none help. What could I do? William Cheung, B.Sc. MCSE MCDBA Databyte Corp.
RE: [PHP-INST] Embed word, excel and pdf documents
William, in order to do this, you have to use an HTML element such as a FRAME or an IFRAME and in that frame call the URL to the document as it is. You cannot have it in the same file because you cannot send two document types with one request. FRAME or IFRAME allow you to have two or more requests sent by the client's browser automatically. Regards, Joerg. Jörg Aldinger Software & Internet Manager Consultur Dorado Tel: (809) 686-1067 ext. 235 Fax: (809) 686-3353 E-Mail: [EMAIL PROTECTED] -Original Message- From: William Cheung [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 1:48 PM To: PHP Support Subject: [PHP-INST] Embed word, excel and pdf documents I have stored Word, Excel and PDF documents in a database. Now I am trying to retrieve the documents from the database using PHP and embed them onto an html web page. I don't want to use hyperlink. The documents will be displayed on the web page along with other information. When I use header() function to specify the type of document I want to display in PHP. I got the error saying that I can't change the header information on a web page. I tried to set the second parameter of header() to True/False but none help. What could I do? William Cheung, B.Sc. MCSE MCDBA Databyte Corp. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP-INST] Embed word, excel and pdf documents
I use And it displays nothing on my web page. The book example only use a physical file as source. Could I use a PHP program as source? The PHP program was tested and could display all the documents properly. William -Original Message- From: Joerg Aldinger [mailto:[EMAIL PROTECTED]] Sent: January 13, 2003 10:03 AM To: 'PHP Support' Subject: RE: [PHP-INST] Embed word, excel and pdf documents William, in order to do this, you have to use an HTML element such as a FRAME or an IFRAME and in that frame call the URL to the document as it is. You cannot have it in the same file because you cannot send two document types with one request. FRAME or IFRAME allow you to have two or more requests sent by the client's browser automatically. Regards, Joerg. Jörg Aldinger Software & Internet Manager Consultur Dorado Tel: (809) 686-1067 ext. 235 Fax: (809) 686-3353 E-Mail: [EMAIL PROTECTED] -Original Message- From: William Cheung [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 1:48 PM To: PHP Support Subject: [PHP-INST] Embed word, excel and pdf documents I have stored Word, Excel and PDF documents in a database. Now I am trying to retrieve the documents from the database using PHP and embed them onto an html web page. I don't want to use hyperlink. The documents will be displayed on the web page along with other information. When I use header() function to specify the type of document I want to display in PHP. I got the error saying that I can't change the header information on a web page. I tried to set the second parameter of header() to True/False but none help. What could I do? William Cheung, B.Sc. MCSE MCDBA Databyte Corp. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP-INST] Re: phpinfo() still shows 4.2.2 after 4.3 install
See Dan Anderson's article on the installation: http://dan.drydog.com/apache2php.html -Jeanne Wade wrote: 01122003 1155 CST Tim, I read on a different list about making sure you changed the ini file to the upgraded version. Im not a linux person so the ini file Im sure is something else but, the message was the upgrade will not change everything necessary. That was the jist of it. Wade Tim wrote: I thought i installed 4.3.0, but when running a page w/phpinfo() it still shows 4.2.2 Environment: RedHat 8 Apache 2.x php 4.2.2 installed as part of the base config How Installed/upgraded to 4.3: ./configure make make install What did I miss? -th -- UNIX Systems Administrator Academic Resources Library Saint Mary's College Moraga, CA -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Having problems in enabling PHP in apache in linux
Hi I have apache 1.3.27 and php 4.3 installed in my linux box. I am trying to enable the PHP feature in apache so that I can start building PHP pages for my web application. But I am not able to do so bcos I am getting error in httpd.conf file when i try to "configtest" it. It's giving me error at the place where I try to load the php4_module. The error is "Error at LoadModule or the php4_module may not be present in the server configuration"(not verbatim but to these lines). and one more info is the libexec/ doesn't seem to be having any of the .so files. hence, I went to apache_1_3_27/src/modules/standard to modify the Makefile and run "make" to generate .so files and subsequently copy them into libexec/ Even this is not working. I dont know why the .so files are not present in libexec/ folder in the first place and how do I rectify the problem of error regarding LoadModule for php4_module. Any help will be appreciated. TIA Anand. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] problem configure PHP4.3.0 Apache 1.3.27 Oracle client 8.1.7 Aix 4.3.3
Good evening, I' v been struggling to install PHP-Oracle on AIX for several days and still can' t find the solution. __ Oracle 8.1.7 and Oracle client have been installed succesfully on the server __ Whatever the way I configure PHP (dynamic with --apxs option or statc with --apache option) I always have the same problem: can' t find lib ocijdbc8 __ my environment is typically CLASSPATH=ORACLE_HOME/jdbc/libs/classes11.zip:ORACLE_HOME/jdbc/libs/nls_charset111.zip LIBPATH=ORACLE_HOME/lib:ORACLE_HOME/jdbc/lib LD_LIBRARY_PATH=ORACLE_HOME/lib:ORACLE_HOME/jdbc/lib Here are the ways I've executed configure ./configure \ --prefix=PHP-INSTALL-DIR \ --with-apxs=APXS-DIR \(i use apxs installed during apache instal) --with-oci8=ORACLE-HOME ./configure \ --prefix=PHP-INSTALL-DIR \ --with-apache-APACHE-SOURCE-DIR \ --with-oci8=ORACLE-HOME __ here are some information during configure: I'm using gcc version 3.2.1 host:power-ibm-aix4.3.3.0 gcc...ok using GNU C yes gcc accepts -c yes gcc and cc understand -c and -o yes _ I can see two interesting files under ORACLE-HOME/lib libocijdbc8.so and libocijdbc8_g.so I also send you as an attached file debug.log I hope your information will save me from this problem Thanx a lot ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Windows Newbie - Help!
Hello - I am trying to use a simple email script. When the php file is called, the browser just hangs. If I look in Task Manager, the php.exe has stopped - shows no activity. I am a PHP novice, so have tried several email scripts from the 'Net. Currently trying the PHP Email Responder from http://www.abspoel.com/roel-karin/download.php I have just installed 4.3.0 on Windows 2000 Server in CGI mode. Executables are in c:\php, php.ini in c:\winnt. I gave all Read/Execute permissions by IUSR_machine per documentation. Set register_globals = true, no change. If I run c:\php\php -i from a DOS prompt I get a screen full of output. Anyone can check out the config at: http://www.jernlaw.com/phpinfo.php Any suggestions greatly appreciated! Bil Click -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
php-install Digest 13 Jan 2003 22:12:30 -0000 Issue 1200
php-install Digest 13 Jan 2003 22:12:30 - Issue 1200 Topics (messages 9680 through 9687): php.ini 9680 by: Naqashzade, Sadeq Embed word, excel and pdf documents 9681 by: William Cheung 9682 by: Joerg Aldinger 9683 by: William Cheung Re: phpinfo() still shows 4.2.2 after 4.3 install 9684 by: Jeanne Case Having problems in enabling PHP in apache in linux 9685 by: Anand problem configure PHP4.3.0 Apache 1.3.27 Oracle client 8.1.7 Aix 4.3.3 9686 by: Simon SOUVANNARAT Windows Newbie - Help! 9687 by: Bil Click Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] -- --- Begin Message --- Hi, I'm using Win2K Prof. and installed Apache 1.3.2 as my web server plus PHP 4.0.6 as module. I have several sie on my computer. for one of them I need to include certain file before any thing. I know that there is auto_prepend_file in php.ini but this will run for all of my sites :-( Is there any way? I know that in Linux I must be able to use .httaccess but do not know how? and in Windows I do not know at all. Any one can help me? Tnx Sadeq --- End Message --- --- Begin Message --- I have stored Word, Excel and PDF documents in a database. Now I am trying to retrieve the documents from the database using PHP and embed them onto an html web page. I don't want to use hyperlink. The documents will be displayed on the web page along with other information. When I use header() function to specify the type of document I want to display in PHP. I got the error saying that I can't change the header information on a web page. I tried to set the second parameter of header() to True/False but none help. What could I do? William Cheung, B.Sc. MCSE MCDBA Databyte Corp. --- End Message --- --- Begin Message --- William, in order to do this, you have to use an HTML element such as a FRAME or an IFRAME and in that frame call the URL to the document as it is. You cannot have it in the same file because you cannot send two document types with one request. FRAME or IFRAME allow you to have two or more requests sent by the client's browser automatically. Regards, Joerg. Jörg Aldinger Software & Internet Manager Consultur Dorado Tel: (809) 686-1067 ext. 235 Fax: (809) 686-3353 E-Mail: [EMAIL PROTECTED] -Original Message- From: William Cheung [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 1:48 PM To: PHP Support Subject: [PHP-INST] Embed word, excel and pdf documents I have stored Word, Excel and PDF documents in a database. Now I am trying to retrieve the documents from the database using PHP and embed them onto an html web page. I don't want to use hyperlink. The documents will be displayed on the web page along with other information. When I use header() function to specify the type of document I want to display in PHP. I got the error saying that I can't change the header information on a web page. I tried to set the second parameter of header() to True/False but none help. What could I do? William Cheung, B.Sc. MCSE MCDBA Databyte Corp. --- End Message --- --- Begin Message --- I use And it displays nothing on my web page. The book example only use a physical file as source. Could I use a PHP program as source? The PHP program was tested and could display all the documents properly. William -Original Message- From: Joerg Aldinger [mailto:[EMAIL PROTECTED]] Sent: January 13, 2003 10:03 AM To: 'PHP Support' Subject: RE: [PHP-INST] Embed word, excel and pdf documents William, in order to do this, you have to use an HTML element such as a FRAME or an IFRAME and in that frame call the URL to the document as it is. You cannot have it in the same file because you cannot send two document types with one request. FRAME or IFRAME allow you to have two or more requests sent by the client's browser automatically. Regards, Joerg. Jörg Aldinger Software & Internet Manager Consultur Dorado Tel: (809) 686-1067 ext. 235 Fax: (809) 686-3353 E-Mail: [EMAIL PROTECTED] -Original Message- From: William Cheung [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 1:48 PM To: PHP Support Subject: [PHP-INST] Embed word, excel and pdf documents I have stored Word, Excel and PDF documents in a database. Now I am trying to retrieve the documents from the database using PHP and embed them onto an html web page. I don't want to use hyperlink. The documents will be displayed on the web page along with other information. When I use header() function to specify the type of document I want to display in PHP. I got the error saying that I can't change the header information on a web page. I tried to set the second parameter of header() to True/False but none help. What could I do? William Cheung
RE: [PHP-INST] PHP Install Problems W/FrontPage
Unfortunately, the ports collection is not really an option. I have to apply some other patches to the Apache sources besides the fp2002 stuff and the ports collection makes that extreamly difficult. By the way, I did manage to get it to work by recompiling php without imap and mcal support. This is really a kludge since I do want both of these options in php. On the 13th day of January in the year 2003 you wrote: > Date: Mon, 13 Jan 2003 08:59:39 +1000 > From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> > To: 'Martin DiViaio' <[EMAIL PROTECTED]>, > "'Timothy Hitchens (HiTCHO)'" <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > X-Spam-Status: No, hits=-4.4 required=7.0 tests=IN_REP_TO version=2.20 > Subject: RE: [PHP-INST] PHP Install Problems W/FrontPage > > You need to do a cvsup on your ports then redo using ports and all will > be well: > > Current Ports after you do cvsup: PHP 4.2.3 and Apache 1.3.2.7 etc > > > > Timothy Hitchens (HiTCHO) > Open Platform Consulting > e-mail: [EMAIL PROTECTED] > > > -Original Message- > > From: Martin DiViaio [mailto:[EMAIL PROTECTED]] > > Sent: Monday, 13 January 2003 8:43 AM > > To: Timothy Hitchens (HiTCHO) > > Cc: [EMAIL PROTECTED] > > Subject: RE: [PHP-INST] PHP Install Problems W/FrontPage > > > > > > > > > > My own compile, both Apache and PHP. The ports collection > > only uses php-4.1.2. > > > > > > On the 13th day of January in the year 2003 you wrote: > > > > > Date: Mon, 13 Jan 2003 08:31:44 +1000 > > > From: "Timothy Hitchens (HiTCHO)" <[EMAIL PROTECTED]> > > > To: 'Martin DiViaio' <[EMAIL PROTECTED]>, > > [EMAIL PROTECTED] > > > X-Spam-Status: No, hits=-4.4 required=7.0 tests=IN_REP_TO > > version=2.20 > > > Subject: RE: [PHP-INST] PHP Install Problems W/FrontPage > > > > > > Did you install using ports/packages or your own compile under > > > FreeBSD?? > > > > > > > > > Timothy Hitchens (HiTCHO) > > > Open Platform Consulting > > > e-mail: [EMAIL PROTECTED] > > > > > > > -Original Message- > > > > From: Martin DiViaio [mailto:[EMAIL PROTECTED]] > > > > Sent: Monday, 13 January 2003 8:05 AM > > > > To: [EMAIL PROTECTED] > > > > Subject: [PHP-INST] PHP Install Problems W/FrontPage > > > > > > > > > > > > > > > > I'm running Apache 1.3.27 on FreeBSD 4.7 and I'm having problems > > > > getting FrontPage and PHP working together. > > > > > > > > Basically, when I start Apache, I get an error from mod_frontpage > > > > that it can't read the output of the random number > > command. This is > > > > ONLY when I enable PHP (as a DSO). When PHP is disabled, > > FrontPage > > > > works perfectly. > > > > > > > > I've tried re-compiling PHP and Apache statically but that fails > > > > when I go to re-configure Apache for libphp.a with the following > > > > configure command: > > > > > > > > ./configure --prefix=/usr/local/apache \ > > > > --activate-module=src/modules/php4/libphp4.a \ > > > > --server-uid=www \ > > > > --server-gid=www \ > > > > --with-perl=/usr/bin/perl \ > > > > --with-layout=Apache \ > > > > --without-confadjust \ > > > > --enable-module=most \ > > > > --enable-module=auth_db \ > > > > --enable-module=mmap_static \ > > > > --add-module=./mod_frontpage.c \ > > > > --enable-shared=max \ > > > > --disable-shared=frontpage \ > > > > --disable-shared=php4 \ > > > > --enable-module=ssl \ > > > > --enable-module=define \ > > > > --enable-suexec \ > > > > --suexec-caller=www \ > > > > --suexec-uidmin=1000 \ > > > > --suexec-gidmin=1000 \ > > > > --suexec-logfile=/var/log/suexec.log \ > > > > --suexec-userdir=public_html \ > > > > > > > > > > > > I get the following from configure: > > > > > > > > Configuring for Apache, Version 1.3.27 > > > > + using installation path layout: Apache (config.layout) > > > > + activated php4 module (modules/php4/libphp4.a) > > > > + on-the-fly added and activated frontpage module > > > > (modules/extra/mod_frontpage.o) + Warning: You have enabled the > > > > suEXEC feature. Be aware that you need + root privileges to > > > > complete the final installation step. Creating Makefile Creating > > > > Configuration.apaci in src + enabling mod_so for DSO support > > > > Creating Makefile in src + configured for FreeBSD 4.7 > > platform + > > > > setting C compiler to gcc + setting C pre-processor to gcc -E + > > > > checking for system header files + adding selected modules > > > > o rewrite_module uses ConfigStart/End > > > > enabling DBM support for mod_rewrite > > > > o dbm_auth_module uses ConfigStart/End > > > > o db_auth_module uses ConfigStart/End > > > > using Berkeley-DB/1.x for mod_auth_db (-lc) > > > > o ssl_module us
[PHP-INST] Can't generate graphics
Hi, I installed PHP4.3.0 with the following configure line. ./configure --with-apxs=/usr/sbin/apxs --with-mysql --with-jpeg-dir --with-gettext=/usr --enable-safe-mod --with-png --enable-track-vars --with-exec-dir=/usr/bin --with-zlib --enable-magic-quotes --with-regex=system --with-ttf --with-gdbm --enable-mbstring --enable-mbstr-enc-trns --enable-wddx=shared --enable-mm=shared --enable-xml --enable-ftp --enable-debug --with-libdir=/usr/lib --with-interbase=shared --with-pgsql-shared --with-imap The /usr/lib directory has (among other things): libjpeg.a, libjpeg.so.62, libjpeg.so.62.0.0 linpng.so.2, libpng.so.2.1.0.8 the /usr/local/lib directory has: libjpeg.a libpng.a, libpng.so, libpng.so.3, libpng.so.3.1.2.1 PHP installed into /usr/local/bin and appears to be running fine. BUT. I have an application that (in the past) would generate a .jpg image on it based on some sql server data. It now doesn't work. (no, I don't have the old config line anymore). It is also supposed to be able to generate a .png, but that has never worked. Am I missing a config entry? --Will
Re: [PHP-INST] Can't generate graphics
On Mon, 13 Jan 2003 19:40:45 -0500 "Will Nordmeyer" <[EMAIL PROTECTED]> wrote: > gd configure --with-gd without any parameter will setup the bundled gd. hth pierre -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] Re: Embed word, excel and pdf documents
Hi, Did you send any things for output before use Header() or not? if you do this did you used ob_start() or not? -Sadeq "William Cheung" <[EMAIL PROTECTED]> wrote in message 001001c2bb2b$dd7b0510$[EMAIL PROTECTED]">news:001001c2bb2b$dd7b0510$[EMAIL PROTECTED]... I have stored Word, Excel and PDF documents in a database. Now I am trying to retrieve the documents from the database using PHP and embed them onto an html web page. I don't want to use hyperlink. The documents will be displayed on the web page along with other information. When I use header() function to specify the type of document I want to display in PHP. I got the error saying that I can't change the header information on a web page. I tried to set the second parameter of header() to True/False but none help. What could I do? William Cheung, B.Sc. MCSE MCDBA Databyte Corp. -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP-INST] PHP 4.3 Upgrade on redhat 8
Hello, Can anybody help with an upgrade of PHP4.3 on REDHAT Linux 8 (psyche)? The system was built via the RPM method. I cannot find a PHp 4.3 RPM anywhere and I don't know how to compile an RPM from source code... Does anybody have one? Apache Version: Apache/1.3.23 Mysql Version: 3.23.49P Postgresql Version 7.3.1 This is my current configure command which I would like to replicate: './configure' 'i386-redhat-linux' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--prefix=/usr' '--with-config-file-path=/etc' '--enable-force-cgi-redirect' '--disable-debug' '--enable-pic' '--disable-rpath' '--enable-inline-optimization' '--with-bz2' '--with-db3' '--with-curl' '--with-dom=/usr' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gdbm' '--with-gettext' '--with-ncurses' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-mm' '--with-openssl' '--with-png' '--with-pspell' '--with-regex=system' '--with-xml' '--with-expat-dir=/usr' '--with-zlib' '--with-layout=GNU' '--enable-bcmath' '--enable-debugger' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-discard-path' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--without-oci8' '--with-imap=shared' '--with-imap-ssl' '--with-kerberos=/usr/kerberos' '--with-ldap=shared' '--with-mysql=shared,/usr' '--with-pgsql=shared' '--with-snmp=shared,/usr' '--with-snmp=shared' '--enable-ucd-snmp-hack' '--with-unixODBC=shared' '--enable-memory-limit' '--enable-bcmath' '--enable-shmop' '--enable-versioning' '--enable-calendar' '--enable-dbx' '--enable-dio' '--enable-mbstring' '--enable-mbstr-enc-trans' '--with-apxs=/usr/sbin/apxs' NOTE: apxs is not installed on the system. At least I couldn't find it using " find / | grep 'apxs' " I'm not sure where to start and so any help would be appreciated. Luke Woollard -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php