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: 1952.35 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-07-27
Pages: 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
Next >
[00:00]<mnrmrrv>can someone give an example on how to generate a thumbnail please. which function do i use? imagejpeg() ?
[00:00]<mnrmrrv>just a thumbnail at 100px
[00:01]<jdddd>deadcat http://www.php.net/manual/en/ref.image.php
[00:02]<vrdcryrxv>zircu: http://pastebin.ca/101381
[00:02]<zxnzvnz>hey guys, what's a typical set of characters supported in filenames across popular file systems?
[00:02]<vrdcryrxv>zircu: or take a look at http://e.willwyatt.com/img/test2.php for the whole array
[00:03]<svzzwzzs>tayknight How can i add on my php 5.1.4 variant_round ?
[00:03]<vrdcryrxv>StarWars: sorry, what?
[00:04]<svzzwzzs>http://ro2.php.net/manual/en/function.variant-round.php
[00:04]<svzzwzzs>i need this on my php to ca see decimals
[00:05]<vrdcryrxv>StarWars: sorry, i don't know.
[00:05]<svzzwzzs>i get this error
[00:05]<svzzwzzs>Warning: Division by zero in /usr/home/rcxnet/www/includes/functions.php on line 63
[00:05]<svzzwzzs>in my scor scripts
[00:06]<mnrmrrv>Jymmm: ah. was just looking at that one. (= thanks..
[00:06]<wjlllrws>!+enter
[00:06]<lxl-2jv>Don't use the enter key as punctuation. Think in complete thoughts, then type.
[00:07]<eyzau>tayknight: what are you using to get all that info?
[00:07]<vrdcryrxv>zircu: a php script that reads all the EXIF information from a jpeg image.
[00:08]<wjlllrws>php.net/exif, IIRC
[00:08]<jdddd>Wolfpaws no
[00:08]<eyzau>Wolfpaws: that doesn't give that much info
[00:08]<jdddd>Wolfpaws http://www.ozhiker.com/electronics/pjmt/
[00:08]<[dyfns]>ciao
[00:08]<vrdcryrxv>that's what I'm using, pjmt
[00:09]<eyzau>tayknight: the problem is i can't really tell you how to figure out the array structure that the script produces since i'm not familiar with it
[00:09]<wjlllrws>Jymmm: Ooooo :)
[00:09]<vrdcryrxv>but i know the array structure, what I want to do is be able to use a variable to point at a specific item in the array
[00:09]<eyzau>i still dont see clipping path info in that array :)
[00:10]<lzyud>if you set a name in a form as "id[]", it will post as $_POST["id"][$keys], correct?
[00:10]<lzyud>where $keys is arbitrary, but in order of the elements
[00:11]<wjlllrws>prium: php.net/faq.html
[00:11]<eyzau>tayknight: you simply cant make a variable to point to the mutli-part array like that
[00:11]<vrdcryrxv>zircu ok. that answers it. wonder why not. seems like there would be times to do it.
[00:12]<vrdcryrxv>zircu: cause you can do $a = 1; $somearray[$a]; right?
[00:12]<eyzau>tayknight: what you need to do or what should already be given to you with the interface is something like get_exif($exif_data, CAMERA_MAKE);
[00:12]<lzyud>you know, you coulda just said 'yes' :)
[00:12]<vrdcryrxv>zircu: y, i wish I could do that :)
[00:13]<krdvfdgq009>which php version is recommended to use? 5.1.x?
[00:14]<djzwzvnz>if you generate a file on the fly and then want to offer it to the browser to download what is the best way?
[00:14]<eyzau>tayknight: then make a function that does something like function get_exif($data, $key) { switch($key) case 'CAMERA_MAKE': return $data[0][271]; break }
[00:15]<eyzau>tayknight: if the tool you used generated this array it should (better) have an interface to read it in a friendly manner
[00:15]<rdvxzrwff>DogWater, It would depend on what kind of files your are generating, and the process of "generating"
[00:15]<vrdcryrxv>zircu, i'm looking through the docs again, but I don't think it does.
[00:15]<gjvgedns|svjede>Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/alex/public_html/gotgames/site/demos/managedemos.php:2) in /home/alex/public_html/gotgames/site/demos/managedemos.php on line 2
[00:16]<gjvgedns|svjede>i am getting this message, but it's the first itme i start the session./...
[00:16]<jdddd>zircu What, you think the camera MFG's make it any easier?!
[00:17]<rdvxzrwff>GotGames|Stormz, you cannot start_session() after any output...
[00:17]<jdddd>zircu: Hell, it reads more exif data that Nikon's native software does.
[00:17]<eyzau>Jymmm: no, the app that he is using to figure it out should give an interface
[00:17]<jdddd>zircu http://www.ozhiker.com/electronics/pjmt/
[00:17]<gjvgedns|svjede>cythrawll: what do you mean by any input? any php code?
[00:17]<rdvxzrwff>GotGames|Stormz, start_session() should be at the top of the file
[00:17]<eyzau>Jymmm: yeah i saw that and booked marked it it looks interesting
[00:17]<rdvxzrwff>GotGames|Stormz, when did I say input? i said output
[00:18]<rdvxzrwff>like echo any html etc...
[00:18]<jdddd>zircu He said that's what he's using
[00:18]<vuwvyw>hello, everyone.
[00:18]<gjvgedns|svjede>cythrawll: okay that fixed that but now the rest isn't displaying, hang on i'll paste you my code
[00:18]<rdvxzrwff>pastebin?
[00:20]<vuwvyw>can one include php file in cgi script?
[00:20]<ajxgdw0wn>stelt, i found a tutorial at http://www.xml.com/pub/a/2004/09/08/tree.html?page=1 -- and can get my data into his basic <node> setup but have no idea how to use the code in the rest of the article to manipulate that --- can you help direct me? I guess i dont understand if that other code is executed on the first code? or is it set as properties which an svg viewer notices?
[00:20]<jdddd>!+tias
[00:20]<lxl-2jv>[TIAS] Try It And See. If you want to know if or how something works, try it first.
[00:20]<gjvgedns|svjede>cythrawll: http://www.ircphp.com/1179
[00:20]<gjvgedns|svjede>everything else works, i'm just having problems with the sessions and security
[00:21]<rdvxzrwff>GotGames|Stormz, where is your opening html tag?
[00:22]<gjvgedns|svjede>cythrawll: i ate it :P
[00:22]<rdvxzrwff>so there is no more files being printed, your not including this in a file that prints an html header?
[00:23]<vuwvyw>can any one help?
[00:23]<gjvgedns|svjede>not yet... i was making it to be included, but for the time being i'm making it stand alone
[00:23]<gjvgedns|svjede>i just fixed that
[00:24]<gjvgedns|svjede>html tags added
[00:24]<ajxgdw0wn>if anyone here knows XML and wants to take a look at my comment to stelt that would be appreciated -- the people in XML are as of yet non-responsive
[00:24]<a_>what's the function that will turn, for example, 3 into 03?
[00:24]<rdvxzrwff>I don't think that should matter then, I was just checking that you still werent' trying to ouput html i another file, before you did this file
[00:25]<zxnzvnz>j_ printf?
[00:25]<rdvxzrwff>and you are getting no output?
[00:25]<eyzau>j_: sprintf(), or any *printf() function
[00:25]<a_>I was thinking sprintf, yeah. thanks
[00:25]<gjvgedns|svjede>no... so $_SESSION['username'] must not be true :s
[00:26]<gjvgedns|svjede>want me to paste you the login page?
[00:26]<rdvxzrwff>GotGames|Stormz, you should atleast get that <link rel>
[00:26]<gjvgedns|svjede>eh?
[00:26]<gjvgedns|svjede>yeah...
[00:26]<gjvgedns|svjede>i'm getting htat
[00:27]<gjvgedns|svjede><html><head><link rel="stylesheet" type="text/css" href="./css/admin.css"></head><body>
[00:27]<gjvgedns|svjede>that's what i'm getting
[00:27]<rdvxzrwff>GotGames|Stormz, I'm also miscounting maybe? I counted 4 { but only 3 }
[00:27]<gjvgedns|svjede>lemme check
[00:29]<gjvgedns|svjede>your count is correct
[00:29]<gjvgedns|svjede>but...
[00:29]<gjvgedns|svjede>Parse error: parse error, unexpected '}' in /home/alex/public_html/gotgames/site/demos/managedemos.php on line 68
[00:29]<gjvgedns|svjede>when i add another
[00:29]<rdvxzrwff>something is wrong then isn't it?
[00:29]<rdvxzrwff>your not adding it in the right place
[00:30]<rdvxzrwff>just don't throw a } in there, figure out where it's supposed to go
[00:30]<svzzwzzs> How can i add on my php 5.1.4 variant_round ?
[00:31]<ssyg>hi all







