[PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Egil Helland
For some reason, after I upgraded to 4.1.1, I am not able to connect to MySQL DB sources anymore. AFAIK I have set up the ini file like I should, there are no differences in the IIS config since the 4.0.5 version I have been running here was installed. Anyone familiar with this? I have seen

php-windows Digest 1 Mar 2002 10:14:02 -0000 Issue 1023

2002-03-01 Thread php-windows-digest-help
php-windows Digest 1 Mar 2002 10:14:02 - Issue 1023 Topics (messages 12339 through 12367): Re: Beginner's Teething Problems 12339 by: Russell Griechen Binaries of 4.1.2 12340 by: Flint Doungchak Re: Compiled 4.1.2 version 12341 by: Christoph Grottolo 12354

RE: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Matt Hillebrand
I had a similar problem. One day, all of a sudden, I couldn't use my mysql functions unless I omitted the db link identifier. Function calls like: mysql_query($sql, $conn) will not work for me unless I omit $conn, letting the functions assume the last connection made to the db:

Re: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Pac mon
Well i'd suggest triple checking that mysqld is running. Uh.. try putting: $link = mysql_connect() or die(); Just small things, but maybe it'll work.. other than that... No.. i've never had a problem with mysql, but then again i'm running apache..not IIS. Original Message

Re: [PHP-WIN] sendmail for windows

2002-03-01 Thread DL Neil
Scott, Come to think of it I have MS SMTP service from the IIS install, I wonder if you install that, then point it to your ISP if that would work. The answer is a definite maybe! It is a topic that comes up on the list from time-to-time. Some claim to have made it work. The overwhelming

Re: [PHP-WIN] sending mail with mail()

2002-03-01 Thread DL Neil
Hi Aris, Still have questions, but at least you have a solution! Ok last thing i disocverd about this problem was that I was not only unable to do mail() from PHP but any other socket connection was not succesiful. It worked fine when i start php.exe in shell (command line) but the same

RE: [PHP-WIN] sending mail with mail(), Post Cast Server

2002-03-01 Thread Matt Hillebrand
Everyone with mail() problems should consider www.postcastserver.com. It's free SMTP server software that works quite well. Just don't forget to disable IIS' smtp server. Matt Hillebrand Web Developer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message- From: DL Neil

Re: [PHP-WIN] sending mail with mail(), Post Cast Server

2002-03-01 Thread DL Neil
Matt, Everyone with mail() problems should consider www.postcastserver.com. It's free SMTP server software that works quite well. Just don't forget to disable IIS' smtp server. Have made a note of the product for future reference. Thanks. From another current conversation on PHP-email: (my

RE: [PHP-WIN] sending mail with mail(), Post Cast Server

2002-03-01 Thread Matt Hillebrand
I've found that PHP/UNIX is better than PHP/Windows in every way, including the use of mail() with sendmail. I had enormous problems with mail() in Windows. Post Cast Server fixed all that. Matt Hillebrand Web Developer [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] -Original Message-

Re: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Egil Helland
I actully use the $link = part, I just did not include it below. The MySQL daemon is there allright, I am hooked up to it now in fact, but php is not able to do the same! This is no problem with IIS, this is pure php + mysql, that I am pretty sure of. I have seen loads of others with similar

Re: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Egil Helland
Just another little note here: I have tried every version from 4.0.4 pl1 and upwards. The only version I get to work i 4.0.4 pl1. This also includes the latest development version (4.3.0-dev) available. Whatever happened after the 4.0.4 release? I can switch back to this release, and everything

Re: [PHP-WIN] [N-PHP-R] Help with MySQL

2002-03-01 Thread Nicole Amashta
OK, I figured it out: if I do a show index from ftp, it will tell me all the indexes on that table. I dropped the index that was against that field and voila! No more unique constraint. :) Thanks guys! Nix0r www.aeontrek.com B.A.T. Svensson [EMAIL PROTECTED] wrote in message

Re: [PHP-WIN] [N-PHP-R] Help with MySQL

2002-03-01 Thread Nicole Amashta
Oh yeah, and to drop the index, I just did this: alter table ftp drop index username I don't ever remember making an index called username, but perhaps I did. Either way, it was a unique index against the login. I don't want to have unique logins because this table holds info about ftp from

[PHP-WIN] Re: [N-PHP-R] Help with MySQL

2002-03-01 Thread Nicole Amashta
OK, none is right here. I had already tried the alter and change and modify before I even attempted to ask on this list. say i have this table: create table ftp(id int not null auto_increment primary key, accountnbr varchar(30), login varchar(30) unique, password varchar(20), createdate

[PHP-WIN] any comment?

2002-03-01 Thread Afan Pasalic
Flaws found in PHP scripting language http://zdnet.com.com/2100-1105-847252.html Any comment? Afan

RE: [PHP-WIN] any comment?

2002-03-01 Thread Erik H. Mathy
Comment? On what? There's a security flaw. Get the latest version. It's fixed. - Erik -Original Message- From: Afan Pasalic [mailto:[EMAIL PROTECTED]] Sent: Friday, March 01, 2002 9:22 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] any comment? Flaws found in PHP scripting language

[PHP-WIN] Re: Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Nicole Amashta
This may sound silly, but, make sure MySQL is running and that you can connect from the command prompt. ? Other than that, I dont know because I am still using 4.0.6. Good luck with it, and post back when you figure it out! I'd like to know. Nix www.aeontrek.com Egil Helland [EMAIL PROTECTED]

[PHP-WIN] Re: any comment?

2002-03-01 Thread Nicole Amashta
From that article: snip While PHP can be installed on other Web site software, the flaws only affect those Web servers running on top of the Linux or Solaris operating systems, according to an advisory released by German security and Internet software company e-Matters. In the past, Microsoft's

Re: [PHP-WIN] Cannot connect to MySQL with PHP 4.1.1

2002-03-01 Thread Nicole Amashta
Are you sure you are using a complete new install of PHP? Remove all old php files ( dlls, ini, etc) and install completely fresh to make sure you are using all the versions that go with the version of PHP you are wanting to use (eg. 4.1.1). Nix www.aeontrek.com Egil Helland [EMAIL PROTECTED]

[PHP-WIN] [Security] PHP Exploit - Please Check Yourself

2002-03-01 Thread Thomas Davis
You may have seen this already, but as Security is mainly an issue of reputation, and I like PHP, I don't want to hear about anyone actually being effected by this. Please read the entire advisory, it isn't very long. Many on this list are not effected but some with older installations may be.

[PHP-WIN] configure PSPELL help please!!

2002-03-01 Thread MG Langford
I'm trying to configure PHP on WINDOWS , with PSPELL support - on UNIX i would type ./configure--with-pspell[DIR] but on windows of course this isn't possible. Can anybody help with with how to configure properly: maybe i can just add some lines to my php.ini file? Any help greatly appreciated.

[PHP-WIN] How can PHP receive and display data from a silent POST?

2002-03-01 Thread Afan Pasalic
Hi, How can PHP receive and display data from a silent POST? Payflow Link, sends back to a URL a silent POST with $ECHODATA. Does anyone know how to show this on a page? Thanks. Afan

[PHP-WIN] COM Methods and Attributes

2002-03-01 Thread Vail, Warren
PHP is great at looking up requested methods and attributes for a COM object, if you have documentation and know the name used. Is there any way to use php to produce a list of methods and attributes for an invoked object (say IMAP.session)? Warren Vail Tools, Metrics Quality Processes 215

[PHP-WIN] 'popen' command under WinXP

2002-03-01 Thread Chris Haidvogel
I am currently trying to get some php code working that was originially written to run under UNIX. I have a problem though. The function 'popen' doesn't seem to want to work. Here is the code snipet: $command = $CVS-conf['paths']['rcsdiff'] . $options -r$rev1 -r$rev2 '$fullName' 21; if

RE: [PHP-WIN] How can PHP receive and display data from a silent POST?

2002-03-01 Thread Collins, Robert
if you are referring to something like a form post you can check the array $HTTP_POST_VARS Robert W. Collins II Webmaster New Orleans Regional Transit Authority Phone : (504) 248-3826 Email : [EMAIL PROTECTED] -Original Message- From: Afan Pasalic [mailto:[EMAIL PROTECTED]] Sent:

[PHP-WIN] Re: How can PHP receive and display data from a silent POST?

2002-03-01 Thread Nicole Amashta
What is Payflow link? Is this a windows app or something? I know in Java, you can send Get Post info. Other than that, I'm not fully understanding your question. Nix www.aeontrek.com Afan Pasalic [EMAIL PROTECTED] wrote in message

[PHP-WIN] error query

2002-03-01 Thread Mark Sweeney
Sorry to bother, but I am having a severe problem with this (probably stupidly) flawed code. It is part of a script to call descriptions for images along with their filenames from a mysql database. trouble is, it doesnt work, and it claims that I have a syntax error near LIMIT 10 The code is

php-windows Digest 1 Mar 2002 23:18:37 -0000 Issue 1024

2002-03-01 Thread php-windows-digest-help
php-windows Digest 1 Mar 2002 23:18:37 - Issue 1024 Topics (messages 12368 through 12393): Re: Cannot connect to MySQL with PHP 4.1.1 12368 by: Matt Hillebrand 12369 by: Pac mon 12375 by: Egil Helland 12376 by: Egil Helland 12382 by: Nicole Amashta

[PHP-WIN] R: [PHP-WIN] error query

2002-03-01 Thread Darvin Andrioli
Hi Mark, what is the value of $MID? Have it the table name or any other unespected value? Cheers Darvin -Messaggio originale- Da: Mark Sweeney [mailto:[EMAIL PROTECTED]] Inviato: sabato 2 marzo 2002 0.17 A: [EMAIL PROTECTED] Oggetto: [PHP-WIN] error query Sorry to bother, but I

Re: [PHP-WIN] any comment?

2002-03-01 Thread John Meyer
Patch done, end of story. - Original Message - From: Afan Pasalic [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 01, 2002 8:21 AM Subject: [PHP-WIN] any comment? Flaws found in PHP scripting language http://zdnet.com.com/2100-1105-847252.html Any comment? Afan --

RE: [PHP-WIN] any comment?

2002-03-01 Thread Shrock, Court
re: open source and php--I agree with John re: the article--It is a rather obvious attempt to take pressure off of Microsoft. The paragraph: In the past, Microsoft's Internet Information Server has had a slew of problems with flaws in its components that allowed hackers and worms to break in.