Προς το περιεχόμενο

Html erotisi


yannis27gr

Προτεινόμενες αναρτήσεις

Δημοσ.

Thelo loipon na ftiaxso ena link pou otan kapoios to pataei na tou emfanizetai h epilogh "Open-Save" gia na mporei na sosei to arxeio sto sklhro tou. Me thn <a href="name.pdf">Katebase apo edo to name.pdf</a> dhmiourgeite men to link alla patontas to aplos anoigei to arxeio. Gia na to apothikeusei kapoios prepei na dialeksei Save target as... Me poia entolh loipon to ftiaxno auto?

Δημοσ.

Sto idio directory pou exeis ta pdf sou vale ena arxeio pdf.php pou na exei mesa auto:

><?
$filename = $_GET['file'];
$data = implode("", file( realpath($filename)));
header("Content-Type: application/pdf");
header("Content-Disposition: attachment; filename=\"$filename\"");
print $data;
?>

 

kai kane ta links sou <a href="pdf.php?file=arxeio.pdf"> (opou arxeio.pdf to onoma tou pdf pou thes na katevazei)

 

Nomizo tha douleuei kanonika ;)

Δημοσ.

Oxi, den katafera na to kano na doulepsei afou auto pou katebazei einai to pdf.php arxeio ki oxi to pdf arxeio pou thelo ego!!! Mhpos xreiazetai na allakso kati ston kodika sou ?

Episis, an exo polla arxeia gia download, tha xreiazetai na ftiakso diaforetika php arxeia gia to kathena?

Δημοσ.

Mallon de sou doulepse giati dokimases na to kaneis sto PC sou xoris na exeis kapoion server kai tin php (apache px). O server ston opoion filokseneitai to site sou prepei na ipostirizei php omos. Ftiakse to pdf.php (ftiakse ena neo .txt kane paste ton kodika mesa kai meta rename se pdf.php) kai anevase to sto site sou. Esto oti exeis ta pdf sou sto http://www.ideopolis.gr/ebooks . Tha anevaseis to pdf.php ston fakelo ebooks kai opou theleis na iparxoun ta links tha xrisimopoieis <a href="http://www.ideopolis.gr/ebooks/pdf.php?file=Ebook1.pdf">. De xreiazetai allo .php arxeio, mono ena, apla tha allazeis sto link ti metavliti file (pdf.php?file=Onoma-Kapoiou-AllouPDF.pdf). An o server den ipostirizei php tote to script de tha douleuei kai den ksero an iparxei kati analogo xoris na xrisimopoieis kapoia server side glossa. Dokimase kai pes ;)

Δημοσ.

Plhros katanohtos file tsagane. Den einai pantos gia to ideopolis h istoria auth, apla mathaino html kai mou ekane entyposh pou den brhka kanena tag gi auto to pragma, den einai da kai tipota fovero. Dhladh to <marquee> pou aneptykse h Microsoft h to <drip> ths Netscape einai pio xrhsima?

 

Telos panton, tha shmeioso tis entoles kai tha tis doulepso molis egkatasthso ton apache server (ton eixa balei otan eixa psiloasxolithei me php kai ton ebgala giati theorousa oti pia de tha mou itan xrhsimos :shock: ). Eimai sigouros pantos oti tha doulepsei, synithos ksereis poly kala ti les :D :D

 

Thanx man!

Αρχειοθετημένο

Αυτό το θέμα έχει αρχειοθετηθεί και είναι κλειστό για περαιτέρω απαντήσεις.

  • Δημιουργία νέου...