Re: [PHP] Javascript detection , working version

2007-01-02 Thread Satyam
redirect would occur when in fact javascript is enabled. Cheers, Rob. -- What I usually do is to make the entry page the one that would be used without JavaScript and branch only if JavaScript is present. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Javascript detection , working version

2007-01-02 Thread Satyam
- Original Message - From: Robert Cummings [EMAIL PROTECTED] What I usually do is to make the entry page the one that would be used without JavaScript and branch only if JavaScript is present. Yeah, that was what I did :) Cheers, Rob. -- Sorry, it seems I missed it. Satyam

Re: [PHP] Script's length, echo, and execution speed

2006-12-23 Thread Satyam
such as Smarty. Satyam - Original Message - From: Jean-Christophe Roux [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Saturday, December 23, 2006 7:33 PM Subject: [PHP] Script's length, echo, and execution speed Hello, I have this php script of 3,500 lines with a big

Re: [PHP] Re: ECHO

2006-12-19 Thread Satyam
, check whether the function name is echo (print is translated to echo) and then do your changes. One of the tutorials shows you how to do this: http://phpcompiler.org/doc/tutorial2.html Satyam - Original Message - From: Fahad Pervaiz [EMAIL PROTECTED] To: php-general@lists.php.net

Re: [PHP] PHP problem with array keys / pointers

2006-12-17 Thread Satyam
are. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Grammar

2006-12-06 Thread Satyam
http://phpcompiler.org/ - Original Message - From: yo plop [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, December 06, 2006 5:59 PM Subject: [PHP] PHP Grammar Hello I have been asked to do a compiler from PHP5 to C code using Lex and Yacc I don't think i can find

Re: [PHP] Tidy HTML source?

2006-12-01 Thread Satyam
method. I just developed a program that might help one of those particular methods, which anyone is free to choose or not to. If you find it useful, I am happy to help, if you don't, that is fine with me. Satyam - Original Message - From: Paul Novitski [EMAIL PROTECTED] To: php

Re: [PHP] Detecting naughty sites

2006-12-01 Thread Satyam
- Original Message - From: Satyam [EMAIL PROTECTED] The Wikipedia article of the day provides some interesting facts about when if became naughty: http://en.wikipedia.org/wiki/History_of_erotic_depictions -- May I add something that came to my mind related

Re: [PHP] Detecting naughty sites

2006-11-30 Thread Satyam
The Wikipedia article of the day provides some interesting facts about when if became naughty: http://en.wikipedia.org/wiki/History_of_erotic_depictions -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tidy HTML source?

2006-11-30 Thread Satyam
- Original Message - From: Paul Novitski [EMAIL PROTECTED] At 11/29/2006 05:13 AM, Satyam wrote: - Original Message - From: Paul Novitski [EMAIL PROTECTED] What I find to be a much greater problem is the human readability of logic code when HTML is mixed throughout. Your

Re: [PHP] Tidy HTML source?

2006-11-29 Thread Satyam
not generate HTML directly. Satyam Fredrik Satyam wrote: May I invite you to check http://satyam.com.ar/pht/? This is a project I started some time ago to help me produced HTML in a more clean and efficient way. Usually, producing good HTML involves running a sample output through some HTML

Re: [PHP] Tidy HTML source?

2006-11-29 Thread Satyam
- Original Message - From: Paul Novitski [EMAIL PROTECTED] At 11/28/2006 05:05 AM, Satyam wrote: May I invite you to check http://satyam.com.ar/pht/? This is a project I started some time ago to help me produced HTML in a more clean and efficient way. Usually, producing good HTML

Re: [PHP] Tidy HTML source?

2006-11-28 Thread Satyam
appreciate any comment on the project, EXCEPT that you use template engines and that you do not generate HTML directly. I've heard that and it is completely missing the point so, please, spare me that one. At one point or another plain HTML has to be generated. Satyam - Original Message

Re: [PHP] access to DB and security

2006-11-08 Thread Satyam
around and plenty of messages on this very list. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] access to DB and security

2006-11-08 Thread Satyam
- Original Message - From: Alain Roger [EMAIL PROTECTED] To: PHP General List php-general@lists.php.net Sent: Wednesday, November 08, 2006 9:22 PM Subject: Re: [PHP] access to DB and security Hi Satyam, if i understood well, in this special hidden (from web) folder, you write

Re: [PHP] Query question

2006-10-29 Thread Satyam
will bump into something more elaborate which you won't be able to do on the SQL side just with string functions and that will force you to bring whole tables into PHP to do more extensive processing. Satyam - Original Message - From: Beauford [EMAIL PROTECTED] To: 'PHP' php-general

Re: [PHP] Query question

2006-10-29 Thread Satyam
I said that you have a problem,not that you caused it, and my observation might (hopefully) help newbies in the list. Satyam - Original Message - From: Beauford [EMAIL PROTECTED] To: 'PHP' php-general@lists.php.net Sent: Sunday, October 29, 2006 9:06 AM Subject: RE: [PHP] Query

Re: [PHP] counting records in db

2006-10-27 Thread Satyam
additional where clause. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Is there a function can decrypt md5 ??

2006-10-24 Thread Satyam
for every number, the result of Md5 produces a very good variety of results with a good spread of values over the whole range of possible results. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OOP slow -- am I an idiot?

2006-10-11 Thread Satyam
. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help on objects

2006-10-05 Thread Satyam
- Original Message - From: Robert Cummings [EMAIL PROTECTED] To: Satyam [EMAIL PROTECTED] Cc: Deckard [EMAIL PROTECTED]; php-general@lists.php.net Sent: Thursday, October 05, 2006 11:16 AM Subject: Re: [PHP] Help on objects On Thu, 2006-10-05 at 07:04 +0200, Satyam wrote: I've seen

Re: [PHP] Help on objects

2006-10-05 Thread Satyam
- Original Message - From: Martin Alterisio To: Satyam Cc: Deckard ; php-general@lists.php.net Sent: Thursday, October 05, 2006 3:50 PM Subject: Re: [PHP] Help on objects 2006/10/5, Satyam [EMAIL PROTECTED]: I've seen you already had a good answer on the errors

Re: [PHP] Help on objects

2006-10-04 Thread Satyam
will usually have names representing nouns, methods will be verbs, properties adjectives, more or less, that's OOP for English teachers. Satyam - Original Message - From: Deckard [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, October 05, 2006 3:47 AM Subject: [PHP] Help

Re: [PHP] newbie php tutorial question

2006-10-02 Thread Satyam
the opening p, since it probably assumed the was the closing bracket for the ?php, but browsers are designed to carry on and assume things that might be missing so a /p would make it assume there was a p somewhere. Satyam - Original Message - From: Stut [EMAIL PROTECTED] To: srdaniel

[PHP] Magic method __set won't be called for protected variables

2006-09-19 Thread Satyam
Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] DOM Question. No pun intended.

2006-09-14 Thread Satyam
Try the properties innerHTML or outerHTML, the later will include the enclosing tag. Satyam - Original Message - From: Michael Williams [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, September 14, 2006 2:12 AM Subject: [PHP] DOM Question. No pun intended. Hi All

Re: [PHP] Pre-printed forms

2006-09-14 Thread Satyam
, from a normal application in a graphics environment such as Windows, to use a purely character by character printer, unless you do an ActiveX control and communicate with the printer via the serial port. Many alternatives, no easy solution (except for droping the pre-printed forms) Satyam

Re: [PHP] DOM Question. No pun intended.

2006-09-14 Thread Satyam
Sorry, I immediatly thought about the client side. No, I don't know there is any way on the server side with PHP. Satyam - Original Message - From: [EMAIL PROTECTED] To: Satyam [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Thursday, September 14, 2006 4:16 PM Subject: Re

Re: [PHP] DOM - parse HTML document

2006-09-12 Thread Satyam
returns a collection of elements, since duplicates are allowed. Thus, if you put an id in an element, it is because you want to reach it, but if the id is duplicated then you cannot reach it any longer. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Re: Newbie question about ?= ?

2006-09-11 Thread Satyam
), they are the second best option. Satyam - Original Message - From: Stut [EMAIL PROTECTED] To: Jon Anderson [EMAIL PROTECTED] Cc: Satyam [EMAIL PROTECTED]; php-general@lists.php.net Sent: Monday, September 11, 2006 5:56 PM Subject: Re: [PHP] Re: Newbie question about ?= ? How bored am I? This bored

Re: Re: [PHP] Re: How could I make the browser to send a command to a cash register...]

2006-09-11 Thread Satyam
client. Satyam - Original Message - From: Mitch Miller [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, September 11, 2006 5:56 PM Subject: [Fwd: Re: [PHP] Re: How could I make the browser to send a command to a cash register...] Just realized I forgot to CC: the original

Re: [PHP] Re: Newbie question about ?= ?

2006-09-11 Thread Satyam
- Original Message - From: Stut [EMAIL PROTECTED] To: Satyam [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Monday, September 11, 2006 6:32 PM Subject: Re: [PHP] Re: Newbie question about ?= ? Satyam wrote: I admit I'm totally surprised about the buffered results

Re: [PHP] DOM - parse HTML document

2006-09-11 Thread Satyam
in traversing the DOM is any tool that gives you a good view of the tree structure. One such comes already in the Firefox browser. Satyam - Original Message - From: Leonidas Safran [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, September 11, 2006 11:11 PM Subject: [PHP

Re: [PHP] Newbie question about ?= ?

2006-09-10 Thread Satyam
) where it is irrelevant. Satyam Cheers, Mike As was said before, the major reasons for not using short tags are: 1) Not everyone has access to the ini file, and might not be able to use short tags. If you're releasing your code to the public, you want to work in as many places

Re: [PHP] Re: Newbie question about ?= ?

2006-09-10 Thread Satyam
are faster than plain strings: since you know you will only append to the end of them, the characters echoed go into a much more efficient character buffer instead of a more complex string which has to be available for all sorts of string operations. Satyam -- PHP General Mailing List (http

Re: [PHP] Re: Newbie question about ?= ?

2006-09-10 Thread Satyam
on the PHP manual ( see http://www.php.net/manual/en/language.basic-syntax.php, the first paragraph after the examples) and the source of the lexical scanner, which supports that, though your numbers do contradict it. Interesting. Satyam -- PHP General Mailing List (http://www.php.net

Re: [PHP] if statement with or comparison (newbie)

2006-09-09 Thread Satyam
. Satyam - Original Message - From: Kevin Murphy [EMAIL PROTECTED] To: php php-general@lists.php.net Cc: JD [EMAIL PROTECTED] Sent: Friday, September 08, 2006 11:25 PM Subject: Re: [PHP] if statement with or comparison (newbie) Shouldn't that be this instead: if (($_REQUEST['id

Re: [PHP] Newbie question about ?= ?

2006-09-09 Thread Satyam
tags for each language. How you configure that, don't ask me, I wouldn't know. Any short tag then, whether a ? or a ?=, is not valid XML. Whether that is important or not, I can't tell, but it is the only reason I know why short tags might be considered inapropriate and disabled. Satyam

Re: [PHP] How do I call an class?

2006-09-08 Thread Satyam
in Spanish, my Portuguese being too primitive. Satyam - Original Message - From: Sr. Paulo Ricardo [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, September 08, 2006 3:14 PM Subject: [PHP] How do I call an class? Good morning. How do I call an class? It's correct

Re: [PHP] if statement with or comparison (newbie)

2006-09-08 Thread Satyam
''; } else { echo 'right color'; } Notice that not only the comparisson changed but now they are joined by an AND instead of an OR and the then and else parts are swapped. Satyam echo wrong color; } else ( echo right color; ) However, no matter what I enter, I always

Re: [PHP] Is this unsecure?

2006-09-05 Thread Satyam
sure that you have a safe means of exchanging keys in between the servers every now and then. Banks usually send a book of keys for a certain period physically amongst them and only when they are received and it is certain they have not been intercepted or tampered with they get used. Satyam

Re: [PHP] Is this unsecure?

2006-09-05 Thread Satyam
I didn't mean to contradict anyone, I just meant to make sure that Peter knew that in this case it didn't matter. Satyam - Original Message - From: tedd [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, September 05, 2006 6:18 PM Subject: Re: [PHP] Is this unsecure

Re: [PHP] OT alternate website authentication methods

2006-08-19 Thread Satyam
to any mouse option. Satyam - Original Message - From: Chris W. Parker [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, August 18, 2006 11:08 PM Subject: [PHP] OT alternate website authentication methods Hello, Last night I was reading Chris Shiflett's PHP Security

Re: [PHP] PHP Frameworks - Opinion

2006-08-01 Thread Satyam
There is no 'common consensus' but I am sure you'll be getting lots and lots, I would even say LOTS, of sugestions. Satyam - Original Message - From: Gabe [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, August 01, 2006 6:35 PM Subject: [PHP] PHP Frameworks - Opinion

Re: [PHP] Problem with rawurlencode and euro sign.

2006-07-27 Thread Satyam
At: http://es2.php.net/manual/en/function.htmlentities.php it says that ISO-8859-15 adds the Euro sign - Original Message - From: Jochem Maas [EMAIL PROTECTED] To: Mathijs [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Thursday, July 27, 2006 12:39 PM Subject: Re: [PHP]

Re: [PHP] Language Translation (spanish-english) PHP

2006-07-13 Thread Satyam
in China, well, then you know. That's how it turns out. And, if you think it is all the same, I can tell you, Spanish being my native language, if I ever get to a site badly translated don't expect me back, ever. Satyam - Original Message - From: Russell Jones [EMAIL PROTECTED] To: PHP

Re: [PHP] GET, POST, REQUEST

2006-06-20 Thread Satyam
- Original Message - From: Richard Lynch [EMAIL PROTECTED] On Sun, June 18, 2006 2:19 am, Satyam wrote: - Original Message - From: Rory Browne [EMAIL PROTECTED] Good code won't be vulnerable to register_globals either, but having register_globals on is a security problem

Re: [PHP] GET, POST, REQUEST

2006-06-18 Thread Satyam
that an external user might hit the right variable name are slim (unless a disgruntled former programmer) but they exist. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GET, POST, REQUEST

2006-06-18 Thread Satyam
- Original Message - From: Manuel Lemos [EMAIL PROTECTED] To: PHP List php-general@lists.php.net Sent: Sunday, June 18, 2006 10:12 AM Subject: Re: [PHP] GET, POST, REQUEST Hello, on 06/18/2006 04:19 AM Satyam said the following: Good code won't be vulnerable to register_globals

Re: [PHP] GET, POST, REQUEST

2006-06-17 Thread Satyam
list members will supply more. Satyam - Original Message - From: Martin Marques martin@bugs.unl.edu.ar To: php-general@lists.php.net Sent: Saturday, June 17, 2006 1:52 PM Subject: [PHP] GET, POST, REQUEST Yesterday when reading some doc on PHP I noticed the $_REQUEST predefined array

Re: [PHP] GET, POST, REQUEST

2006-06-17 Thread Satyam
intrinsically wrong with $_REQUEST, it is slightly more vulnerable than differentiating POSTs from GETs, but it is not the worst you can do Satyam - Original Message - From: Martin Marques martin@bugs.unl.edu.ar To: Satyam [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Saturday, June 17

Re: [PHP] mysql + PHP

2006-06-15 Thread Satyam
perhaps this will work: Select country , name from tbl_chassis order by ifnull(country,'') didn't try it. - Original Message - From: weetat [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, June 15, 2006 8:14 AM Subject: [PHP] mysql + PHP Hi all, I have SQL

Re: [PHP] mysql + PHP

2006-06-15 Thread Satyam
Actually, does the country field contains null or an empty string? If it is an empty string this will nor work. Try Control Flow Functions: http://dev.mysql.com/doc/refman/5.0/en/control-flow-functions.html Satyam - Original Message - From: weetat [EMAIL PROTECTED] To: php

Re: [PHP] can I do this: update table while selecting data from table?

2006-06-14 Thread Satyam
member_id, ifnull(member_name,'N/A') FROM members Satyam - Original Message - From: [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, June 14, 2006 11:37 PM Subject: [PHP] can I do this: update table while selecting data from table? Am I allowde to do this: $query

Re: [PHP] Help with some clever bit operations

2006-06-13 Thread Satyam
1) { echo bit $i is set; } $bitset = 1; } Anyway, avoid the most significant bit. Since in PHP there are no unsigned integers, you might get some funny result if anything makes PHP do an automatic type conversion. Satyam -- PHP General Mailing List (http://www.php.net

Re: [PHP] Short writage of clauses

2006-06-12 Thread Satyam
fingers a bit of typing' and wondered if I was missing the point. I beg your pardon. -Stut He is probably looking for something like in SQL: where field in (1,2) Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php-html rendering

2006-06-12 Thread Satyam
you to mount a ramdisk where you can copy small databases, if you want to allow for updates (completely volatile, for sure, but they are good enough for a demo, while you don't boot, they really work). Except for the volatility of the database, it would be the very real thing. Satyam

Re: [PHP] Curio

2006-06-12 Thread Satyam
, have special meaning, but this does not apply to PHP. So I guess the answer to the question of why is simply because it's the immemorial custom of the trade. And I admit I never thought of doing otherwise. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] anti SQL injection method in php manual.

2006-05-26 Thread Satyam
, to avoid conflicts with existing applications. Depending on the font and line length, it will be broken in many parts. The arrows showing the different parts of the regular expresion point anywhere, but should be fine if shown in a fixed pitch font. Satyam /** * Builds a properly

Re: [PHP] anti SQL injection method in php manual.

2006-05-26 Thread Satyam
- Original Message - From: Dotan Cohen [EMAIL PROTECTED] To: Satyam [EMAIL PROTECTED] Cc: PHP General (E-mail) php-general@lists.php.net Sent: Friday, May 26, 2006 6:36 PM Subject: Re: [PHP] anti SQL injection method in php manual. On 5/26/06, Satyam [EMAIL PROTECTED] wrote

Re: [PHP] Wierd ass code...

2006-05-13 Thread Satyam
for the application, such as being able to sort by keys in just one operation. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Wierd ass code...

2006-05-13 Thread Satyam
- Original Message - From: Satyam [EMAIL PROTECTED] To: Ryan A [EMAIL PROTECTED]; php php php-general@lists.php.net Sent: Saturday, May 13, 2006 9:53 PM Subject: Re: [PHP] Wierd ass code... - Original Message - From: Ryan A [EMAIL PROTECTED] To: php php php-general

Re: [PHP] Avoiding user refresh of pages with forms

2006-05-05 Thread Satyam
- Original Message - From: Richard Lynch [EMAIL PROTECTED] To: John Wells [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Friday, May 05, 2006 3:27 AM Subject: Re: [PHP] Avoiding user refresh of pages with forms On Thu, May 4, 2006 6:37 am, John Wells wrote: On 5/3/06, Satyam

Re: [PHP] Avoiding user refresh of pages with forms

2006-05-04 Thread Satyam
- Original Message - From: John Wells [EMAIL PROTECTED] On 5/3/06, Satyam [EMAIL PROTECTED] wrote: I used that method initially, some months ago, but finally dropped it. It looked nice at first, but then I started getting into problems and required too many special cases to make

Re: [PHP] Avoiding user refresh of pages with forms

2006-05-03 Thread Satyam
. } Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Sanity checker?

2006-05-03 Thread Satyam
be done via something based on a compiler such as phpcompiler: http://www.phpcompiler.org/ And, of course, machine-generated code is, if not reliable, at least predictable and if the generator can be modified, it can be as reliable as can be expected. Satyam -- PHP General Mailing List

Fw: [PHP] php mysql problem

2006-05-02 Thread Satyam
(which, of course, you can name as you wish, since order is a reserved SQL word, I just give the concept of it), which is also numerical and that, if you put in your select like Select * from mytalbe order by `order`, id will be used to order records and, if missing, will default to id. Satyam

Re: [PHP] PHP Standard style of writing your code

2006-04-29 Thread Satyam
. A brace on its own line doesn't make sense to me. Satyam Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] bookmarking with a trademark sign in title

2006-04-26 Thread Satyam
character set is used. Satyam - Original Message - From: chris smith [EMAIL PROTECTED] To: Angelo Zanetti [EMAIL PROTECTED] Cc: PHP List php-general@lists.php.net Sent: Wednesday, April 26, 2006 4:09 PM Subject: Re: [PHP] bookmarking with a trademark sign in title On 4/26/06, Angelo

Re: [PHP] bookmarking with a trademark sign in title

2006-04-26 Thread Satyam
- Original Message - From: Richard Lynch [EMAIL PROTECTED] To: Satyam [EMAIL PROTECTED] Cc: chris smith [EMAIL PROTECTED]; Angelo Zanetti [EMAIL PROTECTED]; PHP List php-general@lists.php.net Sent: Wednesday, April 26, 2006 11:33 PM Subject: Re: [PHP] bookmarking with a trademark

Re: [PHP] PHP Standard style of writing your code

2006-04-25 Thread Satyam
/convertingphp.html. If you add no extra code to the compiler, it will produce a reformatted version of the original. I don't know it your IDE allows it but in the plain editor I use I could assign an external program to run, modify the source in the foreground and reload it once done. Satyam -- PHP General

Re: [PHP] RE: Run Apache/PHP/MySQL from CD?

2006-04-19 Thread Satyam
Not sure if this is what you were asking. You will find a list of several such systems in Wikipedia. http://en.wikipedia.org/wiki/LiveCD Notice that you will need one CD per hardware architecture, not per OS of the base machine, since the CD boots its own OS, some *nix. Satyam

Re: [PHP] sprintf() oddity

2006-04-18 Thread Satyam
You are going beyond the number of significant digits PHP can handle so it is truncating beyond that. In the second case it look sstrange, the 12305 ending, but it is probably a 'round' number if you put it in binary, but it turns funny when converted to decimal. In the last example, the

Re: [PHP] pause until page is loaded

2006-04-18 Thread Satyam
Run it on the onLoad event of the Body entity. - Original Message - From: Benjamin Adams [EMAIL PROTECTED] To: php Nichel php-general@lists.php.net Sent: Tuesday, April 18, 2006 11:19 PM Subject: [PHP] pause until page is loaded I created a script to redirect to a download auto.

Re: [PHP] Compacting multiple spaces...

2006-04-14 Thread Satyam
' and is thus respected or you can use the pre tag, which will produce a mono-spaced output with all blanks and new lines as they come. Satyam - Original Message - From: Geoffrey E. Quelch [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, April 14, 2006 9:15 PM Subject

Re: [PHP] Date problems

2006-04-09 Thread Satyam
); Satyam - Original Message - From: Mace Eliason [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Sunday, April 09, 2006 4:14 AM Subject: [PHP] Date problems Hi, I am having troubles adding 7 days to the current date. I have been reading through php.net date() and this is what I

Re: [PHP] stripping enclosed text from PHP code

2006-04-09 Thread Satyam
http://www.phpcompiler.org/ Satyam - Original Message - From: Winfried Meining [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Sunday, April 09, 2006 10:20 PM Subject: [PHP] stripping enclosed text from PHP code Hi, I am writing on a script that parses a PHP script

Re: [PHP] Ajax please....

2006-04-08 Thread Satyam
until the first instruction of the response is received) This, of course, are very minimal documents just containing what's essential to prove the point, not working documents and, of course, both might be PHP scripts. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Satyam
of a multidimensional array, php cannot assert when it is over (really, it is not a bug, try to figure out how to do it and you'll see it is not easy) so you tell php by enclosing the whole variable in curly braces. Which it says so in the manual Satyam - Original Message - From: Chrome [EMAIL

Re: [PHP] Strange math results

2006-03-28 Thread Satyam
. Satyam - Original Message - From: Ezra Nugroho [EMAIL PROTECTED] It is not always possible to precisely represent decimal values as a float type in binary. In these cases, the value that you have is either slightly bigger or slightly smaller than the actual. In your specific problem

Re: [PHP] Re: protecting passwords when SSL is not available

2006-03-27 Thread Satyam
The php server sends it along the form. Which I said so: PHP will send a random number along with the login form. I don't see any problem sending that information to the client clear (unencrypted), but that's why I'm asking. Satyam - Original Message - From: Barry [EMAIL PROTECTED

Re: [PHP] protecting passwords when SSL is not available

2006-03-27 Thread Satyam
replacement for SSL, with limitations, but it is good to know what are those limitations. Thanks for your help Satyam - Original Message - From: Evan Priestley [EMAIL PROTECTED] To: Satyam [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Monday, March 27, 2006 5:41 PM Subject: Re

Re: [PHP] protecting passwords when SSL is not available

2006-03-27 Thread Satyam
to one, it won't help you with any other because even if you can make up a session_id, you cannot change the unique_id the server made and, since unique_ids don't repeat, there is no chance that you have ever sniffed the password hashed with that unique_id. Satyam - Original Message

Re: [PHP] Two functions, one javascript, one php, one on_click event?

2006-03-16 Thread Satyam
Unless you want to refresh the page, you would have to use Ajax, called from JavaScript and take the reply and continue processing via JavaScript. - Original Message - From: Jay Blanchard [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Thursday, March 16, 2006 8:51 PM Subject:

Re: [PHP] Is this password protection script secure?

2006-03-14 Thread Satyam
:satyam; Easy to understand: IdUsr, an integer, containing 999 level, a string of one character containing a 2 user, a string of 6 characters containing 'satyam' would you like to see something like password|s:10:mypassword; If you are using MySql isam files, locate the file with extension MYD

Re: [PHP] determining client's external IP

2006-03-13 Thread Satyam
are not reachable from the outside, you cannot connect to any service they might be offering, because the translation does not work backwards. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Satyam
a style sheet Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Satyam
- Original Message - From: tedd [EMAIL PROTECTED] Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP? Thanks, Paul Satyam said: You don't need to change the CSS (I don't even know

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Satyam
higher precedence than the style attribute, but lower than the DOM. One of those bugs that drive you nuts. Satyam tedd -- http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] session register()

2006-03-11 Thread Satyam
. Satyam i am waiting for reply from u - Jiyo cricket on Yahoo! India cricket Yahoo! Messenger Mobile Stay in touch with your buddies all the time. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I tell if an output stream is finished?

2006-03-05 Thread Satyam
sugestions, I hope they help. Satyam - Original Message - From: Al [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Sunday, March 05, 2006 9:17 PM Subject: [PHP] How can I tell if an output stream is finished? I have a page that resizes an image to be included in a html page, using

Re: [PHP] Coordenates latitude / longitude on PHP

2006-03-02 Thread Satyam
to their maps, which is for free for non-comercial use but since your e-mail is of a real estate company, I'm afraid you can't. See www.qdq.com and try the menu callejeros fotograficos, it is impresive Satyam - Original Message - From: Ruben Rubio Rey [EMAIL PROTECTED] To: php-general

Re: [PHP] Re: isset or array_key_exists?

2006-02-18 Thread Satyam
the same results as in the first pass. I think this happened to me once when I went through an array with isset or isempty or some such to make some calculations and then on the second pass, when I printed it, I got lots of empty cells that were created empty in the first pass. Satyam -- PHP

Fw: [PHP] regular pattern to match XXX

2006-02-18 Thread Satyam
-ASCII characters, perhaps that will force the function to take them literally instead of making who knows what assumption about them. And let me know if it works because we use diacritical marks in Spanish, who know when I might need it. Satyam -- PHP General Mailing List (http://www.php.net

Re: [PHP] ! in front of a variable?

2006-02-17 Thread Satyam
boolean Not operator - Original Message - From: Jeff [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Friday, February 17, 2006 4:06 PM Subject: [PHP] ! in front of a variable? Hey all, I've got some code from someone else I've inherited and need to sort out some problems

Re: [PHP] What does a ? represent

2006-02-17 Thread Satyam
Not is SQL, the single character wildcard is the underscore. In SQL the ? is usually used for argument replacement, much like the %s in printf. Satyam - Original Message - From: [EMAIL PROTECTED] To: php-general@lists.php.net Cc: [EMAIL PROTECTED] Sent: Friday, February 17, 2006 9

Fw: [PHP] Re: php ajax

2006-02-15 Thread Satyam
that gets as concise and flexible as it gets. Satyam - Original Message - From: Karuna [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Wednesday, February 15, 2006 11:13 PM Subject: [PHP] Re: php ajax There's a nice, simple intro to ajax here: http://marc.theaimsgroup.com/?l=php

[PHP] Re: problem with currency signs

2006-01-10 Thread Satyam
to them. Satyam Serdar Soydemir [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Angelo, You may create a separate table called currencies and put two fields like currency_id and currency_desc in it. Insert all the currencies you're using to this table. At the end, you'll have

[PHP] Re: Unable to send variables to MySQL table

2005-11-11 Thread Satyam
It is a good idea to check for errors, like this: mysql_query($add_to_db) or die('Error inserting SQL data at ' . __LINE__ . ' br/' . $add_to_db .'br/' . mysql_error()); If there is no error (non-null return value from mysql_query()) the expresion after the OR does even get looked at, since

Re: [PHP] Mixing PHP VBSCript

2005-09-29 Thread Satyam
A real interesting challenge and when I first read it I thought the same thing, instead of using the short form of tags, using a more extended form such as script language= and so on, it should work, but then, Irealized that there is a lot going on outside of the code, such as parsing the

<    1   2   3   >