Ctrl+v

Posts 6175 of 89 · Page 5 of 6
Ctrl+v from Notepad++
Code:
function __construct($url) 
         { 
               preg_match('#\?v=(.+?)$#', $url, $id); 
                
               $this->id = $id[1]?$id[1]:$url; 
                
                  $this->getxml(); 
                   
                     $parse = array   (   'runtimehms'   =>   'duration', 
                                    'size'         =>   'size', 
                                    's'            =>   'server', 
                                    'title'         =>   'title', 
                                    'description'   =>   'description', 
                                    'added'         =>   'added', 
                                    'username'      =>   'username', 
                                    'category'      =>   'category', 
                                    'views'         =>   'views', 
                                    'comments'      =>   'comments', 
                                    'favorited'      =>   'favorited', 
                                    'rating'      =>   'rating', 
                                    'k1'         =>   'key1', 
                                    'k2'         =>   'key2', 
                                    'un'         =>   'str'); 
                                     
                     foreach($parse as $key=>$val) 
                     { 
                        $this->parsexml($key, $val); 
                     } 

                  $this->size = round($this->size/(1024*1024)); 
                   
         }
Quote Originally Posted by Sync View Post
Ctrl+v from Notepad++
Code:
function __construct($url) 
         { 
               preg_match('#\?v=(.+?)$#', $url, $id); 
                
               $this->id = $id[1]?$id[1]:$url; 
                
                  $this->getxml(); 
                   
                     $parse = array   (   'runtimehms'   =>   'duration', 
                                    'size'         =>   'size', 
                                    's'            =>   'server', 
                                    'title'         =>   'title', 
                                    'description'   =>   'description', 
                                    'added'         =>   'added', 
                                    'username'      =>   'username', 
                                    'category'      =>   'category', 
                                    'views'         =>   'views', 
                                    'comments'      =>   'comments', 
                                    'favorited'      =>   'favorited', 
                                    'rating'      =>   'rating', 
                                    'k1'         =>   'key1', 
                                    'k2'         =>   'key2', 
                                    'un'         =>   'str'); 
                                     
                     foreach($parse as $key=>$val) 
                     { 
                        $this->parsexml($key, $val); 
                     } 

                  $this->size = round($this->size/(1024*1024)); 
                   
         }
I see what's going on here
@Ed what?
Quote Originally Posted by Ed View Post


That's called music?
I thought it was ear sex
Quote Originally Posted by Chelsea Grin. View Post


I thought it was ear sex
Sounds like opera for people trying to be tough
Quote Originally Posted by Ed View Post


That's called music?
Maybe


awwwweeeesoooome.
7 Jalan Kilang #03-01 Singapore 159407
Posts 6175 of 89 · Page 5 of 6

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?