| |
| |
| |
|
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
Comments:
<0> this channel is so dead it's lame <1> can anyone tell me what this means: /[0-9]+.[0-9]+.[0-9]+.[0-9]+/ <1> can I use it to say ip_address1+.ip_address2 <2> I'll op everyone to start off with, then as the channel gets L, just op the regulars. <2> arf. <2> Wrong channel. <0> op me <3> azuranz: ...why? <0> i want world peace <0> itrebal can you please help me with this <0> checking the values of checkboxes <3> not at the moment <4> hio <3> try checked="checked" <0> no i mean. Php If valueis checked~ <0> http://pastebin.com/660949
<5> wow, i simply can't make php5 on win32 with apache2 load any extensions <5> can someone please help me? <5> i'm an hour deep into this and i can't figure anything out <6> azuranz: change $DAYS.$i to $DAYS[$i] <6> hax: do any changes you make to php.ini show up? <7> I have a PHP IRC bot, is there any way I can make it reload the file when I type a command (I know to do functions and stuff, I just don't know a method for reloading the file) <6> hax: where it says Configuration File (php.ini) Path in phpinfo() output, paste exactly what value php gives <0> philip I did. When i press submit, the page loads again but the box i ticked earlier is not ticked <5> philip: c:\php\php.ini <6> azuranz: i'm just telling you correct syntax <0> yeah <5> philip: i only change the extensions_dir and uncommented the mysql line <0> have a look at this. This is the full script <5> philip: sec, i'm posting the apache error <5> philip: gimmie a sec though, i'm using a really awkward rdesktop setup <0> maybe you can chuck it just quickly into a php file and run <0> http://pastebin.com/660952 <5> philip: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\php5\\php_mysql.dll' - The specified module could not be found.\r\n in Unknown on line 0 <6> azuranz: i've told you how to change $DAYS[] = $_GET["DAYS[]"]; at least four times <0> I DID <5> philip: and i can make that say \\php5\ext too, its no problem <5> philip: i've also copied the dll into system32 <0> oh <0> ^_^ <5> philip: nothing works <5> philip: i think its because of that "\r\n in Unknown on line 0" <5> but i have NO idea what that means <0> yeah i changed that bit <6> hax: have you dealt with libmysql.dll? <6> oh :) <0> http://pastebin.com/660955 <5> philip: its all copied everywhere it could possibly need to be <6> azuranz: your form is post not get <0> where <0> oh ok <0> http://pastebin.com/660957 <5> philip: the dude who's running this server won't run linux... so i don't know what to do <5> philip: but i really need this to work <5> philip: any ideas at all? <5> philip: google reveals nothing <6> azuranz: you still use echo $DAYS.$i;... <0> yeah <0> I tried [$i] <6> hax: not sure what to say :) <5> philip: it looks like this is simply not going to work <6> azuranz: i told you the correct way twice, stop randomly trying other ways <5> philip: intensely frustrating <0> philip: i have tried $DAYS[$i] <6> hax: permissions problem? :) <5> philip: its windows... <6> hax: shouldn't you be using ext/ dir? <5> philip: i'm concerned about that \r\n line <5> philip: i've tried them all <6> try the one where your dll files are, and stick with it... :) <6> this is something you should KNOW and not question <0> philip: As per ALL your suggestions: http://pastebin.com/660962 <5> philip: i copied my dll files EVERYWHERE <5> philip: so i can't possibly be having this problem <6> heh <5> philip: its not that its not finding the dll... its this \r\n Unknown thing <5> thats gotta be whats screwing it up
<6> azuranz: you will never come across the "on" value as you set values for your checkboxes <0> what do you suggest then <5> omg <6> problem is usually something simple :) <5> philip: no, for real, i'm angry <5> heh <0> cause it's been like 2 hours and i'm bout to give up ay <6> azuranz: do you ever feel frustrated while writing php code while at the same time not knowing php? :) <0> yeah i do <8> hax: no, for real, we don't care. <0> thats why i seek help from the rarely helpful, often patronising ##php <6> azuranz: i've given you a ton of simple php fixes, don't even say that <6> fact is you know NOT php yet expect this channel to write your code <0> i've applied all your suggestions thus thar philip. <0> incorrect <5> Jymmm: always loving words <6> well, good luck, my welcome matt is worn out :) <6> hax: so, what was the problem? :) <8> azuranz: If you find the responses you get from ##php to be patronizing, it's due to the fact that you didn't bother listen and/or didn't bother to take the time to read the manual, google for examples, or even try and help yourself. <5> philip: heh <5> philip: i'm downgrading to apache1.3 and php4 <5> philip: because that **** used to work <5> heh <0> yeah <0> lifes a pearl <5> lifes in perl? <0> ##phps even betta <6> some people aren't teachable, such is life <9> heh <5> ****in' a <5> it works <7> I have a PHP IRC bot, is there any way I can make it reload the file when I type a command (I know to do functions and stuff, I just don't know a method for reloading the file) <10> DarthLappy: err, as in, re include? <10> DarthLappy: you can't redefine functions in PHP <6> DarthLappy: consider http://php.net/runkit <11> Hey, is there anything about member variables in a cl*** that would make the concat operator act funny? <3> DarthLappy: also consider a different language... <6> heh <7> Aw...PHP is so easy. And works fine. <4> 0.O <10> DarthLappy: so is Python <4> did an asp dev pay you to say taht DarthLappy ? <3> DarthLappy: except when it doesnt, and when it eats all your memory <4> to state the OBVIOUS? <3> it eats your memory for breakfast, and lunch, and dinner. and everwhere in between, too <6> http://pear.php.net/package/Net_SmartIRC <11> Hmm... private $base_query = 'String here'; works fine, but private $base_query = 'String'.'here'; generates: Parse error: parse error, unexpected '.', expecting ',' or ';' in /home/surye/httpd/httpdocs/gdcs/includes/NewsItem.Cl***.inc.php on line 14 <3> Surye: it doesn't like concatation in the original declarations <11> Ah, okay. Odd, well, all I was using it for was so the lines arn't too long, so I'll just live with a long line =P <10> Surye: property declarations must be constant expressions. <5> can win32 php mail()? <6> there are various smtp settings for this in php.ini <12> which different between substr() and substring()? <10> kisi: substr() exists, substring() doesn't <12> AcidReign: but i can use substring() in php and mysql project such as : substring($str,0,100); <10> Fatal error: Call to undefined function substring() <10> kisi: it's not part of PHP <10> kisi: it'd be in the manual if it were <10> and it's not <12> AcidReign: see here"<?php echo substr($rv_crow['rv_bodytext'],0,500)."........"?>" it's work well,why ? <13> where is the location for php.ini ? <10> MrNaz: phpinfo() <14> Suggestion please, Should i using "Database Cache" using file+serialize() ? or its will give me same performance ? *since unserialize itself take time* <10> kisi: er, why wouldn't it? <10> Ox41464b: er, huh? what? <14> ... :( <10> Ox41464b: databases are fast, you just need to index them <12> AcidReign: it's my wrong / sorry / is there this function "substring(0,MAX_COMMENT_SHOW)" <13> AcidReign thanks <14> kisi: php.net/substr <3> is str_replace('../', './' $dir); significant enough if you give the beginning string and the end string? ie: include('/home/user/file_'.$dir.'.inc.php'); <15> werd up ma bitches :) <10> kisi: substring is not php
Return to
#php or Go to some related
logs:
can ping cannot reach the drive how to logrotaion genkernel dashes can't watch mov firefox ubuntu flashget stop at 99% #python #suse #perl HazyNRG #perl
|
|