View previous topic :: View next topic |
Author |
Message |
logicnet -
Joined: 05 Sep 2003 Posts: 5
|
Posted: Sun Sep 07, 2003 3:05 pm Post subject: problems with images under php |
|
|
i just put a few basic PHP things on my webpage, and now the images are nto showing atall, they just come up as little red x 's - there is no problem with the other code or any other aspect of the page..just the images not showing...anyone who could help me, it would be greatly appreciated. |
|
Back to top |
|
|
os17fan -
Joined: 21 Mar 2003 Posts: 531 Location: USA
|
Posted: Sun Sep 07, 2003 6:21 pm Post subject: |
|
|
im guessing that you have a Anti-leech image PHP script , probably the same one I use lol. , well any way , did the images show up b4 , did the script used to work, if it did then make sure you check that your cgi-paths are correct. _________________ This web server is the best ! |
|
Back to top |
|
|
Kent -
Joined: 12 Jan 2003 Posts: 137
|
Posted: Mon Sep 08, 2003 2:28 am Post subject: anti-leech |
|
|
can you lead me to where you got the Anti-leech image PHP script ? I really need one badly... |
|
Back to top |
|
|
os17fan -
Joined: 21 Mar 2003 Posts: 531 Location: USA
|
Posted: Mon Sep 08, 2003 11:04 pm Post subject: |
|
|
Read this web page that im posting and it will walk you through everything , very cool anti-leech script , it does not replace leeched images with a different one, it will just show a red X, but you can edit the script for it to do that. Enjoy the site
http://www.thesitewizard.com/archive/protectimages.shtml _________________ This web server is the best ! |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Mon Sep 08, 2003 11:46 pm Post subject: Re: problems with images under php |
|
|
logicnet,
What's the source code of your PHP file? Are you sure that the URLs of these images are correct? _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
logicnet -
Joined: 05 Sep 2003 Posts: 5
|
Posted: Tue Sep 09, 2003 6:09 pm Post subject: |
|
|
well literally, i had already made the page in frontpage, and there was javascript among that, i just added <?php echo $_SERVER["REMOTE_ADDR"]; ?> (if i made a typo there im sorry, but i know that you know what i meant) |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Wed Sep 10, 2003 3:34 pm Post subject: |
|
|
logicnet wrote: | well literally, i had already made the page in frontpage, and there was javascript among that, i just added <?php echo $_SERVER["REMOTE_ADDR"]; ?> (if i made a typo there im sorry, but i know that you know what i meant) |
rename the PHP page to x.html and try to browse it. Do you have the same problem with the images? If so, please check their URLs. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
logicnet -
Joined: 05 Sep 2003 Posts: 5
|
Posted: Wed Sep 10, 2003 7:10 pm Post subject: |
|
|
i did so, and it worked for about an hour, then i tried to set up the site to use PHP again, and the whole thing collapsed again, now it takes years to load the page, and when it does, the images still dont load, i have checked the URL's many times, they are fine, im on the verge of just giving up |
|
Back to top |
|
|
logicnet -
Joined: 05 Sep 2003 Posts: 5
|
Posted: Wed Sep 10, 2003 7:13 pm Post subject: |
|
|
heres an extract from my access long file, maybe this will tell you what is messed up, i dunno.
- - [10/Sep/2003:18:30:30 +0100] "GET /tut.JPG HTTP/1.1" 500 278 |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Sep 12, 2003 3:16 pm Post subject: |
|
|
logicnet wrote: | heres an extract from my access long file, maybe this will tell you what is messed up, i dunno.
- - [10/Sep/2003:18:30:30 +0100] "GET /tut.JPG HTTP/1.1" 500 278 |
If you are using Windows, go to the CGI Parameters and set "Resolve CGI interpreter using the Windows registry" to "No".
If you are using Linux, you should remove the executable attribute of the file by using the command "chmod -x tut.JPG".
If this doesn't solve your problem, please send us your abyss.conf file to support@aprelium.com . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|