Re: [PHP] cleaning up the uri

2001-09-10 Thread nayco
maybe by adding a unique ID like that : somethin/somewhere/index.php?do=this&and=that&IDop=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 d

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

2001-09-10 Thread nayco
Heloorghhh !!! Well, try to make a script with : 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 string... so, parts of the string must be backslashed in every function using it when submit

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

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

2001-09-10 Thread nayco
tter_value=$tab[$word[$car]]) > $word_value+=$letter_value; > } >file://echo "mot : $word; "; >file://echo "valeur : $word_value\n\n"; >if ($word_value==100) >

Re: [PHP] Anagram Solution in PHP

2001-09-10 Thread nayco
lode(" ",$line); while (list($foo,$word)=each($words)) { $word_value=0; for ($car=0;$car$word on line $line_value of the input file has a value of $word_value.\n"; } } echo "\nIf nothing appears above, no

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 PROTEC

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 - Or

Re: [PHP] PHP Redirect in the middle of code?

2001-09-10 Thread nayco
be careful, i guess some Web-browsers will not accept it ( all the syntax-checkers like Opera ) (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Ken <[EMAIL PROTECTED]> To: Steve Edberg <[EMAIL

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

2001-09-11 Thread nayco
think headers are not counted by the browser in the total size (°-Nayco, //\[EMAIL PROTECTED] v_/_ http://nayco.free.fr - Original Message - From: Enrique Vadillo <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, September 11,

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]>

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, //\

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 PR

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]

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, //\[

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 Messag

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 > H

Re: [PHP] Anagram Solution in PHP

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

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 ??? http://nayco.free.fr - Original Message - From: Jeff Lewis <[EMAIL PROTECTED]> To:

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, S

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 S

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" . (°-Na

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]

Re: [PHP] Re: Detecting user logout.

2001-10-02 Thread nayco
If you want a script Tell me !!! (°-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: D