| |
| |
| |
|
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
Comments:
<0> that's not where so's are kept... <1> does php allow you to execute stored procedures? <2> JoshX: it means libphp5.so is in the wrong directory? <0> aethera: exec'ing an SP is just a sql command <2> JoshX: I don't understand what it means... really... <3> alainlucas: do a search for that file? <1> ||cw: tought so <2> JoshX: ok... /usr/lib/apache2/modules/libphp5.so <0> alainlucas: what's not to understand? it's telling you were it's looking and can't find it, is the isn't in that location, well duh... <4> <Nope> how fast does semen travel? <4> <Dzza> slow <4> <Dzza> takes 9 months to reach the breast <2> what is the file to edit to change the location ? <0> dunno, sounds like an #apache thing. ubuntu did the right thing for me <3> alainlucas: you could probably keep it where it is but just change the location from the wrong on currently in your httpd.conf to where the actual file is. <5> Hello
<1> Gmail is temporarily unavailable. Cross your fingers and try again in a few minutes. We're sorry for the inconvenience. <1> w0000000000t <5> Have you guys any experience with PHP+Soap <6> aethera: gmail is *BETA* <6> bulot: Yes, it involved lots of aspirins as well... <0> bulot: I only wash my php with warm water <2> It still doesn't work when I change my line to : "LoadModule php5_module /etc/apache2/modules/libphp5.so", i don't have the rror msg anymore, but the server still fails to load <3> alainlucas: all i can suggest is you scrap your current install and build from src using insctuctions on php website. <0> alainlucas: no, that's where it says it's *can't* find the module <0> you do understand the concept of a file tree right? <2> ||cw: of course I do...! <0> alainlucas: then what's the problem with "error: /etc/apache2/modules/libphp5.so not found" <0> i don't know apache very well, but it seems that you have it config'd odd and will wave to move your php5 file to that dir <0> dunno if that will cause other problems <0> your php should be compiled for your apache, and the "make install" should put the files in the right places <0> you should not be having this problem <6> alainlucas: I have a better question for you: Where do you keep your libphp5.so? <0> and how did you install apache and php <0> from source or packages? <2> dlb,||cw,Stormchaser: it work again, thanks a lot and sorry for disturbing you so much about that <3> alainlucas: :) <2> but I don't understand why apache2 tries to read module from /etc/lib/apache2/ instead of /usr/lib/apache2/ <0> because you told it to somehow <2> ||c: i've talked to him <2> i've never <6> lol! When installing kpovmodeler on ubuntu it gives povray as 'suggested' rather than 'required' :) <2> it's probably an error from synaptics <6> um... I didn't had any problems here... <7> Stormchaser: All software packaging systems ****. All software packaging systems **** less than no software packaging systems <8> how do i echo the value "level" array(2) {[0]=>array(3) {["id"]=>string(2) "21"["code"]=>string(2) "53"["level"]=>string(1) "7"}[1]=>array(3) {["id"]=>string(2) "22"["code"]=>string(2) "53"["level"]=>string(1) "7"}} from the first [0] and second [1] array/ <6> dj_segfault: the former translates to 'LFS' :) <6> s/former/later <7> LSF? <7> LFS? <9> linux from scratch <2> anyway, I don't understand the difference between /usr/lib/ and /etc/lib <6> Linux From Scratch <7> Ah. Yeah, no thanks. <7> Scratching is for DJs <6> I tried LFS once... I gave up after getting numberless 'segfaults' from starting non-FVWM... <6> dj_segfault: Note the big DJ somewhere in the nick :) <10> does someone know why preg_replace("|(c)|", "strtoupper('$1')", 'abcde'); doesn't return abCde ? <7> Thomasvp: preg_replace("(|c|)", "strtoupper('$1')", 'abcde'); <7> Thomasvp: Or should it be preg_replace("/(|c|)/", "strtoupper('$1')", 'abcde'); <10> the braces don't have to be escaped <10> braces -> brackets <6> not to mention, that strtouppoer takes more than 1 argument <7> Thomasvp: I wasn't escaping them, I think the regex needs to be surrounded by / / but I don't have time to look it up <8> i have a multidimensional array, how can i just echo the 3rd value from the first array in the array? <11> If I am attempting to install & configure PHP on my Windows Server 2003 with IIS6, and create the required PHP mappings to the php5isapi.dll, as well as giving permission in the "extensions" portion of the IIS manager for PHP. <12> is there a way to predefine variables.. I have seen something like this: function myFunc($myVar = 'defautlvalue') { echo $myVar); and if I call it with myFunc(): it will output defaultvalue.. if I do myFunc('hello') it will output "hello" is that correct? <10> dj_segfault: both solutions don't work... <7> Did you see Stormchaser's comment? <11> and then restart the server, followed by creating a test.php with (( Today is <?print strftime("%m/%d/%Y");?> <11> when viewing test.php all that is displayed on the page is ((Today is )) <11> any suggestions on what I may have missed? <6> Thomasvp: Or you could do some less cpu-intense str_replace magic there... <10> dj_segfault: strtoupper only has one arg, no? <6> no <13> hehe. <10> Stormchaser: well, the problem isn't exactly the strtoupper... the problem is that the function isn't executed
<10> my output is: abstrtoupper('c')de <10> instead of abCde <14> cause you put quotes around it maybe. <14> then it's interpeted as a string. <6> Thomasvp: Which indicates 2 things: You don't know regex, and 2) you don't want to be bothered to use less CPU-intence functions than preg* <10> stevo_inco: I thought so too, but this comes from the php itself: preg_replace("/(<\/?)(\w+)([^>]*>)/e", <10> "'\\1'.strtoupper('\\2').'\\3'", <10> $html_body); <10> oops <8> i have a multidimensional array, how can i just echo the 3rd value from the first array in the array? <10> Stormchaser: the problem I'm working on is more complicated than the example i've given. A str_replace won't do, I'm afraid <15> guys, If i have a raw date (not sure of the exact name, output from strtotime() ), how can i check if that date has p***ed <6> Thomasvp: php.net/preg_replace_callback <15> but without the time <10> Stormchaser: I think this is exactly what I need. Thanks, I'll try it. Strange that the example from php.net I copy pasted here doesn't work. <6> !+func strtoupper <16> string strtoupper(string str): Makes a string uppercase <15> so for example, I check it at 8AM, I want say 1pm on that day to be included <6> Damn... <10> :-) <17> playing around with SQL injection on mysql server... anyone knows why ';' does not work in separating different comands. For example select...;insert ... will not work and it seems like a PHP specific error not mysql since from console it works fine any ideas ? <6> True... PHP's mysql_query doesn't allow more than one query to be executed. <17> uhhh <18> mysqli has a multi_query function <18> mysql_query has a security precaution to only do one query <8> i have array(array('id' = 1, 'code' = 2, 'level'=3)array('id'=2, 'code'=2, 'level'=3)) how can i just echo the level in the first array? <10> Stormchaser: thanks for the callback hint. I works flawless. <17> nah writing a small tut for people so need to use most common functions that n00bs would use (postgres man my self) <18> you should try %20OR%20 attacks instead <17> select ... OR insert will not work <17> tryed :( <18> no but SELECT * FROM USER WHERE username=user OR 1=1 will work <17> thats a simplistic case <6> JaredCE: print_r($array[0] ); will give you first array stack <18> well i am trying to write your tutorial for you; i'm just pointing it out <17> Narada, didnt mean it as an insult <18> *i am _not_* trying rather <18> Chameleon22: np <6> Chameleon22: You should know better than ask this kind of questions here... <17> essentialy i want to be able to execute a system command like SELECT * FROM USER WHERE username='user' and \! ls >/tmp/test ; <17> but system command and select dont like eachother <6> gee... I wonder why <17> hehe <19> hi <17> Stormchaser, you right, shouldnt encourage the kiddies <17> if anyone does know pm me pleaseeeee <20> hello <19> im having a problem with a script a buddy of mine made <21> trajan: I suggest you give him a call then <0> heh <19> i want to integrate a row check to see if anything turns up with the specific zip code <19> if nothing's there then spit out a "nothing's there" <20> i'm using Pear Mail_Mime cl*** to send an email, but i'm getting entities for iso-8859-2 characters, whereas i wanted them to be displayed correctly. i've set the parameter to be p***ed to Mail_Mime's get() method: $param['text_charset'] = 'iso-8859-2'; but it didn't help. any ideas ? <17> Stormchaser, can i pm you ? <6> Chameleon22: If you wish <21> Stormchaser: what about me ? <22> ircops <0> trajan: so check to see if you have results, and if not echo <18> gah why doesn't pdo throw an exception on incorrect username for me; driving me nuts <0> Narada: why doens't pdo do a lot of thing.... I gave up on it and use adodb <23> Hi guys, what other characters can signify a new line? <23> (in plain text / html pre) ? <18> ||cw: so you said :) <0> Narada: did i? <0> lepine: \n <18> ||cw: somehow i don't want to move away from it; i'm giving it a chance <23> \r\n, \r, \n ... ? <18> ||cw: yeah you say that on every mention of pdo :P <21> \w\t\e\f\g <0> :) <18> hehe <23> it, was \r <0> guess it really pissed me off then
Return to
#php or Go to some related
logs:
#linux inet_aton Perl Fedora quadrata lfs #css synergy ubuntu startup fatal: open /etc/postfix/main.cf: Permission denied #php python redefine a class #oe #fedora
|
|