mmk Posted April 18, 2005 Report Share 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?? Link to comment Share on other sites More sharing options...
Venom Posted April 18, 2005 Report Share Posted April 18, 2005 header('Content-Disposition: inline; filename="some.jpg"'); Link to comment Share on other sites More sharing options...
mmk Posted April 18, 2005 Author Report Share Posted April 18, 2005 cool. nice. thank you! ir vispaar kaada laba lapa, kur var par hederiem palasiities? <_< Link to comment Share on other sites More sharing options...
Venom Posted April 18, 2005 Report Share Posted April 18, 2005 http://lv.php.net/manual/en/function.header.php ? Link to comment Share on other sites More sharing options...
mmk Posted April 18, 2005 Author Report Share Posted April 18, 2005 nu jā. komentāros var smelties zinības.. :) Link to comment Share on other sites More sharing options...
bubu Posted April 18, 2005 Report Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts