NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page [resolved] HELP NEEDED: Proxy Script!

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 02-24-2007, 12:21 PM THREAD STARTER               #1 (permalink)
NamePros Regular
Join Date: Aug 2006
Location: Liverpool, England
Posts: 406
LogiK will become famous soon enoughLogiK will become famous soon enough
 



HELP NEEDED: Proxy Script!


Hello all,
I have a proxy site (ProxyMe.cc) that I got from a friend, Ive done everything the readme says but when i try to browse a page with it i get this error:
Code:
Fatal error: Cannot instantiate non-existent class: domdocument in /home/admin/domains/proxyme.cc/public_html/php/classes/proxy.class.php on line 107
This is a part of the code
Lines 107-124:
PHP Code:
            $this->dom = new domDocument;
????: NamePros.com http://www.namepros.com/programming/298144-resolved-help-needed-proxy-script.html
            @
$this->dom->loadHTML($this->data);
????: NamePros.com http://www.namepros.com/showthread.php?t=298144
            foreach (
$this->dom->getElementsByTagName('body') as $node) {
                
$this->parseNode($node$exclude);
                
$object $this->dom->createElement('div');
                
ob_start();
                include 
'php/includes/urlForm.inc.php';
                
$content ob_get_clean();
                
$object->nodeValue '{URL_FORM}';
                
$references $node->getElementsByTagName('*');
                
$i 0;
                foreach (
$references as $reference) {
                    if (!
$i) {
                        
$node->insertBefore($object$reference);
                    }
                    
$i++;
                }
            } 
To anyone who helps me with this I would be very apprichiate and if you want would give you a copy of the script.

Thanks, Declan.
LogiK is offline  
Old 02-24-2007, 01:27 PM   #2 (permalink)
NamePros Regular
 
beaver6813's Avatar
Join Date: May 2005
Location: England
Posts: 392
beaver6813 is a jewel in the roughbeaver6813 is a jewel in the roughbeaver6813 is a jewel in the rough
 




You are missing the class domDocument... if you can't find it (it might be in another file) then i would reccomend: http://whitefyre.com/poxy/
beaver6813 is offline  
Old 02-24-2007, 01:47 PM   #3 (permalink)
NamePros Expert
 
Peter's Avatar
Join Date: Nov 2003
Location: Scotland
Posts: 5,069
Peter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond reputePeter has a reputation beyond repute
 


Child Abuse Save The Children Save The Children Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009 Help The Homeless - Holiday 2009
check and ensure you have the dom extension enabled. http://www.php.net/dom
Peter is offline  
Old 02-24-2007, 04:10 PM   #4 (permalink)
cef
NamePros Regular
Join Date: May 2004
Location: NYC
Posts: 236
cef is a jewel in the roughcef is a jewel in the roughcef is a jewel in the rough
 


Animal Rescue
The DOM functions filth mentions are only available in PHP5, and are part of the php5 core. If the script was written for php5 and you're having trouble running it, check that you are indeed running php5.
cef is offline  
Old 02-24-2007, 05:31 PM THREAD STARTER               #5 (permalink)
NamePros Regular
Join Date: Aug 2006
Location: Liverpool, England
Posts: 406
LogiK will become famous soon enoughLogiK will become famous soon enough
 



Thank you all, I have messaged my host regarding this.
LogiK is offline  
Old 02-27-2007, 07:26 AM   #6 (permalink)
NamePros Regular
 
-LB-'s Avatar
Join Date: Dec 2005
Location: Leics, England
Posts: 890
-LB- is just really nice-LB- is just really nice-LB- is just really nice-LB- is just really nice
 


Alzheimer's
I would really reccomend PHProxy.
__________________
"Pretending that we live doesn't make us alive" - Serj Tankian & Iommi
Last edited by Morphmaster; 02-27-2007 at 12:22 PM.
-LB- is offline  
Old 02-27-2007, 10:12 AM   #7 (permalink)
NamePros Regular
 
beaver6813's Avatar
Join Date: May 2005
Location: England
Posts: 392
beaver6813 is a jewel in the roughbeaver6813 is a jewel in the roughbeaver6813 is a jewel in the rough
 




Speaking of PHProxy on their demo site, grab.cc myspace logins work fine... but then when i try to use the same alleged version that i downloaded form their sourceforge site it doesn't work with myspace... and it determined to remove scripts no matter what lol...

Any ideas?
beaver6813 is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 07:44 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger