Can't change hard link change in PHP

33 views Asked by At

function is that it have to read pdf and print it, but i can't change hard link <a href="./isakymas/<?php echo $_GET['link'];?>" all function looks like this - `

<h1>Aciu <?php echo $_GET['fname'];?>, jusu PDF jau sugeneruotas, <a href="./completed/<?php echo $_GET['link'];?>" download>Atsisiųsti paspaudus čia</a></h1> 

<div class="clearfix mb-5"></div>
<h1>Aciu <?php echo $_GET['fname'];?>, jusu PDF jau sugeneruotas, <a href="./isakymas/<?php echo $_GET['link'];?>" download>Atsisiųsti paspaudus čia</a></h1> 

<div class="clearfix mb-5"></div>

<a href="prasymas.php" class="btn btn-success">Sugeneruoti kita PDF </a>
` , when i change to "completed" it works correctly, when i press download my link is [Link][3] and it should be "localhost/123/completed/pdf_PRASYMAS instead of /pdf_isakymas". Any ideas how to change it?
0

There are 0 answers