mmk Posted April 18, 2005 Report Posted April 18, 2005 Man ir skripts ar kuru taisu bildes - image.php. Lai pa taisno mestu uz bowseri laukaa lietoju: header ('Content-type: image/jpeg'); Sistema ir tada, ka ar citu skriptu, piem. index.php, noraadu: <img src='image.php'> Viss smuki straadaa un ir ok, tikai kad useris ar labo taustinju klikshkjina, lai saglabaatu bildi, bildes defaultais nosaukums ir "image.php.jpg".. Ir iespeejams to nosaukumu pamainiit??
Venom Posted April 18, 2005 Report Posted April 18, 2005 header('Content-Disposition: inline; filename="some.jpg"');
mmk Posted April 18, 2005 Author Report Posted April 18, 2005 cool. nice. thank you! ir vispaar kaada laba lapa, kur var par hederiem palasiities? <_<
Venom Posted April 18, 2005 Report Posted April 18, 2005 http://lv.php.net/manual/en/function.header.php ?
mmk Posted April 18, 2005 Author Report Posted April 18, 2005 nu jā. komentāros var smelties zinības.. :)
bubu Posted April 18, 2005 Report Posted April 18, 2005 http://www.ietf.org/rfc/rfc2616.txt http://www.ietf.org/rfc/rfc1806.txt http://www.ietf.org/rfc/rfc2076.txt
Recommended Posts