Re: [PHP-WIN] Canceling a Query

2001-05-16 Thread John Lim
Hello, This is a workaround. Can you use T-SQL's: SET ROWCOUNT ? This limits the number of rows returned by a query. -- John ""Brinkman, Theodore"" <[EMAIL PROTECTED]> wrote in message FE8510398BFE854F9653B5C32DBB652FD4F39E@oh_daytn_xch01">news:FE8510398BFE854F9653B5C32DBB652FD4F39E@oh_daytn_x

RE: [PHP-WIN] REBUILD of PHP

2001-05-16 Thread andrew morton
Umm I'm sort of new to this whole PHP thing but isn't the only nice thing about running the windows version that you don't have to recompile to add an extension? I think you can just uncomment it in your php.ini file... I'm sure I'll be corrected if I'm wrong. andrew -Original Message- F

RE: [PHP-WIN] Web Host

2001-05-16 Thread motorpsychkill
why don't you see for yourself? ;) I think common questions like these warrant a search through the archives first since they have been asked many times before. go here first, you'll find a lot of answers about common topics such as 'hosts'. http://marc.theaimsgroup.com/?l=php-general ::-O

Re: [PHP-WIN] error in ip2long

2001-05-16 Thread Chris Adams
On 16 May 2001 19:56:52 -0700, Ruslan Ohitin <[EMAIL PROTECTED]> wrote: > hello all! > > I try to convert ip address (aaa.bbb.ccc.ddd) > to IPv4 integer using ip2long(). > > ip2long("200.200.200.12") = 3368601612 > but it must be -926365684. That's the same value - the first time is treating it

[PHP-WIN] Re: [PHP] Web Host

2001-05-16 Thread Deependra B. Tandukar
Contact [EMAIL PROTECTED] Warm Regards, Deependra B. Tandukar www.coremag.net/cvs/dt.htm Training and Networking Assistant ICOD/ICIMOD www.icimod.org Co-ordinator CORExpress The Only Native Computer Magazine of Nepal www.coremag.net +++ ==

[PHP-WIN] truncating of file in fopen.

2001-05-16 Thread pratap . ladhani
I have a small script which opens an image file (gif/jpeg) and converts it to binary format. My problem is that the script runs perfectly well in my local machine. But when I upload it to the server and try to parse the same image file on the server, it is truncated in between only.. I do not

[PHP-WIN] Sockets problems in php

2001-05-16 Thread Che Gonzalez
I created several rpc tcp servers in perl. The pearl clients work fine, and sending a message to the server in php works. The problem happens after the perl server replies ( I have seen the actual reply through monitoring the server ). The php script hangs on freads and fgets. I tur

[PHP-WIN] error in ip2long

2001-05-16 Thread Ruslan Ohitin
hello all! I try to convert ip address (aaa.bbb.ccc.ddd) to IPv4 integer using ip2long(). ip2long("200.200.200.12") = 3368601612 but it must be -926365684. Is it a bug? I use php 4.0.6-dev from php4win.de --- ruslan [EMAIL PROTECTED] -- PHP Windows Mailing List (http://www.php.net/) To un

RE: [PHP-WIN] My SQL

2001-05-16 Thread Mr. Adam ALLEN.
Hit your start button Click RUN Type cmd < click ok > (wait for the black command-prompt to appear) Type C: (assuming MySQL is install on C:) (hit-enter) type cd\mysql\bin (assuming MYSQL is installed in mysql) (hit-enter) Type mysqladmin create nuke (hit-enter)(assuming you don't have th

RE: [PHP-WIN] My SQL

2001-05-16 Thread Manesh Manickam
where to i put nuke.sql? -Original Message- From: Zak Greant [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 9:27 PM To: Manesh Manickam; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] My SQL Open a Command Prompt CD into your mysql bin directory (often c:\mysql\bin\) Run the command

[PHP-WIN] no connection to mysql

2001-05-16 Thread Tyler Longren
Hello everyone, PHP just stopped being able to connect to mysql. mysqld-nt is running, and is running alright becuase I can connect, select databases, and execute sql queries through the mysql client. However, when I try to establish a connection through PHP, the connection never gets made. Th

Re: [PHP-WIN] My SQL

2001-05-16 Thread Zak Greant
Open a Command Prompt CD into your mysql bin directory (often c:\mysql\bin\) Run the command Ciao, Zak - Original Message - From: "Manesh Manickam" <[EMAIL PROTECTED]> To: "Zak Greant" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 7:25 PM Subject: RE: [PHP-WI

RE: [PHP-WIN] My SQL

2001-05-16 Thread Manesh Manickam
where do i do this, i am win2k -Original Message- From: Zak Greant [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 6:17 PM To: Manesh Manickam; [EMAIL PROTECTED] Subject: Re: [PHP-WIN] My SQL Manesh, Don't be surprised that people are less than helpful when you sent a huge (34

Re: [PHP-WIN] newbie

2001-05-16 Thread Alan Popow
On Wed, 16 May 2001 18:20:09 -0400, you wrote: >my one book tells me to save a php file I have created to "document root >directory for your web server" as generic filename.php > >I cannot figure out where that file should go so I may call it with IE >browser If you installed apache to it's def

Re: [PHP-WIN] I need help!!!

2001-05-16 Thread Alain Menard
I clicked on the send button to fast... The part that i'm having problem with is the second part. Especially the one about the first string becomming a link to the corresponding URL. ""Alain Menard"" <[EMAIL PROTECTED]> wrote in message 9dv3k5$873$[EMAIL PROTECTED]">news:9dv3k5$873$[EMAIL PROTE

[PHP-WIN] I need help!!!

2001-05-16 Thread Alain Menard
Hi!! I'm presently working on my personal web site and i would like to use PHP to do the following : 1- Read a string in the following format from a text file : string;url;integer;string string;url;integer;string string;url;integer;string ... string;url;intege

[PHP-WIN] newbie

2001-05-16 Thread dhc
away from home for a week; only one book have successfully installed php, apache server and mysql on a windows me system on a dell 7500 inspiron my purpose is to learn php; my one book tells me to save a php file I have created to "document root directory for your web server" as generic filena

Re: [PHP-WIN] My SQL

2001-05-16 Thread Zak Greant
Manesh, Don't be surprised that people are less than helpful when you sent a huge (34k) message to the list! :) The command you need is this: mysql db_name < nuke.sql Change the db_name to whatever database you want the tables to appear in. All of this info is in the MySQL docs. --zak --

RE: [PHP-WIN] My SQL

2001-05-16 Thread Manesh Manickam
COME ONE!! PLEASE -Original Message- From: Manesh Manickam [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 4:39 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] My SQL How do i add these table, the file is called nuke.sql when i run it, it just shows as text. i use IIS5 CRE

Re: [PHP-WIN] can't load informix extension. please help.

2001-05-16 Thread cjrivas
Thanks a lot Eric. I am running PHP+Informix perfectly now thanks to you. I downloaded the latest informix client-SDK and it has the dll that PHP was looking for. it runs fast and smooth. I owe you one. bye, CJ p.s. I hope this helps someone else out there too. On Wed, 16 May 2001, [EMAIL P

Re: [PHP-WIN] PHP 4.0.4pl1 problemas with includes

2001-05-16 Thread JayAchTee
Don'f forget to check for multiple copies of the included files somewhere near the base files. Even IIS doesn't cache through a stop/start cycle or reboot. Regards. ""Phillip Bow"" <[EMAIL PROTECTED]> wrote in message 9c4ap9$ikm$[EMAIL PROTECTED]">news:9c4ap9$ikm$[EMAIL PROTECTED]... > I'd hav

Re: [PHP-WIN] Sessions

2001-05-16 Thread JayAchTee
Try registering the variables in the checkuser.php script also. Regards ""Roman Lichszteld"" <[EMAIL PROTECTED]> wrote in message 9c8hd2$nfn$[EMAIL PROTECTED]">news:9c8hd2$nfn$[EMAIL PROTECTED]... > > I haven't worked with trans_sid much, so I'm not very familiar with the > > specifics. > > > >

[PHP-WIN] My SQL

2001-05-16 Thread Manesh Manickam
How do i add these table, the file is called nuke.sql when i run it, it just shows as text. i use IIS5 CREATE TABLE access ( access_id int(10) NOT NULL auto_increment, access_title varchar(20), PRIMARY KEY (access_id) ); # # Dumping data for table 'access' # INSERT INTO access VALUES

Re: [PHP-WIN] Storing images in Interbase database

2001-05-16 Thread JayAchTee
Use the ibase_blob_create, ibase_blob_add and ibase_blob_close functions to get the image into a blob field and INSERT it using a "?" place holder passing the blob id from ibase_blob_close in the ibase_execute function. ""Il Cieco"" <[EMAIL PROTECTED]> wrote in message 9c221i$9mm$[EMAIL PROTECTE

Re: [PHP-WIN] apache 404 handler

2001-05-16 Thread JayAchTee
I wonder what else they "hardcoded" in IE? Regards ""Kelvin Luck"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanks for the tip - it should be no problem to return 2.5Kb - I probably > will be anyway, but to test it I was just returning a small string..

Re: [PHP-WIN] can't load informix extension. please help.

2001-05-16 Thread EGGrant
Ya got me on that one. Hmmm... Does anyone know if there is a newer php .dll for informix out there? One thought would be to see if you can find an older client with the dll and put that in your path (maybe the ..\php\extensions dir) just so that it is happy. It may be the last piece you

RE: [PHP-WIN] Web Host

2001-05-16 Thread Manesh Manickam
are they all free? -Original Message- From: afan [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 12:39 PM To: [EMAIL PROTECTED]; Manesh Manickam Subject: Re: [PHP-WIN] Web Host I use http://www.cqhost.com and http://www.1stconnection.net and I don't have any problems. Afan Pas

Re: [PHP-WIN] Refreshing problem....(thread problem?)

2001-05-16 Thread JayAchTee
Are you running as a CGI or ISAPI? ISAPI can be a bit buggy. If ISAPI, make sure that the PHP install folder is in the SYSTEM path. I could not use the ISAPI method until this was done as the filter would not load. Otherwise, I guess it's just FUBAR! ""macky"" <[EMAIL PROTECTED]> wrote in mes

[PHP-WIN] Error handling in PHP.

2001-05-16 Thread Tim Uckun
Does anybody have an example of using php error handling to simulate try-catch blocks? especially with COM objects? :wq Tim Uckun Due Diligence Inc. http://www.diligence.com/Americas Background Investigation Expert. If your company isn't doing background checks, maybe you haven't conside

Re: [PHP-WIN] extracting email addresses

2001-05-16 Thread Michael Kelley
Couple tid bits of info will help. Is the file in a defined format? Are the emails just random within the text? If random you'll want to use preg_match_all You'll have to develop the exact expression to find the emails address. If the file is formatted just figure out the pattern and grab parti

Re: [PHP-WIN] can't load informix extension. please help.

2001-05-16 Thread cjrivas
thanks a lot. your solution seems to work! I did look inside the DLL and found out about the referenced DLLs. but I still have a problem. I looks like I have an old version of the informix dll ...(7 something) and it requires 9a. that is, it requires the file isqlt09a.dll from the informix cli

[PHP-WIN] extracting email addresses

2001-05-16 Thread afan
Hi all, there is my problem: I have a large text file with a lot of email addresses included in text. I have to extract just email addresses from a whole text. What's the way to do that? Thanks for any help! Afan

Re: [PHP-WIN] InterBase

2001-05-16 Thread JayAchTee
You still need the php_interbase.dll (client side) uncommented from the php.ini file in the %SYSTEMROOT% folder. It should look something like this: ... extension_dir = D:\PHP\Extensions ... extension=php_interbase.dll ... The extension_dir is where the dlls are located. Regards! ""Daniel Sich

Re: [PHP-WIN] can't load informix extension. please help.

2001-05-16 Thread EGGrant
What I have found to be the same result with all extensions is an email thread that referred to looking inside the .dll to determine all the other .dll's it references and trying to get them. Additionally making sure the php base directory and the extensions directory are in the system path of

RE: [PHP-WIN] SQL & PHP

2001-05-16 Thread Svensson, B.A.T.
>Why does the command: > >UPDATE SEARCH_RECORDS SET DESCRIPTION="Chris's Page" > >fail? Probably because you have quoted identifiers turned on, turn it off, and it will probably work for you. If you are using MS SQL server add the following statement to your SQL batch to turn off quoted identif

Re: [PHP-WIN] SQL & PHP

2001-05-16 Thread Bradley Miller
At 01:01 PM 5/16/01 -0400, [EMAIL PROTECTED] wrote: >Why does the command: > >UPDATE SEARCH_RECORDS SET DESCRIPTION="Chris's Page" > >fail? You might check that -- I think this will work: UPDATE SEARCH_RECORDS SET DESCRIPTION='Chris''s Page' Bradley Miller, Programmer/webmaster AccessZone De

[PHP-WIN] fatcow hosting

2001-05-16 Thread Richard
Has anyone used fatcow hosting? www.fatcow.com? Their package is pretty attractive...anyone have any dealings? Thanks, Rick -- 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 adminis

[PHP-WIN] SQL & PHP

2001-05-16 Thread chris . cranford
All - I am trying to execute an odbc_exec ($sql) command. A code example is shown below: $description = "Chris's Place"; $sql = "UPDATE SEARCH_RECORDS SET DESCRIPTION=\"".$description."\""; // CX is already defined as a datbase connection $stmt = odbc_prepare(CX, $sql); if (odbc_execute($stmt

Re: [PHP-WIN] Can everyone help me?, pease...

2001-05-16 Thread Michael Kelley
I'm not familiar with the IIS setup but we'll try a few things. Where did you install PHP? You say you are using IIS is IIS running? My PHP scripts don't run if I don't have apache running. (I have apache set up to be manually started so I can control if anyone is going to hit against my PC) L

RES: [PHP-WIN] Can everyone help me?, pease...

2001-05-16 Thread Felipe Moreno
Some tips! Installation Unlike PHP 3, PHP 4 is divided into several components; Even when you use PHP in its CGI mode, php.exe is no longer a standalone executable, and relies on external DLLs for execution. For this reason, if you install php.exe as a handler for your web server,

RES: [PHP-WIN] Can everyone help me?, pease...

2001-05-16 Thread Felipe Moreno
Yessbell Carranza, Your script is fine!...Maybe there is something wrong with your instalation of PHP. Which version are you using? I use Apache here, and eveything is fine. Well, about proving the existence of PHP, maybe your scripting, working, is a good prove! hehehe!... I hope I could he

Re: [PHP-WIN] Can everyone help me?, pease...

2001-05-16 Thread afan
Your code is fine and works ok. Afan - Original Message - From: "Yessbell Carranza" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 9:17 AM Subject: [PHP-WIN] Can everyone help me?, pease... > I´m new on PHP, I´ve been trying to make an easy program: > > >

[PHP-WIN] Can everyone help me?, pease...

2001-05-16 Thread Yessbell Carranza
I´m new on PHP, I´ve been trying to make an easy program: My first Script on PHP When I try to run the program from the Internet explorer, it doesn´t show "Hello World", just display "My first script on PHP". I belive that PHP is not

[PHP-WIN] Adding modules

2001-05-16 Thread Michael Kelley
Query, I was told by one of our sys admins that with PHP when/if want to add a module to our PHP setup on a UNIX machine that PHP needs to be recompiled with the new module (no big deal but a maintenance hassle) How would I add a module on my W32 system? I'm running an apache server with PHP &

[PHP-WIN] Canceling a Query

2001-05-16 Thread Brinkman, Theodore
I'm working on an application for work where users will be querying the database to get information back about processed documents. I'm trying to set up a way for a user to cancel a query which is taking too long. I'm using MS SQL Server 2000. The interface for the cancel is easy enough, a form

Re: [PHP-WIN] can't load informix extension. please help.

2001-05-16 Thread Paul Gardiner
Hi, I take it the php_ifx.dll file is actually in the correct php4 directory? I'm not 100% sure which version of php4 came with(if any of them) this file. You may have to search for it on the net. I do remember seeing it somewhere. If you do have the file, have you placed the extension=php_ifx.d

[PHP-WIN] perl dbi

2001-05-16 Thread Dickerson, Monty
Tim Bunce, author of the Perl DBI, shares your reasoning. In the spirit of perl (there's more than one way to do things), he offered both a virtualized error message system (ODBC-like) and also the proprietary DB's error numbers and messages. Of course, people used the proprietary error numbers

[PHP-WIN] Help!

2001-05-16 Thread Yessbell Carranza
Py php programs do not run, when I try to run them from the Internet explorer, nothing happen. what´s up, what can I do? I have installed Nt 4.0 Server on my machine with IIS. THank you. Yessbell Carranza SISTEMAS ORION -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-m

Re: [PHP-WIN] Testing php in Win2000?

2001-05-16 Thread John Lim
You need to install IIS on windows 2000, and then install the PHP executables from php.net. If you are using windows 2000, IIS is probably preinstalled. Look for a wwwroot directory on your hard disk. Regards, John "Geoff" <[EMAIL PROTECTED]> wrote in message 9dpbks$qgs$[EMAIL PROTECTED]">news:9

php-windows Digest 16 May 2001 15:13:49 -0000 Issue 601

2001-05-16 Thread php-windows-digest-help
php-windows Digest 16 May 2001 15:13:49 - Issue 601 Topics (messages 7597 through 7613): Re: *.ini 7597 by: jtjohnston 7598 by: jtjohnston Re: mssql_connect 7599 by: Carlos Andre Marques Moreira 7603 by: Svensson, B.A.T. crypt 7600 by: Ivan Pavlovic

Re: [PHP-WIN] the /php/pear/DB abstraction

2001-05-16 Thread John Lim
Hello Monty, As an author of a database class library (http://php.weblogs.com/adodb) I can understand the need for good error messages. I decided in adodb to avoid using virtualised error messages because of this issue. It's more important to give good error messages than attempting to map to a

[PHP-WIN] can't load informix extension. please help.

2001-05-16 Thread cjrivas
I give up! :-( I've been trying lots of hours to get the php_ifx.dll to load. I don't know what's wrong! I installed and configured Informix CLI and ESQL/C 7.2 On my Windows 95 machine. and I have lots of environment variables set ( informixdir, informixserver, ld_library_path)... I still get

Re: [PHP-WIN] Web Host

2001-05-16 Thread afan
I use http://www.cqhost.com and http://www.1stconnection.net and I don't have any problems. Afan Pasalic - Original Message - From: "Manesh Manickam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, May 16, 2001 5:49 AM Subject: [PHP-WIN] Web Host > I n

Re: [PHP-WIN] Host ceased service

2001-05-16 Thread OoCobra97
PHP and MySQL run should run fine on the win2k server, I have been running it as the cgi version for almost 2 months now with no problems...It could be that your host has it installed as the ISAPI module, and thats why they have problems with it (as mentioned in another e-mail) or its possible

[PHP-WIN] Re: [PHP] Web Host

2001-05-16 Thread John Monfort
We offer hosting with PHP,MySQL, and SMTP. www.pepiedesigns.com __John Monfort_ _+---+_ P E P I E D E S I G N S www.pepiedesigns.com "The world is waiting, are you ready?" -+___+- On Wed, 1

Re: [PHP-WIN] Host ceased service

2001-05-16 Thread Ashley, Noah & Ireland Kelley
Also I just got these postings from another list on PHP.net free php/mysql hosting 52974 by: Christian Dechery 52977 by: Philip Olson They are under the PHP General list. (To figure more out about your service problem we need more information) MyPHP/Apache/mySQL w2K works fine.

[PHP-WIN] Web Host

2001-05-16 Thread Manesh Manickam
I need a web host with myslq and PHP. Also i would be good if it have a STMP server to! Please just reply to there posts! -- 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 administr

Re: [PHP-WIN] Host ceased service

2001-05-16 Thread Phil Driscoll
On Wednesday 16 May 2001 12:33, Jos Len Serna wrote: > My question is: > Does PHP/MySQL works well under Windows 2000 Server? I don't use W2K but it certainly works extremely well under NT4. Possibly your host was using the ISAPI PHP module, in which case you can tell them to change to the CGI v

RE: [PHP-WIN] subdomains in Apache

2001-05-16 Thread Matt Williams
Hi > Hi there > Can anyone tell me how to set up subdomains in apache, and get > virtual hosts to work, from remote computers to the localhost. > The virtual hosts work only locally. I guess there has to be some > sort of DNServer running on my com as well. Anyone know how to do > it on a

[PHP-WIN] subdomains in Apache

2001-05-16 Thread PHPWIN
Hi there Can anyone tell me how to set up subdomains in apache, and get virtual hosts to work, from remote computers to the localhost. The virtual hosts work only locally. I guess there has to be some sort of DNServer running on my com as well. Anyone know how to do it on a win98? Cheers X

RE: [PHP-WIN] mssql_connect

2001-05-16 Thread Svensson, B.A.T.
>Any ideias? Am I missing simething? >Think it'll be better to change to iis, so i'll get things >working quickly. When I comes to network related problem, and while the fault has not been narrowed down to a specific program(topic), then it can be virtual anything that causes the problem. It is

[PHP-WIN] Host ceased service

2001-05-16 Thread José León Serna
Hello: I have contracted a web, hosted in a W2K Server, they didn't support PHP/MySQL until I asked for it, so they installed PHP and MySQL and everything worked fine, but after 2 months, they have said me PHP and MySQL are giving problems, so they "invite me" to leave or not to use PHP/MySQL.

RE: [PHP-WIN] Running System Commands on NT, how do i gain a persistent connection with the prompt?

2001-05-16 Thread Svensson, B.A.T.
>some nobody at localhost, if I could make php/apache run as a specific user >with all their permission etc, that would be great and i wouldnt need a >persisnt prompt...any help out there? Why would one need php/apache to run as a specific user? Being able to change the user id of those processes

[PHP-WIN] crypt

2001-05-16 Thread Ivan Pavlovic
It seems that the crypt( ) work fine with version 4.0.3., but in 4.0.5. and 4.0.6 versions wont work. Do I need the php_crypt.dll and where I can find it. The error in browser is Warning: crypt() is not supported in this PHP build in The code is $proba = crypt($newpass, $oldpass);

RE: [PHP-WIN] mssql_connect

2001-05-16 Thread Carlos Andre Marques Moreira
Hi, now i have the following configuration: server1.domain.com -> winnt + apache + php4.0.4 server2.domain.com -> winnt + ms sql server 7.0 server3.domain.com -> windows 2000 + iis 5 + php3.0.15 + ms sql server 7.0 server4.domain.com -> win98 + omnihttpd2.08 + php4.0.4 I have a file teste.php tha