Hi.

I was wondering, is there any way for php to automatically check if links are valid.

For example, lets say I have 10 links and I want a cronjob to check if they are valid or not, and if they are invalid I would throw a query statement to the database.

Is there any way to do this?

Recommended Answers

All 3 Replies

Hi.

I was wondering, is there any way for php to automatically check if links are valid.

For example, lets say I have 10 links and I want a cronjob to check if they are valid or not, and if they are invalid I would throw a query statement to the database.

Is there any way to do this?

Well, with active, I mean if the links are broken or not.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.