Solved

where is the include file here?

Posted on 2008-06-09
9
332 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
can windows 10 wamp send mail()? 3 35
javascript date picker in php while loop 5 28
Website Interactive tool that will do calculations 3 32
php construct 5 15
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
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 …

863 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

22 Experts available now in Live!

Get 1:1 Help Now