Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $i = 0;
- foreach($xml->channel->item as $item){
- if($i==0) continue;
- if(API::post($item->title.$affix, 'Porn', $item->link) == true){
- echo '<span style="color:green">`'.$item->title.$affix.'` was successfully added to the full-ddl.org DB!</span><br />';
- }
- else{
- echo '<span style="color:red">Error while adding `'.$item->title.$affix.'` to the full-ddl.org DB!</span><br />';
- }
- $i++;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement