Re: [PHP-WIN] PHP header to close browser window?

2002-02-14 Thread Pac mon
You should just be able to close the window by doing something like this in javascript: newWindow = window.open(...); ... newWindow.close(); Original Message Follows Greetings, I had an extra browser window created with the HTML attribute. I would like to be able to automatically cl

php-windows Digest 15 Feb 2002 04:32:27 -0000 Issue 1002

2002-02-14 Thread php-windows-digest-help
php-windows Digest 15 Feb 2002 04:32:27 - Issue 1002 Topics (messages 12080 through 12099): Suggestion for form submissions 12080 by: Nicole Amashta Re: Loading DLL Extension 12081 by: Todd WIlliamsen 12085 by: Zach Curtis 12095 by: Zach Curtis Re: Frontpag

[PHP-WIN] Re: how to run extern program in php?

2002-02-14 Thread Todd WIlliamsen
try this: exec(getenc("COMSPEC"). "c:\path\to\.exe\file"); "ÆÄ¶ûÀÚÀü°Å" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello there! > > Does anyone know about how to run extern program in php? > (windows,apache,php) > > I tried it using exec(), system() etc...

[PHP-WIN] Undefined Index....

2002-02-14 Thread Todd WIlliamsen
Warning: Undefined index: ReqNum in c:\inetpub\wwwroot\recruiter\show_job.php on line 25 What does this error mean? I get it from this code... $sql = "SELECT ReqNum, Industry, Other, JobTitle, Description, Location, Notes FROM $jobtable WHERE id = '$id'"; $result = @mysql_query($sql, $conn

[PHP-WIN] how to run extern program in php?

2002-02-14 Thread ÆÄ¶ûÀÚÀü°Å
Hello there! Does anyone know about how to run extern program in php? (windows,apache,php) I tried it using exec(), system() etc functions but unfortunally it did't work well. here is my test code => exec(getenv("COMSPEC")." /C run.exe"); Thanks in advance. --

Re: [PHP-WIN] File Upload Problems

2002-02-14 Thread Neil Harrison
Hello Neil, Thursday, February 14, 2002, 9:25:20 PM, you wrote: NH> Having some problems with file uploads, hope someone can help. Check the permissions on the directory you are trying to copy to. Doh! Talking to myself again!! -- Cheers, Neil -- PHP Windows Mailing List (http://www

Re: [PHP-WIN] Loading DLL Extension

2002-02-14 Thread Zach Curtis
The answer (from another list) to this issue was that the dll files in the extensions directory did not match with that build of PHP. Apparently, these were some how replaced or not updated in the past. The issue was resolved by replacing the dll files in the extensions directory with those that c

[PHP-WIN] File Upload Problems

2002-02-14 Thread Neil Harrison
A big HELLO to php-windows, Having some problems with file uploads, hope someone can help. Using php4.0.3pl1 I have a program that collects a file name and tries to upload it. Syntax is same as that in the manual. This works fine locally (on localhost) and the file is 'transferred' across my ha

[PHP-WIN] Large Deployment Information

2002-02-14 Thread Flint Doungchak
Hey guys and gals, I was wondering if any of you know of resouces that would help me plan for a large deployment. I guess I need to know how much hardward I would need to support x users per y time. How much PHP can take and how much SQL server can take, etc. I've never really thought about stuff

RE: RE: [PHP-WIN] Getting PHP to behave with MS SQL Server 7

2002-02-14 Thread Flint Doungchak
Todd, We're running the exact configuration you speak of and I can attest that there are no problems with the module that Franks works on or with PHP. I'd be happy to help, so if you could provide some details, that would help. The first thing I would check is to make sure that the php_mssql.dll

RE: RE: [PHP-WIN] Getting PHP to behave with MS SQL Server 7

2002-02-14 Thread Todd Williamsen
The SQL Server 7 is local so I don't need the client software. I looked at that so-called explanation, and doesn't explain anything -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 14, 2002 11:41 AM To: Todd Williamsen Cc: [EMAIL PROTECTED] S

Re: RE: [PHP-WIN] Getting PHP to behave with MS SQL Server 7

2002-02-14 Thread Frank M. Kromann
Hi Todd, This is documented on http://www.php.net/manual/en/ref.mssql.php. The client libraries is found on the MS SQL Server CD and if you are running PHP on the same box as the MS SQL Server is installed you have all you need. If you are connecting to a remote MS SQL Server you need to insta

[PHP-WIN] PHP header to close browser window?

2002-02-14 Thread Symeon Charalabides
Greetings, I had an extra browser window created with the HTML attribute. I would like to be able to automatically close it by sending some kind of header via PHP. Is there such a way, or do I have to ask the user to close it manually? Symeon Charalabides (cosmopolitan trainee) -

Re: [PHP-WIN] Getting PHP to behave with MS SQL Server 7

2002-02-14 Thread Todd WIlliamsen
Nicole, It doesn't like me... lol I tried ISAPI version and CGI version and BOTH don't work. I tried also ODBC functions as well, but now I get this message with cgi with odbc CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did

[PHP-WIN] Re: Classes

2002-02-14 Thread Nicole Amashta
I have a DB extraction class I wrote that supports both MySQL and MSSQL (and can be easily extended to support others). My class is also called DB. db_type = $type; ## the type of database connecting to: mssql or mysql. } function connect($host,$un,$pw) { ## return $link } function

Re: [PHP-WIN] Getting PHP to behave with MS SQL Server 7

2002-02-14 Thread Nicole Amashta
Based on my own experience with this, if you have the SQL server installed, you should be fine. All you need is that php_mssql.dll which is appropriate for MS SQL Server 7. I originally used 7 with no problems. But I've been using SQL Server 2000 for over a year now. Nicole www.aeontrek.com ===

Re: [PHP-WIN] Loading DLL Extension

2002-02-14 Thread Zach Curtis
Yes, that is where PHP is located. When I use ./ for the extension_dir, I get Warning window, "Warning: Unable to load dynamic library './php_pdf.dll' - The specified module could not be found." Zach You wrote: where is the PHP directory located? is it j:\php ? if so leave the default to:

[PHP-WIN] Re: .bat files for PHP

2002-02-14 Thread Todd WIlliamsen
Ziggi, Can you share your new found toy? There is probably other people out there that would like to know! "Ziggi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Wow ! > > I registered a new file type (.phs, like PHP Script) as described in an > article on

[PHP-WIN] Re: Insert image into MySQL

2002-02-14 Thread Todd WIlliamsen
Can you just insert the location of the file instead of the whole image into the database? is there a reason why you are inserting into the database? How many images do you have or projected to have? "Sichta Daniel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]

[PHP-WIN] Re: Frontpage 2000 and PHP

2002-02-14 Thread Todd WIlliamsen
What FrontPage functionality do you need from FrontPage? Try saving the page as .php and below it it should say "File Type" choose "All Files" If you are trying to use FrontPage's Bots, don't, you will just screw up PHP and the whole page. There will be errors all over the damn place. "Laure

Re: [PHP-WIN] Loading DLL Extension

2002-02-14 Thread Todd WIlliamsen
where is the PHP directory located? is it j:\php ? if so leave the default to: ./ "Zach Curtis" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm not sure how I'm mixing two versions of PHP...how is that possible? > > The extensions are located in this pat

[PHP-WIN] Suggestion for form submissions

2002-02-14 Thread Nicole Amashta
I just have a suggestion. If you are trying to use variables from a form, based on the method used (POST or GET), you can do something like this (and maybe this will avoid the warnings if you do'nt want to change your error reporting level): . Name: E-mail: "; echo "E-mail:

php-windows Digest 14 Feb 2002 15:13:04 -0000 Issue 1001

2002-02-14 Thread php-windows-digest-help
php-windows Digest 14 Feb 2002 15:13:04 - Issue 1001 Topics (messages 12071 through 12079): Classes 12071 by: Brian Feliciano Re: Getting PHP to behave with MS SQL Server 7 12072 by: Todd Williamsen Frontpage 2000 and PHP 12073 by: Laurence Smith 12076 by:

RE: [PHP-WIN] Loading DLL Extension

2002-02-14 Thread Zach Curtis
I'm not sure how I'm mixing two versions of PHP...how is that possible? The extensions are located in this path extension_dir = j:\php\extensions. I have tried different combinations of this as well, such as: "j:\php\extensions" j:/php/extensions "j:/php/extensions" >From what I had read in the

[PHP-WIN] Re: htaccess password encryption

2002-02-14 Thread Christian Blichmann
"Martin.Andrew" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Does anyone know how to encrypt a password for use in htaccess? > I'm not sure, but you may try to use the crypt()-function (see the docs), since it implements the standard Unix DES-based algorithm

[PHP-WIN] Re: IP address reference

2002-02-14 Thread Christian Blichmann
Hi there! I am using this code to get the users IP, it also allows you to retrieve the IP of AOL users. Btw, the @ before $_SERVER["HTTP_X_FORWARD_FOR"] prevents an error message, if the user is not using AOL... Oh, I almost forgot: The $ip variable is an integer (I did this for efficiently storin

RE: [PHP-WIN] Frontpage 2000 and PHP

2002-02-14 Thread Svensson, B.A.T. (HKG)
Can't you name the pages as *.asp (Active Server pages)? >-Original Message- >From: Laurence Smith >Sent: Thursday, February 14, 2002 5:28 AM >To: [EMAIL PROTECTED] >Subject: [PHP-WIN] Frontpage 2000 and PHP > > >I would like to include PHP functionality in FrontPage but when I >rename th