RE: [PHP] Confused a little with = to and grater than ...

2003-03-15 Thread Dennis Cole
I think this is what you mean -Original Message- From: Philip J. Newman [mailto:[EMAIL PROTECTED] Sent: Saturday, March 15, 2003 8:29 PM To: [EMAIL PROTECTED] Subject: [PHP] Confused a little with = to and grater than ... Importance: Low Well i thought about changeing access level

RE: [PHP] Hacker problem

2003-03-12 Thread Dennis Cole
If you are really that strict about it coming from you site, have your form page create an image with five letter of number on it - like 4Y6O7. Have it create a new one each time. Then use crypt to encrypt it and put the encrypted one into a form value, have the person that is submitting the form t

RE: [PHP] Re: sessions terminating randomly please help

2003-03-10 Thread Dennis Cole
Assuming that php is configued to rewrite the url tags, try turning off cokkies in the browser and let the Session if carry over. This might help you debugg it. -Original Message- From: David Chamberlin [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 3:41 PM To: [EMAIL PROTECTED]; F

RE: [PHP] sessions terminating randomly please help

2003-03-10 Thread Dennis Cole
Make sure that the url is always the same. For example if a user is at a page http://mysite.com/phpscript.php and you link to http://www.mysite.com/phpscript.php (notice the www) the session might not follow because the url is different. -Original Message- From: freaky deaky [mailto:[EMAIL

[PHP] RE: [PHP-DB] RE: [PHP] Random not working?

2003-03-01 Thread Dennis Cole
You might try getting the random number before the query. -Original Message- From: Rich Gray [mailto:[EMAIL PROTECTED] Sent: Saturday, March 01, 2003 8:37 PM To: Frank Keessen; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP-DB] RE: [PHP] Random not working? > Hi All, > > I'm trying t

RE: [PHP] Output Numerical Month as String?

2003-02-25 Thread Dennis Cole
[code] date ("F", mktime(0,0,0,6,1,2000)); [\code] Replace 6 with the month number and your on your way -Original Message- From: CF High [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 25, 2003 5:54 PM To: [EMAIL PROTECTED] Subject: [PHP] Output Numerical Month as String? Hey all. E

RE: [PHP] Zend Encoder

2003-02-24 Thread Dennis Cole
There is not a way to encrypt something so that is is totaly, positivly, iriversable. As for someone at zend looking at them, there probably is, but they have a duty not to do anything with them. -Original Message- From: Thomas Johnsson [mailto:[EMAIL PROTECTED] Sent: Monday, February 24,

RE: [PHP] session_start

2003-02-24 Thread Dennis Cole
Not to be nosey or anything but "usually" session data will always be saved or not. How come one would want to check to see if is was or not. -Original Message- From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 7:49 AM To: Mr Percival Cc: [EMAIL PROTECTED

RE: [PHP] Which function?

2003-02-23 Thread Dennis Cole
Use this http://www.php.net/manual/en/function.strstr.php -Original Message- From: John Taylor-Johnston [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 2:21 AM To: [EMAIL PROTECTED] Subject: [PHP] Which function? Instead of doing this: Which function am I looking for to see

RE: [PHP] radio buttons

2003-02-23 Thread Dennis Cole
Using a case statment would be the easyest way to tell which one was checked, but technicly one could check all three unless the value of name is changed the same like ... this is a general post this is an urgent post this is a message i need to post because it bothers me -Original Message--

RE: [PHP] table border colors in html/xml

2003-02-23 Thread Dennis Cole
This isn't a PHP thing. And you should use bordercolor="#FF" -Original Message- From: Sunfire [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 1:24 AM To: [EMAIL PROTECTED] Subject: [PHP] table border colors in html/xml hi my client just told me that he wants his tabl

RE: [PHP] session_start

2003-02-23 Thread Dennis Cole
(/tmp) in Unknown on line 0 --- Dennis Cole DCW Productions.us -Original Message- From: Mr Percival [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 11:52 PM To: [EMAIL PROTECTED] Subject: [PHP] session_start Hi, According to the PHP manual session_start

RE: [PHP] TO JOSH

2003-02-23 Thread Dennis Cole
Please do not send the same message over and over! And use more descriptive titles! Your code is right, It problem only a problem with your form, browser, or a platform specific platform. Please read http://www.thickbook.com/extra/php_email.phtml Dennis -Original Message- From: Luis A [m

RE: [PHP] table width problems

2003-02-23 Thread Dennis Cole
You can use the code below to trim a string to a specified number of charecters. Change 64 to how long you want the string to be. This won't cut words in half. wordwrap( $text, 64, "", 0); -Original Message- From: Adriaan Nel [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 10:2

RE: [PHP] sending results by email

2003-02-22 Thread Dennis Cole
A "subjestion" would be to use the mail() function to. You can find the mail fuction at http://www.php.net/manual/en/function.mail.php. -Original Message- From: Luis A [mailto:[EMAIL PROTECTED] Sent: Saturday, February 22, 2003 5:42 PM To: [EMAIL PROTECTED] Subject: [PHP] sending results b

RE: [PHP] Correct number format (curency)

2003-02-20 Thread Dennis Cole
This should also work, without any problems. - Php Code -- - End PHP Code -- - Original Message - From: Bas Jobsen [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 20, 2003 10:05 AM To: Robert Mena; php mailing list Subject: Re: [PHP] Correct number format (curency)

[PHP][PHP] Money Decimals

2003-02-19 Thread Dennis Cole
I am writing a script that will take amount out of a database then display them on the page. But, some of these are like "46.0" or "46" or "46.005", and they all need to look like "46.00". Is there an easy way to do this. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

RE: [PHP] ASCII/UNICODE Character Translation Comparison in Strings

2003-02-18 Thread Dennis Cole
$txt = "björk"; $txt = strtr($txt, "ÁÉÍÓÚÑÀÈÌÒÙÄËÏÖÜÂÊÎÔÛáéíóúñàèìòùäëïöüâêîôûç", "aeiounaeiouaeiouaeiouaeiounaeiouaeiouaeiouc"); echo $txt; // Returns "bjork" -Original Message- From: Chris McCluskey [mailto:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 7:03 PM To: [EMAIL PROTECTED

RE: [PHP] limiting characters

2003-02-18 Thread Dennis Cole
$words = "All I want for Christmas is my two front teeth "; $newwords = trim($words); $pieces = explode(" ", $words); echo "$pieces[0] $pieces[1] $pieces[2] $pieces[3]..."; // Retures "All I want for... " -Original Message- From: Michael P. Carel [mailto:[EMAIL PROTECTED]] Sent: Tuesda

RE: [PHP] SQL Query

2003-02-14 Thread Dennis Cole
There is a nice piece of software that you should get, http://ems-hitech.com/mymanager/! It's not free, but you can download a trial. (I would get it) It is great for building querys across tables. -Original Message- From: Zydox [mailto:[EMAIL PROTECTED]] Sent: Friday, February 14, 2003 11

RE: [PHP] File upload problem

2003-02-10 Thread Dennis Cole
MAX_FILE_SIZE only tells the browser how large the file should be. This is why the PHP manual page also says, "The MAX_FILE_SIZE is advisory to the browser. It is easy to circumvent this maximum. So don't count on it that the browser obeys your wish! The PHP-settings for maximum-size, however, cann

RE: [PHP] mail() and sendmail path

2003-02-07 Thread Dennis Cole Jr
You can find this here -> http://www.php.net/manual/en/ref.mail.php -Original Message- From: micah lamb [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 5:29 PM To: [EMAIL PROTECTED] Subject: [PHP] mail() and sendmail path Is there any way to declare the path to sendmail locall

RE: [PHP] Avoiding several windows with the same session

2003-02-07 Thread Dennis Cole Jr
If you are using cookies the new window will pick it up. Have the original page change a variable to say that it has loaded then when the new window loads have it check that variable first. -Original Message- From: Roman Sanchez [mailto:[EMAIL PROTECTED]] Sent: Friday, February 07, 2003 1: