RE: [PHP] Parsing variables within string variables

2006-04-07 Thread Kevin Davies - Bonhurst Consulting
David, Is this what you're looking for? $bar = 'Hello '.$bar HTH, Kevin -Original Message- From: David Clough [mailto:[EMAIL PROTECTED] Sent: 07 April 2006 17:37 To: php-general@lists.php.net Subject: [PHP] Parsing variables within string variables I've been bashing my head against

[PHP] Completing forms offline with PHP/MySQL

2006-04-07 Thread Kevin Davies - Bonhurst Consulting
Hi, Apologies if this is the wrong place for this question, but I'm sure there are some experts out there who might be able to point me in the right direction... :) I'm doing some work at the moment where remote teams can submit reports through to our database when connected over the internet to

RE: [PHP] Re: setcookie security concerns [medium]

2006-03-17 Thread Kevin Davies - Bonhurst Consulting
I just picked up this thread, so excuse me if I'm repeating or have totally missed the point. Another concern I picked up from a PHP security book is using '--' - which simply comments out the remainder of the line (with MySQL anyway). Therefore if your SQL is "SELECT * FROM table WHERE user = '$u

RE: [PHP] displaying documents stored under web root

2006-03-10 Thread Kevin Davies - Bonhurst Consulting
Hi Adrian, I had the same dilemma on a project I was working on, and came across this: http://www.vibralogix.com/linklokurl/index.php It basically adds an authentication code, which can lock the download to an IP address and also you can limit the life of the URL to a length of time. You can als

RE: [PHP] Mailto members..?

2006-03-01 Thread Kevin Davies - Bonhurst Consulting
Others here have mentioned the use of a mailer class I can't remember the name of (phpmailer maybe?). PHPMailer is really good for sending HTML/Text/Both emails - I'm using it on a few different sites. Link: http://phpmailer.sourceforge.net/ Also, if you're going to use PHPMailer an excellent