You are here: Re: Embed tags for objects in HTML for PHP « PHP Programming Language « IT news, forums, messages
Re: Embed tags for objects in HTML for PHP

Posted by Miguel Cruz on 07/26/06 18:30

Sandman <mr@sandman.net> wrote:
> Is there a common library for creating universal <object></object> and
> <embed></embed> tags for different kinds of files for PHP?
>
> What I'd like is feed a function with info about the file, and it
> would output correct HTML data for embedding that object into the web
> page.
>
> like this:
>
> <?
> $object = new embed("/path/to/file/movie.3gp");
> ?>
>
> And, optionally it could take arguments:
>
> <?
> $object = new embed("/path/to/file/movie.3gp");
> $object->width = 400;
> $object->autoplay = false;
>
> $object->output();
> ?>
>
> Or something like that.
>
> Anyone has any ideas?

Couldn't you write what you're after in 2 or 3 minutes? In less time
than it took to post the question certainly?

miguel
--
Photos from 40 countries on 5 continents: http://travel.u.nu
Latest photos: Malaysia; Thailand; Singapore; Spain; Morocco
Airports of the world: http://airport.u.nu

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация