Solved

where is the include file here?

Posted on 2008-06-09
9
331 Views
Last Modified: 2012-06-21
i have a piece code from rsstohtml.php ... what is the meaning of the below code, i could not find the include file in my directory .., where this file would be???
if ($useFopenURL == 1) {

  ini_set("allow_url_fopen", "1");

  ini_set("user_agent", "FeedForAll rss2html scripts v3");

}
 

$FeedMaxItems = 10000;

$NoFutureItems = FALSE;
 

@include("FeedForAll_rss2html_pro.php");
 

if (function_exists("FeedForAll_rss2html_pro") === FALSE) {

  Function FeedForAll_rss2html_pro($source) {

    //

    // This is the place to do any processing that is desired

    return $source;

  }

}

Open in new window

0
Comment
Question by:Loganathan Natarajan
  • 5
  • 4
9 Comments
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 21748838
i could not see this files on my directory of rsstohtml.zip
FeedForAll_rss2html_pro.php
0
 
LVL 17

Expert Comment

by:leannonn
ID: 21748940
> @include("FeedForAll_rss2html_pro.php");

This line tries to include the file, but does not raise an exception (shows now error) if the file is not there. My guess is that this line is in there for easy upgrade to the Pro version of their product :)
0
 
LVL 17

Expert Comment

by:leannonn
ID: 21748946
> (shows now error)

shows no error
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 21748979
no, it may not be, because even i removed the @ and tried .. nothing displays ...
i have downloaded the file from, http://www.feedforall.com/more-php.htm

it has only 2 files ...
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 21748982
no errors
0
 
LVL 17

Expert Comment

by:leannonn
ID: 21749092
> no, it may not be, because even i removed the @ and tried .. nothing displays ...
> i have downloaded the file from, http://www.feedforall.com/more-php.htm

Not sure why you're looking at that line? Here's the line you want:
---
@include_once("FeedForAll_XMLParser.inc.php");
---

It will include the other file and you have access to the parser code.

What is the problem? Have you created the template? Have you set it up on your server? Does it return properly formatted data when called?
0
 
LVL 36

Author Comment

by:Loganathan Natarajan
ID: 21749344
i just want to know "FeedForAll_rss2html_pro.php" where does it includes ... since it is part of the code
0
 
LVL 17

Accepted Solution

by:
leannonn earned 500 total points
ID: 21749668
> i just want to know "FeedForAll_rss2html_pro.php" where does it includes ... since it is part of the code

It will include if you buy the PRO version. At the moment it doesn't include anything. That's it. :)
0
 
LVL 36

Author Closing Comment

by:Loganathan Natarajan
ID: 31465636
thanks
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Introduction Many web sites contain image galleries; a common design for these galleries includes a page with a collection of thumbnail images.  You can click on each of the thumbnail images to see the larger version of the image.  This is easily i…
This article discusses how to create an extensible mechanism for linked drop downs.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now