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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing ASP variable to PHP program

Status
Not open for further replies.

lahddah

Programmer
Jan 2, 2003
109
US
Hello. I'm going to post this question in the ASP forum, as well, but thought I'd include it here.

I am working with a PHP postcard program that needs to have the postcard pages created dynamically (users log in and get postcards that are specific to them). I've made an Access database, and a couple of ASP pages to get the images, but then I need to carry the postcard page variables (user name and pwd) into the php portion of the postcard programming. This way, when the user is done sending the postcard, they can go back to their original postcard page (now in ASP) and send another, should they decide to do so.

Hope this makes sense!

OR - if anyone knows of a PHP program that easily works with an Access database (I am VERY new to PHP and it needs to be user friendly and customizable), I would love to take a look at that, too.

Thank you in advance.

~ lahddah
 
1. Can you call the ASP part with CURL? Then there's no need to leave the PHP environment yet still execute the ASP scripts.
2. Isn't there and ODBC driver for that?
 
You can use the
Code:
header("location:asppage.asp?id=$somevar");

to pass the vars between pages..

and use

Code:
response.redirect "mypage.php?id=somevar&pwd=password",/code]

to pass the variables






Bastien

Cat, the other other white meat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top