Search found 4 matches

by tarview
Sat Jan 26, 2008 5:33 pm
Forum: PHP - Code
Topic: PHP code for downloading a ZIP
Replies: 8
Views: 531

Re: PHP code for downloading a ZIP

Thank you! I can live without the HTML follow-up (sent the info in an e-mail), so this works out fine. 8)
by tarview
Sat Jan 26, 2008 2:31 pm
Forum: PHP - Code
Topic: PHP code for downloading a ZIP
Replies: 8
Views: 531

PHP code for downloading a ZIP

Well, last time I had an issue and posted here, it fixed itself, so maybe it'll happen again. I'm trying to add code to let the visitor download a ZIP file, then show some HTML follow-up. Here's what I'm trying: <?php ... header( "Content-type: application/x-zip-compressed" ); header( &quo...
by tarview
Fri Jan 25, 2008 3:08 pm
Forum: PHP - Code
Topic: Trying a require in a custom 404 page
Replies: 6
Views: 278

Re: Trying a require in a custom 404 page

Hmm...apparently neither can I. :?

It was telling me that the path (to settings.php) was incorrect. Now it isn't. :banghead:

I think I need to unplug for a while. Thanks though!
by tarview
Fri Jan 25, 2008 2:05 pm
Forum: PHP - Code
Topic: Trying a require in a custom 404 page
Replies: 6
Views: 278

Trying a require in a custom 404 page

HI all, I am attempting to create a custom 404 page that redirects the user to a search result based on what the script thinks they were looking for. I have everything set up and it all works great, except for one thing. I would like to have all the configuration performed externally, including the ...