[PHP-DB] Protecting files

2001-04-05 Thread Mick Lloyd
then protect the directories/scripts from anyone wanting to have a look (not that they're worth much!). Thanks Mick Lloyd [EMAIL PROTECTED] Tel: +44 (0)1684 560224 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP-DB] Transmitting Arrays

2001-03-21 Thread Mick Lloyd
/a but I would love to be corrected on this by a PHP expert! Regards Mick Lloyd [EMAIL PROTECTED] Tel: +44 (0)1684 560224 - Original Message - From: Mark Collin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 20, 2001 9:44 PM Subject: [PHP-DB] Transmitting Arrays I have a fo

Re: [PHP-DB] Yet more strings

2001-03-21 Thread Mick Lloyd
Gary Thanks for the advice. I had checked the string length to make sure there were no "hidden" spaces (which there aren't in the specific field I am selecting) and have now tried trim() but to no avail. Still fiddling with it! Regards Mick Lloyd [EMAIL PROTECTED] Tel: +44 (0)1

[PHP-DB] More on strings

2001-03-20 Thread Mick Lloyd
Code = '".$row['Primaryexpertise']."'") or die (mysql_error()); $resultp = mysql_query("select Primaryid from primarycodes where Code like '%$row[Primaryexpertise]%'") or die (mysql_error()); $pcodeid = mysql_fetch_array($resultp) or die("No pcodeid"); Regards Mi

[PHP-DB] Strings

2001-03-18 Thread Mick Lloyd
l_query("select Primaryid from primarycodes where Code like '%$row[Primaryexpertise]%'") but I need greater accuracy because some codes contain similar data. String manipulation has me baffled most of the time! Thanks. Mick Lloyd [EMAIL PROTECTED] Tel: +44 (0)1684 560224

[PHP-DB] Load file

2001-03-14 Thread Mick Lloyd
ot;; $result=mysql_query("update $TA set P1description = load_file($cvfile)") or die (mysql_error()); Output shows File exists 1 (which I assume menas True) and the table is being read because $rows equals 2. P1 Then I get the "You have an error in your SQL syntax near '(.txt)'

[PHP-DB] Frames

2001-03-02 Thread Mick Lloyd
Zend, etc but with little success. Thanks Mick Lloyd [EMAIL PROTECTED] Tel: +44 (0)1684 560224 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]