$string = file_get_contents($filename);
$start = strpos($string, dc:title) + 10;
$length = strpos(substr($string, $start), '/dc:title');
if ($length) {
$title = strip_tags(substr($string, $start, $length));
}
?
Cheers,
Koala
On 9/8/06, Shu Hung (Koala) [EMAIL PROTECTED] wrote:
Hello,
I
Hello,
I know PDF files stores a Title somewhere.
I'm not sure if it is at meta data or elsewhere.
Does anyone have any method to get this Title out?
Thanks
Koala Yeung
On 8/31/06, Curt Zirzow [EMAIL PROTECTED] wrote:
On 8/30/06, Shu Hung (Koala) [EMAIL PROTECTED] wrote:
On 8/31/06, Peter Lauri [EMAIL PROTECTED] wrote:
Koala,
There is no difference with the php generated javascript and
javascript on
a
static html page.
Take a look
Hello,
I'm writing a script to generate a javascript. The javascript would
generate a banner when it is sourced. This javascript is sourced
by another html like this:
script type=text/javascript language='JavaScript'
src='http://foo.com/testing/js.php'/script
However, Sometimes the javascript
On 8/31/06, Peter Lauri [EMAIL PROTECTED] wrote:
Koala,
There is no difference with the php generated javascript and javascript on
a
static html page.
Take a look at the source code of the page that has been generated in the
browser, and if that one looks as it should, it is probably your
://phpsec.org
On Fri, February 3, 2006 1:54 am, Shu Hung (Koala) wrote:
Hello,
I have a little strange question.
Let say if I have a file /home/user/somefile.jpg
I wanted to output this file from script, I wrote a little script:
?php
Hello,
I have a little strange question.
Let say if I have a file /home/user/somefile.jpg
I wanted to output this file from script, I wrote a little script:
?php
// open and pass the file out
$handle =
7 matches
Mail list logo