Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linking between pages

Status
Not open for further replies.

SM777

Technical User
Mar 7, 2001
208
GB
How can I create a page of links that call other php pages?

I am currently using perl to do the following but would like to do it with PHP as perl shows the data sent to the script in the URL box which is unsecure.

I have a script that generates a list of team players on a page, each players name is a link that passes their player number and name to the main database script, an example:

<A HREF=&quot;htttp://mydomain.com/cgi-bin/maindata.pl?player_no=$player_no&name=$player_name>DiMagio</A>

The links pass the player number and name to the maindata.pl script.

I'd like to do this in PHP, but as I say the main provision is that nothing must be visible in the URL box as anyone could edit the box to look at other player details.

Cheers
 
to hide the variable to the user, you must either use global variables (with session or cookies)
or use a form and submit the variable by the method post.

Khaldryck
Programmer at the University of Brussel (Belgium)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top