[PHP] $HTTP_COOKIE_VARS

2002-03-21 Thread Max Mouse
I've tried using $HTTP_COOKIE_VARS to get information about the cookie has been passed to the current script but I always get a cookie size of 1 containing no information. I have also tried using $_COOKIE but with no success. I'm running apache1.2.23 and php 4.1.2. Suggestions? Max -- PHP Gene

[PHP] PHP and mySQL

2002-03-04 Thread Max Mouse
I have a little problem when trying to count the number of results returned in a mysql query. I was using mysql_num_rows() to do it with no problems, but this isn't as quick as using mySQL's COUNT(*), or so I have been told so I swtiched. Here's a snipit of the code... $sqlinfo = "SELECT username

[PHP] Problem

2001-11-12 Thread Max Mouse
I'm trying to update from the CVS...and when I try to make I get the following error.. [root@freedom:~/php4]# make Making all in Zend byacc -p zend -v -d ./zend_language_parser.y -o zend_language_parser.c usage: yacc [-dlrtv] [-b file_prefix] [-o output_filename] [-p symbol_prefix] fi

[PHP] Counting

2001-09-17 Thread Max Mouse
I'm using php/mysql. I want to be able to count the number of records that match something. I've used mysql_num_rows() and it does work, but is there a better way? Something like COUNT(*)? I've tried to use it, but all I get is Resource ID #1 or something similar. Any ideas for the best way to do

[PHP] Email checking

2001-09-13 Thread Max Mouse
I've been looking to check the validity of an email address when it's entered by a person on a from. So far, I have found many different versions of code to do this, but I have yet to find one that actually works. I would like to be able to check to see that: the email is in the correct format and

[PHP] Attaching stuff

2001-09-03 Thread Max Mouse
I want to be able to include a graphic or something of that sort in a form mail (using mail() from ). Is this possible? Max -- 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 admini

[PHP] IDE

2001-08-18 Thread Max Mouse
Can anyone suggest a decent IDE for php? Currently, I'm using phped and I'm not overly happy with it's performance... Max -- 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 administr

[PHP] Cookie Help

2001-08-13 Thread Max Mouse
Hi, I have a problem with setting cookies...I am able to set cookies and retreive the information when using IE but not netscape. I'm not totally sure what the problem is. Here is the syntax that I am using, any suggestions are welcomed. $cookiedata = "Mmmm"; $time = mktime()+900; $expire = date(