+ Reply to Thread
Results 1 to 7 of 7

Thread: php code not working
      
   

  1. #1
    arialvoyager is offline Sergeant
    Join Date
    Sep 2008
    Posts
    36

    Default php code not working

    hello to all,i need help,I just put a php code on my page.It is an rss feed and I put it in the html box but the rss code is not running.Here is the link to that page analyzer.php.The code comes from a 3rd party website that offers free rss feeds in php.Can anybody help me what the problem?thank you..

  2. #2
    Karen Mac's Avatar
    Karen Mac is offline General
    Join Date
    Apr 2006
    Location
    X marks the spot
    Posts
    8,354

    Default Re: php code not working

    Ummm.. i dont see even where its supposed to be? Can you be MORE specific as to what i am looking for?

    Karen

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  3. #3
    arialvoyager is offline Sergeant
    Join Date
    Sep 2008
    Posts
    36

    Default Re: php code not working

    hello Karen, thanks for responding here is the code
    <?php
    $olderror_reporting =error_reporting(0);
    include ("http://rssfeedreader.com/rss3/rss.php?url=http&#37;3A%2F%2Frss.news.yahoo.com%2F rss%2Fbusiness&newpage=1&chead=&atl=&desc=&owncss= &eleminate=&auth=&dts=&width=150&max=5&tlen=0&rnd= &bt=3&bs=None&nmb=&ntb=&naf=&nst=&nwd=0&nht=0&dlen =0&lstyle=-1&lc=Blue&bg=%23FFFF00&bc=%23FFFF00&spc=&ims=&tc=& ts=10&tfont=Verdana,+Arial,+Sans-serif&rf=".$HTTP_SERVER_VARS['SERVER_NAME'].$HTTP_SERVER_VARS['PHP_SELF']."&phpout=1");
    error_reporting($olderror_reporting);
    ?>

    you can find it in the page html,it is an rss feed from rssfeedreader.com.You will not really see it coz it's not working.Can you help me? Thanks

  4. #4
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,060

    Default Re: php code not working

    You can't include a http URL in shared hosting for security reasons (it is disabled).

    Also, the code is not visible because php code is NEVER visible, only it's output (which in this case doesn't exist) is.

    And, last, there is no warning message, because your script (second line) is setting error reporting to 0 (no reporting)
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  5. #5
    arialvoyager is offline Sergeant
    Join Date
    Sep 2008
    Posts
    36

    Default Re: php code not working

    thanks navaldesign for your good info,is there a way for vodahost to enable the allow http URL if I email support?I think rss feeds are a good feature for my site..Thanks again..

  6. #6
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,060

    Default Re: php code not working

    You can submit a support ticket and ask, but i doubt it....

    You feed provider SHOULD know about this issue in shared hosting. There are ways to overcome this.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  7. #7
    arialvoyager is offline Sergeant
    Join Date
    Sep 2008
    Posts
    36

    Default Re: php code not working

    thanks again sir,you're very helpful..

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49