[PHP] Re: .htpasswd and PayPal generated passwords

2003-02-17 Thread Rob Packer
n message [EMAIL 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 > > > "R

[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

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

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

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 "Unable to access file"; } else { fclose($fp); echo "The link is worki

Re: [PHP] Test links?

2002-11-30 Thread Rob Packer
ROTECTED]... > On Saturday 30 November 2002 06:53, Rob Packer wrote: > > 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 h

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

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,

Re: [PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
> for this column and you're trying to insert the same value twice, which > makes an error. > > Show 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

Re: [PHP] Insert an array into MySQL

2002-06-23 Thread Rob Packer
; your trying to insert this data into? > > ---John Holmes... > > > -Original 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,

[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] 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 > > fou

[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

[PHP] make hitting enter in a text box =

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 ? TIA Robert -- -- NRC ONLINE -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visi

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 > > > > will get replaced with foo by the PHP parser. >> Thus by the > time the content get

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

[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] 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 unsubscribe,

[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: ht