Jump to content

Automatically add links


Arkane

Recommended Posts

Hey folks,

 

I'm very new to php, and I'm struggling to learn because many examples I've found online don't work for me, and there's nothing that specifically deals with what I'm after, while I tend to learn through mimicry rather than guides.

 

I'm hosting a site for someone, and I'm trying to figure out a better way to host the site, as currently I'm having to update it manually on a daily basis.

 

The site is basically a directory of files, listing each one seperately.  All lists are in the format of "info : scb : 0001 - Name of Game for Download", where each of the 3 itmes is a link, to seperate files named the same, based on the 4 digits before name of game.  The seperate files are all kept in different folder and have different extensions, and the files don't always exist.

 

I'm basically wondering if I made a list of the games, would there be a way to automatically create the seperate links if the target files exists, and just create a line of text (non link) if the target doesnt exist?

 

I don't expect anyone to write the code for me, but perhaps tell me if it's possible, and give me a few pointers so that I can (at least try to) do it myself?

 

Cheers folks,

Arkane

Link to comment
https://forums.phpfreaks.com/topic/131452-automatically-add-links/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.