GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Need some php/etc work done ? Ill do it for free. (https://gfy.com/showthread.php?t=852667)

fluffygrrl 09-04-2008 06:39 AM

Need some php/etc work done ? Ill do it for free.
 
There's too much bullshit/nonsense going on this board lately. Rather than just making a bs thread bitching about it, I'm going to give away some free coding for a few hours, maybe that'll get people back to work.

Post what you need here or hit me up

http://polimedia.us/email.jpg

Cheers.

StuartD 09-04-2008 06:42 AM

Why not make a trade with a program for part ownership? Or is that only for your story ideas?

NickPapageorgio 09-04-2008 06:44 AM

I could use a generic GEO-IP script that I can drop into different projects without much hassle. :)

fluffygrrl 09-04-2008 06:44 AM

Quote:

Originally Posted by StuartD (Post 14707133)
Why not make a trade with a program for part ownership? Or is that only for your story ideas?

You have a problem with generosity ?

fluffygrrl 09-04-2008 06:45 AM

Quote:

Originally Posted by NickPapageorgio (Post 14707138)
I could use a generic GEO-IP script that I can drop into different projects without much hassle. :)

Okay, what'd you want it to do ? Look at ip put country name in a variable ?

NickPapageorgio 09-04-2008 06:49 AM

Pretty much, but broken down by U.S. City if possible. Probably with an if/else statement that'll say "Ok, if it's from the U.S. break it down by city {else} break it down by country". See what I mean?

halfpint 09-04-2008 06:51 AM

Would love to know how to stop multiple signups from the same user using diff email addreses on a mainstream game site

fluffygrrl 09-04-2008 06:56 AM

Quote:

Originally Posted by NickPapageorgio (Post 14707149)
Pretty much, but broken down by U.S. City if possible. Probably with an if/else statement that'll say "Ok, if it's from the U.S. break it down by city {else} break it down by country". See what I mean?

Let's see what I can do for you.

Mr Pheer 09-04-2008 06:58 AM

Quote:

Originally Posted by fluffygrrl (Post 14707141)
Okay, what'd you want it to do ? Look at ip put country name in a variable ?

I would like something exactly like that, so I can send this assload of egyptian traffic and a few other countries to somewhere else.

fluffygrrl 09-04-2008 08:29 AM

Quote:

Originally Posted by fluffygrrl (Post 14707172)
Let's see what I can do for you.

Okay, here it is :

Code:

$data = file("iplist-v3.txt");

$ipbits = explode('.',$_SERVER["REMOTE_ADDR"]);
$ipnum =  $ipbits[3] + $ipbits[2]*256 + $ipbits[1]*256*256 + $pibits[0]*256*256*256;

foreach ($data as $line) {

        $bits = explode('|',$line);
        if ($ipnum <= $bits[1])&&($ipnum >= $bits[0]) echo "Country : ",$bits[2];
}

The data file is http://polimedia.us/elance/iplist-v3.txt

Cheers.

fluffygrrl 09-04-2008 08:50 AM

Quote:

Originally Posted by halfpint (Post 14707152)
Would love to know how to stop multiple signups from the same user using diff email addreses on a mainstream game site

If he's human there's not really all that much you can do, try ip banning his ip and any proxies you can find... still, won't keep a determined bloke down long.

Or do you mean he's also using the same IP ?

pussyserver - BANNED FOR LIFE 09-04-2008 09:03 AM

I need to pipe the data from one form script to another form scriprt on another domain

fluffygrrl 09-04-2008 09:13 AM

Quote:

Originally Posted by pussyserver (Post 14707569)
I need to pipe the data from one form script to another form scriprt on another domain

Um if its a html form you just make the form do it for you

Code:

<FORM action="http://somedomain.com/somescript.php" method="post">
All the data will be in $_POST['somename'], where somename is what you named the respective input field (<input name="somename"...>)

If you want to pipe php output to a different script, you do include("somescript.php"); or require("somescript.php");

halfpint 09-04-2008 09:39 AM

Quote:

Originally Posted by fluffygrrl (Post 14707529)
If he's human there's not really all that much you can do, try ip banning his ip and any proxies you can find... still, won't keep a determined bloke down long.

Or do you mean he's also using the same IP ?

He is using diff IP's so I guess he is using a proxie, Just so dam annoying...

CurrentlySober 09-04-2008 09:49 AM

Nice offer. Very kind of you.

I Dont need anything myself, but its good to see someone 'giving' for a change :)

fluffygrrl 09-04-2008 10:10 AM

Quote:

Originally Posted by NickPapageorgio (Post 14707149)
Pretty much, but broken down by U.S. City if possible. Probably with an if/else statement that'll say "Ok, if it's from the U.S. break it down by city {else} break it down by country". See what I mean?

I've looked at the city issue, and the problem is that the data becomes too bulky to be easily handled w/o a database, which adds undue complexity on one hand, and a lot of maintenance overhead - it's not too often that countries change ip ranges, but more so with towns.

Basically the entire idea of having a lightweight solution goes out the window, and the architecture changes - if you're going to have it in a db, might as well have one single db for everybody, cause it's easier to maintain, and just connect to that, etc.

So I'm affraid it will have to be just countries.

The Duck 09-04-2008 10:11 AM

I have some work for you :)

fluffygrrl 09-04-2008 10:24 AM

Quote:

Originally Posted by kandah (Post 14707827)
I have some work for you :)

You got my addy :thumbsup

Marialovesporn 09-04-2008 10:31 AM

Very nice offer !!

fatfoo 09-04-2008 10:40 AM

For free? but why

fluffygrrl 09-04-2008 10:47 AM

Quote:

Originally Posted by fatfoo (Post 14707970)
For free? but why

Cause I can.

fluffygrrl 09-04-2008 10:57 AM

Okay, that is all for today. Maybe this thread gets resurected later on.

dirtysouth 09-04-2008 11:01 AM

Feel like taking a bunch of bloated code for a shopping cart checkout and turning it into small functions I can call instead of including it on every page of the checkout process? Got an addy I can send the code to? It's one page (661 lines).

klaze 09-04-2008 11:03 AM

Can you write me a PHP script that will get girls to like me?

fluffygrrl 09-04-2008 11:21 AM

Quote:

Originally Posted by dirtysouth (Post 14708079)
Feel like taking a bunch of bloated code for a shopping cart checkout and turning it into small functions I can call instead of including it on every page of the checkout process? Got an addy I can send the code to? It's one page (661 lines).

Ya email is in the top post, let's see what you got.

Quote:

Originally Posted by klaze (Post 14708085)
Can you write me a PHP script that will get girls to like me?

Php can't help you there, but here's a flowchart for ya ;

http://blogs.guardian.co.uk/technology/Geek_Love.gif

NickPapageorgio 09-04-2008 12:08 PM

Thank you very much Fluffy :)

klaze 09-04-2008 12:10 PM

Soo judging that flow chart since I was never introduced to D&D girls should like me!

sweet!

Sands 09-04-2008 12:21 PM

Show some of the code that you use for the shopping cart. I don't want to see the whole kit and kaboodle, just enough for coding inspiration. It's fun looking at other people's code.

fluffygrrl 09-04-2008 12:32 PM

Quote:

Originally Posted by klaze (Post 14708503)
Soo judging that flow chart since I was never introduced to D&D girls should like me!

sweet!

:thumbsup

halfpint 09-04-2008 12:55 PM

Nice one fluffy btw for offering to do work for free

Jon Clark - BANNED FOR LIFE 09-04-2008 12:57 PM

Can you write a script to delete all post with my name in the title as soon as someone starts it..?

fluffygrrl 09-04-2008 01:05 PM

Quote:

Originally Posted by Jon Clark (Post 14708753)
Can you write a script to delete all post with my name in the title as soon as someone starts it..?

Dun worry too much, the next week'll take care of ya lickety-spit.

Bro Media - BANNED FOR LIFE 09-04-2008 01:23 PM

Your IP code is borked, its showing "Country: XA" I'm in the USA :D

fluffygrrl 09-04-2008 01:28 PM

Lmao! You wouldn't be one of em bogons trying to pass for a real person wouldja ?

What's your ip ?

Kinky John 09-04-2008 01:31 PM

i'm having a php nightmare right now . . offer still open ?

Farang 09-04-2008 01:33 PM

Women are too dumb to code, so you're a guy pretending to be a girl... why?

fluffygrrl 09-04-2008 01:33 PM

Quote:

Originally Posted by Kinky John (Post 14708961)
i'm having a php nightmare right now . . offer still open ?

Okay, let's hear.

Bro Media - BANNED FOR LIFE 09-04-2008 02:00 PM

Quote:

Originally Posted by fluffygrrl (Post 14708940)
Lmao! You wouldn't be one of em bogons trying to pass for a real person wouldja ?

What's your ip ?

127.0.0.1

Jon Clark - BANNED FOR LIFE 09-04-2008 02:03 PM

Quote:

Originally Posted by Retox Josh (Post 14709096)
127.0.0.1

:1orglaugh:1orglaugh:1orglaugh:1orglaugh:1orglaugh

fluffygrrl 09-04-2008 02:04 PM

Quote:

Originally Posted by Retox Josh (Post 14709096)
127.0.0.1

Lol begone bogon :D

bbm 09-04-2008 02:06 PM

Free work, something hew...

fluffygrrl 09-04-2008 02:10 PM

What become of kinky john tho

Bro Media - BANNED FOR LIFE 09-04-2008 02:43 PM

Quote:

Originally Posted by fluffygrrl (Post 14709117)
Lol begone bogon :D

You scared, you scared
You scared muthafucker you scared
You scared you scared you scared you scared
You scared muthafucker you scared you scared

If you a scared muthafucker go to church
If you a gutter muthafucker do your dirt
If you a down muthafucker put in work
IF you a crazy muthafucker go berzerk

fluffygrrl 09-04-2008 02:44 PM

A well, Im off. Take care all.

mrkris 09-04-2008 04:13 PM

Loading a text file and parsing per request is not a good idea if your site gets any real traffic.

GigoloShawn 09-04-2008 04:14 PM

Quote:

Originally Posted by fluffygrrl (Post 14707475)

You're fucking kidding, right?

Loading a text file for each hit, not using SHM or some other caching, and an entire lack of knowledge of ip2long()?

Please tell me you're not doing this professionally. This dumb thing is... just stupid. Hell, if this is all of the functionality you require, have someone install mod_geoip and use the built-in functions for Apache; it will load into SHM and not do an incredibly dumb foreach() match for everything. This is worse than a bubblesort.

P.S. When you find a match, break from the loop.

Bro Media - BANNED FOR LIFE 09-04-2008 04:17 PM

Quote:

Originally Posted by mrkris (Post 14709681)
Loading a text file and parsing per request is not a good idea if your site gets any real traffic.

You know nothing! :1orglaugh

GrouchyAdmin 09-04-2008 04:17 PM

Quote:

Originally Posted by GigoloShawn (Post 14709690)
P.S. When you find a match, break from the loop.

Some day, Grasshopper, you will take over. For now, though, stop grandstanding you dick - I almost cackled aloud at this.

acctman 09-04-2008 04:41 PM

Quote:

Originally Posted by fluffygrrl (Post 14707124)
There's too much bullshit/nonsense going on this board lately. Rather than just making a bs thread bitching about it, I'm going to give away some free coding for a few hours, maybe that'll get people back to work.

Post what you need here or hit me up

http://polimedia.us/email.jpg

Cheers.

does it matter if i use Update to insert new data into mysql or should I always use INSERT for new data and UPDATE for changing?

pussyserver - BANNED FOR LIFE 09-04-2008 05:21 PM

Quote:

Originally Posted by fluffygrrl (Post 14707591)
Um if its a html form you just make the form do it for you

Code:

<FORM action="http://somedomain.com/somescript.php" method="post">
All the data will be in $_POST['somename'], where somename is what you named the respective input field (<input name="somename"...>)

If you want to pipe php output to a different script, you do include("somescript.php"); or require("somescript.php");


thank you ok heres the situation

the form receving the user input is a php form on one domain and I want to pipe the inputed data to a form located on another domain so it would appear as if the form data was posted directly at the remote domain

thanks in advance


All times are GMT -7. The time now is 01:36 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123