php-install Digest 13 Jan 2003 22:12:30 -0000 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
<frameset scrolling=1 frameborder=1>
<frame src="flximage1.php">
</frameset>

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


--- End Message ---
--- Begin Message ---
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

--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
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


--- End Message ---

Reply via email to