Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

where is the include file here?

Posted on 2008-06-09
9
Medium Priority
?
342 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:Aleksandar Bradarić
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:Aleksandar Bradarić
ID: 21748946
> (shows now error)

shows no error
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
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:Aleksandar Bradarić
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:
Aleksandar Bradarić earned 2000 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article discusses how to create an extensible mechanism for linked drop downs.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Suggested Courses

927 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