IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1822.65 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-05-11
Pages: < Prev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Next >
[12:51]<dnznvx>the session
[12:51]<dzvnaxrud>thats right ignore me once more people come here
[12:51]<dnznvx>moosey: the first works
[12:51]<sugmrd>hi
[12:52]<xmlxjym>mrtechguy: put your code on pastebin.com
[12:52]<dnznvx>mrtechguy: all operations you describe work fine
[12:52]<djjsnd>yereth, which was that
[12:52]<dnznvx>11:28 < moosey> ini_set('session.gc_maxlifetime', 300);
[12:52]<djjsnd>k
[12:52]<dnznvx>but I put it on 3000
[12:52]<dnznvx>instead of the 1440 default
[12:52]<sugmrd>how can i get values of an array of even key values
[12:53]<djjsnd>what's that 50 minutes, how can you tell it works hehe
[12:53]<dzvnaxrud>http://pastebin.ca/55069
[12:53]<djjsnd>its in seconds
[12:53]<djjsnd>1440 minutes is how many in a day, so hrmph
[12:53]<sugmrd>moosey:how can i get values of an array of even key values
[12:54]<dnznvx>oops
[12:54]<xmlxjym>mrtechguy: note you haven't changed $add to $subtract
[12:54]<dnznvx>moosey: I meant: I could change the setting now, but it doesn't help my problem :/
[12:54]<dzvnaxrud>ok
[12:54]<djjsnd>what's your problem
[12:54]<dzvnaxrud>oops
[12:55]<dzvnaxrud>so replacing - with / will work as well and wht same with *?
[12:55]<xmlxjym>absolutely, if you use variables that exist
[12:55]<dnznvx>moosey: the timeout.. or whatever it is
[12:55]<dzvnaxrud>oops im a little tired
[12:55]<dzvnaxrud>been working with lights and sound too much
[12:56]<vnc_>is there a better way to pass a variable in between scripts without using globals?
[12:56]<vnc_>well, in between classes and functions?
[12:56]<zjw>Marcin: '/\<span style="font-size: \d+\D+">/i works for <span style="font-size: 12px;"> or <span style="font-size: 1%;"> et
[12:56]<zjw>c
[12:56]<mzzayg>:)
[12:56]<mzzayg>w8
[12:56]<sugmrd>Xyphoid:how can i get values of an array of even key values
[12:57]<zjw>just can't see it when you bloody echo cause the tags are valid html, wrap in pre or view source :)
[12:57]<xmlxjym>sunday: please explain that in different words
[12:57]<xmlxjym>an example of what you want would be good
[12:57]<djjsnd>your site is timing out?
[12:57]<zjw>it worked all along but that method is better
[12:57]<mzzayg>row: weird cause for my string it's not working :(
[12:57]<mzzayg>i dunno what's wrong
[12:57]<vnc_>yes? no?
[12:58]<zjw>Marcin: this works try it: $x = ' <span style="font-size: 12px;"> jdhsfjsdhfds <span style="font-size: 1%;">';preg_match_all('/\<span style="font-size: \d+\D+">/i', $x, $a);print_r($a);
[12:59]<sugmrd>Xyphoid:i want get values of 0th,2nd,4th........of an array
[12:59]<xmlxjym>hmm
[12:59]<sugmrd>Xyphoid:is there any array function for that
[12:59]<cm2nzmrm>i'm forget, about how to show selected option box in php? <select><option name='add_person_initial' selected='yes'>--None--</option><option>Mr.</option></select> i try $_POST['add_person_initial'] but doesn't work.. i think that incorrect, how to do that?
[12:59]<mzzayg>row: hmm, w8, btw for my script i dunno why it gives me the text thath is between <span></span> than the <span> element
[12:59]<mzzayg>but w8 will check it
[13:00]<pdznsvzvz>CyberMad: echo 'selected="selected"'
[13:00]<xmlxjym>$keys = range(0,count($array),2); should give you an array containing 0,2,4,...n
[13:00]<cm2nzmrm>if user choose "Mr." then will show Mr. in next page
[13:00]<djjsnd>yereth: starting to think timeout is not your problem, you still havent explained what is going on
[13:00]<xmlxjym>then you can do foreach($keys as $key) { echo $array[$key]; }
[13:01]<dnznvx>moosey: well, it's kind of tedious to explain
[13:01]<zjw>Marcin: I get Array([0] => Array([0] => <span style="font-size: 12px;">, [1] => <span style="font-size: 1%;">))
[13:01]<dnznvx>it's a large script
[13:01]<dnznvx>I coulnd't detect any redirections in it
[13:01]<mzzayg>row: ha, nothing
[13:01]<dnznvx>just different classes that are build
[13:01]<mzzayg>row: Array ( [0] => Array ( [0] => [1] => ) )
[13:01]<mzzayg>row: :/
[13:01]<zjw>er view the source
[13:01]<zjw>as I said its html so you need to view source as your broswer is reading as html
[13:02]<zjw>:)
[13:02]<mzzayg>row: the source is the same you gave me
[13:02]<mzzayg>aa
[13:02]<zjw>the source of the output
[13:02]<zjw>silly
[13:02]<zjw>:P
[13:02]<cm2nzmrm>fyrestrtr what do you mean with that?
[13:02]<mzzayg>yeah
[13:02]<mzzayg>:>
[13:02]<mzzayg>oh, it's working :D
[13:02]<mzzayg>hmm
[13:02]<zjw>it works perfectly
[13:02]<cgxgzdrg>can I use a text area as a form submission?
[13:02]<mzzayg>yes inded
[13:02]<cgxgzdrg>Marcin, <input ... ?
[13:02]<mzzayg>but now i need ot check it in the whole function
[13:02]<mzzayg>w8
[13:02]<mzzayg>keherman: ?
[13:03]<cm2nzmrm>fyrestrtr i want to display selected option, example: if user select Mr. will print Mr. in next page, echo $_POST['add_person_initial'] ?
[13:03]<dnznvx>moosey: so what happens is that IE never finishes loading, and firefox gives me the redirection error
[13:03]<dnznvx>can I detect redirection in any other way?
[13:03]<cgxgzdrg>Marcin, i want to use a text area in a form
[13:03]<mzzayg>keherman: and?
[13:03]<mzzayg>row: hmm
[13:03]<mzzayg>row: that's a bit weird
[13:04]<cgxgzdrg>Marcin, and i have no idea how to do it
[13:04]<pdznsvzvz>CyberMad: <option value="Mr.">Mr.</option>
[13:04]<mzzayg>row: one of the output is:
[13:04]<pdznsvzvz>CyberMad: learn HTML
[13:04]<mzzayg>row: [2] => <span style="font-size: 12pt;">STAN FAKTYCZNY:</span></strong></div>
[13:04]<mzzayg><div style="text-align: justify;">
[13:04]<xmlxjym>sunday: i don't believe there's a function that projects $a1 onto $a2 directly like that, i remember something from haskell but you'll just have to iterate through
[13:04]<cm2nzmrm>ah.. :) i remember about it :) thank you
[13:04]<mzzayg>row: why is he taking the text that is after the '>' sign
[13:04]<mzzayg>keherman: just put: <textarea name='mytextarea'></textarea>







