| |||||||
This is a discussion on Link Directory within the Wiki Discussions forums, part of the Old Forums category; Discussion thread for Link Directory . If you would like to add a comment, click the Post Reply button....
| | Thread Tools |
| | #1 |
| iPod Nano 4GB Join Date: Apr 2007 Location: Bath
Posts: 370
![]() | Link DirectoryDiscussion thread for Link Directory. If you would like to add a comment, click the Post Reply button. |
| | #2 |
| iPod 20gb Join Date: Jan 2007
Posts: 480
![]() | Re: Link Directoryonly got 16ish replies...not really enough to warrent a huge effort as of yet. Still waiting for a few people to get back to me. Also been looking into freeware software that could do all the scripting for me, but it requires that everybody install it on their ftp server, which might be askign a bit too much. Anyway, still trying to think of the best way of doing this. any ideas welcome! |
| | #3 |
| iPod 20gb Join Date: Mar 2007 Location: Brentwood
Posts: 757
![]() | Re: Link DirectoryI'll have a think, see if I can write something, the issue is keeping it up-to-date on everyones webservers. If i can think of a way round that it'll be a piece of p*** |
| | #4 | |
| Interclickz Support Join Date: Aug 2005
Posts: 1,353
![]() | Re: Link DirectoryQuote:
echo $clone; to clone the directory page. W.> | |
| | #5 |
| iPod 20gb Join Date: Mar 2007 Location: Brentwood
Posts: 757
![]() | Re: Link Directorywouldn't I need write permissions on that persons server? |
| | #6 |
| iPod 20gb Join Date: Jan 2007
Posts: 480
![]() | Re: Link Directoryyer, thats another problem needed to overcome, but as i understand it, the person just needs to allow writing to the exact URLs, not their whole server. |
| | #7 |
| Mini Mac | Re: Link DirectoryI'm locked out of my server at the moment, will post how far I got when I can access the code again! |
| | #8 |
| Interclickz Support Join Date: Aug 2005
Posts: 1,353
![]() | Re: Link DirectorySomething like this will work Code: <?php
if (!is_set) { $HTTP_GET_VARS['page']=0; }
$file = fopen ("http://www.domain.com/directory.php?page=".$HTTP_GET_VARS['page'], "r");
while (!feof ($file)) echo fgets ($file, 1024);
fclose($file);
?>
Also gives you the ability to have pages in the directory. W.> |
| | #9 |
| Mini Mac | Re: Link DirectoryOi Woostar get on MSN |
| | #10 |
| Interclickz Support Join Date: Aug 2005
Posts: 1,353
![]() | Re: Link DirectoryI'm having a day off |
| | #11 |
| iPod 20gb Join Date: Mar 2007 Location: Brentwood
Posts: 757
![]() | Re: Link DirectoryThat's like writing in French to me mate, i'm a c#, asp.net coder, never even looked at PHP before. |
| | #12 |
| iPod 20gb Join Date: Jan 2007
Posts: 480
![]() | Re: Link Directorydamn it, didn't think of that. Half of us are gonna be linux based servers and half are gonna be windows. Will this make a difference to the coding? |
| | #13 |
| iPod 20gb Join Date: Mar 2007 Location: Brentwood
Posts: 757
![]() | Re: Link DirectoryShouldn't be a problem, as far as i can see the access rights are the biggest prob, can't say i'm comfortable opening up write permissions for anything coming in form the outside on my webserver. I don't know enough about IIS configuration to be confident i wont get smacked. |
| | #14 |
| Mini Mac | Re: Link DirectoryI don't get what you're all on about here? I thought we were just making one page with links to all our sites? :S |
| | #15 |
| Call me Ben .... | Re: Link Directorylol i thought that as well, im well confused!
__________________ |
| | #16 |
| iPod 20gb Join Date: Mar 2007 Location: Brentwood
Posts: 757
![]() | Re: Link DirectoryDo we not each have to host that file? If we just link to a centrally hosted file of links, I don't think that carries as much weight as us all having a copy of a file with all the links in. Is that right? |
| | #17 |
| Mini Mac | Re: Link DirectoryIn that case, one of us will host the master file and everyone else will be given a script to put on their site which reads the page from the master. |
| | #18 |
| iPod 20gb Join Date: Mar 2007 Location: Brentwood
Posts: 757
![]() | Re: Link DirectoryThat's teh thing though, will it be a script that has to be manually run? In which case the system could be abused, or if it's a script that runs as a service and checks every minute/ half hour/ hour/day (whatever) then how would that work given that some servers are running linux and some windows etc. |
| | #19 |
| Mini Mac | Re: Link DirectoryWell the script that the slaves were given would just act as a normal webpage which will contain the links. It would just update when someone or a Googlebot views it. I'd provide files for each server |
| | #20 |
| iPod 20gb Join Date: Jan 2007
Posts: 480
![]() | Re: Link Directoryi've thought through a centralised location for the 'masterfile', but so long as google doesn't detect that this is going on. the script has to be as obvious as possible for the actual links- just a hyperlink with a key words title. |
| Thread Tools | |
| |