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 PHP 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!

Also - if anyone knows of a good ASP postcard program, I'd be even more willing to look into that!

Thank you in advance.


~ lahddah
 
all you need to do is send the variables via the URL (QueryString) and you will be able to extract them in php as if a php script sent them.

The same will go along with the POST methods.
e.g.
$_GET["name"]
$_POST["name"]



___________________________________________________________________

The answer to your ??'s may be closer then you think.
Check out Tek-Tips knowledge bank by clicking the FAQ link at the top of the page faq333-3811
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top