| |
| |
| |
|
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
Comments:
<0> I have a problem with sleep, at the end of my script, I have a sleep function waiting 10 sec, and then perform a function <1> ok <0> but way before that part, theres a script that is using fp***thru to deliver and output a content to prompt for user download/save <1> ok <0> and well, when the download box appears, i click to open or save, and it waits ten seconds, and then sends it, its doing the sleep there <0> and the sleep was supposed to be after thats done <0> ive tried ob_flush() and flush(); <1> wheres it supposed to happen after? <2> hi <2> how do i read a specific line out of text file in php? <0> well its usually if() { do checks, run fp***thru() } then another condition at the bottom after that <0> with the sleep() <0> but its waiting ten seconds to start the actual downloading of the content <0> but the prompt to save/open appears instantly though <3> !+enter <4> Don't use the enter key as puncuation. Think in complete thoughts, then type.
<1> so the prompt shows up immediatly, then download pauses 10 seconds <1> thanks, storm <3> woof <5> is there such thing as an application variable in php? <0> itrebal: yes <1> you're gunna have to pastebin some code <1> however, dont limit it to me <0> i hit save ad it says "starting..." like starting the download for 10 seconds <0> haha <0> alright <0> gime one sec. <0> its fairly heave on nline count <0> but its simple <6> This is a really deep stab in the dark, but in IE if you goto http://www.seocashcow.com/support/ click on the second question, and then reload the page you get a apache 404... in Mozilla that doesn't happen, so I dont know if its a php error or just IE being stupidf <1> "(05:19:51 PM) php-bot: Don't use the enter key as puncuation. Think in complete thoughts, then type." <3> beerdeliveryguy: again: Please don't abuse enter key <7> JernejL: look at file() for small files, or fopen()/fgets()... <2> ok thanks! <0> itrebal: http://pastebin.com/629826 <0> in switch($type_id), case 15, is the one sending the content, the other cases are for other content types, working with 15 (images) now <3> ew. scite. Looks like gedit :/ <8> Stormchaser: gedit is actually getting better now :P <1> "fclose($fplog****);" nice variable naming <9> what can be a reason for not having anything in $_FILES except file name ? <0> hehe, thanks <10> lig <---- slut <3> kuja: Haven't noticed. Pretty much same crap as it was before. <0> I was frustrated at the moment, sometimes I curse out my boss in commentation like "//here you go you f^&%&^n fag" <8> Stormchaser: Haven't tried 2.14? :( <0> he cant read that crap anyway so it's ok. :P <3> kuja: Same crap with syntax HL. <8> Stormchaser: gedit's had syntax highlighting for a long time, just that 2.14 now has a buffer list :P <8> scite ain't got one =P <11> Jymmm: sluts mess with anyone - I am a bit more discriminating then that... ;) <3> kuja: *shrug* <8> Stormchaser: It also has a python console <10> lig lol <1> beerdeliveryguy: sleep(10);, do_write($datsend);, do_post("us", "yes");, do those not send the file? <0> btw, that is a script that handles sending of content through our website that offers ringtones and cellphone content via SMS/WAP <3> kuja: I don't *need* one. I have python console :P <10> lig you've fooled around with me and Stormchaser... that's not saying much. <1> haha, i dont even have jedit, gedit, or kwrite installed <8> Stormchaser: gedit's uses gedit, `import gedit' :) <8> So you could fiddle with the UI. <8> itrebal: gedit or kwrite you can get from your package manager, jedit you most likely have to manually get. <3> kuja: ew. <7> i love jedit, wish it was a little faster though <1> kuja: i dont want them.... i like my emacs <8> philip: I think it's pretty fast, on my p3 500 :) <8> I just wish it had a GTK/GNOME interface <11> Jymmm: and zircu... ;) <1> gotta go! cya <10> lig: zircu?! Well, I'll never touch you again! <11> hehe - Jymmm is that supposed to be a threat... ;)
<0> fudge <12> can someone help me I have a strange problem with php5.0.3 I have some code which was running on a php4.x system before, now I moved it to another system with php5.0.3 running. I've changed the db configuration but now when I try to click on some links generated from the php code it does nothing. This is the code part which is not working correctly:http://rafb.net/paste/results/ZRa8vs28.html... <12> ...and http://rafb.net/paste/results/F4wANP41.html the database configuration is working cause the lists calling this script is displayed before <10> \ignore lig <12> could it be some syntax problem, in some way?! <13> Hmm... <10> =) <13> selim: You don't get any output at all? <12> BigE: no cause warning messages seems to be deactivated on this server system <14> I'm using curl to execute a perl script, It comes up with 0 errors, but the file isnt executing? <14> - <12> BigE: and I have no php system to test right now, cause it must be running as fast as possible <13> selim: Make sure error_reporting is set to E_ALL and display_errors is set to 1 <7> a lot of people have display_errors off these days <15> Which isn't a bad thing <7> sure makes helping in #php more difficult <12> BigE: that's the problem I can't change anything in this system <15> When it combines with no access to the server logs, well <7> usually the case <16> Dragnslcr: did you leave efnet? <15> Yup <12> BigE: I only have ftp access and nothing more <17> I have 2 servers...both have PHP 5.0.4. On one, highlight_string($var, true) returns a string with no line feeds. The other HAS line feeds. Any idea why that would be? <16> Dragnslcr: why? <13> selim: Can you check with a phpinfo() page? <12> BigE: yes <15> subsonic- got sick of channel politics <16> Dragnslcr: yeah, that happens <12> BigE: display errors is set to "off" <13> selim: Okay... do you know if you're allowed to have .htaccess files? <18> selim: put ini_set('display_errors', 1) at the begining of the script <13> Yeah, you can do that too... you just have to make sure that you add that before anything... above all the HTML too. <7> also before any parse error... ;) <13> Heh, exactly. <7> well, if you know what i mean... ;-) <18> hence 'begining' of script :P <19> You know what I hate? <19> Php. <18> and I hate you <12> BigE: ok I'll try that <7> well, the entire script cannot have any parse errors <18> so we have nothing in common <20> It's the circle of hate :) <7> do that code will do nothing with display_errors if a parse error exists, just a blank page <18> true <13> subsonic: So um... can you use .htaccess files? heh. <18> I am not aware of anything that is okay parser wise in php4 that isn't in php5 though <15> You can download the Windows version of PHP (***uming you write code on Win) to do syntax checking before you upload scripts <7> good point, just wanting selim to be aware <7> did the php.ini-dist with php5 get changed to display_errors off, or, are people using php.ini-recommended more and more these days... i'm a little out of the loop <7> but last time i was here much this was much less of an issue (it being off) <12> BigE: it's not working <18> it's on in ini-dist <21> anyone know how to get around this? <21> URL file-access is disabled in the server <21> i am getting that error on my new server <21> how do i enable it?> <12> BigE: I've set <?php ini_set('display_errors', 1); ?> infront of every php file <7> selim: find the code you changed, be sure no parse error was created <13> selim: Okay... but that won't work if you have a parse error. Can you use .htaccess files? <7> [sellout]: a php.ini setting with the name fopen in it <7> i forget its exact name <18> allow_url_fopen? <7> yeah, that's it :) <12> BigE: have to try that, what config do I need? <21> allow_url_fopen <21> ok i changes it <21> what service do i need to restart <21> apache? <13> selim: php_flag display_errors 1 <17> I have 2 servers...both have PHP 5.0.4. On one, highlight_string($var, true) returns a string with no line feeds. The other HAS line feeds. Any idea why that would be? On both servers I first echo htmlentities($var) and it displays on multiple lines.
Return to
#php or Go to some related
logs:
fluxbox menu shortcuts fail to initialize ASIC in the kernel python-curses suse 10 rpm #openzaurus #iptables css rounded tops #kde k3b dead beeplogic
cron zenity root ubuntu
|
|