Re: [PHP-WIN] Apache 2 and PHP

2002-04-10 Thread Rasmus Lerdorf
Well, you are extremely lucky if you have the Apache module version of PHP working with Apache 2. It has been hit and miss version-wise for a while. It will be solidified in a future version. Perhaps 4.2, but probably not stable until 4.3. -Rasmus On Wed, 10 Apr 2002, Helphand wrote: > At 06:

Re: [PHP-WIN] Apache 2 and PHP

2002-04-10 Thread Helphand
At 06:50 PM 4/10/02 -0700, Rasmus Lerdorf wrote: >There is no Apache2 support for PHP yet. Coming in a future version. That can't be right, I'm running Apache2 with PHP right now. Scott -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP-WIN] Apache 2 and PHP

2002-04-10 Thread Helphand
At 09:51 PM 4/10/02 -0500, Gaylen Fraley wrote: >When trying to set up PHP with Apache 2, the following error occurs: > >Syntax error on line 175 of /Apache2/conf/httpd.conf: >Cannot load /php/sapi/php4apache.dll into server: One of the library files >nee >ded to run this application cannot be fo

Re: [PHP-WIN] Tired of fighting - function doesn't exist !!

2002-04-10 Thread Rasmus Lerdorf
First of all, why not just use fsockopen() if all you need to do is connect to a simple tcp socket and send a string? Second, there is no socket() function. Please read the fine manual: http://www.php.net/manual/en/ref.sockets.php -Rasmus On Wed, 10 Apr 2002, Quique wrote: > Sorry 4 long pos

Re: [PHP-WIN] Apache 2 and PHP

2002-04-10 Thread Rasmus Lerdorf
There is no Apache2 support for PHP yet. Coming in a future version. -Rasmus On Wed, 10 Apr 2002, Gaylen Fraley wrote: > When trying to set up PHP with Apache 2, the following error occurs: > > Syntax error on line 175 of /Apache2/conf/httpd.conf: > Cannot load /php/sapi/php4apache.dll into s

[PHP-WIN] Apache 2 and PHP

2002-04-10 Thread Gaylen Fraley
When trying to set up PHP with Apache 2, the following error occurs: Syntax error on line 175 of /Apache2/conf/httpd.conf: Cannot load /php/sapi/php4apache.dll into server: One of the library files nee ded to run this application cannot be found. How do I find what is missing? It works under A

php-windows Digest 11 Apr 2002 02:31:46 -0000 Issue 1087

2002-04-10 Thread php-windows-digest-help
php-windows Digest 11 Apr 2002 02:31:46 - Issue 1087 Topics (messages 13001 through 13014): Re: Uploading large Files on IIS5 13001 by: Fabian Deutsch 13003 by: Alexander Barisic 13004 by: Alexander Barisic 13008 by: Fabian Deutsch 13010 by: Christoph

[PHP-WIN] Tired of fighting - function doesn't exist !!

2002-04-10 Thread Quique
Sorry 4 long post (necessary) - Hi. I decided to post this msg coz i'm almost tired of "fighting" with php... I begun some time ago looking in php anything that would allow me to make a connection to another host. Then i discovered in the PHP's manual ( Spanish CHM

RE: [PHP-WIN] checking for characters -- preg_match()

2002-04-10 Thread Matt Hillebrand
ereg() sucks. It's difficult to read AND write. I wish MySQL supported PCREs and not just POSIX regular expressions. I just wrote this preg_match() email validator (haven't really tested it): function isValidEmail($email) { if(preg_match("/[\w\.\-]+@\w+[\w\.\-]*?\.\w{1,4}/", $email))

[PHP-WIN] PHP and Windows (newbie!!)

2002-04-10 Thread Tiago Simões
Hello everybody! I'm just entering the wonderful world of PHP and i already have a doubt. I installed the apache server on my Windows ME :-p, to use for local tests. I have to acess it manually (meaning i have to click the apache startup everytime i want to do something...). Anyway i proceded to

[PHP-WIN] Apache 2.0.35

2002-04-10 Thread Chris Dion
Now that there is a binary out for apache 2 for windows...are we going to get a binary for php for apache 2? Anyone know? Or how I can manage to compile php for apache2? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Uploading large Files on IIS5

2002-04-10 Thread Christoph Grottolo
We have the same problem with HTTP uploads via POST but also with WebDAV uploads on IIS 5 with ISA. Did you have a look at http://support.microsoft.com/default.aspx?scid=kb;EN-US;q260649? Maybe it's the same thing... Christoph "Alexander Barisic" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL

RE: [PHP-WIN] Another Newbie Question

2002-04-10 Thread Robin Bolton
Most likely the user that you're logging in as (ie no username or password specified) doesn't have permission to open the database in question. Best way to test it out is *temporarily* put your root username and password into your mysql_connect function call. If you can access the database it's a

[PHP-WIN] Re: Uploading large Files on IIS5

2002-04-10 Thread Fabian Deutsch
Maybe the upload takes longer than 30secs and the iis sends a timeout!? "Fabian Deutsch" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hallo, > in der php.ini gibt es den eintrag "upload_max_filesize = 2M" der vielleicht > zu klein eingestellt? > > mfg

RE: [PHP-WIN] Another Newbie Question

2002-04-10 Thread Shrock, Court
Are you sure that the database server is called 'nik'.if the same system is both your web server and database server, I would recommend replacing 'nik' with 'localhost'. I am thinking that your mysql_connect() should be as follows: mysql_connect('localhost', 'nik', ''); //connect to localhos

[PHP-WIN] Newbie to php

2002-04-10 Thread Nik Alleyne
Good evening everyone, I am new (very new) to php. I was doing some research on the net and learn of this packaged and after reading just a couple of pages, i figure i should learn this instead of ASP. It looks so easy. Anyhow here is my problem. I am trying to connect to the database (MySQL) how

Re: [PHP-WIN] Another Newbie Question

2002-04-10 Thread Mike Flynn
I recommend using mysql_error() to see what the problem is. I/e: mysql_connect('nik', '', '') or die('Could not connect: '.mysql_error()); mysql_select_db_('guestbook') or die('Could not select: '.mysql_error()); Something like that.. At 12:56 PM 4/10/02 -0300, Nik Alleyne wrote: >Good e

[PHP-WIN] Re: Uploading large Files on IIS5

2002-04-10 Thread Alexander Barisic
All values concerning file uploads in php.ini are set to 2 MB or more. But the problem appears starting with files that are 120k... Alex "Fabian Deutsch" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hallo, > in der php.ini gibt es den eintrag "upload_

[PHP-WIN] Re: Uploading large Files on IIS5

2002-04-10 Thread Alexander Barisic
Sorry for posting in german - seems like I was a bit confused. So here you are in english : I'm having trouble with an HTML page handling file uploads via POST on an IIS5. If I open the page locally on the server it is working just fine. If I call the page from a workstation in our LAN it works

[PHP-WIN] Another Newbie Question

2002-04-10 Thread Nik Alleyne
Good evening everyone, I am new (very new) to php. I was doing some research on the net and learn of this packaged and after reading just a couple of pages, i figure i should learn this instead of ASP. It looks so easy. Anyhow here is my problem. I am trying to connect to the database (MySQL) how

[PHP-WIN] Re: Uploading large Files on IIS5

2002-04-10 Thread Fabian Deutsch
Hallo, in der php.ini gibt es den eintrag "upload_max_filesize = 2M" der vielleicht zu klein eingestellt? mfg fabian deutsch "Alexander Barisic" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Habe ein Riesenproblem: > Betreibe einen IIS5 und habe eine

php-windows Digest 10 Apr 2002 13:57:13 -0000 Issue 1086

2002-04-10 Thread php-windows-digest-help
php-windows Digest 10 Apr 2002 13:57:13 - Issue 1086 Topics (messages 12990 through 13000): checking for characters 12990 by: brother 12991 by: Egil Helland 12992 by: Matt Hillebrand 12993 by: Ross Fleming 12994 by: Ross Fleming 12995 by: Matt

RE: [PHP-WIN] Re: Session information not stored in php 4.1.2

2002-04-10 Thread Lee, Ford
4.1.1 works perfectly well but when they introduced 4.1.2, there was a bug that was introduced also. -Original Message- From: Martin Kemp [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 5:24 AM To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] Re: Session information not stored in p

RE: [PHP-WIN] Re: Session information not stored in php 4.1.2

2002-04-10 Thread Martin Kemp
Thanks for that - I'd found mention of the problem on google groups yesterday, but they didn't include a resolution. I'll try it tonight and report my results. BTW: For the record, my mention of 4.0.6 was incorrect - it was actually 4.1.1 that it worked with $_SESSION without the need for session

RE: [PHP-WIN] checking for characters

2002-04-10 Thread Svensson, B.A.T. (HKG)
> Don't forget about the new .name, and I thought I might mention that > preg()/PCREs would be the way to go if you're trying to make your code > readable. That's why we have the remark statement (e.g. to make unclear code more readable). It is always a good habit to frequently comment your code

RE: [PHP-WIN] checking for characters

2002-04-10 Thread Ross Fleming
what's wrong with ereg and care to give perl related code?... -Original Message- From: Matt Hillebrand [mailto:[EMAIL PROTECTED]] Sent: 10 April 2002 01:53 To: [EMAIL PROTECTED]; 'Egil Helland'; 'brother' Cc: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] checking for characters Don't forget

[PHP-WIN] Uploading large Files on IIS5

2002-04-10 Thread Alexander Barisic
Habe ein Riesenproblem: Betreibe einen IIS5 und habe eine HTML-Seite gebaut mit der man Fileuploads per POST auf den Server ausführen kann. Rufe ich die Seite lokal vom Server selbst aus ab kann ich problemlos auch grosse Dateien hochladen. Nutze ich die Seite über unser lokales Netz kann ich Dat