@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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 32 33 34



Comments:

<0> so... what if I called the page which would send a single blast and at the end of the page build an iframe that called the page again and did the next one
<1> LOL
<2> http://toys.lerdorf.com/archives/38-The-no-framework-PHP-MVC-framework.html
<2> silly
<0> LOL
<3> xareon: you would be better off setting up a cron job to do this
<0> there is a cron job to do it
<0> but the cron job is calling a php script
<0> and the php script has the potential to time out, right?
<0> or is there some way I can turn the time out off
<0> maybe through an .htaccess file?
<3> xareon: to remove timeouts create a php-cli.ini that sets the timeout to unlimited
<4> jfarrell why did you kill me?



<0> that can be done in htaccess right
<0> ?
<1> Jymmm, fit of rage
<1> heredoc parsing apparently has changed from php4 to 5
<3> xareon: that way web apps keep the timeout and scripts via the command line arn't effected by timeouts
<1> or soemthing, a version upgrade should not fix a parse error
<4> jfarrell In the future, could you reverse those till 15 after the hour?
<4> reserve
<1> why
<0> oh
<3> xareon: no, it is just the standard php.ini on the system, but called php-cli.ini
<1> you got some audio notice when you get called?
<4> jfarrell tha'ts their scheduled time
<1> ahh
<4> fits of rage 15 of the hour, bastardism, 20 after the hour, jealous rages 25 after the hour, etc
<5> anyone know a site of a benchmark of php5 vs JSP?
<2> so, anyone going to Agile 2006 this year?
<0> zircu: thx!
<0> YAY XMEN 3 COMES OUT TOMORROW!!!!
<4> jfarrell: Ok... NOW you can have a fit of rage!
<6> davanger, i can save you time tho, JSP is quite a bit slower
<1> im settled, though i do feel another one coming cuase of this software
<7> wish I had friends :\
<6> i just cant find benchmarks to prove it :(
<4> jfarrell: 4m 20s left
<0> LOL
<0> woot
<0> 4:20
<5> cant take your word for it, as I seen old benchmarks php4vsjsp which say the contrarie
<0> uh... I gotta go
<6> really?
<0> yes
<0> ;)
<6> i seen old php4 vs jsp with say php is twice as fast?
<5> i have a preatty crappy server and I have my pages timed and to me I find php5 kinda slow
<5> specially for the small things I have it doing
<6> davanger, http://www.linuxdocs.org/HOWTOs/PHP-HOWTO-13.html tho the whitepapers to that is gone and it's old
<8> do either of these guys hang out on this channel, Pierre-Alain Joye or Alan Knowles
<6> and davanger_ benchmarks are kinda hard to measuer nowadays because of various scripting cache engines, and template engines can boost execution speed over 10x normal
<6> but if you find any updated i'd like to see them too
<5> everything i find is redicules
<5> i found a university term paper where the guy say PHP is faster than JSP and does not even state what ver of server or php he used...
<5> pathetic
<6> everything I found is a bit bias as well
<5> my server is taking 1.8/secs to just load a file and some functions... thats way to slow for some small thing like thtat...
<6> I'd really like to update them myself, but i don't feel qualified for that much, I don't have the equipment either
<6> and i would want to run asp.net 2.0 and coldfusion as well
<9> davanger_: the speed all depends on your server specs, your configuration, and your coding.
<5> dude is just loading info
<6> davanger_, not to mention operating system and filesystem
<5> its not running any loops or accessing dbs, etc
<6> are we talking about php?
<5> yes
<6> on what platform?
<5> slackware 10.2 kernel 2.16
<6> same thing i use
<6> but i never had that issue
<6> kernel 2.6*?
<5> php5.1 apache 1.3.33



<6> any accelerators?
<5> php-5.1.2
<5> no
<6> isn't 2 the real buggy version?
<5> cythrawll: i was getting the same with php4
<10> hi, can someone tell me why people use PEAR for php? can't find any info on why use it, just what it does (same thing as php but with more work)
<11> can anyone think of a nice way to describe bit-wise operators? :)
<6> well davanger_ i can tell you thats not normal
<11> JowWSmith: PEAR is a repository of PHP code to do specific tasks
<6> shouldn't judge php by that book
<9> davanger_: alright, well, i just ran a timer on my script so far, which has a config file, two cl***es being loaded with reading log files and many loops, and it gave out a time of 0.37847
<12> Davey|Mac, What do you mean by describe?
<10> But why use it? like what's the point? just use other peoples code?
<11> lig: explain
<11> JowWSmith: saves time and effort
<5> wait.. i dont know what I did but now Im getting .7-.8
<2> which book?
<6> davanger_, i would look at your server specs and filesystem, and your load
<12> Davey|Mac, I ***ume you mean to someone who doesn't know boolean math?
<13> how can i p*** crypted data in the url
<6> afaik, figure of speech sorry :p
<9> davanger_: actually, after first load, im now getting times of 0.009
<2> PEAR was quite useful when I used to use php ;)
<9> which is less than a hundredth of a second.
<13> base64_encode() insert / and make url parsing mistakes
<2> It'd help me churn apps out quick
<2> the Mail and Mail_Mime packages are handy, but need an overhall
<11> lig: yes
<2> Sadly, I have a pear-dev account but have not committed any of my changes :(
<11> actually, boolean math is a great way to describe it I think :)
<12> Davey|Mac, best way I know
<12> hehe - how I keep it all straight myself
<11> lig: I was tempted to say it was like logic gates, but well, I think thats *the* worst description ever :)
<12> LOL... yeah
<5> ok...
<5> made a mistake
<5> i thought microtime() returned secs
<5> now im getting .07 secs or .7 microsecs
<14> how can i view headers?
<6> jbrimbe like in your browser for troubleshooting, or in you php scripts?
<6> jbrimble, *
<11> i am siting here, typing away with a kitten wallowing in my lap
<11> not the easiest of things to ignore
<12> Life is hell some days Davey|Mac
<11> tell me about it. *sigh*
<15> http://pastebin.com/736349
<6> kitty! >^.^<
<15> can anyone have a look at my script and tell me why it doesn't work?
<6> ZEUGMA, you didn't touch it after our suggestions did you?
<9> davanger_: if you want microtime to return seconds, you want microtime(true)
<5> na rather have microsecs
<9> davanger_: well, it doesn't return microsecs
<5> I wrote this a long time ago and did it running
<15> i didn't touch anything
<9> davanger_: do an echo microtime(); you'll understand it
<5> microtime -- Return current Unix timestamp with microseconds
<9> both are in seconds.
<6> ZEUGMA, i know
<6> :/
<9> it gives you the microseconds
<16> hey Gimp_: i already serched google a few days ago, but dont find an good way to auth users via php+mysql :D i tryed a few ways but not sure wich is the best
<5> thats what im using to measure the page
<6> UnixD4d, you know anything about PEAR?
<2> I'll give you a microsecond alright
<6> UnixD4d, they have an auth module for that, so you don't have to reinvent the wheel
<9> UnixD4d: have a table with usernames / p***words (encrypted) then use a form for them to send, then check what they input against the database.
<16> oh
<16> great
<9> davanger_: heres an output of microtime: 0.02446800 1148528164
<16> will try pear!
<16> Gimp_: yeah, i know.
<9> davanger_: thats in seconds. both. the first part is 0.024468 SECONDS
<9> UnixD4d: ignore his thing about pear
<9> UnixD4d: you learn PHP. then you do what i said.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

gdt in c
#debian
playing h264 on linux performance
#openzaurus
can't mount + resource busy
#fedora
#fedora
can't fight the seather
suse gaim would have blocked
#php



Home  |  disclaimer  |  contact  |  submit quotes