RE: "download script"

From: Date: Sun, 11 Jun 2000 15:11:05 +0000
Subject: RE: "download script"
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-396@lists.php.net to get a copy of this message
> hi! > > i want to write a phpscript for filelinks: > > download.php?fileID > > the script should "redirect" to the corresponding file... > but how to do that ? > > the fileIDs and the corresponding URL's are stored in a database.. > and i don't know what to do after i read the URL from the database.. Hi, try using <? //without any space or nl in front of it! [...grab info from database...] Header("Location: $location"); ?> Regards, Sascha Kimmel

« previous php.windows (#396) next »