[PHP] Re: reverse MD5 ???

2005-04-21 Thread Satyam
If I tell you that dividing a certain number by three gives you a remainder of 2, would you be able to guess the first number? Same thing with MD5, it is just one way, it can't be reversed. Satyam "William Stokes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROT

Re: [PHP] Documentation for VAR

2005-04-23 Thread Satyam
I was looking for formal documentation because I am doing a pre-processor for some PHP extensions and wanted to know the right and formal description for it. Nevertheless, I think your examples below cover most cases, a help much appreciated. Thanks Satyam "Jochem Maas" <[EM

Re: [PHP] Re: reverse MD5 ???

2005-04-23 Thread Satyam
g one answer. "Greg Donald" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] On 4/21/05, Satyam <[EMAIL PROTECTED]> wrote: > If I tell you that dividing a certain number by three gives you a > remainder > of 2, would you be able to guess the first number? Ye

[PHP] Documentation for VAR

2005-04-23 Thread Satyam
I've been going through the manual and haven't found 'var' documented anywhere, as far as I found, it is just used, and that's it. It seems it first appears when it talks about Classes, and it is just used in the examples as if everyone knew what var is supposed to do.

[PHP] Re: PHP vs ASP .NET

2005-04-23 Thread Satyam
Search for "PHP defense" in the subject line for a thread that is/was running since a few days ago. Satyam "Reynier Perez Mira" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi list: I have a problem with ASP .NET community in my Universty and I need

Re: [PHP] Dynamic Generating reports to print

2005-04-23 Thread Satyam
height spec and assembled the page from those. It did not require any plug-in installed on the client side. It used the page-break-after or -before CSS attribute for page breaks. Satyam "Steve Brown" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > My plan is

Re: [PHP] Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource

2005-04-25 Thread Satyam
atements followed by propper error detection would tell you all you need to know to fix it. But don't just ignore the error, the @ sign should be used sparingly, if at all. Satyam "Drewcore" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] just put a @ symbol bef

[PHP] Re: Fastest templating mechanism

2005-05-08 Thread Satyam
ck in the archives my own posting with the subject "XML/HTML specific instructions"? Satyam "Evert | Rooftop Solutions" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi all, > > I'm working on a template system which works a bit like a

[PHP] Re: Password encryption and password retrieval

2005-05-10 Thread Satyam
a famous hacker. Thus, if a user gets his/her password lost, you e-mail a new and urge him/her to change it ASAP. Satyam "Deep" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Hi evryone, > > I want to implement a site where i would like to &

Re: [PHP] Re: novice: char to varchar

2005-05-19 Thread Satyam
ean. The problem is that MySql does not report booleans as such but as the storage type, which might be different from the declared type, so I didn't get my checkboxes. So I am forced to explicitly declare to the form creator which fields are actually boolean since it cannot pick it from t

[PHP] Re: multiple inserts into a db

2005-05-19 Thread Satyam
You are missing loading the $i item of the $Session_variable_with_itemID into $ses_basket_id' before doing the insert. Satyam "Mayo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm putting ordered items into a db. The information is

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-19 Thread Satyam
int is that the browser will store the redirected-to address with all its arguments, not the one with the form data, so, a refresh will give you the confirmation page, not the insert one. Satyam >> All is fine to here. >> 6) User clicks refresh. >> 7) Another record is added, same

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-19 Thread Satyam
not even involve database access. Satyam "Marcus Joyce" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Why dont you check that data isnt being duplicated? > > $query = "SELECT auto_col FROM table where col1 = $var1 & col2 = $var > 3..

Re: [PHP] Refresh (F5) adds another SQL record.

2005-05-19 Thread Satyam
indicate that the ID had been used, as you mention. Later on I read about redirecting out of the update page, as Marek Kilimajer replied above and never bothered to do it again. Satyam "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, May 17, 2

Re: [PHP] Internet Explorer Caching

2007-08-29 Thread Satyam
I'm sending these headers: header('Cache-Control: no-cache, must-revalidate'); // HTTP/1.1 header('Expires: Mon, 26 Jul 1997 05:00:00 GMT'); // Date in the past I don't remember where I took them from, but they are working fine for me. Satyam

Re: [PHP] crypt salt question

2007-08-30 Thread Satyam
No chance. Unless you have the salt stored along each password, your passwords are as good as random texts Satyam - Original Message - From: "Andras Kende" <[EMAIL PROTECTED]> To: Sent: Thursday, August 30, 2007 11:42 PM Subject: [PHP] crypt salt question Hell

Re: [PHP] Dealing with auto-increment in MySQL

2007-09-04 Thread Satyam
database reusing the empty slots they assume those autoincrement fields point to. Someone remembers dBaseIII .dbf files? Well, perhaps that is the picture they have in mind. Satyam - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "Steve Finkelste

Re: [PHP] Using PHP to determine if user has Java installed

2007-09-05 Thread Satyam
I would think that if you put an in the page with some public property or method which you could then query from JavaScript if it succeeds it means you do have Java, not only installed but available and enabled to the browser, then you could either send a AJAX message to the server or navigate

Re: [PHP] the opposite of a join?

2007-10-03 Thread Satyam
- Original Message - From: "Zoltán Németh" <[EMAIL PROTECTED]> it's not very efficient, but I don't have any better idea. someone else? Indeed, that sort of query is one of the worst and there is little you can do to improve it save making sure you have an index on the field of the

Re: [PHP] Compilers

2007-10-30 Thread Satyam
find in their site. Satyam - Original Message - From: "Wolf" <[EMAIL PROTECTED]> To: "php-general" Sent: Tuesday, October 30, 2007 4:36 PM Subject: [PHP] Compilers Anyone use compilers (linux based or Windoze) and which do you use? Looking for something

Re: [PHP] Looking for ways to prevent timeout

2007-11-05 Thread Satyam
w any big improvement either. After all, I knew the data and optimized it as much as possible so I can't assume the SQL optimizer could do much better than I had. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] global address collection

2008-01-08 Thread Satyam
nything on postal codes. Some countries have letters in them and the number of characters varies. I just hate it when they ask to enter the full 9 digit zip code. Satyam - Original Message - From: "Richard Heyes" <[EMAIL PROTECTED]> To: "tedd" <[EMA

Re: [PHP] Get country from Phone number

2008-02-29 Thread Satyam
hus, Mexico and Brazil get two digit codes in the 5 range while smaller Nicaragua gets three. Satyam - Original Message - From: "Andrés Robinet" <[EMAIL PROTECTED]> To: "'Dani Castaños'" <[EMAIL PROTECTED]>; "'PHP LIST'"

Re: [PHP] Get country from Phone number

2008-03-01 Thread Satyam
they are assigned to the larger countries. The 59x and 50x ranges (in phone numbering the zero is after the nine within the same decade) go to countries with less phone lines. Satyam Let me know what you'll think. http://www.cmsws.com/examples/php/areacodes/countrycodes.php --

Re: [PHP] Find MAC Address in PHP

2007-04-20 Thread Satyam
nge the IP. Satyam - Original Message - From: "Nathaniel Hall" <[EMAIL PROTECTED]> To: Sent: Friday, April 20, 2007 10:00 PM Subject: [PHP] Find MAC Address in PHP Hi all, I am attempting to find the MAC address of systems visiting my page from the local LAN. I have

Re: [PHP] Find MAC Address in PHP

2007-04-21 Thread Satyam
I'm sorry, I missed that, you are right, unless there are subnets within the company, several offices in distant locations. Satyam - Original Message - From: "Zoltán Németh" <[EMAIL PROTECTED]> To: "Satyam" <[EMAIL PROTECTED]> Cc: "

Re: [PHP] Re: how to detect type of image

2007-04-25 Thread Satyam
s of the year of the standard. Just open files of the types you are concerned about and check the first few characters. Satyam - Original Message - From: "Richard Lynch" <[EMAIL PROTECTED]> To: "Jonathan" <[EMAIL PROTECTED]> Cc: Sent: Wednesday, April 25, 20

Re: [PHP] ${}

2007-04-25 Thread Satyam
nts of $variable0 for $i = 0. I think it was also used to refer to individual characters within a string as if it was a character array, but that is deprecated in favour of square brackets. Satyam -- .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org / v \ Simplicity

Re: [PHP] Ajax?

2007-05-09 Thread Satyam
and use whatever you want. And don't miss the videos of the presentations of Douglas Crockford on JavaScrit and the DOM. Satyam - Original Message - From: "Emil Edeholt" <[EMAIL PROTECTED]> To: Sent: Wednesday, May 09, 2007 5:04 PM Subject: [PHP] Ajax? Hi!

Re: [PHP] RE: Return or not to return, that is the question

2007-05-30 Thread Satyam
ute the self-documenting value of well-written code, quite the opposite, they would need to be documented themselves to avoid missinterpretations. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] MySQL Connection in Session ?

2007-06-11 Thread Satyam
go as fast as you can to give the next in line a chance to reuse it from the pool. Satyam - Original Message - From: "PHP Mailing List" <[EMAIL PROTECTED]> To: Sent: Monday, June 11, 2007 6:53 PM Subject: [PHP] MySQL Connection in Session ? Can I maintain just

Re: [PHP] OK to have many files in one folder?

2007-06-15 Thread Satyam
from one directory level to the next also takes some time, thus it is a compromise in between searching sequentially in a directory for a filename (for those filesystems that do so) and going deep into the directory tree. Satyam - Original Message - From: "Brian Dunning" &l

Re: [PHP] Displaying HTML characters in real format

2007-07-17 Thread Satyam
characters handled by htmlspecialchars. I just prefer to set the character encoding compatible from end to end. Satyam - Original Message - From: "Nisse Engström" <[EMAIL PROTECTED]> To: Sent: Tuesday, July 17, 2007 9:03 PM Subject: Re: [PHP] Displaying HTML ch

Re: [PHP] No is_date() function?

2007-07-25 Thread Satyam
, but for the time being, a 'timestamp' as returned by, for example' mktime, is a plain integer. Satyam - Original Message - From: "Ken Tozier" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 25, 2007 3:55 PM Subject: [PHP] No is_date() function? Hi I

Re: [PHP] OOT - Ajax definitiondear all,

2007-07-27 Thread Satyam
Cold Fusion AJAPL - and PERL Just let the X stand for 'unknown'. Satyam And so on. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.4

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-27 Thread Satyam
ts can send PGP protected messages. Finally, you could get your users to ZIP the files with a password before sending them, which is not so secure but is good enough for many uses. IT all depends on what you want. Satyam - Original Message - From: John A DAVIS To: php-genera

Re: [PHP] Authentication

2007-07-27 Thread Satyam
t is because it is who he says it is. Otherwise, no browser will give you access to any sensitive information on the client machine, nothing that someone, anyone, might pick on the server side just by receiving a page request. Satyam - Original Message - From: "Dan Shirah"

Re: [PHP] need insights on encrypting and uploading ASCII file using PHP

2007-07-29 Thread Satyam
to ZIP the files with a password before sending them, which is not so secure but is good enough for many uses. IT all depends on what you want. Satyam You can also send pieces and parts at different times to be assembled afterwards and, if needed, each to have their own protection scheme. Or

Re: [PHP] Loss of precision in intval()

2007-08-01 Thread Satyam
It is most definitely not if what you want is the square root, or the hyperbolic cosine or any other of a zillion things. - Original Message - From: "Mark Summers" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 01, 2007 6:52 PM Subject: [PHP] Loss of precision in intval() This so

Re: [PHP] javascript in or in ?

2007-08-07 Thread Satyam
Check: http://developer.yahoo.com/performance/rules.html Satyam PS: The answer is, put styles at the top, scripts at the bottom., but there are many other tricks to improve performance. Otherwise, as for the standards, they can go anywhere. - Original Message - From

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

2006-07-13 Thread Satyam
ct made 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

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: Sent: Thursday, July 27, 2006 12:39 PM Subject: Re: [PHP] Problem with rawurlenco

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: Sent: Tuesday, August 01, 2006 6:35 PM Subject: [PHP] PHP Framework

Re: [PHP] OT alternate website authentication methods

2006-08-19 Thread Satyam
eyboard entry alternative to any mouse option. Satyam - Original Message - From: "Chris W. Parker" <[EMAIL PROTECTED]> To: Sent: Friday, August 18, 2006 11:08 PM Subject: [PHP] OT alternate website authentication methods Hello, Last night I was reading Chris S

Re: [PHP] Is this unsecure?

2006-09-05 Thread Satyam
ng. Just make 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

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: Sent: Tuesday, September 05, 2006 6:18 PM Subject: Re: [PHP] Is this unsecur

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

2006-09-08 Thread Satyam
r you only in Spanish, my Portuguese being too primitive. Satyam - Original Message - From: "Sr. Paulo Ricardo" <[EMAIL PROTECTED]> To: 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'

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

2006-09-08 Thread Satyam
you know why it is good to straighten negative booleans, this would be the twisted way if ($_REQUEST['id] != 'black' and $_REQUEST['id'] != 'white') { echo 'wrong color''; } else { echo 'right color'; } Notice that not only the comp

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

2006-09-09 Thread Satyam
side down. Satyam - Original Message - From: "Kevin Murphy" <[EMAIL PROTECTED]> To: "php" 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

Re: [PHP] Newbie question about

2006-09-09 Thread Satyam
not, I can't tell, but it is the only reason I know why short tags might be considered inapropriate and disabled. Satyam - Original Message - From: "Mike Borrelli" <[EMAIL PROTECTED]> To: Sent: Saturday, September 09, 2006 3:19 PM Subject: [PHP] Newbie question ab

Re: [PHP] Newbie question about

2006-09-10 Thread Satyam
ough I am still to see any place which would deny itself the chance to run zillions of packages out there to achieve some theoretical compatibility at a point (PHP source code) where it is irrelevant. Satyam Cheers, Mike As was said before, the major reasons for not using short tags are:

Re: [PHP] Re: Newbie question about

2006-09-10 Thread Satyam
t as a C++ iostream or a Java StringBuffer 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://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Newbie question about

2006-09-10 Thread Satyam
in HTML. This, of course, is harder to time since it happens only once. I admit though that I did time the options I listed and on the 'dropping in and out of PHP' I'm relying on the PHP manual ( see http://www.php.net/manual/en/language.basic-syntax.php, the first paragraph after the

Re: [PHP] Re: Newbie question about

2006-09-11 Thread Satyam
document.getElementById('table2alink').style.display='none';return false;"> Reveal output There seems to be one thing rarely anybody remembers, echo admits multiple arguments, and as the numbers will show, (or at least they do in my machine), they

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: 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: 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 res

Re: [PHP] DOM - parse HTML document

2006-09-11 Thread Satyam
helpful 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: Sent: Monday, September 11, 2006 11:11 PM Subje

Re: [PHP] DOM - parse HTML document

2006-09-12 Thread Satyam
, the second one 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 unsubscr

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: Sent: Thursday, September 14, 2006 2:12 AM Subject: [PHP] DOM Question. No pun intended. Hi All, I&#

Re: [PHP] Pre-printed forms

2006-09-14 Thread Satyam
there is no way, 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)

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: Sent: Thursday, September 14, 2006 4:16 PM Subject:

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

2006-09-19 Thread Satyam
ssigned to these variables. Any ideas? Thanks Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] newbie php tutorial question

2006-10-02 Thread Satyam
the > was the closing bracket for the but browsers are designed to carry on and assume things that might be missing so a would make it assume there was a somewhere. Satyam - Original Message - From: "Stut" <[EMAIL PROTECTED]> To: "srdaniel" <[EMAIL

Re: [PHP] Help on objects

2006-10-04 Thread Satyam
esign. Classes 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: Sent: Thursday, October 05, 2006 3:47 AM S

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]>; Sent: Thursday, October 05, 2006 11:16 AM Subject: Re: [PHP] Help on objects On Thu, 2006-10-05 at

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

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

2006-10-11 Thread Satyam
you require, as Johan sugestests, isin a class representing collections of the individual objects. Thus, it is usually good to have a class representing individual objects (customer) and collections of the same (customers) or methods that provide information on groups or agregates of individual i

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

2006-10-24 Thread Satyam
r 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] counting records in db

2006-10-27 Thread Satyam
It will take just as longer as processing any additional where clause. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

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'" Sent: Sunday, October 29, 2006 9:06 AM Subject: RE:

Re: [PHP] access to DB and security

2006-11-08 Thread Satyam
ll find lots of literature just googling 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" 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 writ

Re: [PHP] Tidy HTML source?

2006-11-28 Thread Satyam
e, I would 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 - O

Re: [PHP] Tidy HTML source?

2006-11-29 Thread Satyam
ngines and that you do 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

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

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 co

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 PROT

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 t

Re: [PHP] PHP Grammar

2006-12-06 Thread Satyam
http://phpcompiler.org/ - Original Message - From: "yo plop" <[EMAIL PROTECTED]> To: 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 it already done and o

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

2006-12-17 Thread Satyam
mple: $array = array(' 2' => 'dog'); // there is a whitespace before the number 2 will set the element of ordinal number 0 and key ' 2' to 'dog'. To get that value you would either ask for $array[0] or $array[' 2']. Doing a print_r() or v

Re: [PHP] Re: ECHO

2006-12-19 Thread Satyam
ot; method, 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" <[EMAI

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: 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 swi

Re: [PHP] Coordenates latitude / longitude on PHP

2006-03-02 Thread Satyam
ng interface 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 R

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

2006-03-05 Thread Satyam
elete the complete directory with everything it had. (I know IIS does that, but I never had to manage an Apache server, someone can help on that?). This one doesn't take any overhead on a per-page basis, just once per session and keeps the disk storage clean. Just some sugestions, I hope they

Re: [PHP] session register()

2006-03-11 Thread Satyam
ript function You can echo code such as: echo 'var sessionVariable ="' , $SESSION['thisVariable'],'"'; 2)Is there any function available to calculate idle time of user . Not that I know of and probably there won't be anyway since that is knowing t

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Satyam
y have precedence over those from 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 C

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Satyam
while when assigning it via the DOM did, and I couldn't figure out until I realized that a CSS definition was in between, having higher precedence than the style attribute, but lower than the DOM. One of those bugs that drive you nuts. Satyam tedd -- -

Re: [PHP] determining client's external IP

2006-03-13 Thread Satyam
ed from devices that reach the outside world through any of these devices 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] Is this password protection script secure?

2006-03-14 Thread Satyam
to the database, for example, an example of the contents of a session file: IdUsr|i:999;level|s:1:"2";usr|s:6:"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 'sat

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: Sent: Thursday, March 16, 2006 8:51 PM Subject: [PHP] Two functions, on

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

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

2006-03-27 Thread Satyam
o spoofing. Anyway, this is a poor man 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]>

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

2006-03-27 Thread Satyam
knew the answer 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

Re: [PHP] Strange math results

2006-03-28 Thread Satyam
0.0001 or thereabouts. 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 sma

Re: [PHP] Parse Error on SQL Insert

2006-04-07 Thread Satyam
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: "Chrom

Re: [PHP] Ajax please....

2006-04-08 Thread Satyam
ot working documents and, of course, both might be PHP scripts. Satyam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Date problems

2006-04-09 Thread Satyam
x27;,86400); Satyam - Original Message - From: "Mace Eliason" <[EMAIL PROTECTED]> To: 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 i

<    1   2   3   >