RE: [PHP] PEAR and stored procedures

2005-07-07 Thread Nathan Tobik
We stopped using OUTPUT parameters with PEAR because of this limitation. I could never figure out how to get it to work. We use SQL Server, and the OUTPUT parameters do infact work with the generic mssql functions in PHP. Best of luck. Nate Tobik (412)661-5700 x206 VigilantMinds -Original

RE: [PHP] Two websites need to share part of one database, suggestions please

2005-07-11 Thread Nathan Tobik
This seems to be the best option of the one you presented. If you start duplicating data you will have a situation where your data will get out of sync eventually. You can have a lookup table with the keys to the items that belong to website two, just look in the lookup table to get your key,

RE: [PHP] Access and PHP

2005-08-03 Thread Nathan Tobik
Have you checked out FreeTDS? We use FreeTDS to connect PHP on Linux to SQL Server 2000. Best of luck. Nate Tobik (412)661-5700 x206 VigilantMinds -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 03, 2005 10:47 AM To:

RE: [PHP] currency class?

2005-08-08 Thread Nathan Tobik
Have you ever considered using the Java class within PHP using something like the PHP-Java bridge? Here is a link for the bridge, PHP can call the Java objects natively. It's pretty cool. http://php-java-bridge.sourceforge.net/ I would use the bridge in a few situations: 1. The Java

RE: [PHP] Gathering CPU info from Linux and FreeBSD and placing it into aMySQL db

2005-08-10 Thread Nathan Tobik
Can I ask why you are trying to write a script that from what I understand goes to each box to retrieve the data instead of pushing the data to the central db? You could write a little script in PHP that gathers the required information and then does an insert into your database. Then from the

RE: [PHP] PHP and Active Directory

2005-08-11 Thread Nathan Tobik
Here is a php class for Active Directory: http://adldap.sourceforge.net/ Nate Tobik (412)661-5700 x206 VigilantMinds -Original Message- From: xfedex [mailto:[EMAIL PROTECTED] Sent: Thursday, August 11, 2005 2:41 PM To: php-general@lists.php.net Subject: [PHP] PHP and Active Directory

RE: [PHP] Re: PHP vs. ColdFusion

2005-08-23 Thread Nathan Tobik
snip.. As long as we are doing stats; /snip For an internal app our source code alone is 2MB zipped, using SQL Server, over 30 databases, about 1000 stored procedures, all tied together with PHP... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] PHP vs. ColdFusion

2005-08-23 Thread Nathan Tobik
snip Have you tried PHP 4.x? Give that a shot and see what effects that has on the application. /snip We have used PHP with IIS and SQL Server like you said, I can say from experience that PHP 5 had the same problems as the initial poster described. The pages would time out and hang randomly.

RE: [PHP] Sessions, Constructors, and Destructors - Oh my!

2005-08-29 Thread Nathan Tobik
Does your load balancer support sticky sessions? What this means is a client will make a request and the request will be sent through a load balancer. That LB will remember the client and always point the client's requests to the same webserver. This way you don't have to write your own session

RE: [PHP] Sessions, Constructors, and Destructors - Oh my!

2005-08-29 Thread Nathan Tobik
I've never looked into some of the open-source load balancing solutions, but I know they exist are are out there. The F5's I mentioned are probably around $20k each, and you need two obviously, so if you're on a limited budget those are not the solution for you. I'd google for open source load

RE: [PHP] ASP (VBScript) to PHP Converters?

2005-09-09 Thread Nathan Tobik
We have a few apps which were written in ASP (VBScript) that we needed to port to PHP. For a few pages I went through and converted everything ex: %if a = 10 then% to ? If (a == 10)? line by line.. After finishing a page or two like that I realized that was not the best way. The problem with

RE: [PHP] Is php 5.0.4 using isapi unreliable?

2005-09-09 Thread Nathan Tobik
We never had any luck with PHP 5 and IIS, we downgraded to 4. PHP 5 would crash on us randomly like you said. I have not tried 5 in a few months so I'm not sure if it's been fixed. Nate Tobik (412)661-5700 x206 VigilantMinds -Original Message- From: Ben Duffy [mailto:[EMAIL PROTECTED]

RE: [PHP] Re: PHP combined with JAVA

2005-09-16 Thread Nathan Tobik
I would approach this problem in one of two ways 1. put all the values from the Java User object into PHP variables and store those in the session. You might have to deal with serialization issues as mentioned below, but I think copying to PHP would get rid of this issue. 2. It almost sounds

RE: [PHP] Re: OOP Newbie - why does this not work?

2005-10-21 Thread Nathan Tobik
You have to show us the definition for your class, also your syntax for new is wrong. It should be: $liveclass = new Test(); Nate Tobik (412)661-5700 x206 VigilantMinds -Original Message- From: John Taylor-Johnston [mailto:[EMAIL PROTECTED] Sent: Friday, October 21, 2005 7:57 AM To:

RE: [PHP] PHP and MSSQL on Linux

2005-11-02 Thread Nathan Tobik
Are you running apache in a sandbox, I know on OpenBSD this is the default behavior for Apache. If this is the case then you need to copy the required libraries inside the sandbox. Nate Tobik (412)661-5700 x206 VigilantMinds -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: [PHP] java .vs php

2005-11-10 Thread Nathan Tobik
Google uses Java also: http://java.sun.com/developer/technicalArticles/J2SE/google/limoore.html Nate Tobik (412)661-5700 x206 VigilantMinds -Original Message- From: Gustavo Narea [mailto:[EMAIL PROTECTED] Sent: Thursday, November 10, 2005 10:25 AM To: php-general@lists.php.net Subject:

RE: [PHP] fopen on windows

2005-11-11 Thread Nathan Tobik
I've always used: fopen(C:\\dir\\dir\\file.txt); on windows, I'm not sure how PHP interprets the slashes internally though... Nate Tobik (412)661-5700 x206 VigilantMinds $theFile = fopen(docs/InstallationInstructionMaster.txt, rb) || die; -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] Difficulty with SQL LIKE clause

2005-02-25 Thread Nathan Tobik
Not exactly clear what database you're using. In SQL Server the syntax is SELECT [options] FROM [table] WHERE [field] LIKE '%whatever value you're looking for%' The % means any string of characters, so it doesn't have to be exact Best of luck Nate Tobik (412)661-5700 x206 VigilantMinds

RE: [PHP] NetFlix Drag and Drop Row Ordering

2005-03-24 Thread Nathan Tobik
I've used drag and drop row ordering before. The only PHP I used was to read a record set and write it out for the different items. The piece of code I used worked with JavaScript and html. Basically there was a large div, and each element inside of the main div was a div. It grabbed the

RE: [PHP] NetFlix Drag and Drop Row Ordering

2005-03-24 Thread Nathan Tobik
the page once. I then take the list of items in the new order and submit them to the DB. Best of luck... Nate Tobik (412)661-5700 x206 VigilantMinds -Original Message- From: Graham Anderson [mailto:[EMAIL PROTECTED] Sent: Thursday, March 24, 2005 2:29 PM To: php-general@lists.php.net; Nathan

RE: [PHP] Having problems connecting to MS SQL2000 server on PHP5

2005-05-02 Thread Nathan Tobik
Hi, We run PHP with SQL server no problems here. You never mentioned it so I thought I would, if you're running on Linux you need the FreeTDS library installed on the machine. If you are running on Windows you need the SQL Server client tools installed on the machine that PHP is on.