| |
| |
| |
|
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
Comments:
<0> er PHP 5 seriously slower as a CGI than 4? <1> anyone know if php6 will introduce threading support? <2> -- i have never noticed <2> php4 had threading support <2> fork <2> http://us2.php.net/manual/en/function.pcntl-fork.php <3> indolent - do you have any more ideas why my delete script istn working? <4> anyone know where to look for the cause for a "Warning: fsockopen(): SSL operation failed with code 1. OpenSSL Error messages: error:140770FC:SSL[...]" ? <3> :) <5> indolent: Forking is not threading. They can often be used to the same ends, but.. they are not the same thing. <2> ture. <2> true <6> guys, how to return these values from a function list($key1, $email, $key2) = explode(":", $value); ? <5> Madeye: In an array <2> there are a ton of PHP Threading articles by googling php threading
<6> DJ_Necrogami, so return $val = list($key1, $email, $key2) = explode(":", $value); should work? and then print $val[0] 1,2,3 ? <2> ph8ory... not really.. i looks as if it should work - but is the error coming from your script or one of the includes <7> dj_segfault:, thanks <5> Madeye: Put the values in an array and return the array. Or us OO and create an object <7> indolent: thanks too <3> indolent - its not saying theres any error, it echos it hasn't been deleted and when i check it really hasn't been deleted <6> dj_segfault, mind giving example? <2> php8ory: does it return: jobid, $title has NOT been deleted.... <3> yes <5> Madeye: Oh, wait. You just want to return the list? $val = list($key1, $email, $key2) = explode(":", $value); return($val); <2> k.. also. backtick `jobid` and add '' aroudn $jobid <2> '".$jobid."' <8> hello all <3> okay <8> I need use cookie, but my cookye isn't created on Internet Explorer <6> dj_segfault, it's not returning anything <2> ph8ory: http://rafb.net/paste/results/rf1Haf44.html <8> in firefox the cookie is created. what the problem? <5> Madeye: Look at what I said in my last post. <3> thanks, trying <9> brusso: , you might not have cookies enabled in IE. It's a security setting <2> i didnt fix the $status/$query thing though <3> indolent - nup same as before <3> oh <8> ElBugz: yes IE accept cookie from all site <5> brusso: You must have cookies disabled in IE. Or, the domain name is different on the website and on the cookie, and you've allowed that in Firefox but not IE <6> dj_segfault, yes, I used what you referred to but it's not returing anything <3> indolent - nup still the same <10> guys, i have an ***ociative array, say, $a = array( "foo" => "123", ... ) and at some other place I accidentally use $a['foo1'] = "12345". why doesnt php warn me about a nonexisting key??? <8> dj_segfault: let me see <11> what is the php function to see if a string exists in a string? - is "at" in "my cat" ?? <5> Madeye: what prints out if you do a print_r($val) right before the return statement? <12> why do people store stuff in $GLOBALS <12> does it persist beyond page loads? <13> brusso: because it creates that key if it doesnt exist <5> Narada: If you need data across all functions, like config data, or db connections.. <6> dj_segfault, nothing <12> dj_segfault: hmm but that is only for the duration of the page load right? <5> Narada: Yes. <5> Narada: But that doesn't mean it's not useful for sufficiently complex pages. <12> hmm exactly <12> dj_segfault: hmm maybe you're right <5> Madeye: Well, then your problem is not returning the value, but that the value doesn't exist. <8> this error is very strange. Now I carried through a test, where I did not inform the dominio and functioned <6> dj_segfault, http://phpfi.com/102001 <13> sorry, i mean basix ... you dont really want a warning everytime you create a new array key/pair value due you ? Because all you are doing when you do $a['foo1'] = 12345 is creating a new key foo1 and giving it the value 12345 <8> setcookie("RT", $usuario, time()+30); its correct <10> DepretioN, but its not right...once an array is created it should remain as it is... <14> Warning: getimagesize(): Read error! <- permissions are 777 but i keep getting this error, what else could cause this? <15> kon_: dir containing it or below it has the wrong permissions <2> uh oh.. another blow to MSFT.: http://online.thinkfree.com/ <2> i can see google buying that <14> Jy: thanks <14> hm weird, still the same error <5> Madeye: http://phpfi.com/102002 <5> indolent: "i can see google buying that" ... and making it work with Firefox and Linux <16> Hey <17> good morning <18> mornin <5> indolent: How can they revel in it's "onlineness" if it's platform-dependent?
<16> I have Q for the people that have any information on, or that followed, the Zend PHP exam, to become a certified PHP'er. <5> Madeye: You with me? <19> Hello all <2> it says it supports linux <2> i used it with Safari... <2> only to play with. not heavily used <5> indolent: The popup box says they're GOING TO support linux and safari. <2> it works in safari... i just had it open <16> What kind of questions can I expect? Is there any - online - documentation on what kind of questions I could expect? <20> hey guys is this correct? <20> $query = mysql_query("SELECT * FROM Venues WHERE Venue_Name LIKE '%$Venue_Name%' AND Day_of_week LIKE '$Day_of_week' AND City LIKE '%$City%' AND State LIKE '$STATE' and active=1 ORDER BY "Venue_Name" "); <2> sean`: checkout the prep books and practice exam <20> I get this error: Parse error: parse error, unexpected T_STRING in /home/addicted/public_html/venue_search2.php on line 9 <16> indolent; Thanks, I'll look into those (I overlooked those). <2> Zend makes a prep book <2> i have it.. i got it for $7 on amazon <18> S^Gerbitz: double-quotes at the end of yoru query aroudn "VenuName"... <21> S^Gerbitz: ""Venue_Name"" <21> S^Gerbitz: That's a parse error <20> lol, I saw that and changed it to 'Venue_Name' <20> and now I get this: <20> Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/addicted/public_html/venue_search2.php on line 10 <16> Number of Zend Certified Engineers: 1059 -- Quite low.. :p <22> with create_function one can make anonymous lambda functions.. is there anyway to hook them to a cl*** or object at runtime? I want to automagically create some getter and setter functions... <5> indolent: Ah, the spec sheet agrees with you. The popup must be a holdover. <2> i didnt get a popup <18> bas: not without runkit <21> S^Gerbitz: That means that mysql_query() didn't return a valid MySQL result resource, but you tried to get results from it anyway <22> Jonnay: ..google runkit.. <20> TML - meaning? <18> bas: conversely, check out the __call() method, you might be able to wield some magic there, especially if all you are doing is building getters and setters. <21> S^Gerbitz: Which part of the sentence did you not understand? <18> bas: actually, google cl***kit, but the cl***kit extension has been superceded by runkit... (as far as i remember anyway) <20> TML - <20> TML - sorry didnt understand your sentance, thats all... <21> bas: pecl.php.net/runkit <22> Jonnay: well not just getters and setters actually, I would like to do some code generation. I'm in this project which needs to be refactored enormously <21> S^Gerbitz: Which part? <10> indolent, yeah it looks great. <20> TML - what does this mean: MySQL result resource <21> S^Gerbitz: php.net/mysql-query <2> dunno if i would rely 100% on it, but ill keep it bookmarked <18> as: given that you know what refactoring is, I'll spare you the "create_function" is evil speech.. <18> ;) <14> I am still getting this error: Warning: getimagesize(): Read error! but dir and parent dirs are 777 <20> my code: http://pastebin.com/552775 <21> S^Gerbitz: Did you read php.net/mysql? <21> More importantly, php.net/mysql-query? <20> TML - im reading now <6> dj_segfault, sorry, had long phone call <6> dj_segfault, works just great! thanks <5> Madeye: That's OK, I charge by the hour. <6> dj_segfault, round() hour or split() ? <5> Madeye: *2 <6> dj_segfault, I'm broken now then hehe <10> Madeye, php.net/manual/en/ is an excellent resouce :) <18> S^Gerbitz: I did a quick modification to your code.It won't fix your problem, but it will help immensely. <23> i've got php5, apache 1.3, mod_ssl, and mysql 5. I know i've got libmysql.dll in the PATH, but i still get the infamous "call to undefined function mysql_connect()" errors. any suggestions? <4> crap. i hate it when i find bugs in critiall libs that i didnt write myself :\ <23> i've got my extension dir correct, and the php_mysql.dll extension is loaded <23> can't figure out what's wrong for the life of me <20> Jonnay - what did you change <23> :\ <23> apache 2.0 + mod_ssl still isn't possible on windoze right? <24> is there a place on this magical internet that will give me a list of people who want to do my php projects for cash? <23> i wish we had a *nix box to develop on :( <5> cheesecheese: rentacoder.com <25> www.guru.com, www.rentacoder.com, www.searchlancer.com.. the list goes on <25> ..or you can pm me ;) <25> im sure that was against the rules.. <24> THAT is the response i was looking for <24> :) <2> GeoJohn... what OS you using now? <5> GeoJohn: http://www.testdrive.hp.com/
Return to
#php or Go to some related
logs:
#suse #web #gentoo #php #mysql #ldap fedora windows cursor xfree #fluxbox mssql natural join CoRnJuLiOx
|
|