Hiding URL output

General discussions related to php

Moderators: egami, macek, gesf

Post Reply
User avatar
Posts: 1240
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol

Sun Jan 12, 2003 12:45 am

zwarte wrote:Hello Board,

I am actually just getting into PHP about 2 months ago. I have a database that stores a url to a location of a .pdf file. Everythings works the way I want. Database does a join finds the file and outputs it to screen with correct file selected. The problem is I want to hide the URL that my PHP scripts output. When I look in the source code for the php Page it shows the link to the file. Please advise.

Hi! you may do this:
in HTML:

Code: Select all

<a href = "link.php?id=23">Tutorial</a>

in PHP:
i think you be guess how to do in PHP.... It's not hard
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";

Post Reply