| |
| |
| |
|
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
Comments:
<0> Fushuing: ... <1> Fushuing: "man tail" http://php.net/exec("tail -n 1", $output, $error); <2> Fushuing: It's a common command-line program on most *nix systems. <2> On the odd case you're running windows, it would not be available by default. <3> ah <3> it's not made for windows :D <4> what is wrong here http://pastebin.com/733960 ? its get me the error (!$ra) <5> fixed! <2> Well, it is, but not included with :) <0> Fushuing: sure it is <5> http://renich/test/colors.php <3> the php webapp i am doing isn't :S <2> You'd need to google for "win32 bintools" or "win32 tail" or some kind of thing like that. <2> Oh. <5> http://woralelandia.com/downloads/scripts/php_scripts/ <5> bye bye
<3> hrmmm.....i guess i'll use something in conjunction with feof >.> <0> Fushuing: Here, if you don't know how to use Google <0> http://tailforwin32.sourceforge.net/ <3> Stormchaser: stop already! <3> read above :@ <3> the webapp i am making, is not supposed to be run on windows <3> it has a crapload of stuff that can only be found in *nix >.> <0> Fushuing: Even better... `tail` is common unix tool <3> and custom utilities programmed in *nix envirnoment <6> Stormchaser: ... <0> :) <6> Stormchaser: Dude, unxutils.sf.net <6> Who needs "tail for win32" when "tail" is already part of unxutils? <7> Or just grab cygwin and add the ./bin/ directory to %PATH% <2> ... <0> TML: I tried to tell him, but nooooooooooooooooo... :) <3> :P <6> Vyusher: "apt-get" ***umes you're using a system with APT installed. If you're not, use the appropriate local analogue. <1> MalMen: http://pastebin.com/733970 <4> k, i ill try <4> tks <8> Ah okay TML, so if I'm using a clean install of OS X 10.4.6 and I'm in the terminal, what might be the next step? <9> nothing you'd want to hear though ;) <0> lol <1> Vyusher: Google for "OS X 10.4.6 PHP install" would be the next step. <8> richardlynch, found a good one over at phpmac, thanks. <8> "Building and Installing Apache 2.2.2 and PHP 5.1.4 on Mac OS X 10.4.6" exactly what I'm looking for... though I am using Lighttpd with my Rails stuff. <10> hey <0> woof <10> http://pastebin.com/733976 <10> doesnt work :/ <8> What richardlynch? <0> !+doesn't work <11> Look buddy, doesn't work is a strong statement. Does it sit on the couch all day? Does it want more money? Is it on IRC all the time? Please be specific! Examples of what doesn't work tend to help too. Finally, showing us the code is helpful (after you've explained your problem). /msg php-bot pastebin for more information <12> 'lo <10> http://pastebin.com/733976 <1> toste: We got the pastebin part.. How about the "doesn't work" part?... <10> well, there is no errors so i don't know <1> toste: First problem, in line 3, is you are misusing \ in a big way... Won't actually matter here, but it's bad. <10> k <13> toste, how about this: what is it not doing that it is supposed to be doing? <12> i have php installed on debian via dotdeb packages, and it seems to be segfaulting hard on specific mysql queries. anyone have any input on that? i've enabled full logging et al, and i get nothing but: [Tue May 23 18:09:09 2006] [notice] child pid 27263 exit signal Segmentation fault (11) <10> well, it stuck at this part, wait ill paste the whole code <4> richardlynch the problem as system loocked <4> i as do that <10> http://pastebin.com/733989 <1> oblio: You probably need to use advice from http://bugs.php.net to get a backtrace... <4> ALL ALL = NOP***WD: /etc/init.d/httpd restart <0> MalMen: ... <12> richardlynch: right on <14> How would I go about accessing an FTP and opening every folder viewable on it and in each folder is a file called "server.ini" which I want to get the information on the line that begins with "ServerName=" and echo it all? <4> but now apache stop and no run again <4> [root@elite-project www]# /etc/init.d/httpd status <4> httpd dead but subsys locked <1> Donkano: Translate the English you just typed into PHP.
<15> Whats the latest version of flash? flash MX 2004? <0> ha? <7> opCoder32xz, we don't know. <1> MalMen: If you are SURE Apache is dead (ps auxwww | grep httpd) then you can nuke the lockfile and re-start by hand. <16> Check http://www.adobe.com/ maybe? <15> lol why adobe? <0> ... <16> Because they *own* flash .. <17> MalMen, remove the /var/lock/subsys/httpd and start it <7> Because Adobe owns Macromedia, which makes Flash? <1> opCoder32xz: It doesn't matter what the latest version is, because nobody has it. And Adobe because they bough Macromedia ages ago. <14> richardlynch: I know how to FTP, but my problem is is accessing every folder in it and getting 1 line out of a file in each folder. <15> I see okay <0> I am *sure* the next question will be "Do we still use copper wires or not anymore"? <16> LOL <15> I didnt know that lol <15> thanks anyway :) <0> opCoder32xz: If you don't have a PHP question, don't ask here. Period <10> -> http://pastebin.com/733989 <1> Donkano: http://php.net/ftp_list http://php.net/ftp_get http://php.net/file http://php.net/preg_match <13> toste: you need to be a whole lot more clear about your problem <15> Oks peace <4> http://pastebin.com/733998 <4> here <14> richardlench: That didn't answer my question, I am looking for something similar to a for statement to access all folders in the directory. <4> but now nothing open http://acm.elite-project.net/ <4> :S <10> ok it's an Ajax form, so when i add the img field (wich is clearly ident), it stuck an those not process further. <4> i ill restart apache again <10> when removing, everything works <1> Donkano: http://php.net/ftp_rawlist <4> Stopping httpd: [FAILED] <4> Starting httpd: [ OK ] <18> yo is cwithrall here <18> or whatever his name is <14> Thanks richardlynch. <19> MalMen: Note that it failed to stop it. Was it not running in the first place? <18> yo cwithralls <18> cythrawll <18> ok guys i need some help. My host reduced security level to medium. So FOPEN works now fine, but I have a problem with my stats script -> Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /home/fex/main/hosting/meilad/meilad/tpro2/setup.php on line 21 <4> in the first place... not understud <18> Can someone tell me if they know what security measure ie. what function disabled, would cause this error <1> azuranz: Is MySQL running? <18> hell yeah <18> my hit counter which uses mysql works <4> mattmcc in first place? not understud :S <1> MalMen: You managed to kill Apache. It was not running. The restart script tried to kill it. It failed. Because it was not running. All is okay. <4> yes... <4> but the php with function script cant start it why? :X <1> azuranz: Is your hit counter using the same connect script as the setup.php? <4> i have that <4> http://pastebin.com/734014 <18> nope <18> hit counter is different coding <1> MalMen: Well, now, there you got us... Can you su to the PHP user and run that sudo script from shell and it works? <18> the stats script probably using another method to connect i guess <1> azuranz: Compare the two and see why one works and other doesn't, eh? <18> aite hold your horsies <18> $link = mysql_connect($dbhost, $dbuser, $dbp***); <4> [painel@elite-project ~]$ sudo /etc/init.d/httpd restart <4> Stopping httpd: [ OK ] <4> Starting httpd: [ OK ] <4> [painel@elite-project ~]$ <4> its all ok <1> MalMen: Your PHP script does not run as 'painel' does it??? <4> yes <1> MalMen: Check phpinfo() to be certain. <10> -> http://pastebin.com/733989 <18> isn't mysql_connect a standard connection method <13> Does anyone know why a cookie might be set in Opera but not in FF/IE? <1> mythril: Because you have a timeout but no path on it? <4> http://painel.elite-project.net/info.php <4> maybe not painel :S <4> i cant su - apache
Return to
#php or Go to some related
logs:
email sent two places sendmail
ubuntu mozilla-firefox crash killall maatttt fedora netmd mount RDP Proxy alsamixer : function snd_ctl_open failed via epia Cannot open master side of pty +mc #osdev gento xorg 7 opqdonut
|
|