RE: [PHP] Integration between ASP & PHP.
| From: | Gryffyn, Trevor | Date: | Thu, 29 Jan 2004 22:49:22 +0000 |
| Subject: | RE: [PHP] Integration between ASP & PHP. | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176268@lists.php.net to get a copy of this message | ||
I'd just do the crypt functions in ASP, that's going to probably be a
lot less nightmare than trying to blend the two.
Here's a page that seems to have some useful information on crypt and
md5 type functions for ASP:
http://www.aspin.com/home/components/security?pg=4&order=desc
As for sharing variables.. Good luck. I guess you could save it out to
a cookie and read it back in to the other language, but I'm not sure
that you can share session data or anything like that.
There's ALWAYS a 'way'.. But you have to ask yourself it's easier or
more time efficient to bite the bullet and pick a language.
-TG
> -----Original Message-----
> From: francesco@automationsoft.biz
> [mailto:francesco@automationsoft.biz]
> Sent: Thursday, January 29, 2004 5:35 PM
> To: Gryffyn, Trevor
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] Integration between ASP & PHP.
> Importance: High
>
>
> 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" <TGryffyn@air-cargo-inc.com>
> To: <php-general@lists.php.net>
> 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: francesco@automationsoft.biz
> > [mailto:francesco@automationsoft.biz]
> > Sent: Thursday, January 29, 2004 3:19 AM
> > To: php-general@lists.php.net
> > 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
>
>
>