Re: [PHP] Sending a message

2011-08-04 Thread wil prim
lol wow ok thanks, Im very new to coding, started html about 2 months ago, so ty for letting me know the security of the language! is there any place where i can read (other than the php manual), about a tutorial on security?On Aug 04, 2011, at 10:49 PM, Negin Nickparsa wrote:it is better to use t

Re: [PHP] Sending a message

2011-08-04 Thread wil prim
I think Ill just use the better secured one, thanks!On Aug 04, 2011, at 10:41 PM, Negin Nickparsa wrote:or if you want to do this risky and none secure thing try this:$query="select * from members where user='"$_POST['user']."'and pass=password('$pas')"; well first you must check errors in mysql t

Re: [PHP] Sending a message

2011-08-04 Thread wil prim
otect your database from beiÿng hacked David Holmes twitter @mrstanfan owner of the exclusive StanFan.com Whats Your StanFan? -Original Message----- From: wil prim <wilp...@me.com> Date: Sat, 06 Aug 2011 04:49:32 To: PHP MAILINGLIST<php-general@lists.php.net>; Philly Holbroo

Re: [PHP] Sending a message

2011-08-04 Thread wil prim
This is the login.php which checks the form on the login page.session_start();include('connect.php');$user=$_POST['user'];$pass=$_POST['pass'];$sql="SELECT * FROM members WHERE username='$_POST[user]' and password='$_POST[pass]'";$result=mysql_query($sql, $con);$count=mysql_num_rows($result);if ($c

Re: [PHP] Sending a message

2011-08-04 Thread wil prim
Well my problem is when i click submit, the $_SESSION['user'] ('from' part of the table in my db) is blank, so im guessing the $_SESSION variable didnt pass through. On Aug 04, 2011, at 10:11 PM, Negin Nickparsa wrote:in previous pages you must have a login page and in login page you must store th

[PHP] Sending a message

2011-08-04 Thread wil prim
Ok so I have tried to create a sort of messaging system on my website and I have run into some problems storing who the message is from, ill try to take you through step by step what I am trying to do.step #1 (messages.php): <--This is where the member will view the recent messages that have been p

[PHP] saving sessions

2011-08-04 Thread wil prim
Hello, im new to the whole storing sessions thing and I really dont know how to ask this question, but here it goes.  So on my site when someone logs in the login.php file checks for a the username and password in the table i created, then if it finds a match it will store a $_SESSION [] variable.

[PHP] Form Already Filled Out

2011-08-03 Thread wil prim
Hello, S i created a simple login system, and I am using sessions  Everything seems to work fine, however; when I upload my files to my server and type my domain name my index.php page comes up and the form is automatically filled out with a username and password. How do i make it empty when I

[PHP] Membership site

2011-07-27 Thread wil prim
Hello, I am just starting out with PHP and I have just created a database named "Members" with a table named "Persons". There are 5 fields (id,firstname, lastname, username, password) . The form I created is a sign up form and the values entered into the form are inserted into the table "Persons

Re: [PHP] Using PHP to get user input via checkbox through a data base

2005-07-27 Thread Wil Hitchman
Thank you Jim...this is helpful. I will try this when I get home. Wil - Original Message - From: "Jim Moseby" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 26, 2005 4:03 PM Subject: RE: [PHP] Using PHP to get user input via checkbox through a data base Hello e

[PHP] Using PHP to get user input via checkbox through a database

2005-07-26 Thread Wil Hitchman
Hello everyone, What I want to do is have a form (which is already created) where the user selects (via checkbox) on an item or group of items (almost like a shopping cart). These items are stored in a MySql database and the program was written in PHP. So far I have created an insert form th

Re: [PHP] SOLVEDphp Full Page Calendar not date picker

2005-04-29 Thread Wil Hitchman
Well you could have shared that script with us. I am actually looking for the same thing. Thanks, Wil - Original Message - From: "Angelo Zanetti" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "PHP List" Sent: Friday, April 29, 2005 5:25 AM Subjec

Re: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems

2005-02-09 Thread Wil Hitchman
I definetly amIRRITATING! - Original Message - From: "Mikey" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 09, 2005 6:10 AM Subject: RE: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems [snip] Hope everybody else is sending this guy read receipts? -- PHP General Maili

[PHP] Control Structures

2005-02-06 Thread Wil
se, your monthly dues amount will be $ ", round ($salary *.0085 * 52 / 12,2); else echo ("You pay the maximum monthly dues of $70"); } ?> I am still a newbie so any help with this code will be great... Thanks, Wil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Php error with MySql

2005-01-07 Thread Wil Hitchman
Apologies...just have had loose fingers - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Wil" <[EMAIL PROTECTED]>; Sent: Thursday, January 06, 2005 3:31 PM Subject: RE: [PHP] Php error with MySql [snip] ...stuff... Wil [/snip] I

[PHP] Php error with MySql

2005-01-06 Thread Wil
SC"); $nRows = mysql_num_rows($qResult); $rString ="&n=".$nRows; If I am just naming a variable how is the argument not valid? Thanks, Wil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Php error with MySql

2005-01-06 Thread Wil
SC"); $nRows = mysql_num_rows($qResult); $rString ="&n=".$nRows; If I am just naming a variable how is the argument not valid? Thanks, Wil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Php error with MySql

2005-01-06 Thread Wil Hitchman
SC"); $nRows = mysql_num_rows($qResult); $rString ="&n=".$nRows; If I am just naming a variable how is the argument not valid? Thanks, Wil

[PHP] Forms In PHP

2004-12-09 Thread Wil Hitchman
Hi, I created a web form in PHP and used a couple of email addresses. The only email address that worked when I submitted to the form (for testing purposes) was my Yahoo address. My AOL, hotmail and other work addresses did not work. Can someone tell me why? Thanks, Wil

[PHP] How do you work this thing

2004-12-09 Thread Wil Hitchman
How does this work?