Jump to content

Recommended Posts

Posted

I'm not exaclty sure if this is the correct title as I'm not completely sure how I should go about tackling this problem.

 

Anyway, I currently have a bunch of static HTML pages. What I want to do is make the server automatically search for some strings and replace them with a predefined link that would be read from a mySQL database. If possible, check to see if the text is already part of another link, if it is, then ignore that entry and go on to the next one.

 

The tricky thing with this problem is I need the modification to be done only when the pages get requested as the links from the database is always subject to change and I do not want to keep 2 copies of the whole page (the original and processed versions) as that increases the chances for things to mess up.

 

Anyway help/suggestion would be greatly appreciated. Thanks in advance

Posted

I would suggest trying to find a good PHP/MySQL technical user forum or newsgroup to ask and share, and get sample code. I'm not into PHP, myself. But for the web applications and programming languages that I do use, I rely heavily on such newsgroups and user forums. You will find that most people in most user groups are very willing to share their knowledge and experience, as well as time

 

Perhaps someone here will have some suggestions of forums for you to check out.

 

Good luck!

kw

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...