[advanced search]
 

Go Back   NamePros.com > Discussion > Web Design & Development > Programming

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


Closed Thread
 
LinkBack Thread Tools
Old 02-24-2007, 11:21 AM   #1 (permalink)
NamePros Regular
 
Join Date: Aug 2006
Location: @ él Computér
Posts: 400
88.40 NP$ (Donate)

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;
            @
$this->dom->loadHTML($this->data);
            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, 12:27 PM   #2 (permalink)
NamePros Regular
 
beaver6813's Avatar
 
Join Date: May 2005
Location: England
Posts: 349
65.50 NP$ (Donate)

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.com V5 Soon!
beaver6813 is offline  
Old 02-24-2007, 12:47 PM   #3 (permalink)
Senior Member
 
Peter's Avatar
 
Join Date: Nov 2003
Location: Scotland
Posts: 4,900
0.60 NP$ (Donate)

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, 03:10 PM   #4 (permalink)
cef
NamePros Regular
 
Join Date: May 2004
Location: NYC
Posts: 236
76.50 NP$ (Donate)

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, 04:31 PM   #5 (permalink)
NamePros Regular
 
Join Date: Aug 2006
Location: @ él Computér
Posts: 400
88.40 NP$ (Donate)

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, 06:26 AM   #6 (permalink)
NamePros Regular
 
-LB-'s Avatar
 
Join Date: Dec 2005
Location: Leics, England
Posts: 889
37.30 NP$ (Donate)

-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 11:22 AM.
-LB- is offline  
Old 02-27-2007, 09:12 AM   #7 (permalink)
NamePros Regular
 
beaver6813's Avatar
 
Join Date: May 2005
Location: England
Posts: 349
65.50 NP$ (Donate)

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.com V5 Soon!
beaver6813 is offline  
Closed Thread


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Site Sponsors
Advertise your business at NamePros

All times are GMT -7. The time now is 07:24 AM.


Powered by: vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Template-Modifications by TMS
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios

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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85