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: 1982.48 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-07-08
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
Next >
[22:02]<20fv>i think he means bitstream
[22:02]<tjufgg>I keep wanting to write a list of things but only ever come up wtih 1.
[22:03]<grgjvnax>heh
[22:03]<tjufgg>Even if it was "raw" as he puts it, php has pack/unpack to handle that issue.
[22:03]<grgjvnax>Touqen well i have alot of free time on my hands, so yeah
[22:03]<yzjmnz>DogWater: it's possible
[22:03]<yzjmnz>base64_encode(serialize($text))
[22:03]<grgjvnax>yeah, Touqen the super cop syndrome ; )
[22:03]<yzjmnz>i know it does
[22:04]<yzjmnz>but it kinda sucks having to handle all the different packets in the protocol specification
[22:04]<yzjmnz>unless you're using a module
[22:04]<djzwzvnz>im thinking about just sending all of the information i need to paypal in a single string and then just parsing it later
[22:04]<grgjvnax>yeah
[22:04]<tjufgg>iroder: I really wish I knew what the hell you are talking about.
[22:04]<grgjvnax>like it would suck to make any application...
[22:04]<tdqwoq>how can i put an ascii character 1
[22:04]<yzjmnz>haha yeah
[22:04]<dzrc>hi!
[22:04]<tdqwoq>in php
[22:04]<drgynfsson>hi.. need help with mod_rewrite... does anyone know anything about this or am i in wrong channel?
[22:04]<yzjmnz>ord(1)
[22:04]<tjufgg>Danielss89: wrong channel
[22:04]<yzjmnz>i think
[22:04]<tjufgg>#apache
[22:04]<grgjvnax>Tm2182 chr()
[22:05]<drgynfsson>oki..
[22:05]<dzrc>why am I getting thousands of php5 processes when I try to exec() php5 script within php4 script?
[22:05]<tdqwoq>ah
[22:05]<grgjvnax>Tm2182 chr(1)
[22:05]<dzrc>i.e. exec("php.5 someotherphp5script.php")
[22:05]<grgjvnax>or whatever
[22:05]<yzjmnz>ord -- Return ASCII value of character
[22:05]<grgjvnax>yeah
[22:05]<yzjmnz>yeah char()
[22:05]<yzjmnz>my bad
[22:05]<grgjvnax>but he wants to put it
[22:05]<grgjvnax>not return it
[22:06]<yzjmnz>chr*
[22:06]<grgjvnax>well back to my attempt at coding
[22:06]<tjufgg>nanotech: When the user makes the scan request, execute the command and have the output written to a unique file based on some identifier and send that identifier back to the client
[22:06]<grgjvnax>scan request?
[22:07]<grgjvnax>Touqen tab error?
[22:07]<grgjvnax>heh
[22:07]<tjufgg>nanotech: No I just get completely confused.
[22:07]<grgjvnax>i think it was phalcos who had the scanning question
[22:07]<tjufgg>phalcos: that was for you ^
[22:08]<tjufgg>though i gues there isn't anyway to tell whether it's finished aside from writing the processes pid to a file...
[22:08]<tjufgg>poop
[22:08]<tjufgg>I think it's proof of concept time :)
[22:09]<dzrc>how can I execute php5 script within php4 script?
[22:09]<dzrc>(both are installed)
[22:09]<grgjvnax>Touqen
[22:09]<dzrc>calling exec() within php4 opens hundred of php5 processes?
[22:09]<grgjvnax>i changed the echos to use commas instead
[22:09]<grgjvnax>and it still wont echo
[22:10]<tjufgg>nanotec: Then you have some other issue.
[22:10]<grgjvna>yeah ;\
[22:10]<grgjvna>its in that loop though
[22:11]<grgjvna>cause if you goto the url, you will see that it does echo the $out
[22:11]<grgjvna>perfectly fine
[22:11]<tjufgg>nanotec: var_dump($out1)
[22:11]<tjufgg>mrak: pastebin
[22:12]<dzrc>Touqen <?php exec("php.5"); ?>
[22:12]<grgjvna>pastebin.ca
[22:12]<djzwzvnz>how do you make variables not required in a user defined function?
[22:12]<dzrc>(within php4 script)
[22:12]<tjufgg>mrak: The entire php4 script please.
[22:13]<yvzn2rf>DogWater: function funcname($var, $var2, $var3='', $var4=''){}... $var1 and $var2 are required while $var3 and $var4 will default to ''
[22:13]<dzrc>That is the entire script!
[22:13]<tjufgg>mrak: oh
[22:13]<dzrc>it should basically terminate, but instead it keeps calling php.5
[22:13]<dzrc>creates 100 of processes
[22:13]<dzrc>I guess that it somehow executes php.5 that parses that very script again
[22:14]<grgjvna>DogWater function myfunc($required, optional=$optional)
[22:14]<grgjvna>oh well yeah
[22:14]<grgjvna>heh
[22:14]<tjufgg>mrak: Show me everything involved.
[22:14]<grgjvna>hah
[22:15]<grgjvna>welll Touqen i added the var dump to the loop, and its not even being executed ;\
[22:16]<tjufgg>nanotec: Where did you put it at?
[22:17]<dzrc>Touqen: did you ever try something like <?php echo exec("php -v"); ?>, does it work on your machine?
[22:18]<grgjvna>Touqen i put it at the end of the loop
[22:18]<grgjvna>before it restarts
[22:18]<[ew0z]>what is tor ?
[22:19]<grgjvna>[Ex0r] tunnel proxy program
[22:19]<[ew0z]>ah
[22:21]<tjufgg>mrak: Yea. It works does it do something peculiar on your machine?
[22:22]<tjufgg>nanotec: which loop? the innermost one?
[22:23]<grgjvna>yes, then as you asked me the first time, i moved it to the outer
[22:23]<grgjvna>and same thing
[22:23]<tjufgg>try this, explode on \n, then explode on :
[22:23]<tjufgg>foreach line created by the first explode
[22:25]<d9fu7>Anybody know the proper syntax for PDO::FETCH_INTO mode?
[22:25]<d9fu7>(anyone use PDO?) ... moreover "Anyone know what PDO is?"
[22:26]<czysl>any able to shed l8ight on what Cannot use string offset as an array means?
[22:26]<fxrfajs>Touqen: Thank you, I'll work something like that out or do it with java.
[22:26]<yzjmnz>uhh PDO is to schematize a database into classes
[22:26]<yvzn2rf>krisp: where are you getting the error? give us some context to work of fof
[22:26]<czysl>$item['item']['title'] = "RTTP website item";
[22:27]<czysl>itrebal







