The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
How to use ASP code in the PHP pages...
PHP with ASP Code
Hello everybody... I have a question that may seem pretty simple to the folks in here. I just can't figure it out. Question: My website uses .asp code to rotate banners on all of the pages. The .asp code doesn't function inside the .php page. ---------------------------------- Here is the general code we use for the banners... If Request.ServerVariables("REMOTE_ADDR")="127.0.0.1" Or InStr(Request.ServerVariables("REMOTE_ADDR"),"loca lhost") Then strAdRotSchedFile=PathToRoot & "/ads/main/topbanner.txt" End If Set adRotate=Server.CreateObject("MSWC.AdRotator") strAdString=adRotate.GetAdvertisement(strAdRotSche dFile) Set adRotate=nothing Response.Write strAdString %> ---------------------------------- Does anybody know how to make the .asp work in the .php environment? Thanks for your help! And let me know if there are any questions. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|