You are here: Re: Create PHP pages from list of files in directory « PHP Programming Language « IT news, forums, messages
Re: Create PHP pages from list of files in directory

Posted by kennyjjohnson on 03/11/06 17:42

Thank you so much! That works! It made the pages perfectly.
I thought I would just be able to include my template page in there but
that does not work.

I was putting this where you have the $html variables

$html = "include ("template.php")";

I even tried it with the php tags but no dice...

anyone know how to get my page into that $html variable.

thanks again.



kennyjjohnson@gmail.com wrote:
> Hello, this is probably easy for a php pro... but I cant figure it
> out..
>
> I have a directory of mp3 files named like this.
> Chevy_Car_Commercial.mp3
>
> There are about 150 files.
>
> I am trying to find a script that will make php pages based on the file
> names.
> chevy_car_commercial.php
>
> And also dump that variable title
> Chevy Car Commercial into the <title> of the web page...
>
> I have made dynamic pages before... but that was using a form..
>
> Anyone know if this is possible?
>
> Thanks
> kj

 

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

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