![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Mar 2005
Location: Da Hood
Posts: 5,688
|
I need 10,000 + links formatted. I will pay you a reasonable fee.
I have 10k + links from my site that I need formatted into a text file so I can import them into my new srcipt.
Currently the data is in a text file and looks like this. (this is a sample of what most of the links look like): INSERT INTO L (`id`,`name`,`email`,`url`,`title`,`description`,` category`,`reciprocal`,`confirmed`,`approved`,`add ed`,`code`,`nextcheck`,`nocheck`,`featured`,`disab led`) VALUES ('12','toejob','sex-free-teen.com','http://sex-free-teen.com','Teen Porn Directory','Visit this site for free teen pics and movies','19','http://sex-free-teen.com/','1','1','1111607065','4241f44475318','1154966672 ','0','0','1') I need the url, title and discription extracted and formatted exactly like this: URL(comma)Title(4 commas)Description http://sex-free-teen.com,Teen Porn Directory,,,,Visit this site for free teen pics and movies (with no trailing slashes) If anyone can perform this task I will pay you a reasonable fee through pay pal only. Just give me a price and I'll give 50% now and the rest on completion. Hit me up at marketing7(at)cox.net or post here Thanks
__________________
ICQ: 150-803-430 Email: marketing7(at)cox(dot)net |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
8.8.8.8
Industry Role:
Join Date: Mar 2006
Location: Noordermarkt
Posts: 30,509
|
so how much are you paying?
__________________
TAEMDLRMSKRJIXMRLSMRJ. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 | |
Confirmed User
Join Date: Mar 2005
Location: Da Hood
Posts: 5,688
|
Quote:
__________________
ICQ: 150-803-430 Email: marketing7(at)cox(dot)net |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Looks pretty simple NTSS, if it's in SQL format like you show above. Just a matter of throwing it back in SQL and exporting it into the format you need.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Confirmed User
Join Date: Apr 2002
Location: Orlando, FL
Posts: 3,711
|
if there is no way to automate it and it has to be done by hand I will do it for 600.00, paid 100% when finished, and would need the weekend to finish it.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Dec 2001
Posts: 7,952
|
Do you need it done one time?
If so icq me i'll do it for free real quick. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Mar 2005
Location: Da Hood
Posts: 5,688
|
Quote:
Yes...just once but I don't have ICQ....email me
__________________
ICQ: 150-803-430 Email: marketing7(at)cox(dot)net |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
there's no $$$ in porn
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
|
I can write you a lill script to do that...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
there's no $$$ in porn
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
|
will only take a couple of lines of perl...
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: US
Posts: 5,326
|
Quote:
As others have said Perl, PHP or good text editor that can handle regular expressions could do it in a few minutes .
__________________
. . Arguing with a troll is a lot like wrestling in the mud with a pig, after a couple of hours you realize the pig likes it. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 | |
Confirmed User
Join Date: Mar 2005
Location: Da Hood
Posts: 5,688
|
Quote:
so who's gonna hook me up?
__________________
ICQ: 150-803-430 Email: marketing7(at)cox(dot)net |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
Zip it up.. put it online.. let someone download it and transform it for you.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 | |
Confirmed User
Industry Role:
Join Date: Feb 2005
Location: US
Posts: 5,326
|
Quote:
__________________
. . Arguing with a troll is a lot like wrestling in the mud with a pig, after a couple of hours you realize the pig likes it. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
¯\_(ツ)_/¯
Industry Role:
Join Date: Aug 2004
Posts: 11,475
|
I can do it, contact me
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 |
Confirmed User
Industry Role:
Join Date: May 2004
Posts: 6,660
|
Do you have the table created? If you do then just run that sql you have against it and then run this on the server.
Code:
<? mysql_connect("host","username","password"); mysql_select_db("yourdbname"); $query = "select * from L;"; $result = mysql_query($query); while( $row = mysql_fetch_assoc($result)){ print $row["url"].",".$row["title"].",,,,".$row["description"]."\n"; } ?> If you need the table structure created or need info on how to get the SQL inserts you have put into it let me know.
__________________
![]() Skype: JohnA1078 Too Much Media - Makers of the Industry's Leading Payite Management Platform, NATS! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 |
Confirmed User
Join Date: Oct 2004
Posts: 290
|
PHP Code:
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
And using Perl....
Code:
#!/usr/local/bin/perl use DBI; my $dbhost = 'localhost'; my $dbport = '3306'; my $dbuser = ''; my $dbpass = ''; my $db_name = ''; my $table_name = ''; my $outFile = 'output.csv'; $db_handle = DBI->connect("dbi:mysql:database=$db_name;host=$dbhost:$dbport;user=$dbuser;password=$dbpass") or die "Couldn't connect to database: $DBI::errstr\n"; $sql = "SELECT * FROM $table_name"; $statement = $db_handle->prepare($sql) or die "Couldn't prepare query '$sql': $DBI::errstr\n"; $statement->execute() or die "Couldn't execute query '$sql': $DBI::errstr\n"; open OUTPUT_FILE , ">$outFile"; while ($row_ref = $statement->fetchrow_hashref()) { print OUTPUT_FILE $row_ref->url .",".$row_ref->title ."$row_ref->description.","; } clode OUTPUT_FILE; $db_handle->disconnect(); PayPal Only ![]() ![]() ![]()
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 |
Too lazy to set a custom title
Industry Role:
Join Date: Mar 2003
Location: Homeless
Posts: 62,911
|
I have someone that will do it 75cents per URL and by hand so theres no mistakes,
__________________
PornGuy skype me pornguy_epic AmateurDough The Hottes Shemales online! TChicks.com | Angeles Cid | Mariana Cordoba | MAILERS WELCOME! |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
bollox, didn't see the multiple comma formatting:
after: while ($row_ref = $statement->fetchrow_hashref()) change to: Code:
{ print OUTPUT_FILE $row_ref->url .",".$row_ref->title .",,,,".$row_ref->description; }
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 |
Confirmed User
Join Date: Sep 2005
Location: ICQ : 297-476-738
Posts: 5,131
|
good technical tips
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
did you figure it out? if not, shoot me an email woj [at] wojfun dot com
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
making it rain
Industry Role:
Join Date: Oct 2003
Location: seattle
Posts: 22,117
|
You fuckin php noobs
![]() No need to import into mysql, 1 regex line on the existing dump file will take care of it. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 | |
Confirmed User
Join Date: Apr 2006
Location: Easy Webcam Pro
Posts: 1,213
|
Quote:
__________________
[email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
Confirmed User
Join Date: Apr 2006
Location: Easy Webcam Pro
Posts: 1,213
|
Quote:
![]()
__________________
[email protected] |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#25 |
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Isn't it just something like:
SELECT url,title,',',',',',',description FROM [table] INTO outfile 'dump.txt' -- just do a quick search for "mysql select into outfile" and you'll be golden.
__________________
Your post count means nothing. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#26 | |
Registered User
Join Date: Feb 2004
Location: In Your Dreams
Posts: 9,649
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#27 | |
Playa
Industry Role:
Join Date: Dec 2005
Location: Somewhere on the Earth
Posts: 8,439
|
Quote:
![]() ![]() ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#28 | |
Totally Borked
Industry Role:
Join Date: Feb 2005
Posts: 6,284
|
Quote:
what, like s/^\w.*,{1}\w.*,{1}\w.*,{1}(\S.+),{1}(\w.+),{1}(\w.+ ),{1}.*$/ (assuming its a CSV) hell yeah, but you've still gotta iterate through the file
__________________
![]() For coding work - hit me up on andy // borkedcoder // com (consider figuring out the email as test #1) All models are wrong, but some are useful. George E.P. Box. p202 |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#29 |
Beer Money Baron
Industry Role:
Join Date: Jan 2001
Location: brujah / gmail
Posts: 22,157
|
pretty funny the quick 1 minute, 1-line regex script hasn't been posted then by the so-called experts. prove it.
__________________
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#30 | |
So Fucking Banned
Industry Role:
Join Date: Apr 2001
Location: the beach, SoCal
Posts: 107,089
|
Quote:
are you good at PERL? |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#31 |
Confirmed User
Join Date: Sep 2003
Location: New York City
Posts: 1,186
|
ill do it if you put me through computer programmer school at my community college, and loan me about 150k to live off for the next for years while i learn. then another 30k for my after college trip to europe so i can get cultured and explore the world. I'll get right on it as soon as i get back.
Otherwise, here's a bump for you guy.
__________________
NYC |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#32 | |
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Quote:
Sadly, I've met very, very few of those people. And what this has to do with this thread, I have no idea. *shrug*
__________________
Your post count means nothing. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |