@# 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



Comments:

<0> If your configuration / build process complains about missing headers and / or missing .a , means you don't have -dev or -devel packages installed, or they are in the place, that PHP can't reach... If you are using package manager RPM, apt,..., then you're probably missing some -devel packages that are ***ociated with the error...
<1> i knew that....thanx
<2> what's the best way to quickly do AJAX in php?
<3> by writing it
<2> itrebal: do you use any libs to help you out?
<3> nope
<2> do you know of any good ones?
<4> trogdoraoeu: Look at CPAINT. Google for it, and carry the rest of the questions to #javascript.
<2> I found this php ajax framework: http://www.litfuel.net/mybic/
<2> apparently no one here has used it
<4> trogdoraoeu: Who cares.
<2> itrebal: do you find by writing it yourself that it's hard to support multiple browsers?
<4> wth? trogdoraoeu: This is a PHP channel, not JAVASCRIPT one.
<2> Stormchaser: which is why I'm asking about PHP ajax frameworks
<3> i dont use ajax
<4> trogdoraoeu: XMLHttpRequest has NOTHING to do with PHP. It's javascript thing. Ask elsewhere.



<2> in the Java world, there are several Java-specific AJAX frameworks
<3> Stormchaser: damn, you were right about that chocolate thing
<2> I ***umed this was the case with PHP
<4> trogdoraoeu: Java has NOTHING to do with XMLHttpRequest. None.
<4> itrebal: Chocolate always works for me. It contains similar compounds like coffee does. Not same, but similar. And it's actually good :)
<3> yea :)
<3> it worked wonders on me...
<4> http://www.squirrelsushi.com <-- cool comic :)
<3> sounds like it
<3> haha
<5> I hate AJAX.
<4> Me too... Who the HELL want to use cleaning liquid with programming languageses?
<6> Can someone show me where I'm going wrong? http://pastebin.com/634632
<3> Stormchaser: i know, right!?
<4> scratch that last 'es'
<3> lol
<4> itrebal: hehe
<6> When I load up the normal page, index.php, I see the "index.htm" page appear when it should, but when I start clicking links to add to it, e.g. ?index, I get my "page not found" error which I defined (pages/not-found.htm)
<6> P.S. Yes, all the files exist with the correct names/extensions.
<4> Petecakes: $file = 'pages/'.$str.'.htm'; <-- very Very VERY bad practice...
<6> Stormchaser, what do you recommend I use instead?
<4> Petecakes: Make an array of the allowed files and check against them... Every other request should be invalid.,
<5> At least it's better than include( $_GET[ 'str' ] ); :)
<7> hi
<6> Stormchaser; thanks, I'll try that.
<7> how can i make php return me a different name and content type on access of cgi scrip?
<8> hello all, is it right that microsoft have just bought Zend platform for 113 Million US$ ?
<7> say i access test.php and browser will ask to download say foobar.txt
<4> loca|host: yep
<7> that'd be generated by the test.php
<4> loca|host: In PHP6 there are going to implement much of .NET platform.
<8> Stormchaser, do u see the strategic issue ? Zend = PHP right ? so PHP may change its licence
<4> !+typing english
<0> ##PHP does not allow aolbonics (or leetspeak) such as "u for you, r for are, ic for i see -- etc" and typing like this will result in you being silenced; furthermore, inability to adapt may result in a ban.
<4> loca|host: I see nothing wrong with that...
<8> ok
<5> System.String.OddlyNamedStringFunctions.str_replace
<8> Stormchaser, a proprietary licence
<3> holy **** i wrote a lot of SQL in this...
<8> we shoudl forget PHP as an open source language ?
<5> yes
<5> Make the switch to Perl.
<4> loca|host: Yes, and? Is there anyway you can stop this? PHP has gon Microsoft. Deal with it.
<4> Fu Perl. Python XD
<5> Python is for children. Real men use Perl.
<8> let's see ruby on rails ;)
<3> Viflux: bah! perl is for pansy men, real men go binary all the way
<4> Viflux: No, real men use LOGO
<8> it's not good for the community
<9> Didn't you hear? The Rubies on the rails got crushed by a train.
<4> lol
<8> thousands of people developing php and they got it now at entreprise level, and zend sell it ?
<3> yup
<3> a path for one of the functions was rejected because it's already moving over
<4> loca|host: It seems like a pretty goot buissnes move. Many companies do that.
<5> That's what open source is all about. Create a successfuly project, build it up, ?, profit!
<3> (that i wrote)
<4> (and yes, I know business is spelt wrong)
<8> Viflux, i dont think that, it's depending on the intentions
<8> some people develop for fun, some others for $$



<4> loca|host: And your point is...?
<10> grr I got the april joke :-/
<8> i think php is gonna loose some open source gurus
<10> took me 4 hours
<4> Vecnah: *stab*
<3> loca|host: absolutely it will
<11> what's a common field size for an e-mail address?
<11> (in a sql db)
<4> o.O
<4> email?
<3> jroes: about 3,000,000,000,000,000 characters
<8> like redhat did when switched to commercial, debian and others growed up
<4> yay for Deb! :)
<3> hoo rah!
<8> yeah ;)
<8> that's a good based project
<11> zendnode
<8> i dont think that it's gonna switch to proprietary a day
<3> uggh i just rewrote about 1000 lines of SQL, i'm about 1/2 done
<9> That's always fun, itrebal
<3> crrj: ooh yea
<5> itrebal: I had to do that this week....1500 lines of weirdly used cursors and tables named 'a','b', etc
<3> Viflux: O.o
<12> i guys i have a little question... a thing i don't really like of php... is that there is too much ways to get to the same point... is there any standard or something i can consult... like right now i was looking for how to check if 1 row exist in a mysql table... i found around 10 ways to do it...
<13> the fastest way is the standard staz
<13> i would think the fastest way is a query, possibly with a mysql_num_rows if you really need to
<14> some people consider multiple ways to do something a strength
<14> flexibility can be great
<12> ph8 yeah that's what i thought
<13> i use a database cl***
<15> copy($_FILES['image']['tmp_name'], "/home/codeyiel/public_html/the****heap/phoneimages/".$_FILES['imagefile']['name']); <-- why does this line generate this warning
<13> a custom query function returns false if there are no rows
<16> I have enabled register_globals in my php.ini file, however, my test.php still claims register_globals is Off.
<13> OOP is the way to go
<15> Warning: copy(/home/codeyiel/public_html/the****heap/phoneimages/): failed to open stream: Is a directory in /home/codeyiel/public_html/the****heap/insert.php on line 57
<15> Put up!
<13> calarndt: Don't enable register_globals
<16> oscommerce requires it on
<16> ph8 oscommerce requires it on
<12> ph8 i aldready saw an whole site with objects, objects, objects, objects... to me it really looked like overprocessing i must admit...
<5> calarndt: Did you remember to restart Apache?
<16> ph8, how do I get around that?
<13> it should be saving time staz
<13> calarndt: if you're only running oscommerce that's fine
<13> if you're running lots of sites, try to limit people's exposure to reg_globals
<17> Yup, yesterday I read about a post that said oscommerce needed register_globals on
<13> use a .htaccess file to enable it for the os_commerce site only
<17> :(
<17> bas move
<13> or a directive in httpd.conf
<17> bad*
<5> StaZ[home]: Those objects are probably used for *other* database access.
<17> but you can enable it for vhost...
<13> i think you can put <Location /> php_admin_value register_globals on</Location> in a .htaccess
<5> StaZ[home]: So it just becomes handy to use them to do what you're asking.
<13> i would only enable it on a vhost by vhost basis
<13> it's evil
<12> Viflux yeah i guess... some personnal functions libraries
<17> it's evil, yes... watch out for that site
<16> good answers thanks
<5> heh
<5> register_globals is dangerous, not evil :d
<17> I think it was coded by satan himself... always making things look helpful, but then KABOOM!
<5> If PHP wasn't so widely adopted by newbies, register_globals wouldn't have such a bad rep.
<17> If has inherent drawbacks
<17> not just for newbies
<18> i just found out php-cgi.. does this mean php *can* be runned from every httpd supporting cgi scripting?
<17> It*
<4> Viflux: register_globals *CAN* be dangerous, but it's usually not...
<5> Stormchaser: That's what I was getting at. People see it and say "OMG REGISTEGLOBALS EVIL!!!11"
<17> And it is
<4> Viflux: Indeed so.
<4> dan__t: how?


Name:

Comments:

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






Return to #php
or
Go to some related logs:

workspaces only ubuntu
#perl
PreBot-PHP
php check for divisibility by 5
gentoo vncserver: couldn't find xauth on your PATH.
update-rc.d -f gdm remove
#suse
xorg.conf resolution frequency
#perl
bbp python



Home  |  disclaimer  |  contact  |  submit quotes