| |
| |
| |
|
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
Comments:
<0> Jerryrozz: unset <1> aidan, you started to scare me there! do u suggest an alternative, that i might be able to use? <2> oke thanks <0> isset? <3> Vyker: in the HTML use [] for question, so question[] <1> aidan, i have <4> Vyker: Yum. a killer loop <3> Vyker: then foreach ($_POST['question'] as $q) { <1> but i have more then one question[], ive named question1[] question2[] and so on <5> Vyker: Take a look at the free IDE PhpDesigner, from Denmark. Quite clean, and I guess it's Windows-only. http://www.mpsoftware.dk/ <4> Vyker: WHY? <1> olleolleolle ive tried that one, but not fully, does it debug for you? <3> Vyker: right, don't do that. do question[1][] question[2][] <6> Do you know any site to learn how load and print an UTF-8 xml file? <5> Vyker: Aah, debugging, too. <1> Stormchaser, as the questions are done dynamcially, and could have up2 50 questions.
<3> Patric: echo file_get_contents($file); <6> aidan the result is ????????????'' <1> aidan, would that create an array in an array ? <7> hello <0> Hi :D <3> Patric: header('content-type: application/xml charset="utf-8"); <3> Patric: or whatever the valid header string is <5> Patric: Perhaps you should check you the utf8_decode() <3> Vyker: right <4> Vyker: Why don't you use the question[]? I mean, as that is array it is perfectly capable of holding morwe than 50 entries <7> i'm trying to write a newline into a file with fwrite, but it just writes '\n' literally. what am i doing wrong? <7> ohh <3> Stormchaser: it's a select, I think you need to use [] to get the values <7> wrong kind of quotes probbaly? <8> hi all <4> aidan: Oh, my bad... Yes, you need that to select multiple entries :) <6> I have to print the xml content in html, utf8_decode() still print ??????? <8> whats the easiest to setup php wiki? <1> Stormchaser, but i want to be able to selcet the results of the qesutions individially, if i use question[] then all my answers will be in one array, and if they chose more then one acnswer, then ive lost count as to which asnwer is for which qesution, i hope that makes sense <3> question[1][] Vyker <6> may I have to change someething in php.ini <3> then foreach($_POST['question'] as $question) { <0> fires: I would need to see some code inorder to help. I'm thinking maybe you need to excape something but I'm just guessing. <3> Patric: no, you don't need to utf8_decode, just print it. <7> the line of code in question is: fwrite($handle, $company."\n"); <1> aidan, has what i have done, really bad? do u suggest i make the change? <3> Vyker: yes, make the change, what you have done is ****ing horrible :) <1> Stormchaser ? <7> it writes \n to the file literally, not exactly what i was intending <4> aidan: Not to mention he entagled himself into killer loop <4> !tell Vyker about typing english <3> fires: yes double quotes <0> bah, client broke. <7> aidan, but it is double quotes in that line <4> Vyker: I am bad at repeating. So next time there won't be any. <7> and it still doesnt work <0> fires: the double quotes I think is your prob use single <7> single quotes dont work either, unfortunately <1> Stormchaser, harsh, i didnt notice the php-bot messaging me, i didnt know what you wanted me to change! sorry <3> arcannon: !?! <6> echo utf8_decode(file_get_contents($file)) = ????????? <3> Patric: NO YOU DON'T NEED TO DECODE IT JUST ECHO IT. <9> hey people <9> my server has PHP Version 4.4.2 running - somehow, some minutes ago, all output buffer functions (ob_start, ob_get_clean....) result in a script hang <9> what may that be?= <4> Vyker: mkay. <3> fires: fwrite($handle, $company."\n"); WILL write the newline <9> and session_start() does the same, too <3> fires: if you see the \n it's coming from somewhere else <1> Stormchaser, shouldnt that be "ok" ? <7> hmm <1> pratice what you preach ;) <3> Vyker: haha <10> does anyone know of one of those windows WAMP packages? friend of mine wants to start with PHP but has no linux server. <3> Stormchaser: he did kinda own you a little bit then :P <3> (just a little) <11> _hannes: Check the apache logs, are any of your apache processes segfaulting? <12> _hannes: did you change any permissions recently? <4> Vyker: "mkay" is a mixture between "hmm" and "okay"...
<1> aidan, i dont mean to "own" him, as i already have respect for him and others here! <9> no i didnt <9> checking apache logs now <3> Vyker: it was a nice own <3> Vyker: anyway, less talk, go fix your script <1> Stormchaser, in which case, mkay <1> aidan, im on it! and thank you for pionting it out! <7> aidan, using that exact line it is still all on one line with \n <7> http://coderpillar.com/driverguide/companylist.txt <7> that is the output <7> oh waiiiiit <8> whats the easiest to setup php wiki? <7> DAMNIT <7> i was writing the changes to the wrong copy of the file :-/ <12> doh! hehe <9> no Jonnay, CT: none of my apache processes are segfaulting, i didnt change permissions recently <9> i had the session_start() bug before, with an older beta of PHP4 - it was documented and to be fixed in newest PHP4 release. somehow the bug still appears <12> _hannes: anything in your error_log? <11> _hannes: are you sure that it isn't just an errant loop somewhere? are you running anything like MMCache, EAccelerator or APC? <4> mansu: With reading the insallation manuals <4> *installation <9> Jonnay no, its not an errant loop - its inside a foreach loop and it "works" when i comment all ob_ functions. im not using anything accelerating <9> no CT, nothing in error.log except of some not found images <3> fires: man that is frustrating :) <7> you bet it is <7> anyone know what that constant to find the url of the executing script? <13> what is php nuke <4> something you don't want to use <4> !+nuke <14> Nuke: Just Say No, See http://img.voidofmind.com/?d=funny&x=phpnuke7.jpg for what the author of phpnuke has to say about version 7! We don't support PHP-Nuke here. Please contact the PHP-Nuke support team. <15> new versions are also commercial... <13> what about post nuke <4> same POS <13> well of those 2 wich is better <16> #3 <4> mrrcparish: Probably Mambo or Drupal <13> not a option for this script someone bought <4> mrrcparish: #4: Change job. <13> what ever <13> smart *** <12> _hannes: do you have error reporting turned on? also, whats your max execution time set for? maybe it is a infinite loop like somebody else said <4> He has probably less than no idea, what he got himself into... <15> Stormchaser: just think what he could do if only he had GOTO! <12> his boss might've said.. go find out which one is better php nuke or post nuke.. <4> Kog: haha! :) <17> $num='11'; echo $num[0]+$num[1]; //Why is this blank? <12> that should be 2 <12> not blank <4> works fine here <17> hmm <16> its 2 here as well <18> hi ppl <7> does anyone know how to find your scripts URL? <18> ppl <18> help me plz <19> fires: $_SERVER['SCRIPT_NAME'] ; ? <7> malmen, english plz. <4> again? Whgat is it this time? <15> fires: go look at predefined vars <20> !tell malmen about aolbonics <18> i have problems on try add html headers to mail() <0> malmen: tell me what is wrong first ... <21> fires: or $_SERVER['REQUEST_URI'] <18> look that <18> http://pastebin.com/556844 <12> try this: echo $_SERVER['SCRIPT_URI']; <21> fires: have a look at phpinfo(); <19> uri/name .. <15> Stormchaser: why is it that 99% of people just can't seem to figure out to read the manual regarding predefined vars <7> alright <19> i keep getting em confused <19> Kog: most people overlook the most obvious of things
Return to
#php or Go to some related
logs:
#perl python libssl fc5 fc4 #web linux +nbd0 #bash gimp bucket fill won't work
#qemu how to install kde desktop in edubntu #ubuntu +apache +how to set up ssl +fedora
|
|