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 - 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.
"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
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
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
... 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
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
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
>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
> -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
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
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
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
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
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).
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
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
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
18 matches
Mail list logo