| |
| |
| |
|
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
Comments:
<0> ChrisX1: phpinfo() ? <1> in console? <0> php -v <0> Or -i <2> [or - It appears to be cpu bound. -- am I just pretty must SOL? It's only a p-3 800 <2> [or - httpd-prefork is the culprit. <1> PHP 4.4.2 (cgi) (built: Feb 17 2006 16:06:22) <3> I have a 500MHz linux server handles MqSQL, a p3 800 should be fine. but if it's on win32, definitely tweak those crazy settings up top! <3> C:\path\to\php.exe -i C:\path\to\file.php <- syntax check <2> [or - http://cainkar.com/other/hotsanic/system/load.html <2> It's dieing :( <2> Put a stupid little php thing that I never expected to get 50khits/day. <2> :P <3> hmm. not good <3> what do your logs say? <2> [or - Which logs? apache? IT seems to be load induced (5 hits/second).
<3> by the way, If you use Editplus.. integrate php syntax check with -l $(FilePath)$(FileName) (argument) <3> yeah, apache error log, often it will give you advice about which parameters to increase <2> [or - here goes the cpu up :) http://cainkar.com/other/hotsanic/system/cpu.html tcp sockets - http://cainkar.com/other/hotsanic/netstat/connections.html <3> if possible <2> Ok, let me take a look. <3> brb <2> Probably needs a rewrite to be al ittle more efficient more than anything. <4> how can send POST and GET using fsockopen/fwrite? <5> Hi, why the array matches only take the first match? http://pastebin.com/559823 <2> [or - No errors, just a ton of favicon.ico missing items. I guess I'll dig into the code. I think it's just overloaded. <6> Is PHP strict about semicolons? <5> please, help <5> Hi, why the array matches only take the first match? http://pastebin.com/559823 <3> Scatha, because you told it to? <3> yodafone, *all* php is about semicolons! <6> ? <5> it's not supposed that ALL matches would go to $matches ? <3> unsuspecte--- semicolon!!!!! <6> [or... I don't understand you <7> Scatha: did you read php.net/preg_match ? <3> yodafo, what is "PHP strict" <3> ? <6> I'm asking whether PHP requires semicolons <8> if you forget to type one where there is supposed to be one, your script will generate an error yes <3> yodafone, and I'm answering, YES! all statements require semicolons after them <3> technically the very last command doesn'tm but that's sloppy and asking for trouble <9> is there a site that has a scriptlet which would allow me to access a private directory with a given username and p***word, and after a certain number of logins, it deletes the access? <6> so PHP has the same syntax as C, not the sloppy JS syntax <0> JS isn't sloppy <0> Just forgiving :) <10> People are sloppy. <6> lol <9> i cant wait for the computer language that reads like "I want an editbox here, listbox there, and make it do stuff plz thx" <3> x80, try realbasic.com <11> hi all <9> INPUT "Your name: ", John$ <11> can anybody tell me how to check word is in charset=iso-8859-1 or in charset=UTF-8 ? <5> Hi, why the array matches only take the first match? http://pastebin.com/559823 <5> sarry <5> *sorry <12> i'm about to compile php 5 as an apache module ... <13> Scatha: because preg_match stops after the first match <12> i also want to get php 4 as CGI <13> Scatha: if you want to match all matches, use preg_match_all() instead <5> ahhh, what function give me all matches? b1n0ry? <12> must i specify different paths to the installation ? <13> Scatha: preg_match_all() <5> thanks <13> Scatha: btw, i like your nick. character in one of my favorite books is named Scatha <14> [or: looks like QT's ide is stolen <5> yeap LOTR <0> kanhaiya_kk: Depends on the characters inside that word, but there are some issues with utf-8 in php. Read http://www.phpwact.org/php/i18n/utf-8 <13> Scatha: actually, that's not the one i was think of :) though you are correct <11> krijn, can i get that function ? <0> kanhaiya_kk: What function? <5> silmarillion i mean, sorry <13> Scatha: it's also a human warrior teacher in SRL's Albion trilogy <11> for checking charset ? <3> heh <15> i have the latest php stable for windows, it is setup with apache, where do i set which php files can it execute ? i installed torrentflux and it gives me a blank page when i run index.php
<13> ha ha you used "stable" and "windows" in the same sentence :) <0> kanhaiya_kk: Read the page I gave you a bit, there are some links in it <16> hi folks... any good php search for site & PDF content? <3> nimeni000, replace that blank page with a real one <15> http://localhost/torrentflux/html/index.php <15> isn't that right ? <3> nimeni000, could be anything. check your httpd.conf for the document root, or just try that <14> :DDDDDDDDDD <15> so where do i set the path to where it can execute files ?it can execute all files by default ? <3> best to use virtual hosts, imho <3> and put a 403 on your default root, especially is you allow outside access <3> or else any old torrenteer in any old swarm known exactly who you are, or lots more than they should, anyway <15> no i don't need to secure it, i want to allow it to execute <webroot>/torrentflux/html/index.php <15> [or what do you mean ? know exactly who am i ? <3> well, let's say you have nimeni.ath.cx running on your box. normally visitors would need to type that exact domain name, but if your root is live, typing your IP address gets you the same page <17> anyone know of a good free OSS tool for doing website functional testing, something like winrunner but free? <3> and IP is something, well, I can see yours right now <15> [or so what's wrong with that ? <3> age, try ab <3> nimeni, depends. perhaps you are downloading Linux distros, perhaps not <15> [or lol, well they can see my ip when i'm getting a torrent anyway <15> what's the big deal ? <12> does this look right to you? <12> http://pastebin.com/559873 <3> exactly my point <6> does PHP support: boolean ? doX : doY? <3> but they cannot see yourname.ath.cx nor is there any way to link that IP to it (RDNS won't work) <13> yodafone[1] yes <3> but if you - oh forget it <13> terniary operators <15> http://localhost/torrentflux/html/index.php <- how do i configure php/apache or whatever to allow it to run that file ? <13> (some condition) ? (do if true) : (do if false) <3> nimeni, first, put the file there <6> Could I do: element.parentNode.style.display = (onOff == 'on') ? 'block' : 'none'; <3> terniary operators = eww <13> yodafone[1] no <12> any tips for my php ./configure ? <18> hi all ^^ <15> [or everything is there, else it would give me an error that the file does not exist <6> b1n0ry, why not? <12> http://pastebin.com/559873 <3> nimeni, where is site root? <15> f:\apache\webroot <13> yodafone[1] because that doesn't even look like php syntax. what is element.parentNode.style.display? <18> argh <18> windows <6> sorry... that's JS <15> it will be on linux very soon, i'm just learning how to do it on my box <6> was mixing the two <18> nimeni000, good for you :) <3> so add f:/apache/webroot/torrentflux/html/index.php <13> yodafone[1]: and that's why it wouldn't work ;) <3> though why not just f:/apache/index.php ? <6> yup <15> [or add it WHERE ? that's what i'm asking <3> nimeni, Linux is a good move for this stuff. setup a 24/7 machine, "the server" <15> [or that's exactly what i'm doing, i'm going with a gentoo and i hope to get a 1 year uptime :) <8> tenary operators should burn in the very special hell <3> nimeni, you said site root was f:\apache\webroot, so put *anything* in there and load it <3> choongii, I'm male, but I want to have your babies! wise words <15> well i did, in \torrentflux\html\index.php, that's the proper path <3> that's not a windows path <15> inside \apache\webroot\ <13> choongii they should ride the short bus straight to hell <3> i see <3> f:/apache/webroot/index.php <- add any file, just a phpinfo() and LOAD IT NOW! <15> [or so to make it clear, by default php is allowed to run anything in the site root folder of apache ? <15> [or PHP works, i installed phpmyadmin, phpinfo works too <3> or wherever you specify the root to be, more-or-less <19> Is there some function I can use when outputting <19> mysql-text-fields that can recognize URL's and link them <19> automatically ? <19> Sorry for the bad paste. <15> hm this is wierd, thet test.php which had phpinfo() is not working anymore
Return to
#php or Go to some related
logs:
wlanconfig configfile postfix alias and mailbox sqlitedatabrowser SABnzbd rpm short read in buffer_copy mysql #gentoo emerge delta sync #php multiple instances of emerge gentoo nt_status_access_denied opensuse
|
|