Be a Supporter!

How To Compile Curl?

  • 951 Views
  • 31 Replies
New Topic Respond to this Topic
NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
How To Compile Curl? 2006-07-05 09:31:16 Reply

I never actually compiled anything external. Shorter: i use just bundled PHP Extensions / libraries.

But now I want to use CURL. CURL is not compiled with PHP by default.
I have to install and run it manually!

How?

I downloaded the latest package in zip format and I have got for about 888 files (in various directories).

Where to put them? I use PHP5 on Localhost and PHP4 on recgr.com .
I think it matters since PHP5 ( I think ) has got an folder for extensions called 'ext' and PHP4 has got it called 'extensions'.

Should I edit php.ini ? Do I need to remove the semicolons at the INCLUDE PATHS (in php.ini)?

-Nino

Casualty
Casualty
  • Member since: Sep. 15, 2004
  • Offline.
Forum Stats
Member
Level 35
Musician
Response to How To Compile Curl? 2006-07-05 09:32:19 Reply

Want to make an auto-deposit script? ;)

elbekko
elbekko
  • Member since: Jul. 23, 2004
  • Offline.
Forum Stats
Member
Level 16
Blank Slate
Response to How To Compile Curl? 2006-07-05 10:09:25 Reply

Just uncomment (remove semicolon) the needed libraries in php.ini


"My software never has bugs. It just develops random features. " - Unknown

[ FluxBB developer | Quickmarks 0.5.1 | Strings & Ints - my blog ]

BBS Signature
citricsquid
citricsquid
  • Member since: Jun. 25, 2005
  • Offline.
Forum Stats
Member
Level 23
Blank Slate
Response to How To Compile Curl? 2006-07-05 11:53:43 Reply

At 7/5/06 09:32 AM, -Casualty- wrote: Want to make an auto-deposit script? ;)

Haha, lawl.

DFox
DFox
  • Member since: Aug. 9, 2003
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to How To Compile Curl? 2006-07-05 12:39:08 Reply

Guys, don't help him.

His "writing" a program to steal money from Newgrounds.


BBS Signature
liam
liam
  • Member since: Dec. 11, 2004
  • Offline.
Forum Stats
Member
Level 22
Blank Slate
Response to How To Compile Curl? 2006-07-05 13:32:04 Reply

At 7/5/06 12:39 PM, GamesCool wrote: His "writing" a program to steal money from Newgrounds.

Yes. The program will log into Toms bank account and transfer $1 a minute to his own bank account. Pretty impressive programming.


Sup, bitches :)

BBS Signature
NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to How To Compile Curl? 2006-07-05 14:57:25 Reply

At 7/5/06 01:32 PM, liaaaam wrote:
At 7/5/06 12:39 PM, GamesCool wrote: His "writing" a program to steal money from Newgrounds.
Yes. The program will log into Toms bank account and transfer $1 a minute to his own bank account. Pretty impressive programming.

Hm, I am really confused now too.
How can this possibly take out the money of NG?

All NG gets from us is teh Ad revenue.
And, hm, that script ('bot') will be considered as an visitor.

DFox
DFox
  • Member since: Aug. 9, 2003
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to How To Compile Curl? 2006-07-05 14:59:29 Reply

At 7/5/06 02:57 PM, Nino_JoJ wrote: Hm, I am really confused now too.
How can this possibly take out the money of NG?

All NG gets from us is teh Ad revenue.
And, hm, that script ('bot') will be considered as an visitor.

Oh OK, sorry, if you have the bot actually going to Newgrounds, then your stealing from the ad companies.

Either way your STEALING. Just deposit your fucking experience points like your supposed to so no one gets ripped off. If there's any evidence your using a bot to deposit, I hope they delete your account.


BBS Signature
DFox
DFox
  • Member since: Aug. 9, 2003
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to How To Compile Curl? 2006-07-05 15:01:02 Reply

At 7/5/06 01:32 PM, liaaaam wrote: Yes. The program will log into Toms bank account and transfer $1 a minute to his own bank account. Pretty impressive programming.

Newgrounds makes money from pay per view ads. If the scirpt doesn't actually go to Newgrounds, no ad money is made, and that's why Newgrounds has experiecen points, to actually get visitors to keep COMING to the site.


BBS Signature
cherries
cherries
  • Member since: Jun. 7, 2005
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to How To Compile Curl? 2006-07-05 15:42:33 Reply

ZOMG:

javascript:CastVote(5);


function CastVote(vote)
{
vote = parseInt(vote);
document.vote_form.vote.value = vote;
document.vote_form.submit();
}

in portal/view

JeremysFilms
JeremysFilms
  • Member since: Feb. 18, 2005
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to How To Compile Curl? 2006-07-05 20:20:58 Reply

Ugh, if you really want to make a bot like this so badly, there's one way I'd probably say wouldn't be breaking any rules... not that I endorce it, but it's better than trying to find a way to hack the system. Just write a macro to actually launch a browser, to actually go to submission pages, to actually click the buttons vote, and to actually click the link provided to deposit. This way, you're just making the macro do for you what you would do yourself, therefore not doing anything truly that wrong.. In other words, it'd be like having someone else vote and deposit for you. This way, you'd still come to the site and not use any of this cURL nonsense to hack the system and do what isn't right.

However, if you were nice, you'd just not be lazy and do it manually as the portal system was designed for.

White-Rhyno
White-Rhyno
  • Member since: Apr. 28, 2003
  • Offline.
Forum Stats
Member
Level 38
Blank Slate
Response to How To Compile Curl? 2006-07-05 21:05:17 Reply

I have a question for all you people shitting on this guy for wanting to educate himself. Do you have a popup blocker active?

Who cares if he's trying to make an autovote bot? It's been stated by admins that anyone caught using one will be deleted, so if he suceeds in programming one and uses it for any purpose other than educational it's on his head.

DFox
DFox
  • Member since: Aug. 9, 2003
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to How To Compile Curl? 2006-07-05 22:10:49 Reply

At 7/5/06 08:20 PM, JeremysFilms wrote: Ugh, if you really want to make a bot like this so badly, there's one way I'd probably say wouldn't be breaking any rules... not that I endorce it, but it's better than trying to find a way to hack the system. Just write a macro to actually launch a browser, to actually go to submission pages, to actually click the buttons vote, and to actually click the link provided to deposit. This way, you're just making the macro do for you what you would do yourself, therefore not doing anything truly that wrong.. In other words, it'd be like having someone else vote and deposit for you. This way, you'd still come to the site and not use any of this cURL nonsense to hack the system and do what isn't right.

However, if you were nice, you'd just not be lazy and do it manually as the portal system was designed for.

Jeremy, I'm surprised you would say something like this. Apparently you don't know anything about internet advertising. The advertisers are getting ripped of. NO ONE is seeing the ads. There paying for the advertising for a macro to see their ads. If you were advertising, would you find that fair?

At 7/5/06 09:05 PM, White_Rhyno wrote: I have a question for all you people shitting on this guy for wanting to educate himself. Do you have a popup blocker active?

If your talking about it from an advertising perspective, advertising 101. Newgrounds has banner ads. The advertisers are paying per view. Newgrounds has ad brite links. How are those going to get clicked if a macro is doing all the work.


BBS Signature
White-Rhyno
White-Rhyno
  • Member since: Apr. 28, 2003
  • Offline.
Forum Stats
Member
Level 38
Blank Slate
Response to How To Compile Curl? 2006-07-06 00:07:11 Reply

At 7/5/06 10:10 PM, GamesCool wrote:
At 7/5/06 09:05 PM, White_Rhyno wrote: I have a question for all you people shitting on this guy for wanting to educate himself. Do you have a popup blocker active?
If your talking about it from an advertising perspective, advertising 101. Newgrounds has banner ads. The advertisers are paying per view. Newgrounds has ad brite links. How are those going to get clicked if a macro is doing all the work.

Completely true. Just like the fact that popups are paid per click. How are people going to click on them if they get blocked? You see, I was actually pointing out the contradiction that you probably have a popup blocker running, which is effectively stealing, according to your terms, but you still dump on this guy for 'stealing' NG's cash.

If you want to take the moral high ground, that's cool. Turn off your popup blocker, then I'll have no reason to complain. Ultimately, my point can be summed thusly, 'Practice what you goddamn preach.'

@Nino_JoJ: Using an auto deposit bot will get your account deleted if the admins find out. It's against the rules, and it does lose NG advertising revenue, then again, so do popup blockers and ad removal programs. By no means should this stop you from trying to make one to further your skills as programmer, just try and consider the consequences before using or distributing it. Best of luck.

DFox
DFox
  • Member since: Aug. 9, 2003
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to How To Compile Curl? 2006-07-06 00:16:08 Reply

At 7/6/06 12:07 AM, White_Rhyno wrote: Completely true. Just like the fact that popups are paid per click. How are people going to click on them if they get blocked? You see, I was actually pointing out the contradiction that you probably have a popup blocker running, which is effectively stealing, according to your terms, but you still dump on this guy for 'stealing' NG's cash.

If you want to take the moral high ground, that's cool. Turn off your popup blocker, then I'll have no reason to complain. Ultimately, my point can be summed thusly, 'Practice what you goddamn preach.'

@Nino_JoJ: Using an auto deposit bot will get your account deleted if the admins find out. It's against the rules, and it does lose NG advertising revenue, then again, so do popup blockers and ad removal programs. By no means should this stop you from trying to make one to further your skills as programmer, just try and consider the consequences before using or distributing it. Best of luck.

First off, pop unders are payed per thousand. Secondly, I have a pop-up blocker but sites like Newgrounds and my own just go right through it, so you don't have to worry about that. 3rd, the banner ads pay per thousand, so Newgrounds is also making/ loosing money if you cheat there. You also have the adBrite ads when you view movies. That's advertising revenue right there.


BBS Signature
White-Rhyno
White-Rhyno
  • Member since: Apr. 28, 2003
  • Offline.
Forum Stats
Member
Level 38
Blank Slate
Response to How To Compile Curl? 2006-07-06 00:33:44 Reply

At 7/6/06 12:16 AM, GamesCool wrote: First off, pop unders are payed per thousand. Secondly, I have a pop-up blocker but sites like Newgrounds and my own just go right through it, so you don't have to worry about that. 3rd, the banner ads pay per thousand, so Newgrounds is also making/ loosing money if you cheat there. You also have the adBrite ads when you view movies. That's advertising revenue right there.

You're not reading what I'm writing. I believe I've already conceeded that an auto bot would cost Newgrounds ad revenue. Okay? Are we clear on this? One more for good measure;

A PROJECT LIKE THIS WILL REDUCE THE PROFITS TAKEN FROM ADVERTISING.

I get it. What I am saying is that you say this bot will steal from newgrounds, yet you yourself use a program that does the same thing. Which makes you a hypocrite.

DFox
DFox
  • Member since: Aug. 9, 2003
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to How To Compile Curl? 2006-07-06 00:37:47 Reply

At 7/6/06 12:33 AM, White_Rhyno wrote: I get it. What I am saying is that you say this bot will steal from newgrounds, yet you yourself use a program that does the same thing. Which makes you a hypocrite.

I know exactly what you're saying. All I'M saying is that my popup blocker does NOT block Newgrounds popups. Ad networks have found ways to get around them. So I'm not a hypicrate as I see ALL Newgrounds ads.


BBS Signature
NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to How To Compile Curl? 2006-07-06 06:29:09 Reply

At 7/5/06 09:05 PM, White_Rhyno wrote: I have a question for all you people shitting on this guy for wanting to educate himself. Do you have a popup blocker active?

Who cares if he's trying to make an autovote bot? It's been stated by admins that anyone caught using one will be deleted, so if he suceeds in programming one and uses it for any purpose other than educational it's on his head.

It says where that you may not use the Bot for depositting?

From FAQ:
Q: How does one acquire experience points?

A: There are several ways to aquire points:

* Every day (by Eastern Standard Time), you may vote on at least five Flash Portal submissions to deposit ten experience points. Voting on more than five in a single day does not give you additional experience points.

* When creating a Grounds Gold account, one can acquire additional points by signing up for mailing lists and creating a public profile.

* If somebody created an account and listed you as their referrer, it used to be that you received ten experience points. Due to abuse, however, this feature was removed.

* Aside from the methods listed, there are no tricks or secret ways of boosting your experience. Anybody who tells you otherwise is either making jokes at your expense or is trying to get you to serve them somehow.

So they think it is just a joke. It really doesn't say that you can't do that; and that you will get account deleted.

You, games cool, said: 'i hope you will get your account deleted'. W00t.
I won't speak to you again. Nope.

NinoGrounds
NinoGrounds
  • Member since: Nov. 28, 2005
  • Offline.
Forum Stats
Member
Level 19
Programmer
Response to How To Compile Curl? 2006-07-06 06:34:18 Reply

And yes, another one:

Unregistered users are welcome to vote, but registered users receive some immediate benefits. For example, we have pop-up ads that load on the Portal view page if you aren't logged in. These can be avoided by simply creating a user account!

Nowadays. everyone has got an blocker. I saw the NG ads when I reinstalled my computer - because I didn't have even Firefox installed. Only IE without SP2 accepts NG (and other) Pop Ups.

Finally -- if they update the Lit. saying they will suspend accounts who are trying to deposit via bots, I will stop making it.

Even though I am still learning cURL. Nothing is even nearly done. But I am saying that depositing is boring to us who has got loads of Exp. points. So thats why an script would be fine.

I would still keep visiting NG, even more, because of Forums, Portals and etc. - but depositing became boring.

DFox
DFox
  • Member since: Aug. 9, 2003
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to How To Compile Curl? 2006-07-06 08:11:20 Reply

At 7/6/06 06:34 AM, Nino_JoJ wrote: Finally -- if they update the Lit. saying they will suspend accounts who are trying to deposit via bots, I will stop making it.

Nino, what are you saying?

They DELETED your account for stealing a bad Flash. Do you honosly think their going to let you lslide when they see you made a script to deposit your experience points????

There's a way they can tell you have a script depositing, but I'm not going to tell you it. It'll make it mighty obvious :)


BBS Signature
liam
liam
  • Member since: Dec. 11, 2004
  • Offline.
Forum Stats
Member
Level 22
Blank Slate
Response to How To Compile Curl? 2006-07-06 09:25:46 Reply

At 7/6/06 08:11 AM, GamesCool wrote: They DELETED your account for stealing a bad Flash. Do you honosly think their going to let you lslide when they see you made a script to deposit your experience points????

What Nino is saying is that it is not against the written rules to use a auto-vote bot. It is in the rules that you are not allowed to submit stolen Flash.

There's a way they can tell you have a script depositing, but I'm not going to tell you it. It'll make it mighty obvious :)

The only way is by checking the user agent, which they probably don't check anyway.

If your pop-up blocker doesn't block Newgrounds pop-ups then what the hell is the point of it? I see none of Newgrounds ads except their plain text ones, am I stealing? If so then Tom can take it up with the Mozilla foundation and Symantec Corporation.


Sup, bitches :)

BBS Signature
DFox
DFox
  • Member since: Aug. 9, 2003
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to How To Compile Curl? 2006-07-06 11:47:18 Reply

At 7/6/06 09:25 AM, liaaaam wrote: What Nino is saying is that it is not against the written rules to use a auto-vote bot. It is in the rules that you are not allowed to submit stolen Flash.

There's a way they can tell you have a script depositing, but I'm not going to tell you it. It'll make it mighty obvious :)
The only way is by checking the user agent, which they probably don't check anyway.

If your pop-up blocker doesn't block Newgrounds pop-ups then what the hell is the point of it? I see none of Newgrounds ads except their plain text ones, am I stealing? If so then Tom can take it up with the Mozilla foundation and Symantec Corporation.

Right liam, Newgrounds has experience points so people can make bots to deposit for them. Because that helps Newgrounds having automatic programs depositing. If you don't think that is against the rules then you are truely niave.

Also, if you think checking the user agent is the only way to catch someone doing this, your dead wrong because I have another easy way that can be used to catch someone doing this and I'm SURE liljim has implemented something that checks this.


BBS Signature
liam
liam
  • Member since: Dec. 11, 2004
  • Offline.
Forum Stats
Member
Level 22
Blank Slate
Response to How To Compile Curl? 2006-07-06 12:23:21 Reply

At 7/6/06 11:47 AM, GamesCool wrote: Right liam, Newgrounds has experience points so people can make bots to deposit for them. Because that helps Newgrounds having automatic programs depositing. If you don't think that is against the rules then you are truely niave.

IT'S NOT AGAINST THE RULES BECAUSE THE RULES DO NOT SPECIFICALLY STATE SO. Is it that hard for you to understand? I'm not saying using a depositing bot is right, but he was right that the rules don't say we can't use them.

Also, if you think checking the user agent is the only way to catch someone doing this, your dead wrong because I have another easy way that can be used to catch someone doing this and I'm SURE liljim has implemented something that checks this.

Ok, what would that be then?


Sup, bitches :)

BBS Signature
DFox
DFox
  • Member since: Aug. 9, 2003
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to How To Compile Curl? 2006-07-06 15:42:13 Reply

At 7/6/06 12:23 PM, liaaaam wrote:
At 7/6/06 11:47 AM, GamesCool wrote: Right liam, Newgrounds has experience points so people can make bots to deposit for them. Because that helps Newgrounds having automatic programs depositing. If you don't think that is against the rules then you are truely niave.
IT'S NOT AGAINST THE RULES BECAUSE THE RULES DO NOT SPECIFICALLY STATE SO. Is it that hard for you to understand? I'm not saying using a depositing bot is right, but he was right that the rules don't say we can't use them.

Also, if you think checking the user agent is the only way to catch someone doing this, your dead wrong because I have another easy way that can be used to catch someone doing this and I'm SURE liljim has implemented something that checks this.
Ok, what would that be then?

I don't understand the point you're trying to make. Tom Fulp SPECIFILY said he would NOT allow this. Tom Fulp makes the rules. How is this not against the rules if he SAID he's NOT allowing it?

Like Spamburger said, anyone can see this is wrong, without Tom Fulp even telling you.

I'm not stating the other way because it will just help people trying to do this.


BBS Signature
whatthedeuce
whatthedeuce
  • Member since: Jun. 4, 2005
  • Offline.
Forum Stats
Member
Level 02
Blank Slate
Response to How To Compile Curl? 2006-07-06 19:28:00 Reply

Just because it isn't explicitly stated in the rules doesn't mean it's allowed. It doesn't say anything about DoS attacks in the rules (as far as I know), so are they okay? They can't possibly cover every possible thing that you can do wrong. You have to use common sense. If they wanted you to gain experience for doing no work, they wouldn't make you vote; they would just give everyone experience at the end of the day.
That said, making a macro would be no better. It's essentially the same thing.

It's pretty easy to fake headers (such as the user agent) so that would be no help in detecting a bot. If you wrote the bot well, it would probably be very hard to detect, but that doesn't make it okay. Don't write bots unless the site owners give you permission.

DFox
DFox
  • Member since: Aug. 9, 2003
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to How To Compile Curl? 2006-07-06 20:55:00 Reply

At 7/6/06 07:28 PM, whatthedeuce wrote: Just because it isn't explicitly stated in the rules doesn't mean it's allowed. It doesn't say anything about DoS attacks in the rules (as far as I know), so are they okay? They can't possibly cover every possible thing that you can do wrong. You have to use common sense. If they wanted you to gain experience for doing no work, they wouldn't make you vote; they would just give everyone experience at the end of the day.
That said, making a macro would be no better. It's essentially the same thing.

It's pretty easy to fake headers (such as the user agent) so that would be no help in detecting a bot. If you wrote the bot well, it would probably be very hard to detect, but that doesn't make it okay. Don't write bots unless the site owners give you permission.

EXTREAMLY well said.

I agree with everything you said and I hope other people will begin to see why this is a bad thing to do.

I can't see why anyone who likes Newgrounds would do this anyway as it would just hurt Newgrounds.


BBS Signature
JeremysFilms
JeremysFilms
  • Member since: Feb. 18, 2005
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to How To Compile Curl? 2006-07-08 13:38:01 Reply

At 7/5/06 10:10 PM, GamesCool wrote: If your talking about it from an advertising perspective, advertising 101. Newgrounds has banner ads. The advertisers are paying per view. Newgrounds has ad brite links. How are those going to get clicked if a macro is doing all the work.

Ok, answer this:

When was the last time you clicked an NG ad because you were actually interested in the product and weren't just trying to help out NG?

DFox
DFox
  • Member since: Aug. 9, 2003
  • Offline.
Forum Stats
Member
Level 30
Blank Slate
Response to How To Compile Curl? 2006-07-08 18:50:35 Reply

At 7/8/06 01:38 PM, JeremysFilms wrote: Ok, answer this:

When was the last time you clicked an NG ad because you were actually interested in the product and weren't just trying to help out NG?

Once again, advertising 101. Clicking an ad wouldn't help Newgrounds. The banners are pay per thousand. Me clicking them wouldn't get Newgrounds anything.

Also, the game kinds of ads I do click because they're fun and I like to see what happens when you win, and I know for a fact a lot of other people do also.


BBS Signature
DearonElensar
DearonElensar
  • Member since: Jun. 10, 2002
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to How To Compile Curl? 2006-07-08 19:22:48 Reply

How do you know so sure it's per view or per click?, did you see the agreements made?
Also try turning off your blocker, you'll see allot more pop-ups ;)


BBS Signature
JeremysFilms
JeremysFilms
  • Member since: Feb. 18, 2005
  • Offline.
Forum Stats
Member
Level 18
Blank Slate
Response to How To Compile Curl? 2006-07-08 20:47:42 Reply

At 7/8/06 06:50 PM, GamesCool wrote: Also, the game kinds of ads I do click because they're fun and I like to see what happens when you win, and I know for a fact a lot of other people do also.

But I'm not talking about because you want to play the little game, I'm asking when was the last time you clicked an ad because you were interested in the product.