Re: [PHP] Re: Detecting user logout.

2001-10-03 Thread nayco
!!! (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Alexander Deruwe [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 03, 2001 3:21 AM Subject: Re: [PHP] Re: Detecting user logout. | -BEGIN PGP SIGNED MESSAGE

Re: [PHP] cleaning up the uri

2001-09-10 Thread nayco
maybe by adding a unique ID like that : somethin/somewhere/index.php?do=thisand=thatIDop=someMD5id then, keeping logs of the operations in a db table if the id already exists in the table, nothing is done ...and maybe it's time to clean parameters... then, the logs should be cleant every

Re: [PHP] Why do form submissions need stripslashes() invocations?

2001-09-10 Thread nayco
Heloorghhh !!! Well, try to make a script with : ?php echo bob says : \hello, brother !!! \ ; echo bob says : hello, brother !!! ; ? then, look at the output to see where the error is well, php's got to know which of the quotes means end of string an which is a part of the

Re: [PHP] Re: [PHP-DEV] Anagram Type Puzzle

2001-09-10 Thread nayco
WHA - for school lessons ??? let's think about it ... - Original Message - From: Sebastian Bergmann [EMAIL PROTECTED] To: Ralph Guzman [EMAIL PROTECTED] Cc: PHP Developer Mailing List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, September 10, 2001 10:27 AM Subject: [PHP]

Re: [PHP] Re: [PHP-DEV] Anagram Type Puzzle

2001-09-10 Thread nayco
on line $line_value of the input file has a value of $word_value.br\n; } } echo br\nfont color=\red\If nothing appears above, no word with a value of 100 was found !!!\n; ? /body /html (°-Nayco, //\[EMAIL PROTECTED] v_

Re: [PHP] Anagram Solution in PHP

2001-09-10 Thread nayco
the word b$word/b on line $line_value of the input file has a value of $word_value.br\n; } } echo br\nfont color=\red\If nothing appears above, no word with a value of 100 was found !!!\n; ? /body /html (°-Nayco, //\[EMAIL PROTECTED] v_

Re: [PHP] Convert a string so it is valid for a sql query

2001-09-10 Thread nayco
$corrected_string=addslashes($string_to_correct) I think this function does it... or maybe : $corrected_string=ereg_replace(/'/,\',$string_to_correct) (i'm not sure of the syntax). (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr

Re: [PHP] NT?

2001-09-10 Thread nayco
I don't think that will be a problem : try zend.com 'apache + php4' go and see http://zend.com Anyone tried under NT ??? I won't say : 'try Linux' (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Jeremy

Re: [PHP] IE and '404 not found' custom script

2001-09-11 Thread nayco
(°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Enrique Vadillo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 11, 2001 2:56 AM Subject: [PHP] IE and '404 not found' custom script Hi, I'd like

Re: [PHP] locking a mysQL row

2001-09-11 Thread nayco
Try to insert in your 'locked' field an Unix date instead of 'locked' . One field, two effects (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Justin French [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent

Re: [PHP] Problem regarding select boxes

2001-09-11 Thread nayco
Try something like script language=JavaScript if (inv_name.value=='mobile') { inv_imei.style.visibility=visible; . based on CSS and JS !!! but this is VERY fast written and may only work on IE, not NS . (°-Nayco, //\[EMAIL PROTECTED] v_/_ http

Re: [PHP] Re: JavaScript MD5()

2001-09-11 Thread nayco
thanx... yeah, I forgot that the problem is not what the sniffer sees, the problem is : how can i do to prevent him from seeing anything Is SSL difficult to use in PHP ??? Can someone shortly explain it to me ??? (°-Nayco, //\[EMAIL PROTECTED] v_/_ http

Re: [PHP] Re: JavaScript MD5()

2001-09-11 Thread nayco
thanx. maybe this will not really secure the password transmission , but it'll be good to studie (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Arve Bersvendsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP] Executing graphical application (linux)

2001-09-11 Thread nayco
have you tried with specifiing th e display to use something like EXEC (my_app --display 0:0) well this may be possible, everything is possible with a keyboard and many imagination ;~p (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr

Re: [PHP] Executing graphical application (linux)

2001-09-11 Thread nayco
well, I don't know if that's possible . you're writting a local admin application with PHP (I mean, this script is used on the local machine, not through the network ???) I think there should have a way to get this to work (°-Nayco, //\[EMAIL PROTECTED

Re: [PHP] stripslashes strips too much

2001-09-11 Thread nayco
I 've got the same problem on many scripts using mysql and forms ... it's hard to handle the ' character.. i'd like some advices too !!! (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Christian Haines [EMAIL

Re: [PHP] variables

2001-09-11 Thread nayco
Maybe using cookies ??? (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: [EMAIL PROTECTED] To: Php-General [EMAIL PROTECTED] Sent: Tuesday, September 11, 2001 11:10 AM Subject: [PHP] variables Hello, Is it possible

Re: [PHP] Anagram Solution in PHP

2001-09-11 Thread nayco
maybe you forgot something like: . $letter=26-(ord($word[$i])-65);// excellent !!! if (($letter1)||($letter26)) $letter=0; $total+=$letter; (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: David

Re: [PHP] World Trade Centre Hit By terrorists, also pentagon

2001-09-11 Thread nayco
? This is not PHP, yeah, but important enough ... Don't you fear a GLOBAL $war; ??? It smells bad . the ones who did that are ugly Mo**rs, but very strong how could they do that ??? ?back to php (°-Nayco, //\[EMAIL PROTECTED] v_/_ http

Re: [PHP] Is it possible to detect the Browser type/version in PHP?

2001-09-11 Thread nayco
with some environnement variable er, i'm going to take a look, wait. (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Zhu George-CZZ010 [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 11, 2001 5

Re: [PHP] word wrap

2001-09-12 Thread nayco
http://php.net/manual/en/function.wordwrap.php (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Justin French [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Wednesday, September 12, 2001 3:39 AM Subject: [PHP] word

Re: [PHP] news display

2001-09-12 Thread nayco
- $result1 = mysql_query(SELECT * FROM news,authors ORDER BY `id` DESC,$db); I think something like WHERE news.id=author.id is missing . And I made a few scripts like this one, and i think you should ORDER BY date . (°-Nayco, //\[EMAIL PROTECTED] v_

Re: [PHP] posted urls

2001-09-13 Thread nayco
$var=urlencode($var); may solve your problem. (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: murat [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 13, 2001 1:34 PM Subject: [PHP] posted urls hi