- Úgy tér vissza a Commodore 64, ahogy titkon mindenki várja
- Házi barkács, gányolás, tákolás, megdöbbentő gépek!
- Iszonyatos mennyiségű hulladékkal járhat a Windows 10 terméktámogatásának vége
- Kormányok / autós szimulátorok topikja
- OLED monitor topik
- Kompakt vízhűtés
- Melyik tápegységet vegyem?
- Apple MacBook
- Milyen monitort vegyek?
- Azonnali fotós kérdések órája
Új hozzászólás Aktív témák
-
sziszegőII
tag
válasz
ízirider #140 üzenetére
Találtam jobbat. Mármint ingyeneset.
ASPBrowser a neve
!-- ------------------------------------------------------------------------- -->
<!-- ASPBROWSER v1.0 (06-2004) -->
<!-- ------------------------------------------------------------------------- -->
<!-- Copyright (C) 2004 AVRIL CONSEIL -->
<!-- http://www.avril-conseil.com -->
<!-- ------------------------------------------------------------------------- -->
<!-- This program is free software; you can redistribute it and/or modify -->
<!-- it under the terms of the GNU General Public License as published by -->
<!-- the Free Software Foundation; either version 2 of the License, or -->
<!-- (at your option) any later version. -->
<!-- ------------------------------------------------------------------------- -->
<%
call downloadFile(Request.querystring(''file''))
function downloadFile(strFile)
dim ads, fso, f
'empties buffer
Response.Buffer = True
Response.Clear
'create a stream (check you have last MDAC version installed)
set ads = Server.CreateObject(''ADODB.Stream'')
ads.Open
ads.Type = 1
on error resume next
set fso = Server.CreateObject(''Scripting.FileSystemObject'')
if not fso.FileExists(strfile) then
Response.Write ''<h1>Erreur: </h1><font color='#485e9e'>'' & strfile & ''</font> n'existe pas<p>''
Response.Write strfile
Response.End
end if
set f = fso.GetFile(strfile)
intFilelength = f.size
ads.LoadFromFile(strfile)
if err then
Response.Write ''<h1>Erreur: </h1><font color='#485e9e'>'' & err.Description & ''</font><p>''
Response.End
end if
'send header to browser
Response.AddHeader ''Content-Disposition'', ''attachment; filename='' & f.name
Response.AddHeader ''Content-Length'', intFilelength
Response.Charset = ''UTF-8''
Response.ContentType = ''application/octet-stream''
'send file
Response.BinaryWrite ads.Read
Response.Flush
ads.Close
set ads = Nothing
end function
%>
Bocsi kicsit hosszú, de jónak tűnik
Új hozzászólás Aktív témák
- Azonnali fáradt gőzös kérdések órája
- Úgy tér vissza a Commodore 64, ahogy titkon mindenki várja
- Autós topik
- Házi barkács, gányolás, tákolás, megdöbbentő gépek!
- Iszonyatos mennyiségű hulladékkal járhat a Windows 10 terméktámogatásának vége
- exHWSW - Értünk mindenhez IS
- PlayStation 5
- Eurós árlista a Google Pixel 10 telefonokhoz
- Renault, Dacia topik
- Kormányok / autós szimulátorok topikja
- További aktív témák...
- Használt Iphone 15 Pro 128gb Titanium Black
- Exclusive ajánlat! Dobozos új LG GRAM /13. gen i7-1360P/16GB RAM/512GB SSD/17"COL/IPS/Gari QHD+
- HP ZBOOK Fury 17 i7-11850H 32gb ram 1 tb ssd RTX A3000
- A Legújabb! Dobozos Új DELL XPS 13 9340/ULTRA 7-155H/32 GB Ram/1TB SSD/AI BOOST+INTEL ARC
- Lenovo v15 g2 Ryzen 5 5500U 16gb ram 512ssd FHD
- BESZÁMÍTÁS! Apple Mac Studio M2 ULTRA 2023 64GB 1TB SSD számítógép garanciával hibátlan működéssel
- Új! Targus - USB-C Dual HDMI 4K HUB - 2 HDMI-vel. Saját töltő nélkül 2 monitorral (120Hz)
- BESZÁMÍTÁS! Asus Z170 i7 7700 16GB DDR4 512GB SSD RTX 2060 Super 8GB Rampage SHIVA 500W Zalman
- MikroTik CCR1009-7G-1C-1S+ Cloud Router
- ÁRGARANCIA!Épített KomPhone Ryzen 7 7800X3D 32/64GB RAM RTX 4070Ti Super GAMER PC termékbeszámítás
Állásajánlatok
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest