Log in

View Full Version : Cutenews add on + php includes?! +REP x 3 = 15!!



myke
30-05-2008, 01:12 PM
Ok, I got this script:
http://cutephp.com/cutenews/addons/remote_headlines.zip

It will direct to a iFrame very well, but I don't know how to make the links go to a PHP include?

Any help will be very appreciated, thanks!

+REP x 3 times :)

WoodBerry
10-06-2008, 04:40 PM
Ok, I got this script:
http://cutephp.com/cutenews/addons/remote_headlines.zip

It will direct to a iFrame very well, but I don't know how to make the links go to a PHP include?

Any help will be very appreciated, thanks!

+REP x 3 times :)

add me ill see what i can do
[email protected]

Independent
11-06-2008, 04:03 AM
You can't do that with php includes.

Josh-H
12-06-2008, 04:23 PM
PHP includes don't work like iframes, thats not possible.

Decode
12-06-2008, 04:34 PM
PHP includes don't work like iframes, thats not possible.
It will be possible. Im going to check it out now :P


EDIT:

<?php
if ( $_GET['subaction'] == "showfull" ) {
$id = $_GET['id'];
$cutenewspage = "PAGE WITH FULL STORY ON HERE!";
$page = "$cutenewspage?subaction=showfull&id=$id";
include("$page");
}
else {
include("newsnotfound.php");
}
?>

Want to hide these adverts? Register an account for free!