[PHP] New version of community calendar released!

2001-10-04 Thread Christopher Ostmo
! Thanks... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web site needs since the dawn of World Wide Web time (1995) Business Applications: http://www.AppIdeas.com/ Open Source Applications: http://open.AppIdeas.com/ got Unix

Re: [PHP] number generat {Luhn algorithm}

2001-07-23 Thread Christopher Ostmo
Yamin Prabudy pressed the little lettered thingies in this order... anybody know about the Luhn algorithm ?? how can i do that in php yamin http://www.zend.com/codex.php?id=31single=1 Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting

Re: [PHP]MySQL error, what's wrong here..

2001-07-23 Thread Christopher Ostmo
: $result=mysql_query($query,$connection) or die(mysql_error()); Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web site needs since the dawn of Internet time (1995) Business Applications: http://www.AppIdeas.com

Re: [PHP] sql query successful

2001-07-18 Thread Christopher Ostmo
()) is TRUE, but you're using an assignment operator (=) and not a comparison operator (==), so it should always return FALSE. (Can you use an assignment operator in an if() statement?) Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic

Re: [PHP] sql query successful

2001-07-18 Thread Christopher Ostmo
and the query succeeds without an error. It succeeds and says 0 rows. It's a valid query with zero results. A FALSE return from a programming function indicates an error condition, not the lack of results. Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting

RE: [PHP] sql query successful

2001-07-18 Thread Christopher Ostmo
Mark Roedel pressed the little lettered thingies in this order... -Original Message- From: Christopher Ostmo [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 18, 2001 2:43 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] sql query successful Your statement above is checking

Re: [PHP] 50 SEX Sites in ONE Affiliate Portal.................

2001-07-17 Thread Christopher Ostmo
not wish to receive further mailings, please do NOT reply to this message. But I do! I do! I LOVE Adult Entertainment. The Godfather and Shawshank Redemption are two of my favorite movies! Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge

Re: [PHP] php- something that i don't understand

2001-07-17 Thread Christopher Ostmo
line 7 to this: $result = mysql_db_query(users, $query) or die(mysql_error()); What is the error after you do that? Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web site needs since the dawn of Internet time (1995) Business

Re: [PHP] Need help with formatting time

2001-07-17 Thread Christopher Ostmo
/manual/en/function.date.php http://www.php.net/manual/en/function.mktime.php Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web site needs since the dawn of Internet time (1995) Business Applications: http://www.AppIdeas.com/ Open

RE: [PHP] Need help with formatting time

2001-07-17 Thread Christopher Ostmo
that...haven't tested it, but it should be close... That's a lot of code! Use date() and mktime() and PHP will do all of this for you in one line. See my previous post on the subject. I sent *tested* code that will fit on a single line and will do exactly what the above is doing. Christopher

Re: [PHP] Time that db´s connection is keep alive

2001-07-17 Thread Christopher Ostmo
operating memory and system resources. Decisions, decisions... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web site needs since the dawn of Internet time (1995) Business Applications: http://www.AppIdeas.com/ Open Source

Re: [PHP] Credit card number checker?

2001-07-16 Thread Christopher Ostmo
off of you. If they do get upset, you ought to find a new bank. Seriously. Many banks would be very happy to have your business, bad credit card requests and all. Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web

Re: [PHP] Credit card number checker?

2001-07-16 Thread Christopher Ostmo
this solution requires sending the card to the bank for processing to see if the number is valid, it would defeat the purpose. Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web site needs since the dawn of Internet time (1995

Re: [PHP] Credit card number checker?

2001-07-16 Thread Christopher Ostmo
recall how old the case is, so it may have been a long time ago. At any rate, I'm interested to see what you come up with now. Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web site needs since the dawn of Internet time (1995

Re: [PHP] Credit card number checker?

2001-07-16 Thread Christopher Ostmo
Ashley M. Kirchner pressed the little lettered thingies in this order... Christopher Ostmo wrote: By law, the numbers are supposed to be generated at random and not generated by any kind of algorithm or formula. CC# must pass the Luhn MOD 10 formula, so the generated numbers

Re: [PHP] Credit card number checker?

2001-07-16 Thread Christopher Ostmo
statement. Sorry. I was just wrong all around on this one! :-) Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web site needs since the dawn of Internet time (1995) For a good time, http://www.AppIdeas.com/ -- PHP General Mailing

Re: [PHP] Unexplained Timeout

2001-07-16 Thread Christopher Ostmo
the types are correct (remove the quotes from around variables for which you expect integers). If not, then at least you can rest assured that PHP is using the proper variable types. Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge

Re: [PHP] Unexplained Timeout

2001-07-16 Thread Christopher Ostmo
don't know what problems may arise when you place the end variable within the quotes, but I've never been able to make code work predictably that way. Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web site needs since the dawn

Re: [PHP] Session Question

2001-07-15 Thread Christopher Ostmo
... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web site needs since the dawn of Internet time (1995) Business Applications: http://www.AppIdeas.com/ Open Source Applications: http://open.AppIdeas.com/ -- PHP General Mailing

Re: [PHP] Web application?

2001-07-14 Thread Christopher Ostmo
MySQL by Paul DuBois. Have fun... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web site needs since the dawn of Internet time (1995) Business Applications: http://www.AppIdeas.com/ Open Source Applications: http

RE: [PHP] Web application?

2001-07-14 Thread Christopher Ostmo
it. The fact of the matter is that in a side-by-side comparison for nearly anything you could conceive of doing with data storage/retrieval on the web, MySQL is going to have a decided speed advantage. This may change with the new release of Postgres. Christopher Ostmo a.k.a. [EMAIL PROTECTED

Re: [PHP] Re: Mcrypt fails to run

2001-07-13 Thread Christopher Ostmo
, then this is your problem. The fix was documented at bugs.php.net and was incorporated into a later version. When I compiled 4.0.6, I didn't have to make this change. If you're going to recompile anyway, you may as well upgrade. Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com

Re: [PHP] encryption methods?

2001-07-13 Thread Christopher Ostmo
capabilities, most (all?) SQL database servers have support for one-way encryption. It's not efficient to store user data in PHP scripts (or any other script for that matter) as was stated in the initial message. If you have access to a database server, use it. Christopher Ostmo a.k.a. [EMAIL PROTECTED

RE: [PHP] Security of PHP code

2001-07-05 Thread Christopher Ostmo
consecutive periods (..), forward slashes or both. This is the method used at slashdot. Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Innovative Application Ideas Meeting cutting edge dynamic web site needs since the dawn of Internet time (1995) For a good time, http://www.AppIdeas.com

RE: [PHP] Security of PHP code

2001-07-05 Thread Christopher Ostmo
. -Original Message- From: Christopher Ostmo [mailto:[EMAIL PROTECTED]] Sent: 5 iulie 2001 19:57 To: Adrian Ciutureanu Cc: [EMAIL PROTECTED] Subject: RE: [PHP] Security of PHP code Adrian Ciutureanu pressed the little lettered thingies in this order... $allowed_path

RE: [PHP] Security of PHP code

2001-07-04 Thread Christopher Ostmo
jail all logins. Have fun... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: [PHP] Security of PHP code

2001-07-04 Thread Christopher Ostmo
($allowed_path./.$file); That would block any attempt to trick the server into going into another directory. You would have to create separate show_source() calls or separate scripts for each directory that you wish to allow, but nobody will ever get your /etc/passwd file. Christopher Ostmo a.k.a. [EMAIL

Re: [PHP] RE: Protecting from session hijacking

2001-07-04 Thread Christopher Ostmo
are incredibly easy to find, get and use (even for script kiddies). If your session data is *that* vital, you should consider using SSL. This is likely to be true as long as HTTP transmissions are stateless. Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web

Re: [PHP] Stopping stolen / spoofed / linked sessions

2001-07-02 Thread Christopher Ostmo
that someone can look over another's shoulder and write down a 20 character string without the first person noticing). Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com/ -- PHP General Mailing List (http

Re: [PHP] mySQL reset auto_increment

2001-07-02 Thread Christopher Ostmo
, you're really going to mess things up regardless of how you resequence these values. If no other tables interact with this one (or if you can easily and manually recreate the interactivity), you shouldn't have any problems. Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-28 Thread Christopher Ostmo
the included web log as \' How can I filter out these backslashes so they don't appear on the final public viewable page? $var = stripslashes($var); echo $var; or echo stripslashes($var); http://www.php.net/manual/en/function.stripslashes.php Have fun... Christopher Ostmo a.k.a. [EMAIL

Re: [PHP] variables / reading files

2001-06-23 Thread Christopher Ostmo
/language.operators.string.php and assignement operators: http://www.php.net/manual/en/language.operators.assignment.php Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com/ -- PHP General Mailing List (http

Re: [PHP] mcrypt_cbc()

2001-06-22 Thread Christopher Ostmo
= [DIR] You must have libmcrypt installed on your system (not the entire mcrypt program, just the libraries) prior to compiling PHP. Get it here: http://mcrypt.hellug.gr/ Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good

Re: [PHP] Sessions vs Cookies?

2001-06-22 Thread Christopher Ostmo
for you. Check out: http://www.php.net/manual/en/ref.session.php Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] Sessions vs Cookies?

2001-06-22 Thread Christopher Ostmo
into PHP4 as long as HTTP connections remain stateless. Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Safe_mode in certain directories

2001-06-22 Thread Christopher Ostmo
safe_mode On Do those directives work in .htaccess files too? According to: http://www.php.net/manual/en/configuration.php Admin configuration settings can only be set from within the main Apache configuration files, and not from .htaccess files. Christopher Ostmo a.k.a. [EMAIL PROTECTED

Re: [PHP] PHP authenticating and session management

2001-06-22 Thread Christopher Ostmo
both into a database and check both for each page request. If the data being accessed is *that* important that a hacker would go through that much trouble to hijack a session, you probably should consider using SSL. Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge

Re: [PHP] Parse PHP inside a variable

2001-06-21 Thread Christopher Ostmo
://www.php.net/manual/en/function.eval.php The second user contributed note contains an example of how to do this. Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com/ -- PHP General Mailing List

Re: [PHP] mailform loop

2001-06-20 Thread Christopher Ostmo
need to perform these functions on $key, depending on your needs. If you want to put the entire message into the DB, you can insert $Message at the end of the script or individual values can be inerted using the $key = $val pairs. Have fun... Christopher Ostmo a.k.a. [EMAIL PROTECTED

Re: [PHP] Multipe Tables, Single Query Problem

2001-06-19 Thread Christopher Ostmo
MySQL. It covers this sort of thing rather well. Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com Meeting cutting edge dynamic web site needs For a good time, http://www.AppIdeas.com/

RE: [PHP] Multipe Tables, Single Query Problem

2001-06-19 Thread Christopher Ostmo
$linksField1br $linksField2p; for ($i = 0; $actorsField1[$i]; $i++) { echo $actorsField1[$i]br $actorsField2[$i]p; } Or however you want it to be formatted. The end result is that you have a single SQL query. Have fun... Christopher Ostmo a.k.a. [EMAIL PROTECTED

Re: [PHP] ssh

2001-05-15 Thread Christopher Ostmo
wouldn't be surprised to see some REALLY good SSH clients in the freeware community soon. Have fun... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com For a good time, http://www.AppIdeas.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] Where is Regex List of Operators?

2001-02-15 Thread Christopher Ostmo
thoroughly and support for them is much easier to obtain. If it's not possible to use PCREs, the above links (particularly the first) whould contain details for just about anything you may need to do with POSIX REs. Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com For a good

Re: [PHP] uploading files with just a string c:\temp\whatever.txt

2001-02-14 Thread Christopher Ostmo
machine). You'll be wanting to look into javascript or something more of that flavor. Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com For a good time, http://www.AppIdeas.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] deleting cart items on session expire

2001-02-14 Thread Christopher Ostmo
for you. Good luck... Christopher Ostmo a.k.a. [EMAIL PROTECTED] AppIdeas.com For a good time, http://www.AppIdeas.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administra