Re: [PHP-DB] Files stored in mysql

2005-08-17 Thread Mark Cain
(Content-Disposition: inline; filename=$file_access_name); @readfile($file_access_name); . This is one way to do it. Of course you may want to read the files out of the database in your case. Mark Cain - Original Message - From: Vincent Lape [EMAIL PROTECTED] To: php-db@lists.php.net

Re: [PHP-DB] Payment Gateways

2005-07-21 Thread Mark Cain
for a custom request string? what is the separator of the custom request? Then read the following: http://php.net/curl Mark Cain - Original Message - From: Ahmed Shams [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Wednesday, July 20, 2005 1:11 PM Subject: [PHP-DB] Payment Gateways

Re: [PHP-DB] mysql check boxes

2005-06-24 Thread Mark Cain
with the above code -- but this should get you to the place where you can work it out. Mark Cain - Original Message - From: [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Friday, June 24, 2005 5:25 AM Subject: [PHP-DB] mysql check boxes Dear Friends, I have mysql database and php script

Re: [PHP-DB] Com 1

2005-06-13 Thread Mark Cain
= $e . A . $e . H300; $string .= $e . V100 . $e . XL1SATO; $string .= $e . Q1 . $e . Z; echo $string; fputs ($fp, $string ); fclose ($fp); } Mark Cain - Original Message - From: Nandar [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Monday, June 13

Re: [PHP-DB] Still having a form problem

2005-05-30 Thread Mark Cain
the array that is passed to page2 looks like this: _REQUEST[quantity] Array ( [b54] = 1 [t3fl] = 2 [8956798] = 3 [A-E3600] = 4 [SA-8] = 5 ) Voila! SKUs and quantities joined! Mark Cain - Original Message - From: Chris Payne [EMAIL PROTECTED] To: php-db@lists.php.net

Re: [PHP-DB] Need some help

2005-05-11 Thread Mark Cain
of phpinfo(); Mark Cain - Original Message - From: ReClMaples [EMAIL PROTECTED] To: PHP php-db@lists.php.net Sent: Wednesday, May 11, 2005 3:14 PM Subject: [PHP-DB] Need some help Hello all, I am having an issue with displaying a variable from another php script. Can you help please

Re: [PHP-DB] Need some help

2005-05-11 Thread Mark Cain
You could use a form -- but since this is a db maillist -- maybe you ought to explore that on one of the other php lists e.g. general. Mark Cain - Original Message - From: ReClMaples [EMAIL PROTECTED] To: Philip Hallstrom [EMAIL PROTECTED] Cc: PHP php-db@lists.php.net Sent: Wednesday

Re: [PHP-DB] URL question

2005-04-29 Thread Mark Cain
OK); That's the header that tricks the Friendly Error Message I wish I had come across this info as easily as you just did! Mark Cain - Original Message - From: Chris Payne [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Friday, April 29, 2005 11:00 PM Subject: [PHP-DB] URL question

Re: [PHP-DB] mime-type related to extension?

2005-04-27 Thread Mark Cain
?extdetail=JPG you could also try http://www.jpeg.org/index.html Mark Cain - Original Message - From: mel list_php [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Wednesday, April 27, 2005 4:03 AM Subject: FW: [PHP-DB] mime-type related to extension? Hi I sent this on 21st of april and got

Re: [PHP-DB] SQL or array ?

2005-04-23 Thread Mark Cain
explain the phrase big array. What is big to you might not be big to the server nor to me but then again maybe it's bigger. Are you talking dozens, hundreds, thousands, millions?? - Original Message - From: Paul Reilly [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Saturday, April 23,

Re: [PHP-DB] 'OR' logic in mySQL query

2005-04-17 Thread Mark Cain
complain with the use of like You ought to check out: http://dev.mysql.com/doc/mysql/en/where-optimizations.html Mark Cain - Original Message - From: Ron Piggott [EMAIL PROTECTED] To: PHP DB php-db@lists.php.net Sent: Sunday, April 17, 2005 4:04 PM Subject: [PHP-DB] 'OR' logic in mySQL query

Re: [PHP-DB] using POST data for a readfile

2005-04-11 Thread Mark Cain
and look for the var: _SERVER[HTTP_REFERER] this will allow them to try to modify the url and you will know who is attempting it -- if you'd care to know that info. Mark Cain - Original Message - From: mel list_php [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Monday, April 11, 2005

Re: [PHP-DB] File retrieval

2005-04-03 Thread Mark Cain
You could read this: http://php.net/fread or try this -- assuming that this is a non-windows OS: ?php // get contents of a file into a string $filename = /directory/pathto/data.txt; $handle = fopen($filename, r); $contents = fread($handle, filesize($filename)); fclose($handle); ? Mark

Re: [PHP-DB] eregi problem

2005-04-03 Thread Mark Cain
the user would be able to put non-A/N characters at the end of the line of A/N characters and your code would not trap it. Mark Cain - Original Message - From: [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Sunday, April 03, 2005 11:18 AM Subject: [PHP-DB] eregi problem I m trying

Re: [PHP-DB] Re: Subject: Web Printing

2005-03-31 Thread Mark Cain
Let me encourage you to be open minded about the use of dynamic PDF generation. Don't think PDF as in storage and downloading -- think PDF in the realm of format control. google class.ezpdf.php or just use this link: http://www.google.com/search?hl=enq=class.ezpdf.phpspell=1 Mark Cain

Re: [PHP-DB] Working with multiple tables...

2005-03-21 Thread Mark Cain
trying to do. Let me know if this needs clarification. Mark Cain - Original Message - From: NIPP, SCOTT V (SBCSI) [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Monday, March 21, 2005 2:44 PM Subject: [PHP-DB] Working with multiple tables... I am working on revising a web request

Re: [PHP-DB] dynamic data manipulation in form

2005-03-18 Thread Mark Cain
You can try tinyMCE http://moxiecode.com/downloads_tiny_mce.php Mark Cain - Original Message - From: Doug Finch [EMAIL PROTECTED] To: phpdb-list php-db@lists.php.net Sent: Friday, March 18, 2005 4:42 PM Subject: [PHP-DB] dynamic data manipulation in form I have a script that I have

Re: [PHP-DB] undefined function error

2005-03-18 Thread Mark Cain
It could be possible that mySQL is not enabled in your installation of PHP. Let the server parse a page with phpinfo() in it and read the results. Look for mySQL enabled. Perhaps the reason it runs fine on another server is that the php on that server has mysql enabled. HTH, Mark Cain

Re: [PHP-DB] variable and MySQL

2005-03-16 Thread Mark Cain
first with concatenation. $question_pointer = $xxx . _name_en; $get_question_data[$question_pointer] Mark Cain - Original Message - From: simon [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Monday, March 14, 2005 7:14 PM Subject: [PHP-DB] variable and MySQL Hi, I'm trying to make

Re: [PHP-DB] Error with Where Clause

2005-03-16 Thread Mark Cain
use backticks (read -- not single quotes, not double quotes, but backticks) to quote your fields such as where `1091vote038.state` = `109caucuses1.state` It is possible that the code is interpreting the 109 part of your table name as a integer. That just might do it. Mark Cain

Re: [PHP-DB] php and serial port

2005-03-16 Thread Mark Cain
You could try this code http://www.phpfreaks.com/quickcode/code/156.php I found it by doing this search: http://www.google.com/search?hl=enq=php+serial+port Mark Cain - Original Message - From: Rodrigo Cabeceiras [EMAIL PROTECTED] To: php-db@lists.php.net Sent: Tuesday, March 15

[PHP-DB] file() fails to read https

2001-05-14 Thread Mark Cain
I am writing php code on a Unix server which reads a call to Micro$oft SQL statement via asp on an IIS server. I am using file() to get the results. This works beautifully: $fcontents = file (http://www.domain.com/URLSearch.asp?Info=$info;); The results of the query are in $fcontents.