php forum
php mysql forum
php mysql smarty
 
Topic Options
#226727 - 10/23/02 12:13 PM "Embedding" ubbthreads in asp application
ericdb Offline
Lurker

Registered: 10/10/02
Posts: 3
I've been tasked with integrating ubbthreads into a really complicated Active Server Page application running on a secure server. <br /><br />Is there anyway for me to integrate threads as an virtual include, as if it were nested within the ASP code? Right now, I've put the ubbthreads.php as a virtual include into the asp code, and all the PHP code displays in the browser... <img src="/forum/images/graemlins/confused.gif" alt="" />

Top
#226728 - 10/23/02 01:18 PM Re: "Embedding" ubbthreads in asp application [Re: frogland]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I've never worked with asp so I'm at a loss there as far as suggestions. What's the particular reason for embeding? How is PHP installed? If it's being used as a cgi perhaps you'll need to set the path to it in each script?<br /><br />Has anyone else here embeded .threads into an .asp page? <img src="/forum/images/graemlins/confused.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#226729 - 10/23/02 01:31 PM Re: "Embedding" ubbthreads in asp application [Re: sjsaunders]
ericdb Offline
Lurker

Registered: 10/10/02
Posts: 3
The main reason for embedding is because the code in which the forum becomes exposed displays different information under different circumstances. In addition, there's alot of session variables that are being maintained by the server. <br /><br />However, I'm not sure that either one of these reasons REQUIRE that the discussion forum be nested in the ASP. My next step is to simply link from the asp to the php, and see if that breaks anything...

Top
#226730 - 10/23/02 03:05 PM Re: "Embedding" ubbthreads in asp application [Re: frogland]
Aglavalin Offline
Enthusiast

Registered: 06/18/02
Posts: 394
Loc: Southern California
I had no luck getting php to compile on IIS 4.0 when it was included in a asp page. Perhaps 5.0 will process the php code, but I didn't bother trying. You can get it to work if it is within a frame however. But frames basically suck, so I gave up on that on the site I was working on, lol<br /><br />This issue is totally www server dependent, I've heard it works on apache on a win box. Have not tried it myself though...

Top
#226731 - 10/24/02 04:49 AM Re: "Embedding" ubbthreads in asp application [Re: neuron]
Pappy Offline
Member

Registered: 11/17/00
Posts: 235
Loc: Germany (US Citizen)
I think PHP has to be included as an executable in ASP pages.<br /><br />I discovered getting PHP to install on IIS properly using the MSI (Not sure on IIS 4 ) required me to install mysql first or I would get an error for a missing OCX file. if that error happens then you can download the zip file from php.net and get the reg file for the registry changes from one of the directories (you have to edit the reg file to show the proper path to the php.exe or the Isapi module. also PHP.ini needs to be in the windows directory. <br /><br />Also you may have to mess with the application settings (mime types?) to get the PHP code to Parse in a ASP (or any other, SHTML, HTML, Etc,.)

Top
#226732 - 11/03/02 10:53 PM Re: "Embedding" ubbthreads in asp application [Re: MercAqua]
Dalar Offline
Member

Registered: 04/22/02
Posts: 231
Loc: Hamilton, Ontario, Canada
If it helps, I was able to include ASP within PHP with a script I wrote.<br /><br />What I did for PHP was opened the ASP with a straight fopen; perhaps the fopen for ASP could get you similar results. Passing variables is possible, but only one-way.. it could probably be done two-way with some really complex coding, but that's beyond what I needed.. perhaps if I'm bored some week I'll do it <img src="/forum/images/graemlins/tongue.gif" alt="" /> Variables were passed via URL encoding. <br /><br />Anyhoo, hope that helps.
_________________________
Dalar
Legends of Tacendia
[]http://legendsoftacendia.com/forumimages/icons/troll.gif[/]

Top



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks