[PHP] Login to account

2002-02-26 Thread Ben Clumeck

I am trying to create website similar to ones that credit card companies use
to provide their clients with transaction history of their credit cards.
What I have seen is that they uses template pages and call the results from
a database.  When going to the different template pages would the variables
carryover from the login page to the subsequent pages or how would that
work?  Would MySQL be powerful enough to support something like this?
Please give me your thoughts.

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] E-mail Spyder Software

2002-02-21 Thread Ben Clumeck

I know this is not a PHP question but would really appreciate comments
regarding experiences with the software E-mail Spyder or any other
experiences with other software.

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Empty form

2002-02-15 Thread Ben Clumeck

I am trying to have my form redirect back to my form, if the 'name' field is
not filled in or the submit button is not pushed.  Can someone tell me what
my problem is with the script below that I have in my header:

?
if(!isset($name)||($HTTP_POST_VARS[submit]))
{
header(Location: form.htm);
}
?

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Webhosts

2002-02-13 Thread Ben Clumeck

I have found 2 webhosts that provide PHP and MySQL:

www.aletiahosting.com
www.rackspace.net

Does anybody have experience with either one (good or bad)?  Or does anyone
use a good low price host?

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: [PHP] MySQL Install Problem

2002-02-07 Thread Ben Clumeck

Dave,

I tried it and got the following message:

Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.

C:\DOCUME~1\BENcd c:\mysql\bin

C:\MYSQL\BINmysqld --standalone
'MYSQLD' is not recognized as an internal or external command,
operable program or batch file.

Any suggestions?

Ben

-Original Message-
From: Dave Barry [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 07, 2002 12:05 AM
To: Ben Clumeck
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] MySQL Install Problem


On 20 0, Ben Clumeck [EMAIL PROTECTED] wrote:
 I am trying to install MySQL on WinXP, I get the following error message:

 Microsoft(R) Windows DOS
 (C)Copyright Microsoft Corp 1990-2001.

 C:\DOCUME~1\BENcd c:\mysql\bin

 C:\MYSQL\BINmysqld--standalone
 'MYSQLD--STANDALONE' is not recognized as an internal or external command,
 operable program or batch file.

try 'mysqld --standalone' (note the space)
it appears that you are not actually starting mysqld


--
*-*-*-*-*-*-*-*-*-*
So It Goes
*-*-*-*-*-*-*-*-*-*


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Differences between PHP, ASP, JSP

2002-02-06 Thread Ben Clumeck

I know there must be a tone of articles on the subject.  Can anyone give me
brief advantages and disadvantages between the 3 languages.  Is there
something that one language specifically does that another doesn't?

Could PHP be used for online banking?  Usually banks use JSP or ASP, why
don't banks use PHP?  Is there security issues?

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] MySQL Install Problem

2002-02-06 Thread Ben Clumeck

I am trying to install MySQL on WinXP, I get the following error message:

Microsoft(R) Windows DOS
(C)Copyright Microsoft Corp 1990-2001.

C:\DOCUME~1\BENcd c:\mysql\bin

C:\MYSQL\BINmysqld--standalone
'MYSQLD--STANDALONE' is not recognized as an internal or external command,
operable program or batch file.

C:\MYSQL\BINmysqladmin create testDB
MYSQLADMIN: connect to server at 'localhost' failed
error: 'Can't connect to MySQL server on 'localhost' (10061)'
Check that mysqld is running on localhost and that the port is 3306.
You can check this by doing 'telnet localhost 3306'

Can anyone help?  Please. 

Thanks, 

Ben

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] PHP4.0 Apache with WinXP

2002-01-30 Thread Ben Clumeck

I am trying to install Apache and PHP4.0 on WinXP.  Does anyone know of any
conflicts?

Thanks, Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Sending an e-mail to 1,000 people

2002-01-29 Thread Ben Clumeck

I would like to send an e-mail (the same e-mail) to 1,000 different people.
I want each persons name to be in the To: field.  Is there a way to
customize it to where it can say Dear (having a different persons name
corresponding to an e-mail address) so that it looks customized.

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Installing Apache on WinXP

2002-01-29 Thread Ben Clumeck

Does anyone know of any conflicts or problems?  I am installing it and went
to the conf file and changed the setting to localhost.  But it says that
there is an Error 1067.  Any help would be greatly appreciated.

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] MySQL Newbie

2002-01-28 Thread Ben Clumeck

How do I use MySQL through the web.  I currently have MySQL running on my
personal PC on WinXP.  I use a command prompt to add tables, add records,
and so forth.  How do I create tables and records when my database is on the
web?

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Authentication Question

2002-01-13 Thread Ben Clumeck

I am new to MySQL and PHP.  I am wondering how Authentication through PHP
and MySQL.  How does a username and password now where to take that user?
An example is online banking.  You enter your account number for (username)
and your password.  How does it know where to go for your specific account?
I am looking to create a system similar to online banking.  I appreciate
your help.

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Newbie - PHP MySQL

2002-01-10 Thread Ben Clumeck

When using MySQL to Authenticate users for a specific directory (i.e.
www.mysite.com/user) how would it know to go to that directory (/user).
How would it know to not let someone access a file directory in that
directory (i.e. www.mysite.com/user/page2.php)?  If I am using MySQL to
query a row in a table can how would it know to only let a specific user(s)
have access to the information?

Any help you can give me would be greatly appreciated.

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Mailling Lists

2001-12-26 Thread Ben Clumeck

I am creating a mail list and need something that does not require MySQL or
any other databases  is there a good one?  What is the best one even if it's
with MySQL?

Thanks,
Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Emailing attachments upload to a form

2001-12-11 Thread Ben Clumeck

When I use the script to upload an attachment to my form it does not email
the attachment.  I am using the mail() function to email the results of the
form to me. Is there any other code I need to put in my mail() function to
make this work, if so where would I put it?

I am currently using the following code:
?
mail ([EMAIL PROTECTED], Form Results, Name: $name\nMessage:
$message\nAttachment: $attachment, From: $fromemail);
?

Thanks,

Ben

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] E-mail Uploaded File

2001-12-11 Thread Ben Clumeck

Is there a short easy mail script that can take an uploaded file from a form
and have it e-mailed to me?  Please let me know.

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Emailing attachments upload to a form

2001-12-10 Thread Ben Clumeck

When I use the script to upload an attachment to my form it does not email
the attachment.  I am using the mail() function to email the results of the
form to me. Is there any other code I need to put in my mail() function to
make this work, if so where would I put it?

I am currently using the following code:
?
mail ([EMAIL PROTECTED], Form Results, Name: $name\nMessage:
$message\nAttachment: $attachment, From: $fromemail);
?

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Forms and Results with PHP

2001-12-06 Thread Ben Clumeck

I have a form that a user can put his contact info.  This form posts to a
file called results.php.  The results.php file has a mail() command and the
echo (i.e. ? echo $name; ?)  to show the user confirmation of what he
has submitted.

However, if someone goes directly to results.php it will show Name: blank
and email blank information.  Is there a way for the page to post an error
stating no information was submitted or is there a way to enable the page to
process without information?

Thanks for the help,
Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Looking for help in making a Mulit Page Form

2001-12-05 Thread Ben Clumeck

How do I make a multi page form with the ability to attach a file.  The form
will be about 3 different pages and the last will be a place to attach the
file.  Then I results will be sent to me via email.

Please provide recommendations or any help!

Thanks,
Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Sending Form Result to File

2001-11-29 Thread Ben Clumeck

I am looking for a script to send my form results to a .txt file in CSV (to
import into Excel) format.  Does anyone have a simple code?

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] mail() function

2001-11-20 Thread Ben Clumeck

I am new to PHP.  I am trying to specify the email address in the From
field.  Right now it gives me my host name.  Can anyone help?

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] IP Address Converted to Computer Name

2001-11-19 Thread Ben Clumeck

I am trying to convert an ip address to a computer name.  Then I am putting
it into the mail() script.  However, when I do this it come up blank.  I am
putting $r_hostname in the mail() script.  Can anyone tell me why its not
working?  The script I am using is:
?
$r_hostname = gethostbyaddr($REMOTE_ADDR);
if ($REMOTE_ADDR == $r_hostname);
echo $r_hostname;
?

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Form results sent to file

2001-11-19 Thread Ben Clumeck

Does anybody have an easy script that send form results to a .txt file in
comma separated format.

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] IP Address Converted to Computer Name

2001-11-19 Thread Ben Clumeck

Thanks for your response David.  I am new to PHP.  Are you saying that the
code would look like this:
?
gethostname for $IPADDR;
if $HOSTNAME = $IPADDR
print $HOSTNAME
?
Would I then put the $HOSTNAME into my mail() script.  Sorry for the
trouble.

Ben

-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 19, 2001 4:29 PM
To: Ben Clumeck; [EMAIL PROTECTED]
Subject: Re: [PHP] IP Address Converted to Computer Name


On Tue, 20 Nov 2001 04:08, Ben Clumeck wrote:
 I am trying to convert an ip address to a computer name.  Then I am
 putting it into the mail() script.  However, when I do this it come up
 blank.  I am putting $r_hostname in the mail() script.  Can anyone tell
 me why its not working?  The script I am using is:
 ?
 $r_hostname = gethostbyaddr($REMOTE_ADDR);
 if ($REMOTE_ADDR == $r_hostname);
 echo $r_hostname;
 ?

 Thanks,

 Ben

Remember that not all IP adrresses will resolve to a hostname. That said,
there may be a flaw in your logic in the code snippet above :-)

What you are saying is:

gethostname for IPADDR;
if HOSTNAME = IPADDR
print HOSTNAME

which will only work if the resolved hostname is the same as the IP
address; I suspect that is not what you want?

--
David Robley  Techno-JoaT, Web Maintainer, Mail List Admin, etc
CENTRE FOR INJURY STUDIES  Flinders University, SOUTH AUSTRALIA

   Bald: follicularly challenged.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] IP Address Variable

2001-11-14 Thread Ben Clumeck

I currently log ip address that reach my site.   However, I want to be able
to log both the ip address and remote name.  Can anyone help?

Thanks,

Ben


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] IP Address Variable

2001-11-14 Thread Ben Clumeck

Jim,

Thanks for your quick response.  I looked over the URL and tried it but it
doesn't seem to work.

I tried:
?php

$name = gethostbyaddr($ip);
print ($ip is $name\n);
?

Any advice would be appreciated.

Ben

-Original Message-
From: Jim Lucas [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 14, 2001 2:57 PM
To: Ben Clumeck; [EMAIL PROTECTED]
Subject: Re: [PHP] IP Address Variable


check this out
http://www.php.net/manual/en/function.gethostbyaddr.php

jim
- Original Message -
From: Ben Clumeck [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 14, 2001 2:48 PM
Subject: [PHP] IP Address Variable


 I currently log ip address that reach my site.   However, I want to be
able
 to log both the ip address and remote name.  Can anyone help?

 Thanks,

 Ben


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Attaching a file to a form!

2001-10-28 Thread Ben Clumeck

I am trying to let a person attach a file to my form.  Can anyone help?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] New to PHP need a quick training program?

2001-10-25 Thread Ben Clumeck

I am new to PHP and have been experimenting with it for couple of weeks now.
I need to take a course that can make me very proficient in a short amount
of time.  I am in Orange County, CA.  Anywhere in Southern California would
be fine.

Please let me know suggestions.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] New to PHP need a quick training program?

2001-10-25 Thread Ben Clumeck

I am new to PHP and have been experimenting with it for couple of weeks now.
I need to take a course that can make me very proficient in a short amount
of time.  I am in Orange County, CA.  Anywhere in Southern California would
be fine.

Please let me know suggestions.



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]