Solved

where is the include file here?

Posted on 2008-06-09
9
336 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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
 
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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will explain how to display the first page of your Microsoft Word documents (e.g. .doc, .docx, etc...) as images in a web page programatically. I have scoured the web on a way to do this unsuccessfully. The goal is to produce something …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

856 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