OK,
my problem is to use the crypt function (like md5(),sha1(),mcrypt(),crypt())
of PHP language in an ASP script.
For example:
<%
  First part of script in ASP language
%>
<?php
  script PHP
?>
<%
 Second part of script in ASP language
%>
I don't know if this code is correct I don't try to use it, but this is what
I want to do.
Finally I want to share variables between the two languages (I hope!!).
Best regards,
Frank
www.automationsoft.biz

----- Original Message -----
From: "Gryffyn, Trevor" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 29, 2004 9:30 PM
Subject: RE: [PHP] Integration between ASP & PHP.


Define "integrate"?

Using both ASP and PHP within the same physical file/script like:

<?php
Phpcodehere;
?>
<html>
<body>
<%
Aspcodehere
%?
</body>
</html>

??

...or going from ASP pages to PHP pages?
That is, "Default.asp" calls "menu.php" or something like that?


In the first case, I'm not sure if it's possible since the web server
passes the script to an interpreter based on what kinda of file it is.
.ASP and .ASPX are going to get sent to an ASP interpreter and .PHP, etc
are going to get sent to a PHP interpreter.

Not sure if you can get it to do both in the same file without some
tricky work.

Good luck though!  I'm curious to see if anyone knows of a way, but I'm
not sure I'd ever want to mix code like that.

-TG



> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 29, 2004 3:19 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Integration between ASP & PHP.
> Importance: High
>
>
> Hi all,
> is possible to integrate script in ASP with script in PHP?
> How can I do this?
> All helps are precious.
> Best regards.
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to