(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
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
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
= $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
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
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
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
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
?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
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,
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
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
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
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
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
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
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
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
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
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
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
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.
22 matches
Mail list logo