Bugs » Links not desplayed in php

added on Sep 8, 2006 by Florina Fabian
Sorry to bother again. I tried to use the php include on my blog. The blog uses a template in a cgi folder. No links
were desplayed.

Then, I tried to use the php include on a file, in the root folder and no links were desplayed there, either.

I also tried using the full pathe to the links.dat, also. Can you, please, tell me what might be wrong?
added on Sep 8, 2006 by v0id
No trouble at all :)

First of all, please make sure that there are actually some links in the category. Otherwise you will not be able to see
any links (of course)

Please also check the source code of the page trying to include the links. Is there the php code? (<?php ... ?>)
or is there a HTML comment from LinkEX (<!-- Output generated by LinkEX ... -->)?

added on Sep 8, 2006 by Florina Fabian
I included 2 links and the code looked like this:

<font color="#FFFFFF" font face="Bitstream Vera Sans" size="1"><?php
include('http://florinafabian.com/linkex/links.dat'); ?></font>

I also tried these alternatives, both on the template in the cgi folder and on the html page in the public folder, both
with or without font tags.

<?php include('linkex/links.dat'); ?>

<?php include('services/webpages/fl/florinafabian.com/public/linkex/links.dat'); ?>
added on Sep 9, 2006 by Florina
Finally, it worked but only using SSI!... I will use a small frame, to embed the links page, into the cgi template of my
blog.

This is the perfect link exchange script I ever dreamed about! I run an advertising site. Would you accept an excellence
award from my site (with all the long time, afferent promotion package)?. It's free, of course. If you do, I will set
you up immediately and I will give you a small code, to paste on your site. You may choose not to paste it but it looks
cool, though...

Thanks a lot,

Florina
added on Sep 10, 2006 by v0id
I'm glad you worked out how to display the links. I do, however, like to know why it was not working with PHP for you.

Could I ask you to try this install code instead?
<?php include('/services/webpages/fl/florinafabian.com/public/linkex/links.dat'); ?>

Notice the leading '/' in the path

Thanks alot :)

- v0id
added on Sep 13, 2006 by Florina Fabian
Hello,

I already tried what you suggested and it didn't work. I tried all the possible alternatives. I think this might happen
because my server won't allow me to display pictures or html files (other than templates) from the cgi directory,
either.

I started advertising your site, the way I promised. Here is the code I told you about. Only, if you decide to use it,
please, upload the image to your server:

<p align="center"><img
src="http://florinafabian.com/awards/excellence3.gif" width="100"
height="100"><a href="http://ad-fest.com" target="_blank"><br>
<font size="1" face="Bitstream Vera Sans">ad-fest.com</font></a></p>


Thanks again,

Florina

added on Sep 13, 2006 by Florina Fabian
I see, the code didn't enter. You can get it from this link:

http://florinafabian.com/awards/code.txt

Florina

Add reply

This thread has been inactive for more than 14 days, so it has been locked.

Feel free to create a new thread with your questions.