You are here: Re: Calling an ASP script from PHP ? « All PHP « IT news, forums, messages
Re: Calling an ASP script from PHP ?

Posted by J.O. Aho on 09/14/05 20:17

Oli Filth wrote:
> Steve said the following on 14/09/2005 16:12:
>
>>> Once my PHP script has run - is there anyway that I can pass control
>>> over the the asp script?
>>
>>
>>
>> Provided there is no output from the PHP script before handover:
>>
>> header( "http://www.example.com/myscript.asp" );
>
> ^
> ^
> header("Location: http://www.example.com/myscript.asp");
> =========
>
>

You may need to send some variables too, this can be done with a cookie or
just with the header(), eg


header("Location: http://www.example.com/myscript.asp?var1=val1&var2=val2");


But the best is of course to convert the visualbasic scripts to php, you get
both speed and stability. Take a look at asp2php.



//Aho

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация