Re: [PHP] Calling a Windows Com object or an Extended Fetch?

2001-01-10 Thread Niel Zeeman

Try this article
http://www.phpbuilder.com/columns/alain20001003.php3

it helped me allot, If you go deeper into the Com object you will find that
you can actually call an object from a
remote server -- have not tried it myself yet : )
Niel Zeeman

- Original Message -
From: Paulson, Joseph V. "Jay" <[EMAIL PROTECTED]>
To: 'bard' <[EMAIL PROTECTED]>; Miles Thompson
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, January 10, 2001 5:42 PM
Subject: RE: [PHP] Calling a Windows Com object or an Extended Fetch?


> Well the next problem I have found is that php has to be running on a
> windows machine for the com objects to actually work and well we are
running
> it on a Unix box.  So we can't use the com objects.  Thanks for all the
help
> thought!
> Jay
>
> -Original Message-
> From: bard [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 09, 2001 5:37 PM
> To: Miles Thompson
> Cc: Paulson, Joseph V. "Jay"; [EMAIL PROTECTED]
> Subject: Re: [PHP] Calling a Windows Com object or an Extended Fetch?
>
>
> Or you could just look at the phpbuilder.com column on using COM objects
in
> php, or you could RTFM at the php.net site. just type in php.net/com and
see
> what happens.
>
> We use php and com here a lot, and while the implementation lacks a few
> features of the asp/vb implementation it's handy when migrating from
NT/ASP
> to NT/PHP.
>
>
> On Tue, 9 Jan 2001, Miles Thompson wrote:
>
> > I don't know, but I was glancing through an article on PHP in the
current
> > issue of Dr. Dobb's Journal last week. At the very end I *think* there
was
>
> > an example of calling a COM object. It was a VbScript <-> PHP
comparision.
>
> > Have a look, might help.
> >
> > Miles
> >
> > (Yes, I've been known to make notes while in the newsstand.)
> >
> > At 10:01 AM 01/09/2001 -0600, Paulson, Joseph V. \"Jay\" wrote:
> > >Hello everyone--
> > >I was wondering if PHP can call Windows COM objects in memory?  If PHP
> can
> > >do this does anyone know how to do it or can you point me in the
> direction
> > >were I can pissibly figure it out.  Also, does anyone know if PHP can
> call
> > >an Extended Fetch?
> > >Thanks,
> > >Jay Paulson
> > >
> > >--
> > >PHP General Mailing List (http://www.php.net/)
> > >To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >For additional commands, e-mail: [EMAIL PROTECTED]
> > >To contact the list administrators, e-mail:
[EMAIL PROTECTED]
> >
> >
> >
> >
> >
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP Installation on W2K

2001-01-12 Thread Niel Zeeman



I was told to create this document on how to 
install PHP4 on a Windows 2000 server machine for the not so bright
People in the company and I though that I would 
share.
 
Any mods welcome :)
 
Niel Zeeman
eMail: [EMAIL PROTECTED]
 
 
 

Installation Procedures for PHP4 on a Windows2K server

1)Copy the PHP files to a directory ( preferably a dos compatible named directory) on 
the server.

2)Copy the "php4ts.dll" to the \winnt\system32 directory.

3)If Interbase support in required and Interbase itself is not installed on the server 
copy the "gds32.dll" file that resides in the "dlls" directory of you PHP installation 
to the \winnt\system32.
3.1) Modify the php.ini file and set the "extension_dir" to the folder containing the 
extensions (e.g. extension_dir = C:\php\extensions ).
3.2) Uncomment the "extension=php_interbase.dll" line in the php.ini file.

4)Copy the php.ini to the winnt directory.

5)Open up the "Internet Services Manager"  under "Administrative Tools" on the start 
up menu.

6)Open up the "server name" to reveal the servers that are running.

7)Stop the "Default Web Site" server.

8)Right click on it and go to properties.

9)Under the "Default Web Site Properties" dialog select the "ISAPI Filters" Tab.

10)Click "Add" to add a new filter. 

11)In the "Filter Name" field enter "PHP" and in the "Executable" field use the 
"Browse" button to navigate to the "sapi" directory under the php installation and 
select the "php4isapi.dll" file.

12)Click "Apply" and "OK" on the "Filter Properties" dialog and click "Apply"  on the 
"Default Web Site Properties" dialog.

13)Next Click on the "Home Directory" tab and click the "Configuration" button to open 
up the "Application Configuration" dialog.

14)Click the "Add" button to add a new "Application Mapping".

15)On the "Add/Edit Application Extension Mapping" dialog click the "Browse" button, 
and navigate to the "php4isapi.dll" file as before.

16)Next enter the extension that you are going to use ( ".php" ).

17)Make sure that the "Script Engine" is ticket, and leave the rest as is.

18)Click "OK" and the "Apply" and "Close" on the "Application Configuration" dialog 
and then click "Apply" and "Close" on the "Default Web Site Properties" dialog as well.

19)Start the "Default Web Site" server again and you should have PHP installed and 
running. 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


[PHP] HELP! Date formatting

2001-01-16 Thread Niel Zeeman

Hi

Ive gotto format a date such as 30/12/1956 to format 30-Dec-1956,
I can not use mktime cause that only provides the timestamp from 1970.
Is there any other method of getting this right.

thnx
Niel Zeeman
Tel(W): (043)7014247
Cell: 082 651 4083
eMail: [EMAIL PROTECTED]



Re: [PHP] HELP! Date formatting

2001-01-16 Thread Niel Zeeman

Thanx
This should make live a bit easier :) 


- Original Message - 
From: "Niel Zeeman" <[EMAIL PROTECTED]>
To: "php gen list" <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 7:46 AM
Subject: [PHP] HELP! Date formatting


Hi

Ive gotto format a date such as 30/12/1956 to format 30-Dec-1956,
I can not use mktime cause that only provides the timestamp from 1970.
Is there any other method of getting this right.

thnx
Niel Zeeman
Tel(W): (043)7014247
Cell: 082 651 4083
eMail: [EMAIL PROTECTED]




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] win 2000 nt 5.0 and IIS

2001-01-16 Thread Niel Zeeman

Try this and see how far you get...

Niel Zeeman

- Original Message - 
From: "Serge Montmarquette" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 7:54 PM
Subject: [PHP] win 2000 nt 5.0 and IIS


> 
> how can I make php work with this now!?
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


Installation Procedures for PHP4 on a Windows2K server

1)Copy the PHP files to a directory ( preferably a dos compatible named directory) on 
the server.

2)Copy the "php4ts.dll" to the \winnt\system32 directory.

3)If Interbase support in required and Interbase itself is not installed on the server 
copy the "gds32.dll" file that resides in the "dlls" directory of you PHP installation 
to the \winnt\system32.
3.1) Modify the php.ini file and set the "extension_dir" to the folder containing the 
extensions (e.g. extension_dir = C:\php\extensions ).
3.2) Uncomment the "extension=php_interbase.dll" line in the php.ini file.

4)Copy the php.ini to the winnt directory.

5)Open up the "Internet Services Manager"  under "Administrative Tools" on the start 
up menu.

6)Open up the "server name" to reveal the servers that are running.

7)Stop the "Default Web Site" server.

8)Right click on it and go to properties.

9)Under the "Default Web Site Properties" dialog select the "ISAPI Filters" Tab.

10)Click "Add" to add a new filter. 

11)In the "Filter Name" field enter "PHP" and in the "Executable" field use the 
"Browse" button to navigate to the "sapi" directory under the php installation and 
select the "php4isapi.dll" file.

12)Click "Apply" and "OK" on the "Filter Properties" dialog and click "Apply"  on the 
"Default Web Site Properties" dialog.

13)Next Click on the "Home Directory" tab and click the "Configuration" button to open 
up the "Application Configuration" dialog.

14)Click the "Add" button to add a new "Application Mapping".

15)On the "Add/Edit Application Extension Mapping" dialog click the "Browse" button, 
and navigate to the "php4isapi.dll" file as before.

16)Next enter the extension that you are going to use ( ".php" ).

17)Make sure that the "Script Engine" is ticket, and leave the rest as is.

18)Click "OK" and the "Apply" and "Close" on the "Application Configuration" dialog 
and then click "Apply" and "Close" on the "Default Web Site Properties" dialog as well.

19)Start the "Default Web Site" server again and you should have PHP installed and 
running. 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


[PHP] HELP! IBase - PHP

2001-02-21 Thread Niel Zeeman

Hi there 

I have a big problem and would greatly appreciate help..

I have a production site runnig the php4.0.4 isapi on IIS5 with a ibase backend db 
running on solaris

Now I have the problem that when ever a couple of people( 2-6) login from the web the 
database flatlines...
This is with about 10-30 local users logged into the db aswell.

the site is basically a data capturing site 

please any help is welcome

 thanks

Niel Zeeman
Tel(W): (043)7014247
Cell: 082 651 4083
eMail: [EMAIL PROTECTED]



[PHP] IBase Help

2001-02-21 Thread Niel Zeeman

Hi 
Does anyone know where I can get hold of someone ( or someone here maybe) that
has a high volume production site running PHP and interbase6?

I would appreciate some assistance

thank you 
Niel Zeeman
Tel(W): (043)7014247
Cell: 082 651 4083
eMail: [EMAIL PROTECTED]



[PHP] XML Problems

2001-03-22 Thread Niel Zeeman

Hi Folks
Has anyone had problems with thej xml parser causing an Internal server
error?

I'm running IIS5 with the ISAPI module

Thnx





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Passing XML Doc's

2001-06-28 Thread Niel Zeeman

Hi there

Is there anyway of passing a xml document to a php page as raw data.

What I want to do is eg.
send a page a xml document and recieve a response ( in xml ) from that page.

I could eg get the result using fopen( 'http://url.com/xml.php' , 'r' )

but how do i send it any data without using for eg.
fopen( " http://url.com/xml.php?xml=xml_string_document ", 'r' )

Any help would be VERY helpfull

thanks
Niel




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] W2K Pro, IIS5.0 + PHP4.4 install trouble....

2001-01-30 Thread Niel Zeeman

Maybe you could try this
no quarentees :)

Niel Zeeman
- Original Message - 
From: "Sebastian Stadtlich" <[EMAIL PROTECTED]>
To: "'Php-General (E-Mail)" <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 12:26 PM
Subject: [PHP] W2K Pro, IIS5.0 + PHP4.4 install trouble


> i just installed php on IIS5.01.
> i placed a file phpinfo.php in the webroot
> ---
>  phpinfo();
> ?>
> --
>  
> whatever i try i always get the following error :
>  
> Warning opening 'c:\inetpub\wwwroot\phpinfo.php' for inclusion
> (include_path='') in unknown on line 0
>  
> i'm not sure what this include thing is about
> but on an old installation on a nt4.0 ihave nothing written in it..
> if i write phpscripts they are executed perfectly, 
>  echo ""test";
> ?>
>  
> but i don't get any information from phpinfo
> ( which is pretty usefull..)
>  
> any sugestions?
>  
> sebastian
> 


Installation Procedures for PHP4 on a Windows2K server

1)Copy the PHP files to a directory ( preferably a dos compatible named directory) on 
the server.

2)Copy the "php4ts.dll" to the \winnt\system32 directory.

3)If Interbase support in required and Interbase itself is not installed on the server 
copy the "gds32.dll" file that resides in the "dlls" directory of you PHP installation 
to the \winnt\system32.
3.1) Modify the php.ini file and set the "extension_dir" to the folder containing the 
extensions (e.g. extension_dir = C:\php\extensions ).
3.2) Uncomment the "extension=php_interbase.dll" line in the php.ini file.

4)Copy the php.ini to the winnt directory.

5)Open up the "Internet Services Manager"  under "Administrative Tools" on the start 
up menu.

6)Open up the "server name" to reveal the servers that are running.

7)Stop the "Default Web Site" server.

8)Right click on it and go to properties.

9)Under the "Default Web Site Properties" dialog select the "ISAPI Filters" Tab.

10)Click "Add" to add a new filter. 

11)In the "Filter Name" field enter "PHP" and in the "Executable" field use the 
"Browse" button to navigate to the "sapi" directory under the php installation and 
select the "php4isapi.dll" file.

12)Click "Apply" and "OK" on the "Filter Properties" dialog and click "Apply"  on the 
"Default Web Site Properties" dialog.

13)Next Click on the "Home Directory" tab and click the "Configuration" button to open 
up the "Application Configuration" dialog.

14)Click the "Add" button to add a new "Application Mapping".

15)On the "Add/Edit Application Extension Mapping" dialog click the "Browse" button, 
and navigate to the "php4isapi.dll" file as before.

16)Next enter the extension that you are going to use ( ".php" ).

17)Make sure that the "Script Engine" is ticket, and leave the rest as is.

18)Click "OK" and the "Apply" and "Close" on the "Application Configuration" dialog 
and then click "Apply" and "Close" on the "Default Web Site Properties" dialog as well.

19)Start the "Default Web Site" server again and you should have PHP installed and 
running. 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


[PHP] Previous Next problems !!

2001-02-08 Thread Niel Zeeman

Hi there 
I'd appreciate any help

I'm looking for a way to have a "next 10 records" "previous 10 records" type of 
sinario, extracting records from a database.
Now the only problem is that I want to do it in Interbase.
I know mysql has a seek option and a method of only returning a segment of records but 
I'm having no luck in interbase..

Thanks for any/all  help
Niel Zeeman
Tel(W): (043)7014247
Cell: 082 651 4083
eMail: [EMAIL PROTECTED]