Random Link
| From: | Shane McBride | Date: | Tue, 15 Aug 2000 14:07:16 +0000 |
| Subject: | Random Link | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11801@lists.php.net to get a copy of this message | ||
I know I'll get blasted for posting this message, so I apologize.
I am looking to create a script that will generate random links on a web
page. I want the script to read the html files in the current directory.
Then extract the page title from the html tags and display those titles as
links on the html page.
I am a novice at php and have no idea where to start. I think I can do it
with hard coded links in an array, but I want it to be more dynamic because
we add and delete pages frequently.
I am not asking for someone to write the script. All I am asking is that
someone points me in the correct direction. I searched the web for an
example, but no luck.
TIA,
Shane