[PHP-WIN] SQL script file

2001-08-13 Thread legal
In MS-SQL server, table data is transferred/uploaded on webserver by using the Enterprise Manager. A table alongwith data can be transferred on Webserver by using the export option. I am looking for such option in Mysql. I am using Mysql on windows. But, in Mysql there is no such option to trans

[PHP-WIN] RE: How do you step through a database?

2001-08-13 Thread Jason Gan
If you're using PHPLIB, then using database abstraction the code would look like: while ($db->next_record()) { print $db->f("title"); } -Original Message- From: CJD [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 14 August 2001 7:56 AM To: [EMAIL PROTECTED] Subject: Re: How do you s

php-windows Digest 14 Aug 2001 04:51:41 -0000 Issue 701

2001-08-13 Thread php-windows-digest-help
php-windows Digest 14 Aug 2001 04:51:41 - Issue 701 Topics (messages 8812 through 8827): Re: Anybody have an example of connecting MSSQL? 8812 by: Erik H. Mathy including files 8813 by: Paul Smith PHP vs. PERL; Compatibility issues 8814 by: Jeff Howard 8815

[PHP-WIN] PWS Registry question

2001-08-13 Thread Bob Kaehms
This is more academic than anything else, but I was trying to study the various implementations of PHP on windows. As one test, I wanted to first configure PWS (on W98) to run PHP as a CGI, then switch over to an isapi.dll. I realize that ISAPI is still considered experimental except on W2K, and

[PHP-WIN] CGI error reported

2001-08-13 Thread Usher
I just installed the windows edition of php 4.06 which uses the installation program on NT4 Sp6 workstation then rebooted. I have IIS installed and the personal web manager. I created the simple "hello world" test page in html and it came up fine. When modified to include the line in the body it

[PHP-WIN] Re: Build Modules on Win32

2001-08-13 Thread Phillip Bow
zend.com has a lot of useful PHP resources that every PHP programmer should check out. Here is what you are looking for though: http://zend.com/apidoc/ -- phill "Bruno Haller" <[EMAIL PROTECTED]> wrote in message 000301c12442$7b3b7460$fc6cc8c8@docbru">news:000301c12442$7b3b7460$fc6cc8c8@docbru..

[PHP-WIN] Build Modules on Win32

2001-08-13 Thread Bruno Haller
Hi, I want to start building a module for PHP on Win32 using VC++ 6 I downloaded the 4.0.6 source but i have troubles to get the modules compiled ... in php.net docu i found very old information about building modules refering to PHP 3 and the information to get PHP compiled at all seems to be ou

[PHP-WIN] Re: How do you step through a database?

2001-08-13 Thread CJD
while ($item=mysql_fetch_array($result)) { print $item[title]; } The loop will continue until the result reaches the end then stops. Also works for $result with no results in it (skips the loop) and you can use mysql_data_seek($result,0); to reset the counter to the top ready for the next

Re: [PHP-WIN] Re: MSSQL Functions

2001-08-13 Thread Phillip Bow
Good to know. I saw a post a couple weeks ago to the contrary which is why I mentioned it. -- phill "Flint Doungchak" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Phill, > > As far as I know, the version shipping with 4.0.6 and much earlier, as early > as 4

RE: [PHP-WIN] Re: MSSQL Functions

2001-08-13 Thread Flint Doungchak
Phill, As far as I know, the version shipping with 4.0.6 and much earlier, as early as 4.0.2 (I think), are built for SQL 7.0. Frank, is that true? You can check CVS for the latest extensions. -Flint -Original Message- From: Phillip Bow [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13

RE: [PHP-WIN] How do you step through a database?

2001-08-13 Thread Flint Doungchak
Jeff, If you're using mssql, as I suppose you are, you need to use mssql_fetch_array($result); See the mssql functions on www.php.net. There are a lot of good beginning there. -Flint -Original Message- From: Jeff Howard [mailto:[EMAIL PROTECTED]] Sent: Monday, August 13, 2001 12:36 PM

[PHP-WIN] How do you step through a database?

2001-08-13 Thread Jeff Howard
I've used Visual Basic for years and have never had a problem with this issue. I can use the following code to do this: do until (rs.eof) ... rs.movenext loop Does anybody know how to step through a database in PHP? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP-WIN] Re: MSSQL Functions

2001-08-13 Thread Phillip Bow
Nope they are running on my system as we speak. I would be interested to know if there are any plans to update them though. Last I heard they were still optimized for SQL 6.5. -- phill "John Meyer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Just a quick

RE: [PHP-WIN] MSSQL Functions

2001-08-13 Thread Flint Doungchak
No, they are supported on teh CGI version. I don't know what you problem is now, but you just need to uncomment the php_mssql.dll line in your php.ini file and make sure that you have the extension. In addition, the MS SQL Client should be installed on the machine in which PHP is running. It need

[PHP-WIN] MSSQL Functions

2001-08-13 Thread John Meyer
Just a quick question on the MSSQL functions: are they unsupported in the CGI version of PHP? -- PHP Windows 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 PROTEC

RE: [PHP-WIN] PHP vs. PERL; Compatibility issues

2001-08-13 Thread Erik H. Mathy
Hi Jeff, Ease of use, Speed, power, cross platform, speed, power. How's that sound? :) Seriously though, in a nutshell, it's easier to code, it executes lightyears faster than anything else, it comes out of the box with more database hooks than anything, and is fully cross platfo

[PHP-WIN] PHP vs. PERL; Compatibility issues

2001-08-13 Thread Jeff Howard
Being new to PHP, I was wondering what the benefits of PHP are over PERL? Seems to me it's easier than PERL, but what else is there? Are there benefits over ASP? Is it compatible with Netscape AND IE? Jeff -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

[PHP-WIN] including files

2001-08-13 Thread Paul Smith
I know how to include files. I have a directory structure that looks like this: / /includes /includes/errors In the includes folder I have include files for things like my database. In the errors folder I have documents that I have instructed Apache to load as error docs, l

RE: [PHP-WIN] Anybody have an example of connecting MSSQL?

2001-08-13 Thread Erik H. Mathy
Welcome to the free world! ;) $db = mssql_connect("ServerName","Account","Password"); - Erik P.S. I did .ASP for a while before I went to PHP3. PHP was a revelation compared to whacking .ASP code. I enjoy PHP. I do not enjoy coding .ASP. All IMHO, of course!! > -Original Message- > Fro

php-windows Digest 13 Aug 2001 15:36:38 -0000 Issue 700

2001-08-13 Thread php-windows-digest-help
php-windows Digest 13 Aug 2001 15:36:38 - Issue 700 Topics (messages 8794 through 8811): Re: money format 8794 by: Jason Brooke 8795 by: CJD Re: Printing functions 8796 by: CJD Money Field Type Problem ON PHP4 - WinNT - MSSQL7 8797 by: Suhendri Get all ava

[PHP-WIN] Anybody have an example of connecting MSSQL?

2001-08-13 Thread Jeff Howard
I have been extremely successful using ASP and MS-SQL for a long time, but am making a transition to PHP. I've tried connecting to the SQL Server database, but have been unsuccessful. The way a data source is called in ASP is: database.open "Provider=SQLOLEDB;User Id=user;Password=password;Init

Re: [PHP-WIN] InterBase + BLOB

2001-08-13 Thread Todd Cary
As I recall, there is a reference to this on the http://www.php.net site. Todd -- Todd Cary Ariste Software [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list adm

[PHP-WIN] Re: InterBase + BLOB

2001-08-13 Thread Hugh Bothwell
"Sichta Daniel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Does anybody know where can I get description for InterBase functions > ibase_blob_ ? I looked at www.php.net but no luck !! Or does somebody > have any example how to insert image via

[PHP-WIN] Re: problem.why php code used in html can't work

2001-08-13 Thread Hugh Bothwell
"Lallous" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Yes. It must be. PHP in order to get parsed by the server. > It depends on the Web Server, you can configure it to parse also HTML files. > > "Goodluckmo" <[EMAIL PROTECTED]> wrote in message > [EMAIL PRO

[PHP-WIN] download prompt

2001-08-13 Thread Robert Razniewski
Hi all. I have found a similar thread in the list archive, but can't find the solution. Im using Apache + PHP4 + Windows98. I have configured both Apache and PHP as described in manuals. After startig 127.0.0.1/scripts/myfirstphp.php in my browser I get the download prompt from Windows instead

[PHP-WIN] Re: Get all available drives ?

2001-08-13 Thread Markus Fischer
Hmm .. I was more thinking about some interal function ... what if I want to know what type of drive it is (fixed, cdrom, ram) ? For now I've written my own get_logical_drives() and get_drive_type() functions but I was wondering if there's allready a way to get the desired information from the sy

RE: [PHP-WIN] Why do I use IE6b to view some page which I wrote in PHP but I got blank?

2001-08-13 Thread Ryan Ware
M$ final release software is buggy, what makes you think a beta of IE would work flawlessly consistently? > -Original Message- > From: jim [SMTP:[EMAIL PROTECTED]] > Sent: Sunday, August 12, 2001 11:57 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Why do I use IE6b to view some p

[PHP-WIN] Re: Get all available drives ?

2001-08-13 Thread lallous
You can do something like this untested code: $drives = ""; for ($i=0;$i<25;$i++) { $drives .= chdir(Chr($i + 65) . ":\") ? Chr($i + 65) : ""; } echo "the drives are: $drives"; "Markus Fischer" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > can so

[PHP-WIN] Re: problem.why php code used in html can't work

2001-08-13 Thread lallous
Yes. It must be. PHP in order to get parsed by the server. It depends on the Web Server, you can configure it to parse also HTML files. "Goodluckmo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Sorry ,i am first use php. I use php code in fontpage like u

[PHP-WIN] problem.why php code used in html can't work

2001-08-13 Thread goodluckmo
Sorry ,i am first use php. I use php code in fontpage like use asp,but i found it don't work . when i change the little program name from test.htm to test.php . The program work correct. Why ? Must it suffix is .php? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-m

[PHP-WIN] Re: InterBase + BLOB

2001-08-13 Thread Sven-Olov Larsson
Hi Dan! http://www.borland.com/interbase/ Documentation seems to be a god place. God luck from Sven-Olov "Sichta Daniel" <[EMAIL PROTECTED]> skrev i meddelandet [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > Does anybody know where can I get description for InterBase functions > ibas

[PHP-WIN] InterBase + BLOB

2001-08-13 Thread Sichta Daniel
Hi, Does anybody know where can I get description for InterBase functions ibase_blob_ ? I looked at www.php.net but no luck !! Or does somebody have any example how to insert image via form to InterBase database in PHP ? cfg: w2k, Apache 1.3.20, php404pl1 IB 6.0 Thank you DAN -- PHP Window

[PHP-WIN] R: [PHP-WIN] Printing functions

2001-08-13 Thread Darvin Andrioli
Have you inserted "extension=php_printer.dll" in you php.ini ? Darvin > -Messaggio originale- > Da: Deleo Paulo Ribeiro Junior [mailto:[EMAIL PROTECTED]] > Inviato: sabato 11 agosto 2001 15.44 > A: Lista PHP > Oggetto: [PHP-WIN] Printing functions > > > Hello! > > I have sent some ques

[PHP-WIN] Get all available drives ?

2001-08-13 Thread Markus Fischer
Hi, can someone tell me where to start looking for a method to get a list of available drives in a system ? Something like array get_available_drives(); ... ty, Markus -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,