php-general Digest 8 Apr 2007 11:38:57 -0000 Issue 4722

2007-04-08 Thread php-general-digest-help
php-general Digest 8 Apr 2007 11:38:57 - Issue 4722 Topics (messages 252225 through 252241): Re: MD5 bot Question 252225 by: Jim Lucas 252238 by: Tijnema ! 252239 by: Tijnema ! 252241 by: benifactor Re: PHP4 vs PHP5 252226 by: Yves Arsenault

Re: [PHP] MD5 bot Question

2007-04-08 Thread Tijnema !
On 4/8/07, tedd [EMAIL PROTECTED] wrote: Well, I cracked it for you :) http://86.86.80.41/dev/debug/tedd.php At the bottom it shows you the MD5 code of your arrow image, and it shows you which way it points to :) If you're interested in the code: http://86.86.80.41/dev/debug/tedd.txt

Re: [PHP] MD5 bot Question

2007-04-08 Thread Tijnema !
On 4/8/07, Tijnema ! [EMAIL PROTECTED] wrote: On 4/8/07, tedd [EMAIL PROTECTED] wrote: Well, I cracked it for you :) http://86.86.80.41/dev/debug/tedd.php At the bottom it shows you the MD5 code of your arrow image, and it shows you which way it points to :) If you're interested in

Re: [PHP] Re: spl DirectoryIterator

2007-04-08 Thread Tijnema !
On 4/8/07, itoctopus [EMAIL PROTECTED] wrote: After some testing and reading, I think this function is still experimental. Anyone else has some thoughts on this? I agree with you, this function seems not working correctly. From what i see of my testing is that this makes an array, with some

Re: [PHP] MD5 bot Question

2007-04-08 Thread benifactor
hmm, why don't you md5 more then once.. for example, use a condition that will change with every visitor. like the third num in $_SERVER['REMOTE_ADDR']; or something of the sort. then make a loop.. say the third num in my ip address is 5 the person that visits after me would get my value,

Re: [PHP] MD5 bot Question

2007-04-08 Thread Robert Cummings
On Sun, 2007-04-08 at 04:38 -0700, benifactor wrote: hmm, why don't you md5 more then once.. for example, use a condition that will change with every visitor. like the third num in $_SERVER['REMOTE_ADDR']; or something of the sort. then make a loop.. say the third num in my ip address

Re: [PHP] MD5 bot Question

2007-04-08 Thread benifactor
indeed. i was just throwing out the idea of ever changing values. Robert Cummings wrote: On Sun, 2007-04-08 at 04:38 -0700, benifactor wrote: hmm, why don't you md5 more then once.. for example, use a condition that will change with every visitor. like the third num in

Re: [PHP] MD5 bot Question

2007-04-08 Thread Robert Cummings
On Sun, 2007-04-08 at 05:41 -0700, benifactor wrote: indeed. i was just throwing out the idea of ever changing values. Except IP addresses aren't ever changing ;) Cheers, Rob. -- .. | InterJinn Application Framework -

Re: [PHP] MD5 bot Question

2007-04-08 Thread benifactor
but most people have different ones :) you could also use a random position :) fooeee. Robert Cummings wrote: On Sun, 2007-04-08 at 05:41 -0700, benifactor wrote: indeed. i was just throwing out the idea of ever changing values. Except IP addresses aren't ever changing ;) Cheers,

Re: [PHP] spl DirectoryIterator

2007-04-08 Thread Jochem Maas
Matthew Dellar wrote: I have a problem, I need to turn an iterator into an array, but when I do, some methods I need to use stop working. why do you need to turn it into an array? maybe there is an alternative? my first reaction would be that if you really need an array then you'll probably

Re: [PHP] which CMS are you using and why?

2007-04-08 Thread Anders Norrbring
Fernando Cosso skrev: Well that's the question. I have to start a new project and I have to decide the CMS. I have thought mambo will do, but looking at the documentation, it disappointed me a little. I need a documentation with examples of the objects, functions and all that stuff. The project

[PHP] Re: which CMS are you using and why?

2007-04-08 Thread Colin Guthrie
Fernando Cosso wrote: Well that's the question. I have to start a new project and I have to decide the CMS. I have thought mambo will do, but looking at the documentation, it disappointed me a little. I need a documentation with examples of the objects, functions and all that stuff. The

[PHP] Re: PHP4 vs PHP5

2007-04-08 Thread Colin Guthrie
Fernando Cosso wrote: I'm sure Mambo is ready for php5. I personally prefer Joomla! which is a fork of Mambo from about a year or so ago. You may be happy with Mambo but I'd take a look at Jooma too as it may fit your needs better. It seems that the majority of community support is for Joomla

[PHP] Re: PHP textbook suggestions?

2007-04-08 Thread David Powers
Chris Lott wrote: I will be teaching, so a book that a student can-- before the class-- work through and understand is good-- doesn't have to be a traditional textbook! But it shouldn't be a reference manual either. If you're looking for an up-to-date beginner's book that advocates (what I

[PHP] Re: which CMS are you using and why?

2007-04-08 Thread itoctopus
Mambo/Joomla, they're both great. Wordpress is also excellent, though I'm not sure it would fit your needs. -- itoctopus - http://www.itoctopus.com Fernando Cosso [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Well that's the question. I have to start a new project and I have to

Re: [PHP] MD5 bot Question

2007-04-08 Thread tedd
At 9:42 AM +0200 4/8/07, Tijnema ! wrote: You can't stop me :) http://86.86.80.41/dev/debug/tedd.php It's cracked again :) and of course i show you the code: http://86.86.80.41/dev/debug/tedd.txt Waiting for your next try :P Tijnema: I might not be able to stop you, but I am sure I can

Re: [PHP] MD5 bot Question

2007-04-08 Thread tedd
At 12:38 AM +0100 4/8/07, Stut wrote: tedd wrote: Okay, I think I figured out a fix -- try it again. :-) http://sperling.com/a/arrows/ A little knowledge is a dangerous thing. Give up now, while you're still sane. Think about what you're trying to do. You're trying to do something

Re: [PHP] MD5 bot Question

2007-04-08 Thread Tijnema !
On 4/8/07, tedd [EMAIL PROTECTED] wrote: At 9:42 AM +0200 4/8/07, Tijnema ! wrote: You can't stop me :) http://86.86.80.41/dev/debug/tedd.php It's cracked again :) and of course i show you the code: http://86.86.80.41/dev/debug/tedd.txt Waiting for your next try :P Tijnema: I might not

Re: [PHP] which CMS are you using and why?

2007-04-08 Thread Dave Goodchild
I have just upgraded to Drupal 5 and so far am very impressed - D5 comes bundled with the jquery library and I have found drupal to be very powerful with a wide and supportive community.

Re: [PHP] MD5 bot Question

2007-04-08 Thread Jochem Maas
just a few random thought on how to make it even more painful to crack. random colored borders, random border width, slight changes in width/height, random pixel noise or varying colors, animated gifs (where does the arrow stop), animated gifs (where does the red/pink/blue/green arrow point to),

[PHP] keeping credit card info in session

2007-04-08 Thread siavash1979
Hi All, I've got quite a bit or php experience, but I've never had to deal with credit card info before. Now for a property rental site, I'm adding a way for users to be able to fill out a form which also has some credit card info in it. After they submit the form, there are a couple of

Re: [PHP] keeping credit card info in session

2007-04-08 Thread Davi
Em Domingo 08 Abril 2007 15:26, [EMAIL PROTECTED] escreveu: Hi All, I've got quite a bit or php experience, but I've never had to deal with credit card info before. Now for a property rental site, I'm adding a way for users to be able to fill out a form which also has some credit card info

Re: [PHP] which CMS are you using and why?

2007-04-08 Thread Lester Caine
Fernando Cosso wrote: Well that's the question. I have to start a new project and I have to decide the CMS. I have thought mambo will do, but looking at the documentation, it disappointed me a little. I need a documentation with examples of the objects, functions and all that stuff. The project

[PHP] Re: keeping credit card info in session

2007-04-08 Thread itoctopus
Usually paying should be the last step, so you might probably want to review your workflow. Anyways, if you're storing the credit card in the database, then why are you also storing it in the session, you can just query the database for the credit card based on the session id (so you should also

Re: [PHP] keeping credit card info in session

2007-04-08 Thread Satyam
Check the local legislation regarding keeping such sensitive information. Many countries do have strict requirements for handling credit card info. Your bank might help you find what the rules are. Satyam - Original Message - From: [EMAIL PROTECTED] To: php-general@lists.php.net

RE: [PHP] keeping credit card info in session

2007-04-08 Thread Dan Harrington
Its not the country rules to worry about, it is Visa and MasterCard who will come down hard on you with $$ penalties if you don't maintain cardholder security correctly. http://usa.visa.com/merchants/risk_management/cisp.html?ep=v_sym_cisp Dan -- Dan Harrington NXGEN Payment Services 112 12th

Re: [PHP] keeping credit card info in session

2007-04-08 Thread Jochem Maas
unless you are a payment gateway or a bank don't touch credit card numbers. there are plenty of threads in the archive of this list that give good reasons not to e.g. being sued out of existence. get a payment provider and let them handle the transaction automatically, the site admin could be

Re: [PHP] keeping credit card info in session

2007-04-08 Thread Satyam
Notice the URL starts with 'usa'. In other countries you do have to go by the local laws. - Original Message - From: Dan Harrington [EMAIL PROTECTED] To: 'Satyam' [EMAIL PROTECTED]; [EMAIL PROTECTED]; php-general@lists.php.net Sent: Sunday, April 08, 2007 11:32 PM Subject: RE:

Re: [PHP] keeping credit card info in session

2007-04-08 Thread Davi
Em Domingo 08 Abril 2007 18:37, Jochem Maas escreveu: unless you are a payment gateway or a bank don't touch credit card numbers. there are plenty of threads in the archive of this list that give good reasons not to e.g. being sued out of existence. get a payment provider and let them handle

Re: [PHP] keeping credit card info in session

2007-04-08 Thread Jochem Maas
Davi wrote: Em Domingo 08 Abril 2007 18:37, Jochem Maas escreveu: unless you are a payment gateway or a bank don't touch credit card numbers. there are plenty of threads in the archive of this list that give good reasons not to e.g. being sued out of existence. get a payment provider and let

Re: [PHP] keeping credit card info in session

2007-04-08 Thread Davi
Em Domingo 08 Abril 2007 18:54, Jochem Maas escreveu: So... What about PayPal or another similar service?? =] well: a, your not paypal or F2B. b, they are both payment providers. Sorry... I didn't understand! =x []s -- Davi Vidal [EMAIL PROTECTED] [EMAIL PROTECTED] -- Agora com

Re: [PHP] Design Dilemma - Database Data Abstraction

2007-04-08 Thread Martin Alterisio
2007/4/8, Paul Novitski [EMAIL PROTECTED]: At 4/7/2007 09:49 AM, Martin Alterisio wrote: The solution I presented is to access, and act upon, a database as if they were PHP arrays, meaning that a table is presented as an array of records. This implies to me that you'll read a series of tables

Re: [PHP] keeping credit card info in session

2007-04-08 Thread Travis Doherty
Jochem Maas wrote: unless you are a payment gateway or a bank don't touch credit card numbers. there are plenty of threads in the archive of this list that give good reasons not to e.g. being sued out of existence. 100% agreed. Never touch credit card numbers. You can't just take credit

[PHP] foreach question

2007-04-08 Thread chris
I have .. foreach( $_POST as $key ) { echo $keybr /; } and that gives me item1 item2 item3 item4 item5br / how do I write it to give me item1br / item2br / item3br / item4br / item5br / Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] foreach question

2007-04-08 Thread Sebe
[EMAIL PROTECTED] wrote: I have .. foreach( $_POST as $key ) {echo $keybr /; } and that gives me item1 item2 item3 item4 item5br / how do I write it to give me item1br / item2br / item3br / item4br / item5br / Thanks both examples do the same thing.. -- PHP General Mailing List

[PHP] session in forum

2007-04-08 Thread uni uni
im trying to make a forum for my school assignment, its done and work well, but i want to make session where it is readonly for un-registered user, and the registered user can automaticly post new topics or comment the other topics without filling up name and email form cuz their name and

Re: [PHP] foreach question

2007-04-08 Thread chris
both examples do the same thing.. no, ex1 only has 1 br / so outputs like.. item1item2item3item4item5br / Where as I want this.. item1br / item2br / item3br / item4br / item5br / ie a line break after every item. - Original Message - From: Sebe [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] foreach question

2007-04-08 Thread Sebe
[EMAIL PROTECTED] wrote: both examples do the same thing.. no, ex1 only has 1 br / so outputs like.. item1item2item3item4item5br / Where as I want this.. item1br / item2br / item3br / item4br / item5br / ie a line break after every item. hmm, if you're getting 5 results from the loop

[PHP] Re: session in forum

2007-04-08 Thread itoctopus
http://www.sitepoint.com/article/users-php-sessions-mysql -- itoctopus - http://www.itoctopus.com uni uni [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] im trying to make a forum for my school assignment, its done and work well, but i want to make session where it is readonly for

Re: [PHP] MD5 bot Question

2007-04-08 Thread tedd
At 6:33 PM +0200 4/8/07, Tijnema ! wrote: On 4/8/07, tedd [EMAIL PROTECTED] wrote: Remember, I could also use a jpeg file and have millions of colors to chose from. Unless, there is something here that I don't understand (which very well could be), I can't see how anyone, without massive

Re: [PHP] MD5 bot Question

2007-04-08 Thread tedd
At 6:46 PM +0200 4/8/07, Jochem Maas wrote: just a few random thought on how to make it even more painful to crack. random colored borders, random border width, slight changes in width/height, random pixel noise or varying colors, animated gifs (where does the arrow stop), animated gifs

Re: [PHP] MD5 bot Question

2007-04-08 Thread tedd
At 4:38 AM -0700 4/8/07, benifactor wrote: hmm, why don't you md5 more then once.. I read somewhere that MD5'ing anything more than once, does not increase security. Cheers, tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List

Re: [PHP] foreach question

2007-04-08 Thread siavash1979
Your code is fine and it should work. but in any case, try: foreach ($_POST as $key){ echo $key . 'br /'; } Also, what php version, and what browser are you using? good luck, Siavash [EMAIL PROTECTED] wrote: both examples do the same thing.. no, ex1 only has 1 br / so outputs

Re: [PHP] keeping credit card info in session

2007-04-08 Thread siavash1979
Thanks a lot every one. These are great replies. I guess I should have explained a bit more about what I'm doing. first of all, this is not my site, it's for a client of mine. second, I did suggest using a paypal API or a paid site to take care of this, but my client said no. She has a credit

Re: [PHP] foreach question

2007-04-08 Thread Lori Lay
[EMAIL PROTECTED] wrote: both examples do the same thing.. no, ex1 only has 1 br / so outputs like.. item1item2item3item4item5br / Where as I want this.. item1br / item2br / item3br / item4br / item5br / ie a line break after every item. Silly question, perhaps, but are you sure $_POST is

Re: [PHP] foreach question

2007-04-08 Thread chris
Sorry this is the full script... whois.php html bodyspan style=font-size:13;font-family:Arial,Verdana; form method='POST' action='whois.php' pbEnter Domain Names (one per line)/b/p textarea name='domain' cols=50 rows=8 style=font-size:13;font-family:Arial,Verdana;/textareap input

Re: [PHP] foreach question

2007-04-08 Thread Lori Lay
[EMAIL PROTECTED] wrote: Sorry this is the full script... whois.php html bodyspan style=font-size:13;font-family:Arial,Verdana; form method='POST' action='whois.php' pbEnter Domain Names (one per line)/b/p textarea name='domain' cols=50 rows=8