[PHP-WIN] command line are -c doesn't work on win2k?

2002-01-17 Thread Jeff D. Hamann
I've been trying to figure out what was wrong with my script... from the command line, php mail_test.php and getting, X-Powered-By: PHP/4.0.6 Content-type: text/html attempting to deliver the mail Warning: Unknown error in mail_test.php on line 3 Then I found a solution at http://bugs.php

php-windows Digest 17 Jan 2002 21:40:11 -0000 Issue 957

2002-01-17 Thread php-windows-digest-help
php-windows Digest 17 Jan 2002 21:40:11 - Issue 957 Topics (messages 11483 through 11498): Problem with Win32 php4apache.dll 11483 by: Stevens, Julian C Re: Page not found 11484 by: Nicole Amashta 11485 by: Nicole Amashta Re: Copying a file across the network.

[PHP-WIN] Re: Editor

2002-01-17 Thread Brad Thomas
"Sanjuroe" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am looking for a light-weight editor which supports PHP tag > highlighting and indenting. > > Which editor do you recommend? > > Sanjuro > Edit Plus is good. (http://www.editplus.com) Brad -- PH

RE: [PHP-WIN] Re: PHP & MySQL problems, updating database..

2002-01-17 Thread Asendorf, John
or die ("Error Message"); - John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Nullum magnum ingenium sine mixtura dementiae fuit > -Original Message- > From: Nico

[PHP-WIN] Re: PHP & MySQL problems, updating database..

2002-01-17 Thread Nicole Amashta
You may want to add exit; where the failures occur to stop code "execution." > if ( $link = mysql_connect($host,$user,$pswd) ) > { > if( !mysql_select_db($db, $link) ) > { >echo "error selecting db"; exit; > } > } > else { > echo "error connecting to db"; exi; > } "Nicole Am

[PHP-WIN] Re: PHP & MySQL problems, updating database..

2002-01-17 Thread Nicole Amashta
... and if you verify that your connection to mysql is working, then check your query. Your update will update EVERY row in the user table. You may want to add the where clause and specify what rows to update ... like someone else mentioned .. otherwise, you will funkify your user data ... caref

[PHP-WIN] Re: PHP & MySQL problems, updating database..

2002-01-17 Thread Nicole Amashta
Please try this: if ( $link = mysql_connect($host,$user,$pswd) ) { if( !mysql_select_db($db, $link) ) { echo "error selecting db"; } } else { echo "error connecting to db"; } Nicole Amashta www.aeontrek.com "Hawk" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTEC

RE: [PHP-WIN] WAP

2002-01-17 Thread Ross Fleming
This is part of my final year project at university, so hopefully I'll be able to help you. Some pointers... 1. visit http://www.allnetdevices.com/faq/ for wml info 2. never assume the size of a WAP phone screen, no two are alike. 3. keep the pages TINY! WAP phones have very little memory, and d

[PHP-WIN] Copying a file across the network.

2002-01-17 Thread Grant Babb
>I've run across a rather difficult problem to solve. I'm at the point that >I don't care how the solution comes, so long as it works. I need to be able >to upload/copy a file (potentially as large as 1gig) from a user's machine >to this local network. [sorry for the less-than-detailed soluti

RE: [PHP-WIN] PHP & MySQL problems, updating database..

2002-01-17 Thread brother
> -Original Message- > From: Hawk [mailto:[EMAIL PROTECTED]] > > I might be missing some line or maybe it's just because I'm a > newbie or > something.. ;D > anyway.. I use something similiar to this > $query = "UPDATE users SET email='$email'"; // and so on.. > $result = mysql_query($qu

[PHP-WIN] PHP & MySQL problems, updating database..

2002-01-17 Thread Hawk
Having a problem with this, I have a working login that supports multiple users, and I'm trying to make it possible for the users to change their own settings etc, but I get killed when trying to send the data to the MySQL database. To connect I use mysql_connect($host,$user,$pswd) and mysql_selec

[PHP-WIN] WAP

2002-01-17 Thread LaserJetter
I was fiddling around with the Nokia WAP toolkit the other day and I've created a pretty little WAP site - just listing dates and it has a WBMP image as a welcome screen. Whilst looking for someone to host the site, I noticed a review for f2s which said "allows PHP to be combined with WML" That

[PHP-WIN] VBA to Word - Syntax Question

2002-01-17 Thread news.php.net
I'm working on a simple PHP spell check that uses Word as its engine. The whole thing works, but I want to close the temp document without being prompted to save the VBA to do this according to several VBA sites is: ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges I'm looking for the PHP syn

RE: [PHP-WIN] Re: Copying a file across the network.

2002-01-17 Thread Ryan Marrs
Unfortunately, the web server is running IIS. I should've been clear about that to begin with. The permissions issue is not too much of a problem, I could handle that, but unfortunately setting up the win98 share permissions will be a bit more difficult. This will be for users to "upload" (and

[PHP-WIN] Re: Copying a file across the network.

2002-01-17 Thread Nicole Amashta
I had this same issue last week .. and I got it working. However, there were no win98 boxes involved. All win2k here on the network involved. From an NT/win2k standpoint, you need to make sure the apache service is running with a network login (on the machine the apache is running on, of course).

[PHP-WIN] Re: Page not found

2002-01-17 Thread Nicole Amashta
Also be sure to set the web root path in your php.ini to wherever your htdocs is ... if with Apache. == "Titus Cheung" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello, > > I have installed both Apache and PHP on my computer in the followin

[PHP-WIN] Re: Page not found

2002-01-17 Thread Nicole Amashta
Did you add the proper lines to associate PHP with Apache in the httpd.conf file? AddType application .. blah blah, etc? There are about 3 lines you need to add to get PHP working with Apache. I wasn't sure if you had done this part or not. Nicole Amashta www.aeontrek.com - Original Messag

[PHP-WIN] Problem with Win32 php4apache.dll

2002-01-17 Thread Stevens, Julian C
I have been using a binary distribution of Apache 1.3.20 with PHP 4.1.1 on Windows NT for a little while now, but cannot get PHP to work as a load module. If I configure Apache to use PHP as a CGI executable it works fine, but I would like to use some of the features that only come with the mod