attach ICO [icon] files to a file thru php

From: Date: Wed, 23 Jun 2004 22:14:25 +0000
Subject: attach ICO [icon] files to a file thru php
Groups: php.general 
Request: Send a blank email to php-general+get-188917@lists.php.net to get a copy of this message
is it possible to attach a custom icon [like an ICO file on the server] to a file thru php ? I want to automatically generate a generic text file [ which is XML that launches a Quicktime Movie] that has a custom icon attached to it... then, I want to automatically send that newly created file in an email...with a user id code for verification the php used to generate the text file [minus the icon] would be something like: <?php $buffer = '<?xml version="1.0"?>' . "\n" . '<?quicktime type="application/x-quicktime-media-link"?>' . "\n" . '<embed src="newly_generated_quicktime_movie" autoplay="true" moviename="<id>'.$_GET['user_id_generated_from_mysql_db'].'</id>" />'; Header('Content-Type: application/x-quicktimeplayer'); Header('Content-Length: '.strlen($buffer)); Header('Content-disposition: inline; filename=theMovie.qtl'); print $buffer; ?> is this possible? g

« previous php.general (#188917) next »