| |
| |
| |
|
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> ty <1> surffy: apache php and mysql all bundled with each other in a simple to install thing for winblows users <2> winblows :) <3> iirc, i dont use windows but that is a sign that it isn't enabled <1> surffy: http://www.appservnetwork.com/ <0> i use abyss webserver thank you though :) <1> just click install next next finsh like everything else in winblows <1> oh well <0> :P <4> surffy: You may haveto enable the mysql dll in your php.ini <0> thank you <0> lol <0> im just trying to restart php atm <0> webserver* <5> using get_defined_vars i found an object... however, i can access it <5> i can't
<0> wow it cant locate the mysql.dll <0> where would it be? <0> lol <1> surffy: in /dev/null ? <0> im on winblows <1> and on *nix nothing would be in /dev/null <1> :) <0> obviously <0> so does php not include these dlls by defualt/ <1> doesnt windows have some kind of search thing with a dog that looks for files, ask it <0> lolk <6> my crontab was in the tmp folder <0> lol <6> can see in ftp tho ... only in shell <6> can't see in ftp* <0> i found a cellphone in /usr/local <0> :P <0> omgosh the dog is reading! <0> lazy winbum.. <0> eww it has kankles.. <0> no such file php_mysql.dll where cna i get it? <6> acutally i can't see the file in shell while browsing the /tmp folder .... only when i do crontab -e it appears there <1> surffy: why dont you use that appserv and jus not use the apache it installs? <3> zon3d: huh? <6> so where is the crontab file really situated? <6> when i type crontab -e in shell ... where is it retriving the file from? <5> ok, i found the object but i can't access it, how can i do something like var_dump on an object? <3> Azhi_Dahaka: what version of php? <5> hmm... 4 <1> zon3d: in /var/spool/cron/crontabs I think, depends on the system configuration Im sure <3> zon3d: what are you wanting with the 'something like var_dump'? <6> but that means i can't edit it in php then can i? <1> zon3d: use system to call crontab -u <username> cronFile <6> zircu: i didn't say that <7> I was defined 'sendmail_from' for any email account. but when I try to send mail with mail() it is sended "From" www-data@localhost.localdomain. Why? I'm using linux and postfix. <6> errr: ahh thank you <6> errr: so system("crontab -u <username> cronFile") will retrieve the file .... then how do i edit it <3> zon3d: hmm.. my a and z keys are too close together <3> Azhi_Dahaka: what are you wanting with the 'something like var_dump'? <1> zon3d: it wont edit it, it will run it, or load it.. I dont remember, have a look at man crontab <6> then how would i edit it? <5> i found an object that contains the info that i need, using get_defined_vars <1> zon3d: Each user can have their own crontab, and though these are files in /var, they are not intended to be edited directly.. <5> but, i can use just that object on the variable... <5> i can't <8> guys how can I convert a html-specialchar into a unicode charachter? (such as ö ? ) <6> couldn't i just do system("crontab -e"); ?? <3> tokyoahead: php.net/html_entity_decode <1> zon3d: never mind, it looks like to use crontab -u you have to have root <8> zircu: thanks! <1> zon3d: no, how would you edit it?? <3> Azhi_Dahaka: you loose me every other statement you make <6> errr: i don't know <5> ok... i will explain slowly <5> i did a get_defined_vars <5> i found the info that i needed <5> using this: <3> Azhi_Dahaka: you dont need to explain it like that <1> zon3d: what you could do is this: crontab -e then setup a cron to run some file, then have your php edit that file I guess.. <5> the info that i found was on an object
<5> like this: <1> zon3d: but thats not really a very good solution <5> http://pastebin.ca/58269 <6> hmm <3> Azhi_Dahaka: and you dont know how to access the contents of that variable? <3> Azhi_Dahaka: http://php.net/oop <9> hey guys, just a quick question: http://rafb.net/paste/results/NHh9OF28.html <10> zircu: Don't ya love it when they listen to what you said the FIRST time? <1> litage: why do you check to see what it returs?? if it returs tru your function would work, if it returned false it would run the else.. I know thats not your question though is it.. <1> returns* <3> litage: that is not not possible.. you want: return preg_match(..)? true: false; <3> Jymmm: heh <7> why my mails by mail() function is sended From: www-data@localhost.localdomain and not mail specified on smtp_from ? <3> backz: you are using the 5th param to mail()? <9> thanks zircu <9> errr: that's true <3> backz: if so, you either have safemode on or your mta doesn't allow for that option by that user <7> zircu, no! without headers, safemode is off. <10> zircu: Now you have an idea why I'm such an ***hole... I hate repeating myself. <3> Jymmm: what was that? i missed it :) <1> heh <10> zircu: Just **** in general in here... someone asks a question, you give an answer and they dont even hear the ****. <3> backz: no, not headers, the 5th param to mail() <3> backz: or the sendmail_from param in php.ini is set that way <3> Jymmm: your slow tonite, you missed why i said that <7> zircu, yes, sendmail_from is set with ini_set() <3> backz: then it most likely is due to your mta <10> zircu: LOL... ****er! <3> not allowing you to set it <5> thx <5> found ir <11> wtf <11> can this warning be any more cryptive: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/dnminves/public_html/mtl1/firstfinancialservices/index.php:2) in /home/dnminves/public_html/mtl1/firstfinancialservices/application.php on line 4 <3> hacked`: scroll up.. i explained it to you about two hours ago <10> !+headers <12> If you are getting error like "Warning: Cannot modify header information - headers already sent by (output started at /path/file.php:1)" it means you've got some output before your header() call or starting a session. *No* output can be sent. that includes whitespace (outside of <?php and ?>) and any (X)HTML. You can also use output buffering <11> zircu, it didnt make sense <3> hacked`: and if you were watching you might have notice the person right after you have the same problem and it was solved <11> zircu, i dont even know which file has the error, the warning mentions 2 files <9> how do you determine which character set to use with htmlentities() ? i'm unsure as to whether i should use the default (ISO-8859-1) or UTF-8 <3> hacked`: you have headers already sent (started at index.php:2) on application.php:4 <7> zircu, can u help-me with it? I'm using postfix <3> hacked`: that means.. index.php line 2 is causing your your headers being sent <3> backz: hmm.. not really, mail ****s ***... i can't get into that headache tonite <7> zircu, np! <11> zircu, my index.php line 2 is <? require('application.php'); <3> backz: although from what I know, unless they started recently, they aren't one of them to prevent the untrusted envolope settings <3> hacked`: what is on line 1? <11> <html> <3> hacked`: put <?php require('application.php');?> on line 1 <3> covered by my hands <11> yeah but now it says: Warning: Cannot modify header information - headers already sent by (output started at /home/dnminves/public_html/mtl1/firstfinancialservices/inc/agent.inc.php:412) in /home/dnminves/public_html/mtl1/firstfinancialservices/index.php on line 7 <10> !+headers <12> If you are getting error like "Warning: Cannot modify header information - headers already sent by (output started at /path/file.php:1)" it means you've got some output before your header() call or starting a session. *No* output can be sent. that includes whitespace (outside of <?php and ?>) and any (X)HTML. You can also use output buffering <10> zircu see what I mean? <1> :) <3> hacked`: you have to trace it down like php-bot says and how we walked throught it <10> lig lol <13> zircu: Woot! <11> why cant i just ignore warnings and cover the problem <3> hacked`: warnings are there for a reason <5> is there a way to p*** parameters via POST to a script, but coming from a link? <13> zircu - hey baby - want to come out and play ;) <14> Azhi_Dahaka: javascript <3> you can't send content to the browser then go oh wait.. i want to send you a cookie to keep track of the session <10> lig go for it sweety! <14> lig: working hard again, huh ? :) <5> hmmm... that was what i feared... <13> Meltir: absolutely - actually I managed to get quite a bit done this morning <3> yeah, lack of internet usually does that to one.. makes you productive
Return to
#php or Go to some related
logs:
why does ps2 mouse lag on gentoo gentoo syntax error near unexpected token dhcp win4linpro ubuntu wusb11 suse 10.1 gentoo undefined device referenced by screen xvinfo hang #php #linuxhelp fCKeditor get value javascript ifp gnome t30
|
|