| |
| |
| |
|
Page: 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
Comments:
<0> i need help uploading files. no matter the size of the file, the script runs a few seconds and then it finishes. it shows correct mime and size values, but data is always 1kb and junk <1> double checked permissions on folders Lisan? <2> I'm having problems with loadable modules in windows (precompiled). it isn't apparent what should be in the 'extension_dir' variable in php.ini, and it isn't clear what format this string even uses. <3> simon- I believe there's a comment shortly before it that explains how to set directory settings <4> hi everybody <0> vanderwhatever: running in windows <5> Hello everyone. I'm trying to compile php with imap support. ./configure fails with such message: http://pastebin.com/592622 What can be wrong? <1> Hi Lisan <2> PHP Warning: PHP Startup: Unable to load dynamic library 'c:\\apache\\apache2\\php5\\ext\\php_mysql.dll' (I didn't add the extra backslashes, and that directory does exist. <1> if you're running in a windows environment I saw some extra notes on how you set up the permissions of the folders so that the stupid windows accounts like IWAM and IUSR can access them properly <6> hi guys, I am having a hard time interpreting a checkbox's submit, is there some code on the net or a way to make sure that I will recieve the post correctly? <2> vanderkerkoff, I think the webserver runs as my user... <7> does anyone here use md5 sums as primary keys for db records for use with forms? <3> carlos-the-man- checkboxes send their value if checked, nothing otherwise <2> carlos-the-man, checkboxes are only submitted if they are checked. <0> vanderwhatever, i am going crazy with this, you know. i am not a windows server guru, but i managed to make a temp folder i am using available for whatever use by all people, that is not the problem.
<2> I can't believe how hard this is to install on windows. <1> Hi Lisan, you're not going to like this but if I was you, I'd rather start melting down plastic to make a box to put a proper operating system in than fix any windows machines <0> i get data written. the problem is that it is only 1kb of data <1> sorry, not up to speed with windows, cant help, start melting!!!! <6> thanks, this is the code I have so far but it is still not perfect so I dont always get what I want while testing http://pastebin.com/592628 <0> linux is not the answer fot every problem. i am a linux user, for 6 years. not that good with windows. but this must be a php stuff <1> I didnt say linux was <1> :-) <2> the thing is, it keeps saying that the modules don't exist nregardless of the way I putt it ("foo/bar", "foo\bar", "foo\\bar") <0> vanderkerkoff, you sure did not think in BEos <1> I"d rather use fifteen hundred abaci in sequence <0> lol <8> hi aaaaaaaaaaaaaal <8> i find i digg-like ------ <9> ... <10> You're an idiot. <11> :)) <9> erf: There was no reason for that immediate insult. <10> Yes there was. <9> Now there is. <9> ##php is getting stupider by the day. <9> That's all I can say. <11> laughing out loud <12> hi <9> Hi <12> i have this php error when using jpgraph: JpGraph Error Font file "/usr/X11R6/lib/X11/fonts/truetype/arial.ttf" is not readable or does not exist. <10> "maximuse: hi aaaaaaaaaaaaaal", I will ***ume he either has no life or is about 12. <12> can you tell how can i install arial.ttf or where can i find one? <9> php-bot: tell eIf about g10 <8> i find i digg-like ------ opensource <13> I hate when this times out <12> ok kuja lemme check <11> kick that stupid bot maximuse <14> hi ! <13> howdy <12> kuja just ignore the jpgraph issue. i'd only like to know where can i find the arial.ttf font <14> I have a webpage, and I need to change a header that I suspect is sent by default by php <9> eIf: By googling for it. If you're on Windows, you already have it. <8> why <11> <9> maximuse: Now you're pushing it, and are becoming eligible for an insult. <10> kuja, it's a bot. <9> Oh? <14> I've added the code for the header: header('Accept-Charset: ISO-8859-1'); but LiveHTTPHeaders doesn't seem to reflect the change <8> no <9> !+ops <11> because you are bot <15> AcidReign, BigE, alindeman, Pollita, enygma, Davey, Piera, jmkg, newbienetwork, TML, MarkL, [RainMkr], philip, EvilWalrus, Snipe, mattmcc, HolyGoat <9> How the hell do you guys know it's a bot? <12> kuja i'm on bsd <9> eIf: So Google it. <10> Because he's playing some kind of a quiz game. <12> kuja ok thanks <10> maximuse : i find i digg-like ------ opensource <16> hi <16> how can i access an array element directly from a return value? e.g. this works: $x=getArray(...); echo $x[0]; <3> Just like that <10> If he's not he's annoying, and should be kicked anyway. <16> but this causes an error: echo getArray(...)[0]; <17> <3> Yes, it does <3> So do it the first way
<17> does anyone knows for really god article about javascript? <9> MicW: The latter will not work, it's not legal PHP syntax. <9> tecnoba_: Go ask that in #web. <11> tecnoba_ try #javascript <11> :) <16> so i always have to use a variable? <9> MicW: Yes, that's the way PHP is. <10> $x = getArray(...); $x[0] <16> and is there a better way to access the 1st array key than using array_keys <9> If it's not enumerated, or you if you don't know what the key is, then: current($arr) for the value, or key($arr) for the key. <9> This is ***uming you've just received a fresh array, if not, you might want to call reset($arr); <3> Though "first key" generally doesn't mean anything <3> ***ociative arrays are usually unordered <18> maximuse: <9> Dragnslcr: On the contrary. They are ordered. <16> seems that they keep their order <16> nice. my shift key is not working anymore since i switches back fom the virtual machine <16> in the vm it still works <16> but not here ,-9 <16> hm. so smileys do also not work anymore *g* <9> :P <0> ESTOY HARTO <9> Okay... whatever. <9> lisan: ALL CAPS MAKES YOU COOL, YA? <9> =P <19> whats the proper way to do a newline <19> when sending an e-mail <19> '\r\n' ? <20> In the documentation it advises against using serialize with setcookie "because it can result in security holes" - anybody know of a specific page that explains how this combination could constitute a security issue? <9> Larry: "\r\n", perhaps. <19> the quotes matter? <21> is PHP's serialization compatible with Java's? <9> Larry: Yes <21> i need to unserialize an array in java that is serialized in PHP <20> Technically \n - but windows tends to use \r\n for legacy reasons. <22> Noel4DMB: i don't really think so <22> Noel4DMB: use a proper database if you aren't using a cl*** instance or a custom datatype <16> are php serialized objects binary data? <9> MicW: No. <0> kuya, sorry, i am frustrated <9> kuja@shugotenshi:~/tests/ruby$ php -r 'echo serialize(array(1, 2, 3));' <9> a:3:{i:0;i:1;i:1;i:2;i:2;i:3;} <23> cool <23> now do it for an object! <9> UltimateB|script: An object is serialized as an array, or similarly. <9> When you unserialize an object, you are just creating an instance of it with its old properties. <23> kuja: i know, but wanna see and dont wanna put any effort in myserf. <23> but i want * <24> no effort? <23> yeh, by now i couldve done it myself, i know <9> kuja@shugotenshi:~/tests/ruby$ php -r 'echo serialize(new stdCl***());' <9> O:8:"stdCl***":0:{} <23> kuja, thanks \o/ <23> !google php serialize syntax <23> :( <23> So you could define an array as an string and then just unserialize it <23> sounds very good for making your script totally unreadable <16> Noel4DMB: so you can write a parser in java which creates an object tree from the serialized php data <16> its easy for plain text data <6> fyi Ive found a nice way to intepret checkboxes $chkbx = $products_group_access[$products['products_id']][$customer]; if (isset($chkbx) && ($chkbx == 1)){$actualizar = 'on!';}elseif(isset($chkbx) && ($chkbx == 0)){$actualizar = 'off!';}else{$actualizar = 'nochange!';} <23> carlos-the-man, thank you for that info... <25> simple question, how can know the error of a failed fopen(), for example? <6> np <25> i read about @ and $php_errormsg but it requires reconfiguration and doesn't seem a good idea <18> using @ is always bad <18> use is_readable() first, for example <25> what is really bad is not having a strerror() :) <18> we don't need it in PHP :P <25> that's not a very good option, but still.. <25> sure we need it <26> mirage-pt: that's a very good option <25> if one wants to do serious scripting, that is <25> GarethAdams|Work: race conditions? <18> mirage-pt: rofl, which language do you consider is right for "serious scripting"
Return to
#php or Go to some related
logs:
#suse #lisp #fedora install XMLHTTP chiliasp #perl ubuntu dvdrip dvdrecord #linux using hypervisor boot #suse #php
|
|