| View previous topic :: View next topic |
| Author |
Message |
gogodr I post too much
Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Fri May 28, 2010 10:25 pm Post subject: Holland I need you help/ or someone who knows PHP |
|
|
| ;-; maybe you are lurking or not here though..
|
|
| Back to top |
|
 |
Lyfa The Lonely Man
Reputation: 12
Joined: 02 Nov 2008 Posts: 743
|
Posted: Fri May 28, 2010 10:27 pm Post subject: |
|
|
Depends on how complicated.
_________________
|
|
| Back to top |
|
 |
gogodr I post too much
Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Fri May 28, 2010 10:28 pm Post subject: |
|
|
| you must understand the use of for loops and preg_split
|
|
| Back to top |
|
 |
Lyfa The Lonely Man
Reputation: 12
Joined: 02 Nov 2008 Posts: 743
|
Posted: Fri May 28, 2010 10:29 pm Post subject: |
|
|
Loops I do, don't really know preg_split
_________________
|
|
| Back to top |
|
 |
AtheistCrusader Grandmaster Cheater
Reputation: 6
Joined: 23 Sep 2006 Posts: 681
|
Posted: Fri May 28, 2010 10:32 pm Post subject: |
|
|
| you do know its near 5-6am his time..
|
|
| Back to top |
|
 |
gogodr I post too much
Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Fri May 28, 2010 10:34 pm Post subject: |
|
|
| I'll manage to do it myself somehow...
|
|
| Back to top |
|
 |
Lyfa The Lonely Man
Reputation: 12
Joined: 02 Nov 2008 Posts: 743
|
Posted: Fri May 28, 2010 10:34 pm Post subject: |
|
|
| gogodr wrote: | | I'll manage to do it myself somehow... | Just post code. I might see the problem.
_________________
|
|
| Back to top |
|
 |
Cryoma Member of the Year
Reputation: 198
Joined: 14 Jan 2009 Posts: 1819
|
Posted: Fri May 28, 2010 10:42 pm Post subject: |
|
|
| Between us, we can build it.
|
|
| Back to top |
|
 |
gogodr I post too much
Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Fri May 28, 2010 10:51 pm Post subject: |
|
|
ok right now I have this
<?php
$handle = fopen("http://weissschwarz.wikia.com/wiki/LS/W05-102", "rb");
$contents = stream_get_contents($handle);
fclose($handle);
$split = preg_split(' something will be here ' , $contents, -1, PREG_SPLIT_DELIM_CAPTURE);
print_r($split);
?>
first I wanna separate the table content before doing a massive extraction of databases.
edit::
got it
$handle = fopen("http://weissschwarz.wikia.com/wiki/LS/W05-102", "rb");
$contents = stream_get_contents($handle);
fclose($handle);
$split = preg_split('/(<td( colspan="[-:a-z0-9 ]+")?>|<\/td>)/i' , $contents, -1, PREG_SPLIT_DELIM_CAPTURE);
print_r($split);
|
|
| Back to top |
|
 |
Cheat Engine User Something epic
Reputation: 61
Joined: 22 Jun 2007 Posts: 2071
|
Posted: Sat May 29, 2010 4:38 am Post subject: |
|
|
Lurking at 5 in the morning
Yeah probably.
|
|
| Back to top |
|
 |
gogodr I post too much
Reputation: 125
Joined: 19 Dec 2006 Posts: 2041
|
Posted: Sat May 29, 2010 1:57 pm Post subject: |
|
|
| :P
|
|
| Back to top |
|
 |
|