Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Mar 2001
Posts: 644
Member
Member
Offline
Joined: Mar 2001
Posts: 644
Hmm that's a new one there DukeofUrl. Haven't tried the implode statement. I'm only about 1/3 of the way through my PHP book. Learning as I go and enjoying every minute. hehe

Ok, the album in question is Mike Bobbitt's album script. Which I love. And love even more since he added in the ability to authenticate based on my .threads user database.

The URL to my album is http://album.sofguild.com, the built-in SSI grabs a thumbnail of a random image. Works fine if you click the link, http://album.sofguild.com/cgi-bin/album/album.pl?random=1;ssi=1, but throws errors when included on a PHP page.

I can't give the PHP code just now, since I'm at work, but will drop by this evening and paste the code I'm currently using. Basically I've tried a variety of include statements, using URL and disk paths.

Here's the error thrown by my site, I'm including this in a PAL box, using the IIP index page.

Code
<br />Warning: Failed opening 'http://album.sofguild.com/cgi-bin/album/album.pl?random=1;ssi=1' for inclusion<br /> (include_path='.;c:\php4\pear') in c:\webs\sofguild\threads\pals\custombox5pal.php on line 30<br />


FYI, line 30 is the include statement, I'm pretty sure I need to clean up the included URL, probably not liking the ; in there.

Thanks all.

Sponsored Links
Entire Thread
Subject Posted By Posted
Include a perl SSI on a PHP page Zackary 08/03/2003 8:28 AM
Re: Include a perl SSI on a PHP page Zackary 08/05/2003 5:25 AM
Re: Include a perl SSI on a PHP page J.C. 08/05/2003 5:30 AM
Re: Include a perl SSI on a PHP page The Duke of URL 08/05/2003 5:31 AM
Re: Include a perl SSI on a PHP page The Duke of URL 08/05/2003 5:35 AM
Re: Include a perl SSI on a PHP page Zackary 08/05/2003 4:06 PM
Re: Include a perl SSI on a PHP page Maze 08/05/2003 11:21 PM
Re: Include a perl SSI on a PHP page Zackary 08/06/2003 12:57 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
hatter
hatter
USA
Posts: 69
Joined: January 2001
Forum Statistics
Forums63
Topics37,575
Posts293,931
Members13,823
Most Online6,139
Sep 21st, 2024
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2025 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)