Discuss Images gallery with links in the MySQL Help forum on Dev Shed. Images gallery with links MySQL Help forum discussing administration, SQL syntax, and other MySQL-related topics. MySQL is an open-source relational database management system (RDBMS).
Receive the tools necessary to be the rock star of your field. Our 12-month program teaches you the evolving world of multi-channel marketing as well as the complex issues and opportunities found in the industry.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Web development can be a daunting task, even for specialists. There is a lot of information to absorb and a lot of technologies to learn in order to manage a superior website. When trying to learn the ropes, developers need a reliable source to introduce new ideas that can be easily implemented. When working on large projects, even web veterans may run into a technology or an aspect of a technology that they are unfamiliar with.
My script works very well, but I got another problem : dead links.
After days of searches, work and some help, I got a php script which deletes all the div section of a broken link. But php has to rewrite the whole file each time, so when I got many broken links from the same file, it corrupts because It doesnt have time to rewrite file many times in a few seconds.
I never tried SQL and someone told me to go with it, cause it would be easier to manage the dead links. I don't have any idea how to use it and I'm so tired of all these days of work for nothing.
Would need some help so I could work with Database.
Thanks.
Posts: 1,914
Time spent in forums: 1 Month 5 Days 11 h 34 sec
Reputation Power: 1297
mySQL has no9 facility to 'handle' dead link in and of itself. However, your scripts (page build and link checking) could make use of data from a database, and the updating of the underlying rows in the table of your database would be better suited to the process than 'hacking' at a file.
The order in which the data came from the database would not be guaranteed (unlike the linear form of the file) unless you sorted the returned rows.
__________________
The moon on the one hand, the dawn on the other:
The moon is my sister, the dawn is my brother.
The moon on my left and the dawn on my right.
My brother, good morning: my sister, good night.
-- Hilaire Belloc
Posts: 2
Time spent in forums: 11 m 51 sec
Reputation Power: 0
There's no problem with the returned rows. I was wondering if it would be possible to remove the dead links from database with the "onerror" of the img without having to rewrite the whole file for each dead link.
I'm currently using it with php but it rewrites completely the file multiple times in few seconds so memory doesn't take it all.