[PHP] Re: .htpasswd and PayPal generated passwords

2003-02-17 Thread Rob Packer
PROTECTED]">news:[EMAIL PROTECTED]... btw - What do you mean by paypal generated passwords? I am interested in using PayPal as an alternative to my current credit card handler. Just a link is appreciated. - David Rob Packer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]"

[PHP] .htpasswd and PayPal generated passwords

2003-02-15 Thread Rob Packer
I use PayPal to generate a username and password and then write them to the .htpasswd file. If I were to switch to using a database (because .htaccess seems to always prompt twice!) how would I perform the comparison for the passwords? It would seem that everytime you generate an encrypted

[PHP] check expiration date

2003-02-15 Thread Rob Packer
anyone know of a script for getting the current date and then calculating when a provided expiration date would be? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Test links?

2002-11-30 Thread Rob Packer
of them the way I should have :) I also tried to use the scripts that I found at hotscripts.com but I always seem to get inconsistent results and it must be accurate. Jason Wong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Saturday 30 November 2002 06

Re: [PHP] Test links?

2002-11-30 Thread Rob Packer
Okay, I'm confused... file, fopen, and fsockopen seem to say not found on alot valid URLs... does this look to be correct usage? $url = $row[0]; // just get the url from the db $fp = implode ('', file ($url)); if (!$fp) {echo font color=redbUnable to access file/b/font; } else { fclose($fp);

Re: [PHP] Test links?

2002-11-30 Thread Rob Packer
] passes. Robert Packer Chris Hewitt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Rob Packer wrote: Okay, I'm confused... file, fopen, and fsockopen seem to say not found on alot valid URLs... does this look to be correct usage? $url = $row[0]; //

[PHP] Test links?

2002-11-29 Thread Rob Packer
First, I'd like to say that I'm not asking for anyone to write a script... how would I go about checking a MySQL database of links to see if any are down? I've had some varying results with all the methods I've tried, so would like to see if anyone has a proven method for doing this. Thanks,

[PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
Hi, I've seen a few post for this same thing but I can't seem to get it working. What I'm doing is taking a form with check boxes and putting them into an array. Then I'm attempting to INSERT them into the db, one checkbox value per row. Okay, well I've tries 2 ways that I think should work and

Re: [PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
Message- From: Rob Packer [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 23, 2002 7:50 AM To: [EMAIL PROTECTED] Subject: [PHP] Insert an array into MySQL Hi, I've seen a few post for this same thing but I can't seem to get it working. What I'm doing is taking a form with check boxes and

Re: [PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
us what your form looks like, not the whole thing, just for the checkboxes. Also, what does your CREATE TABLE look like for the table your trying to insert this data into? ---John Holmes... -Original Message- From: Rob Packer [mailto:[EMAIL PROTECTED]] Sent: Sunday, June 23, 2002

Re: [PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
Nevermind, I got it. I had Unique for a field which made it mad. Rob Packer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... oops, sorry about the other post (I've got a baby that likes the keyboard)... Hi, This is the form, which I had doub

[PHP] not so

2002-06-08 Thread Rob Packer
[0] would match the whole ip, I was hoping [1] and[2] would echo the next 2 found, but it doesn't Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] not so

2002-06-08 Thread Rob Packer
oops, no coffee yet Jason Wong [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On Saturday 08 June 2002 22:36, Rob Packer wrote: [0] would match the whole ip, I was hoping [1] and[2] would echo the next 2 found, but it doesn't 1) Could you not sta

[PHP] make hitting enter in a text box = br

2002-05-13 Thread Rob Packer
I have a simple script for a newsletter, with a text area box for someone to type in their newsletter. Is it possible to make it so when someone hits enter with the text box it will equal br? TIA Robert -- -- NRC ONLINE -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] php in a layer trouble

2002-04-25 Thread Rob Packer
Yep, you guys are right! Thanks for the help Robert Justin French [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I don't believe there is such a problem, because DIV? echo foo; ?/DIV will get replaced with DIVfoo/DIV by the PHP parser. Thus by the time

Re: [PHP] Can't get this code to work...

2002-04-06 Thread Rob Packer
Dan, Really, thanks for the help. Yeah, as you know I'm not experienced near enough with PHP. Maybe you could provide me with an e-mail and prices for consultation(I suppose this is what 'Analysis Solutions' does?) Regards, Robert Packer Analysis Solutions [EMAIL PROTECTED] wrote in

[PHP] getting slash with single quotes in form mail

2002-04-05 Thread Rob Packer
Hi, I have a contact form and when someone fills it out, all the single quotes (apostrophes) end up having a slash in front of them in the e-mail, like this: I\'m Can someone tell me how to stop this? Thanks you. Rob -- PHP General Mailing List (http://www.php.net/) To

[PHP] Can't get this code to work...

2002-04-05 Thread Rob Packer
Sorry for the vague Subject, but I have this code that looks fine to me. There's some logical error, because I can't get to the second if statement, although when I echo \$.$cb[$i] I get $checkboxName. If I hard code $checkboxName it will work though. Anyone know why? TIA! $num_fields= 8 ;//the

[PHP] escape characters

2002-04-03 Thread Rob Packer
In the following statement, can someone tell me what I would need to escape out if I were to put it all into a variable (I know the quotes, but that's all) : if (!$name){ $error_msg.=Your Name \n; } Thanks, Rob -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: