Author: n64luke123 | Posted on: 5/10/2009 11:58:53 AM | Views : 253

hello,

I have a php file script that i use to connect to my mySQL db, pull the data i want, and then format it into XML for a flash mp3 player to use.  All this works well and good.  However, i have certain SQL queries i would like to perform based on what user is logged into my asp.net site.

Now i can do SQL queries in the code behind in asp.net for this no problem, but how would i pass the variable of the username of person logged in, to PHP, so that i can in turn use it in my SQL query?

i'm very new to php and have not worked with it much.

 here is my PHP file that creates the XML data based on pulled mySQL info.  if someone coudl inform me or point me in the direction of sending the logged in username obtained on the ASPX page to this file.  Thank you.

 

<?php
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
header('Pragma: no-cache');

require("phpsqlaja ...

Go to the complete details ...