Graham Anderson wrote:
?php
$quote = \;
$xml = '';
$xml .= '?xml version=1.0?'.\n;
$xml .= '?quicktime type=application/x-qtskin?'.\n;
$xml .= 'skin'.\n;
$xml .= 'movie src=' . $quote. ../../fonovisa.mov . $quote.
'/'.\n;
$xml .= 'contentregion src=' .$quote. ../images/mask.gif .
On Thursday 22 September 2005 12:10 am, David Robley wrote:
Not sure if you can attach files however to make 100% sure I'm attaching a
working copy of your script. I did modify it just a bit. However the code
that you gave us initially worked flawlessly under CLI PHP.
Graham Anderson wrote:
Thanks Rasmus :)
that is an incredibly cool tip: EOB
Surprised I did not see you at the Digital Rights [hollywood digital]
conference in LA early this week.
Upside: Free sushi and an ocean view. Downside: Lots of 'agency' types
and sales folk
when I access a straight movie file with no
Graham Anderson wrote:
Thanks Rasmus :)
that is an incredibly cool tip: EOB
Surprised I did not see you at the Digital Rights [hollywood digital]
conference in LA early this week.
Upside: Free sushi and an ocean view. Downside: Lots of 'agency' types
and sales folk
when I access a
Ok, I think I figured it out .
I had to convert my BBedit text editor file to plain text and then
copy/paste that text directly into a new server text file
So, I guess my $100+ text editor is screwing up the file ?
Is there some way to prevent this ?
My text encoding is in UTF-8 because I
Graham Anderson wrote:
Ok, I think I figured it out .
I had to convert my BBedit text editor file to plain text and then
copy/paste that text directly into a new server text file
So, I guess my $100+ text editor is screwing up the file ?
Is there some way to prevent this ?
Tell your
Set BBEdit to use Mac OS Roman. From the main window, choose
the file icon (5th from left).
Graham Anderson wrote:
--Apple-Mail-15-928383921
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
format=flowed
Ok, I think I figured it out .
I had to
thanks guys :)
encoding in utf-8 NO BOM seems to do the trick
g
On Sep 22, 2005, at 11:05 AM, Jim Jagielski wrote:
Set BBEdit to use Mac OS Roman. From the main window, choose
the file icon (5th from left).
Graham Anderson wrote:
--Apple-Mail-15-928383921
Content-Transfer-Encoding:
I am trying to get headers to output properly
Even though I am defining Content-type as 'video/quicktime' , the
output is still text/html
Also, Content-Length is not outputting properly either :(
On the positive side, It appears to be outputting the $xml string
correctly, but screws up
Graham Anderson wrote:
Even though I am defining Content-type as 'video/quicktime',
the output is still text/html
Also, Content-Length is not outputting properly either :(
[snip]
header('Content-Type: video/quicktime');
header (Content-Length:.strlen($xml));
You have a superfluous space
thanks Chris :)
I changed the spaces but am still getting the same output errors:
bWarning/b: Cannot modify header information - headers already
sent by (output started at
/home/www/siren/siren/fonovisa/skintest/Library/php/
fonovisa_simple.php:1) in
On Wednesday 21 September 2005 09:34 pm, Graham Anderson wrote:
it doesn't look like there is anything wrong with your code. what you might
check however is, is there a space or a newline before ?php
_nothing_ should come before ?php
thanks Chris :)
I changed the spaces but am still getting
I checked that too :(
No spaces in the ?php line
I am running PHP Version 4.4.0
Out of curiosity, I removed the line:
$xml .= '?quicktime type=application/x-qtskin?'.\n;
and got the same error message
Is this one of those situations for ob_start ?
Kind of bizarre to my Newbie mind
?php
$quote
Graham Anderson wrote:
No spaces in the ?php line
I think the problem is a line before the ?php line:
bWarning/b: Cannot modify header information - headers
already sent by (output started at
/home/www/siren/siren/fonovisa/skintest/Library/php/
fonovisa_simple.php:1) in
Graham Anderson wrote:
I checked that too :(
No spaces in the ?php line
I am running PHP Version 4.4.0
Out of curiosity, I removed the line:
$xml .= '?quicktime type=application/x-qtskin?'.\n;
and got the same error message
Is this one of those situations for ob_start ?
Kind of
Hello.
I have a problem with downloads with the use of header()
I have this code at the start at the download site:
Header(Content-Type: application/download);
Header(Content-Disposition: attachment; filename=export.txt);
My problem is that the file which is downloaded contains HTML
Christian Johansson wrote:
Hello.
I have a problem with downloads with the use of header()
I have this code at the start at the download site:
Header(Content-Type: application/download);
Header(Content-Disposition: attachment; filename=export.txt);
My problem is that the file which is
Christian Johansson wrote:
I have a problem with downloads with the use of header()
I have this code at the start at the download site:
Header(Content-Type: application/download);
Header(Content-Disposition: attachment; filename=export.txt);
My problem is that the file which is downloaded
Hi, I'm hoping someone can help me with this one...
I'm doing redirects to various types of file (Flash, Office, DWF etc) and
have found a problem with IE5.
I pass the script a document ID, and it retrieves the document record from
a database, which stores the location of the file on the web
Hi Richy,
Try sending the content header before the location header:
header(Content-type: image/jpeg);
header(Location: http://yourhost.com/yourfile.jpg;);
HTH,
John
Hi, I'm hoping someone can help me with this one...
I'm doing redirects to various types of file (Flash, Office, DWF etc)
20 matches
Mail list logo