d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Mongo Db > Connect And Send Query
Add Reply New Topic New Poll
Member
Posts: 62,873
Joined: Aug 2 2009
Gold: 1,189.90
May 22 2012 12:16pm
I'm using a host that does not let me run a program for more than 5 minutes, therefore forcing me to host mongo through another site.
I'm trying to connect to this other site through PHP5.3, but it looks as if the mongo extension isn't installed, so I can't call something like
Code
$m = new Mongo("mongodb://username:password:url:port");

because there isn't a Mongo class to call.

So my question is, is there another way to do this through something like Javascript?
I'm somewhat comfortable with curl, would that work?
Member
Posts: 32,925
Joined: Jul 23 2006
Gold: 3,804.50
May 22 2012 07:15pm
Dunno, but that sounds like a shitty host if it won't install your extentions and limits you to 5 min.

Why do you even use Mongo anyway?
Member
Posts: 62,873
Joined: Aug 2 2009
Gold: 1,189.90
May 22 2012 08:32pm
Quote (carteblanche @ May 22 2012 06:15pm)
Dunno, but that sounds like a shitty host if it won't install your extentions and limits you to 5 min.

Why do you even use Mongo anyway?


They're willing to install extensions, but mongo is useless if it only runs for 5 minutes. It's a shared hosting plan, and I would need to get a dedicated IP to actually run things.

I'm a student, and I would love to learn nosql.
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll