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-12
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Next >
[09:12]<gzjsgg00w> $im = @imagecreate (100, 100)
[09:13]<eyzau>Paleo: that is a tough isse.. i would do: <td><?php echo $somevar?></td?
[09:13]<fxyfyf>i can explain that pasting code is frowned upon :)
[09:13]<eyzau>even if it is 3 lines
[09:13]<gzjsgg00w>:(....sigh...sry didnt feel like typing
[09:13]<gzjsgg00w>yeah it is JUST lines...not even full lines :P
[09:14]<fxyfyf>php.net/imagecreate tells you what this function does
[09:14]<gzjsgg00w>okay thanks
[09:14]<fxyfyf>or, so you can click and not type... http://php.net/imagecreate ;-)
[09:14]<eyzau>erosen001: i hope you develop applicatins with that philsophy
[09:14]<gzjsgg00w>thanks you philip that was much easier i appreciate it!
[09:14]<gzjsgg00w>:P
[09:15]<eyzau>woa.. sorry i didn't mean to allow anyone to falsly authenticate for that
[09:15]<gzjsgg00w>lol zircu
[09:16]<eyzau>erosen001: your forgiven if you laugh at one of my jokes :)
[09:16]<advx|sfnnl>jokes?
[09:16]<advx|sfnnl>php joke?
[09:17]<fxyfyf>why did the php cross the road?
[09:17]<eyzau>cyth|sleep: scroll up, if you laugh you get a free pass from jail
[09:17]<advx|sfnnl>to get to the other side?
[09:17]<fxyfyf>you heard this joke already?! :((
[09:18]<fxyfyf>knock knock
[09:18]<eyzau>ok.. stop making fun of my jokes alread :)
[09:18]<eyzau>y*
[09:18]<advx|sfnnl>who's there?
[09:18]<fxyfyf>PH
[09:18]<advx|sfnnl>PH who?
[09:18]<fxyfyf>PHP!
[09:18]<advx|sfnnl>:O
[09:18]<eyzau>hehehehe
[09:19]<fxyfyf>heh
[09:19]<fxyfyf>don't worry, it's over
[09:19]<advx|sfnnl>so a php class walks into a bar and starts wizzing all over the place
[09:19]<sfuy>do i also need to setup apache to have the multibyte thingy work?
[09:20]<advx|sfnnl>the bar tender says "hey do that in private!"
[09:20]<advx|sfnnl>the class says "sorry im a PHP4 class"
[09:20]<advx|sfnnl>...
[09:20]<gzjsgg00w>humm okay so the imagecreate functon creates an image does it allow for you to create an anchor for the image?
[09:20]<fxyfyf>haha
[09:20]<fyr>LOL
[09:20]<eyzau>cyth|sleep: that is a rough joke.. buy i like it in some way
[09:20]<fxyfyf>now that was pretty good
[09:21]<gzjsgg00w>lol what the imagecreate?
[09:21]<fxyfyf>was quickly thought of and written
[09:21]<fxyfyf>yes!
[09:21]<eyzau>i hope everone has noticed by now, i can't type worht crap
[09:21]<advx|sfnnl>drugs do that to you zircu
[09:21]<fxyfyf>it's commonly known throughout the Internet
[09:22]<gzjsgg00w>lol...well does it allow the creation of anchors? the imagecreate function?
[09:22]<advx|sfnnl>what is an anchor?
[09:22]<eyzau>the thing they drop to stop a ship from moving forward
[09:23]<xnfyjsvnax>Hello how can i remove the last part of my string
[09:23]<fxyfyf>typically in the shape of a T
[09:23]<fxyfyf>substr() is one way
[09:23]<fxyfyf>rtrim() another
[09:23]<gzjsgg00w>an anchor is like when you click on something on a web page and it takes you somewhere else like another page for instance you say that whatever you clicked was anchored to the page it took you to
[09:23]<gzjsgg00w>lol
[09:24]<advx|sfnnl>erosen001, so that would be done in html... not in the image itself
[09:24]<advx|sfnnl>amirite?
[09:24]<fxyfyf>you need one of those javascript creator thingees for images to do that
[09:24]<eyzau>erosen001: you mean a # like anchor
[09:24]<fxyfyf>but that's different of course
[09:24]<fxyfyf>but no, imagecreate does one job... it creates images :)
[09:25]<eyzau>or something like <a neme="imananchor">foobar</a>
[09:25]<gzjsgg00w>well technically yeah....the linking something to something else is an attribute like an added feature....html just calls it achor
[09:25]<gzjsgg00w>brrr....does anything in php achors?
[09:25]<fxyfyf>oh you so crazy
[09:26]<fxyfyf>streams could have anchors, deep streams
[09:26]<eyzau>php has nothing to do with anchors
[09:26]<jzdwzfcnz>anyone got a good "howto" for .tpl files in PHP
[09:26]<advx|sfnnl>echo '<a href="#anchor">anchor</a>':
[09:26]<eyzau>Jaywalker: google?
[09:26]<jzdwzfcnz>can't find anything so far
[09:26]<alnr>.tpl?
[09:26]<advx|sfnnl>jaywalker, what templating engine are you using?
[09:26]<eyzau>cyth|sleep: - the # in the a tag
[09:26]<fxyfyf>Jaywalker: http://smarty.php.net is one method
[09:27]<jzdwzfcnz>cyth|sleep: I didn't know there was methods... Lol. I'll look at philip's link.
[09:27]<gzjsgg00w>cyth: i came across that....but it does not work with the image create thingy
[09:27]<eyzau>hmm.. i could think of a temlate system that exists at php.net/
[09:27]<advx|sfnnl>because it's not an image erosen001 it's html
[09:28]<advx|sfnnl>imagecreate is 4 images
[09:28]<gzjsgg00w>brrr?
[09:28]<eyzau>erosen001: cold?
[09:28]<advx|sfnnl>no it's not cold in here?
[09:28]<advx|sfnnl>it's just you
[09:28]<jzdwzfcnz>philip: What exactly is that for? I'm talking like i have a PHP script i want to be able to use templates on.
[09:28]<gzjsgg00w>i just want to link that image that php created to another file...can't php do that?
[09:29]<eyzau>i want to create a link that will give me a beer
[09:29]<advx|sfnnl>Jaywalker, theres many ways to do templates, you can make them with pure php, which aren't .tpl files
[09:29]<fxyfyf>Jaywalker: there are no native php functions to do so
[09:29]<advx|sfnnl>or you can do them with a templating engine, which you need to add on, like smarty, which uses .tpl files
[09:29]<fxyfyf>zircu: beercreate()
[09:29]<lazaa>Help please: I've recently moved some code from an old Slackware Linux box to a Redhat Enterprise 4 box. I'm seeing an issue with the pack() function returning 'illegal char' errors. I wondered if the Locale settings on the new machine may be causing this?
[09:29]<eyzau>hmm.. no coment
[09:29]<gzjsgg00w>understand? php tells html here is a page so high by so wide...why can it say oh and if you click it go here!
[09:29]<gzjsgg00w>LOL @ beercreate()
[09:30]<jzdwzfcnz>cyth|sleep: hum... I see. I'll take a look and ask in #phpbb too...
[09:30]<eyzau>philip: well if you insist...
[09:30]<advx|sfnnl>erosen001, because imagecreate creates an image







