Re: [PHP] sending array

2003-01-15 Thread Gerald Timothy Quimpo
(maybe running through crontab if you're on Unix, or some windows scheduler otherwise) that deletes array files that are more than, say, 5 minutes old. tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: gpg --keyserver pgp.mit.edu --recv-keys 672F4C78

Re: [PHP] count characters without space

2003-01-11 Thread Gerald Timothy Quimpo
) characters in the input string. tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: gpg --keyserver pgp.mit.edu --recv-keys 672F4C78 Veritas liberabit vos. Doveryai no proveryai. -- PHP General Mailing List (http

Re: [PHP] fopen with nasty pathnames

2003-01-11 Thread Gerald Timothy Quimpo
? if the backslashes are actual parts of the filename (they shouldn't be, but the world is weird) then you'll need to escape them. \\. tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: gpg --keyserver pgp.mit.edu --recv-keys 672F4C78

Re: [PHP] Too many open files

2003-01-10 Thread Gerald Timothy Quimpo
you have a loop that opens files, does something with them, then continues the loop (opening more files without closing the previously opened files that you don't need anymore)? tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: gpg --keyserver pgp.mit.edu

Re: [PHP] Encrypt in Javascript and Decrypt in PHP????

2003-01-10 Thread Gerald Timothy Quimpo
then take the password from the database (or wherever), decrypt it (if it's encrypted), append or prepend the extra characters, hash the whole thing, and compare the hashes. tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: gpg --keyserver pgp.mit.edu

Re: [PHP] Second (Bizarre) Question regarding PHP and ASP

2003-01-04 Thread Gerald Timothy Quimpo
, and compares the hash generated with the hash passed in. if they don't match, don't reply. if they match, then the request comes from process.php (unless you're really paranoid, in which case, add some more hoops for process.php to jump through :). tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo

Re: [PHP] way to insert timer / pause?

2003-01-03 Thread Gerald Timothy Quimpo
is complete. there may also be quirks in browsers, proxies or servers that affect this, but i don't know any details. tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: gpg --keyserver pgp.mit.edu --recv-keys 672F4C78 Veritas

Re: [PHP] makeing an array

2003-01-02 Thread Gerald Timothy Quimpo
was of the string which was contained in the variable variable_name. this is a neat feature and helpful in many situations, but for readability i'd go with naming the fields as array entries comment[1]. tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: gpg

Re: [PHP] Some questions regarding pfsocketopen()

2003-01-02 Thread Gerald Timothy Quimpo
-- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: gpg --keyserver pgp.mit.edu --recv-keys 672F4C78 Veritas liberabit vos. Doveryai no proveryai. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] PHP memory usage

2003-01-02 Thread Gerald Timothy Quimpo
of an SQL query in an array or something similar (i've seen a lot of that with programmers i work with, they store entire result sets in arrays to make them easier to work with, without considering just how much RAM such arrays would eat if the result sets are large). tiger -- Gerald Timothy

Re: [PHP] Code contents of a function

2003-01-02 Thread Gerald Timothy Quimpo
-- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: gpg --keyserver pgp.mit.edu --recv-keys 672F4C78 Veritas liberabit vos. Doveryai no proveryai. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] parse error

2003-01-02 Thread Gerald Timothy Quimpo
., php -l syntaxErrorTest.php will show you syntax errors in there. tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: gpg --keyserver pgp.mit.edu --recv-keys 672F4C78 Veritas liberabit vos. Doveryai no proveryai

Re: [PHP] Populating textboxes and listboxes from a query result of a database table

2002-12-26 Thread Gerald Timothy Quimpo
PHP. they can edit just the templates, and as long as they follow your convention on templates to be replaced and field naming, the programming group and the graphic designers can work separately and in parallel. tiger -- Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph

Re: [PHP] Include Problems

2002-12-26 Thread Gerald Timothy Quimpo
Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph Public Key: gpg --keyserver pgp.mit.edu --recv-keys 672F4C78 Veritas liberabit vos. Doveryai no proveryai. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Undefined Functions

2002-12-23 Thread Gerald Timothy Quimpo
as expected with no undefined function problems. now, if i were to have an elseif ($b==9) b9(); in there, then i'd expect that error. can you distill the problem to a runnable example which demonstrates the problem for you and post the example? tiger -- Gerald Timothy Quimpo tiger*quimpo*org

Re: [PHP] Question about the exit() command

2002-12-19 Thread Gerald Timothy Quimpo
be to remember what the previous page looked like, and redisplay it. this may involve remembering the state of the page (static template, contents of the textfields, textboxes, checkboxes, etc), and then just redisplaying the page with the data *in* the input form. tiger -- Gerald Timothy Quimpo tiger