| 00:00:06 | | <-- Gus has quit stating (Quit: Client Exiting) |
| 00:02:54 | | --> Do``2 has joined #webapps |
| 00:05:02 | | <-- Do`` has quit stating (Ping timeout) |
| 00:05:02 | | -!- Do``2 is now known as Do`` |
| 00:20:29 | | --> kalimba has joined #webapps |
| 00:21:36 | | <-- kalimba has left #webapps stating () |
| 00:41:12 | | --> Ayush has joined #webapps |
| 01:08:51 | | <-- Ayush has quit stating (Ping timeout) |
| 01:12:34 | | <-- Do`` has quit stating (Ping timeout) |
| 01:12:51 | | <-- kyleabaker has left #webapps stating () |
| 01:27:09 | | --> Do`` has joined #webapps |
| 02:41:51 | | <-- DrLaunch has quit stating (Ping timeout) |
| 03:30:31 | | <-- LarsKL has quit stating (Quit: ) |
| 03:46:54 | | --> frank has joined #webapps |
| 03:46:56 | | <-- frank has quit stating (Quit: frank) |
| 03:50:16 | | <-- Hal has quit stating (Quit: <Console>) |
| 03:50:30 | | --> Hal has joined #webapps |
| 04:03:35 | | <-- Do`` has quit stating (Ping timeout) |
| 04:18:12 | | --> Do`` has joined #webapps |
| 04:46:48 | | --> kyleabaker has joined #webapps |
| 04:47:03 | kyleabaker | do i have any php gurus in here? |
| 04:48:18 | zomg | yep =) |
| 04:48:35 | zomg | seems I'm not famous enough yet, seeing you ask such things! |
| 04:48:37 | zomg | *cough* |
| 04:48:46 | kyleabaker | good deal zomg, you must dabble in a bit of everything hehe |
| 04:49:27 | kyleabaker | heres my question...I'm working with a phpBB forum and I'm reading info from a mysql db, but I need to replace a few things.. |
| 04:49:47 | kyleabaker | for instance.. I need to replace [color=red:3576a20d6a] with a font tag |
| 04:50:17 | kyleabaker | replacing is fairly straight forward, but the unique number changes from time to time so is there like a wildcard expression I can use to replace the number or how can i do that? |
| 04:51:18 | zomg | You could use regular expressions |
| 04:51:38 | kyleabaker | preg_replace? |
| 04:51:41 | zomg | Yep |
| 04:52:37 | zomg | /\[color=red:[0-9a-z]*\]/i |
| 04:52:39 | zomg | try that for the pattern |
| 04:53:12 | kyleabaker | ah ok, thanks. i'll give it a try |
| 04:57:53 | kyleabaker | ok, that works, one more quick question.. |
| 04:58:29 | kyleabaker | is there a way that I could grab the color from the tag and make the tag more dynamic and use the color that is found in the replacement string? |
| 05:00:21 | zomg | /\color=([a-z]*):[0-9a-z]*\]/i |
| 05:00:30 | zomg | assuming the colors are always in letters |
| 05:00:43 | zomg | then you can put $1 in the replacement string |
| 05:00:50 | zomg | the color should be inserted there then |
| 05:00:58 | kyleabaker | nice dude |
| 05:04:28 | kyleabaker | awesome, works great! Thanks! |
| 05:04:53 | zomg | np |
| 05:53:54 | | --> brasa has joined #webapps |
| 05:55:13 | | <-- brasa has left #webapps stating () |
| 05:57:02 | | <-- vitexdp has quit stating (Ping timeout) |
| 07:03:06 | | <-- Do`` has quit stating (Ping timeout) |
| 07:17:41 | | --> Do`` has joined #webapps |
| 08:26:46 | | <-- kyleabaker has left #webapps stating () |
| 08:27:01 | | --> kyleabaker has joined #webapps |
| 09:22:04 | | <-- roentgen has quit stating (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) |
| 09:23:53 | | --> Kida has joined #webapps |
| 09:24:08 | | <-- Kida has left #webapps stating () |
| 09:28:36 | | --> roentgen has joined #webapps |
| 09:32:03 | | --> ROBOd has joined #webapps |
| 09:45:59 | | --> santawan has joined #webapps |
| 09:49:06 | | <-- santawan has left #webapps stating () |
| 10:19:11 | | --> Gus has joined #webapps |
| 11:09:18 | | --> aleksanteri has joined #webapps |
| 11:40:14 | | <-- aleksanteri has quit stating (Connection reset by peer) |
| 13:09:36 | | --> vitexdp has joined #webapps |
| 13:23:37 | | <-- roentgen has quit stating (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) |
| 13:48:06 | | --> LarsKL has joined #webapps |
| 13:52:14 | | --> LarsKI has joined #webapps |
| 13:52:16 | | <-- LarsKL has quit stating (Connection reset by peer) |
| 13:56:55 | | --> roentgen has joined #webapps |
| 14:01:41 | | --> topdj has joined #webapps |
| 14:02:25 | topdj | swingers.freehostia.com new hot adult chat site |
| 14:02:52 | | --> qaz123w has joined #webapps |
| 14:02:53 | nicomen | cool, but why would people in #webapps care? |
| 14:03:11 | | <-- topdj has left #webapps stating () |
| 14:03:29 | | <-- qaz123w has left #webapps stating () |
| 14:04:33 | Remco | The people in #care always care |
| 14:04:49 | nicomen | ;) |
| 14:55:52 | | --> DrLaunch has joined #webapps |
| 14:58:11 | | --> JarodLee has joined #webapps |
| 15:03:04 | | <-- JarodLee has left #webapps stating () |
| 15:32:33 | | --> falcon has joined #webapps |
| 15:33:19 | | <-- falcon has left #webapps stating () |
| 16:31:17 | | --> HoT_JaM has joined #webapps |
| 16:31:23 | HoT_JaM | i licks of the grendmather |
| 16:31:51 | | <-- HoT_JaM has left #webapps stating () |
| 16:54:23 | | <-- DrLaunch has quit stating (Ping timeout) |
| 17:01:28 | | --> sexman has joined #webapps |
| 17:06:46 | | <-- sexman has left #webapps stating () |
| 17:20:09 | | --> sexman has joined #webapps |
| 17:21:01 | | <-- sexman has left #webapps stating () |
| 17:32:48 | | <-- kyleabaker has left #webapps stating () |
| 18:28:18 | | --> Ramunas has joined #webapps |
| 18:31:33 | | <-- Ramunas has quit stating (Ping timeout) |
| 18:58:49 | | --> dixie_ has joined #webapps |
| 18:58:51 | | <-- dixie_ has left #webapps stating () |
| 19:41:06 | Do`` | do you guys know a good javascript compressor |
| 19:41:18 | Do`` | that i can trust - as in it won't break the code? |
| 19:41:28 | zomg | http://dean.edwards.name/packer/ |
| 19:41:30 | zomg | Try that |
| 19:54:05 | | --> DrLaunch has joined #webapps |
| 19:55:08 | | <-- DrLaunch has quit stating (Connection reset by peer) |
| 19:56:32 | | --> DrLaunch has joined #webapps |
| 19:59:29 | | <-- DrLaunch has quit stating (Ping timeout) |
| 20:02:54 | | --> DrLaunch has joined #webapps |
| 20:04:37 | | --> alfzoe has joined #webapps |
| 20:05:41 | | <-- alfzoe has left #webapps stating () |
| 20:16:41 | | <-- roentgen has quit stating (Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org) |
| 20:26:19 | | --> netrino has joined #webapps |
| 20:26:23 | | <-- netrino has left #webapps stating () |
| 21:09:10 | | <-- ROBOd has quit stating (Quit: http://www.robodesign.ro ) |
| 21:45:34 | | --> roentgen has joined #webapps |
| 22:40:48 | | <-- Do`` has quit stating (Ping timeout) |
| 22:41:20 | | --> Do`` has joined #webapps |
| 22:59:45 | | --> Kristof has joined #webapps |
| 22:59:53 | | <-- Kristof has left #webapps stating () |
| 23:02:06 | | --> Marcellus-McC has joined #webapps |
| 23:02:33 | | -!- Marcellus-McC is now known as MarcellusMcCh |
| 23:03:20 | | <-- MarcellusMcCh has quit stating (Quit: MarcellusMcCh) |
| 23:03:27 | | --> MarcellusMcCh has joined #webapps |
| 23:21:37 | | <-- Gus has quit stating (Quit: Client Exiting) |
| | |