HTML question: Going to an anchor on loading page

Joel Hammer Joel
Mon May 17 11:39:04 PDT 2004


Thanks. That sounds like it will work. But, I'll won't try it until tomorrow
morning.

Joel


On Sun, Oct 20, 2002 at 01:08:33AM -0500, ronnie gauthier wrote:
> When you generate the page save it to file in a tmp folder with a
> unique name (r5j43cu8.html). Feed the browser a Location header
> pointing to the file with the anchor in the url.
> 
> $go_to = "http://domain.com/tmp/r5j43cu8.html#you_are_here";
> 
> print "Location: $go_to","\n\n";exit(0);
> 


More information about the Linux-users mailing list