הוסטס - פורום אחסון האתרים הגדול בישראל

הוסטס - פורום אחסון האתרים הגדול בישראל (https://hosts.co.il/forums/index.php)
-   פורום תיכנות (https://hosts.co.il/forums/forumdisplay.php?f=14)
-   -   עזרה| שליפת מידע מהRSS של הוסטס (https://hosts.co.il/forums/showthread.php?t=74443)

possible 12-05-09 07:55

עזרה| שליפת מידע מהRSS של הוסטס
 
אוקיי אז בניתי קוד ששולף את כותרת הנושא ואת הלינק אבל הקוד פועל על כל אתר שפעלתי חוץ מהוסטס.

הינה הקוד:
PHP קוד:

<?php
               $objDOM 
= new DOMDocument();
                
$objDOM->load("http://www.hosts.co.il/forums/external.php?type=RSS2");
                
$items $objDOM->getElementsByTagName("item");
                foreach (
$items as $value)
                {
                    
$titles $value->getElementsByTagName("title");
                    
$title $titles->item(0)->nodeValue;

                    
$links $value->getElementsByTagName("link");
                    
$link $links->item(0)->nodeValue;
                    echo 
"<a href=\"{$link}\">{$title}</a><br />";
                }
?>

אצלי באתר כשניסיתי את זה זה העביר אותי לדף שרשום בו את זה:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@blog.float.co.il and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

יכול להיות שזה בעיה בשרת שלי?(אני מאוחסן אצל DREAMHOST)

תודה לעוזרים


כל הזמנים הם GMT +2. הזמן כעת הוא 11:41.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ