Re: [PHP-WIN] CGI binary vs. ISAPI module

2004-10-26 Thread Phil Driscoll
On Tuesday 26 October 2004 00:40, Chris Ollar wrote: > I'm brand new to PHP. Which is a better method to use for attaching and > running PHP scripts on a PWS for Win 98? CGI binary or ISAPI module > This ISAPI module is designed to work with the IIS web server which will only run on Windows NT and

Re: [PHP-WIN] CGI binary vs. ISAPI module

2004-10-26 Thread Sudeep
Hi chris, Please don't use PWS to work with php. It's a total mess. Session and cookies wont work. I am telling this from my experience. First i tried PWS for my php scripts with CGI binary mode. Later, after consultations and advise from my online friends i decided to move away and opted

[PHP-WIN] mysql question

2004-10-26 Thread Patrick Roane
I am learning the mysql basics and was wondering what I'm doing wrong. I'm using the MySQL.exe console to create a simple table, but I keep getting these syntax errors. All I'm doing is typing the code and than pressing enter. Is there more I have to do? Here is my code: CREAT TABLE phonelist(

Re: [PHP-WIN] mysql question

2004-10-26 Thread Luis Moreira
Nothing wrong, besides missing a character. I tried your instructions with the full word CREATE and it worked fine... Luis Patrick Roane wrote: I am learning the mysql basics and was wondering what I'm doing wrong. I'm using the MySQL.exe console to create a simple table, but I keep getting these s

RE: [PHP-WIN] Cookies!

2004-10-26 Thread Nunners
Hi Dale, Sorry for emailing you again (and anyone else who can help) - but I'm getting a bit desperate! I've got to finish this project today - 2 hours to go I need to sort out the user authentication into the application - I'm using IIS & PHP5 - which is proving a bit of a nightmare. I've

[PHP-WIN] Problems installing PHP on IIS 6?

2004-10-26 Thread Murray @ PlanetThoughtful
Hi All, I'm having problems getting PHP 4.3.9 working in either ISAPI or CGI mode with IIS 6.0. I've consulted various 'how to install PHP with IIS' pages and followed what instructions I've found, but without any luck. My current attempt it to get CGI working. In my various attempts t

RE: [PHP-WIN] Problems installing PHP on IIS 6?

2004-10-26 Thread Bowden, Zeb
Have you added PHP as a web service extension? And what about adding it as an application extension? (Home Directory -> Configuration) -Original Message- From: Murray @ PlanetThoughtful [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 12:43 PM To: [EMAIL PROTECTED] Subject: [PH

RE: [PHP-WIN] Problems installing PHP on IIS 6?

2004-10-26 Thread Murray @ PlanetThoughtful
Hi Zeb, Ah! Thank you! It appears I was missing the step of enabling php.exe as a web service extension... Many thanks again! Much warmth, Murray http://www.planetthoughtful.org Building a thoughtful planet, One quirky comment at a time. -Original Message- From: Bowden, Zeb [mailto:[E

[PHP-WIN] Re: Changing loaction of php.ini file

2004-10-26 Thread Jason Barnett
FYI - respond to the list not to me personally. The list will respond faster than I will and can often provide extra insight. Plus it sometimes irritates me (not this time though ;) I know Microsoft has made most of us forget about the command line, but the *nix tradition for it is great and

[PHP-WIN] Re: Question......

2004-10-26 Thread Jason Barnett
I'm not a VC programmer so I won't promise this works, but you could try building PHP from source into your project. I do know that different SAPI's can be written and PHP can be embedded within another application. Try checking out _sapi_module_struct in the source. Raul Ionescu wrote: I

[PHP-WIN] Re: Access deined - yet another MySQL problem

2004-10-26 Thread Jason Barnett
This error is about 80% of the time caused because of errors loading libmysql. But usually putting that library in the system32 folder solves the problem. Do you have any other errors? Make sure you're restarting the server after you've moved the files. Heck try throwing libmysql back in php/

[PHP-WIN] zip_enrty_read fails to return data

2004-10-26 Thread Matthew Richardson
Hello, I'm trying to write the contents of a zip file to disk. Unfortunately the script creates zero length files. The problem has to be with zip_entry_read below... $zipFile = zip_open($uploadFile); $zipEntry = zip_read($zipFile) $filePointer = fopen($outputXLSFile, 'w+b');

[PHP-WIN] error. no database selected.

2004-10-26 Thread Patrick Roane
Ok, No syntax errors this time, but when I hit enter (after I type in the code below), I get 'error 1046, no database selected' CREATE TABLE phonelist( id INT(100) PRIMARY KEY, firstName VARCHAR(15), lastName VARCHAR(15), email VARCHAR(20), phone VARCHAR(15) ); There must

[PHP-WIN] Re: error. no database selected.

2004-10-26 Thread Chris
Have you tried using the function "mysql_select_db" to select the database? Patrick Roane wrote: Ok, No syntax errors this time, but when I hit enter (after I type in the code below), I get 'error 1046, no database selected' CREATE TABLE phonelist( id INT(100) PRIMARY KEY, firstName VARCHAR

RE: [PHP-WIN] Re: error. no database selected.

2004-10-26 Thread Vail, Warren
If you are using the mysql command line to process your definition, you will probably want to include; Use dbname; Followed by your table creates. Hth, Warren Vail -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 5:07 PM To: [EMAIL PROTECTED] Su

[PHP-WIN] error. no database selected problem solved!

2004-10-26 Thread Patrick Roane
Thanks for all of your input. I didn't realize that I had to 1st create the database: mysql> create database phonelist; Database "phonelist" created. and than follow that up with: mysql> use phonelist Database changed next: mysql> create table table01( id INT(100) PRIMARY KEY, firstNa

[PHP-WIN] Adding data from 1 table to another table in a database

2004-10-26 Thread zosimo miravite, jr.
hi everybody in the group, good day! i have problem here in my program: i am trying to display a data from 1 table to another table in a database. I am inputting some data from the first table and i want to view it to the second table. Yes, it displays. But for the second time I visit the firs

RE: [PHP-WIN] Adding data from 1 table to another table in a database

2004-10-26 Thread Zareef Ahmed
Hi Miravite, Can you elaborate what exactly you are doing? A detailed and clear question can get clear and exact answer. Zareef ahmed -Original Message- From: zosimo miravite, jr. [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 27, 2004 8:29 AM To: php Subject: [PHP-WIN] Adding data

RE: [PHP-WIN] error. no database selected problem solved!

2004-10-26 Thread Zareef Ahmed
Dear Lynard Skynard, Please do not change the subject every time you want to add something to the thread. As thread change with the subject change. Well informing "Solved" is a good practive in my view. Zareef Ahmed -Original Message- From: Patrick Roane [mailto:[EMAIL

RE: [PHP-WIN] Cookies!

2004-10-26 Thread Zareef Ahmed
Hi, Visit http://www.phpclasses.org/browse/class/21.html You may search the site for more classes. http://pear.php.net is also a good site in this category. Zareef ahmed -Original Message- From: Nunners [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 26, 2004 7:35 PM To: [EMAIL PRO

RE: [PHP-WIN] Cookies!

2004-10-26 Thread Sudeep
Hi James, While using sessions the timeout period can be set in the php.ini file(not sure). The other option is that once you authenticate the user and he is logged in, simultaneously create a session - say $_SESSSION[''logged_in"]=1. And include a script