Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - superjari

Pages: [1]
1
Discussion & Troubleshooting / Don't force download
« on: September 30, 2006, 06:15:18 PM »
Hi all,

After not using 4images for some time I'm looking into it again. I don't want to use the complete 4images gallery, just the details.php?image_id=1 part, so the actual details page from where zip-files should be downloaded. To protect my bandwidth however I have a very nice anti-leeching script which works perfectly. The problem is that when I use the link through that script, 4images wants to download a php-file and not the actual zip-file. So my question is this:

Is it possible to not force the download by clicking the download button, but simply go to the location in which the zip file is located when clicking the download button?

When I read that last sentence I think it's not that clear, so I'll add this:

Current situation:
4images [click download] -> downloading download.php of anti-leeching script

Desired situation:
4images [click download] -> goto download.php [automatically redirected] -> file.zip is downloaded

THNX in advance!

[EDIT]Oops, forgot to mention I'm using 4images 1.7.3

2
Well, I still didn't get a chance to test it since my host switched back to apache. However, now all downloads seem to be unavailable through php. Is it possible to make the links to the downloads direct instead of through php?

3
OK, I thought I shouldn't since you said zip-files are not supported, nor are remotely stored files. I'll try it and tell you what happens...

4
Can anybody help me out with this, or is there a way (as a final 'solution') to make the downloads direct downloads instead of grabbed through php?

5
I don't think so since I can download the file through a direct link without a problem. The problem also only occurs after installing litespeed. Apache didn't have this problem and after trying to reinstall Apache again all files where available for download like normal...

6
I guess it won't work for me since all my files are zip-files and they're stored on a remote server...

Is there any other way? The files are not big, most of them are between 1 and 20 mb.

Thnx!

7
Hi all,

I've been using 4images for my site ( http://www.footygoal.net ) for some time now. I never had problems untill last week. My host installed litespeed 1.5.7 instead of apache. Now everytime a download is requested the file will download a certain amount, but will than stop downloading as if the file has finished downloading. The file is than unreadable.

Quote
Server
PHP 4.4.0 (cli) (built: Nov  1 2005 19:40:49)
installed with Zend
Mysql ->  server version: 4.1.13a
2,4 pentium, 1gig mem

Does anyone know what can be done about this? Is there a way to not request the files through the php code, but directly?

Thanks in advance!

8
Templates & Styles (Requests & Discussions) / Re: Searchterm
« on: December 04, 2005, 03:10:17 PM »
THNX! Exactly what I'm looking for...  :wink: :mrgreen:

9
Templates & Styles (Requests & Discussions) / Searchterm
« on: December 03, 2005, 01:21:21 PM »
Hi all,

I don't know if this question makes any sense, but I'll ask it anyway and hope you can help me.

When searching altavista the searchterm can be seen in the URL, example:

http://www.altavista.com/web/results?q=searchterm

This makes it possible to give a link to a search.

What I want to do with 4images is the same, give visitors a link to a search on my site, so I wonder if this is possible, to get something like q=searchterm.

I hope someone can help me, thanks in advance!

10
Templates & Styles (Requests & Discussions) / Re: Static pages
« on: June 26, 2005, 09:55:39 AM »
Ooooh, Thank you very much again! I was searching through all the templates & Styles topics yesterday and couldn't find what I was looking for. This is exactly what I want, thanks!

11
Templates & Styles (Requests & Discussions) / Static pages
« on: June 25, 2005, 10:05:22 PM »
Hi all,

I've created my own template for 4images which works the way I want. Now I want to add some static pages (maybe some dynamic ones later), however, I do want to keep the 4images theme to stay in place with navigation and random image still there. I've read this topic http://www.4homepages.de/forum/index.php?topic=6839.0 and I think it could be helpful if I just copy index.php and rename it along with home.html and add some more tags to be used. But I just wonder if it's possible to somehow just create a new page with a template for it aswell which works within 4images, but has the content in it I want...

What i would do with my PHP-site before is use this code (I hardly know any php, copied and pasted most of the code):

Code: [Select]
<!-- NEWS -->
<?php
$fg $HTTP_GET_VARS['fg'];
$extension "inc";
if ( !$fg || $fg == "" )
{
   include($_SERVER['DOCUMENT_ROOT']."/news.inc");
}
else if ( file_exists(($_SERVER['DOCUMENT_ROOT']."/$fg.$extension")) )
{
  include($_SERVER['DOCUMENT_ROOT']."/$fg.$extension");
}
else
{ include($_SERVER['DOCUMENT_ROOT']."/404.$extension"); }
?>


to be able to use links like index.php?fg=news I tried this code in home.html and it does display news.inc, but when for instance I try index.php?fg=contact it still displyas news.inc

So all I want to do is add some more pages to my site within 4images...

Thanks in advance!

12
Thank you very much, that helped!  8)

13
I'm using the normal image file URL, not the download URL, the full http:// is in the URL yes...

My problem is that I get briefly get to see a page which says download error! while (as you said) the download works fine, I just wonder why it does this. If I remove that line I don't get that error, but a quick look at a blank page instead. Also, I see te link opens in a new window, is there some way to avoid this?

Thanks!

14
Discussion & Troubleshooting / Download error! but downloading works
« on: June 19, 2005, 08:10:51 PM »
After planning on using 4images for my video-download site I finally took the step and started using it today after creating my own template. Now all seems to work fine, I don't need the ability to download images, just zip-files, so I added onlky the zip extension to the settings' valid file extensions...

When I hit the download button for a file to download I quickly see a white page with the text Download error! which changes into the defaullt files page just as fast as it is shown, next I'm able to choose open or save without a problem from the popped up box. I think the downloads are counted, though I'm not completely sure...

You can have a look here to see what I mean:

http://www.footygoal.net/details.php?image_id=2

One more thing I might add is that the files are stored on a different server...

I tried in both Maxthon and IE 6...

THNX in advance to anyone who can help me!

Pages: [1]