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



Comments:

<0> should I buy a 3Ware hardware RAID-1 card, or just use software
<1> we use 3ware cards in all our servers
<0> shale: do you think it's worth it over the software mirroring?
<2> hmm
<2> I type /j ##php, and I get a message from ChanServe: Hi! We've moved to an "about" channel,... You should join ##php directly from now on.
<0> GarethAdams: yeh, that's normal
<3> That's what it's supposed to do
<4> Hi, anyone know if there are any open source tools to create a PHP form from a MySQL .SQL file?
<5> weird, but normal
<2> heh
<0> BlackShuck: db_dataobject
<4> I want a quick and dirty way to create a page to add DB entries..
<0> BlackShuck: PEAR, pear.php.net
<6> what is the theory behind having every item in a database be an object?
<2> BlackShuck: Ruby on Rails ;)



<0> itrebal: just makes it easy to update things, you update an object, it updates the database
<6> aidan: is it actually effective?
<4> Is PEAR something I need to install on the sever? If so, it's no good, as it's not my server...
<0> I've not used it before, so I shouldn't comment
<0> BlackShuck: nope, pear is just a bunch of scripts, it's probably already on your server
<6> aidan: any examples of it?
<0> itrebal: I'm still looking for a good example, if you find one let me know :P
<6> aidan: will do
<4> hmm, looking at the docs for db_dataobject, it seems to be the wrong thing. " Builds SQL statements based on the objects vars and the builder methods." I want to supply a SQL and it generate a PHP page
<7> how can I delete an elment out of an array? IE array("one", "two", "three"); I want to delete "two" so now the array contains only "one" and "three"
<3> hi, lig! :)
<0> noflux: you can array_flip and unset(array['two'])
<7> I'm trying array_splice($array, $i, 1); where $i is the position of the elmenet I want to delete, but its not working correctly
<0> noflux: or you can array_search and unset
<4> this may do the trick, unless someone knows anything better... http://sourceforge.net/project/showfiles.php?group_id=110745
<7> aidan: if I did unset $array[$key_name]; that would totally remove the element from the array?
<0> yes
<7> its a KEY based array
<7> sweeet thanks
<2> aidan: array_flip isn't a good idea
<2> if 2 elements have the same value
<8> hello people, has anyone ever used docbook ?
<8> I was wondering if there is a php toolbox/cl***/function that will allow me to directly parse Docbook XML.
<9> hello all!
<10> does jpeg need to be enabled in apache as a module or something?
<11> voidy: what is the problem
<9> i'm trying to document my source files with doxygen, it dosen't work
<10> i'm having no luck.. php-gd says it's enabling it ok, and it all says it's ok, but phpinfo() still has no jpeg listed in the gd section
<10> the only instances of 'jpeg' on the phpinfo page are actually in the configure string at the top
<11> voidy: I think I recall gd needing an external library for jpeg support
<11> voidy: let me glance at the gd faq for a second here
<11> voidy: did you compile your own setup?
<11> ... regardless, the gd faq specifies common setup issues: http://www.boutell.com/gd/faq.html
<9> ok, someone knows an irc channel for doxygen?
<12> hi plz what's the syntax to access an array in a template using an index from a function
<12> using MyArray[ $MyObj->GetIndex ] i get "unidentified token" error
<12> oops, i meant $MyObj->GetIndex()
<0> syl-2: php doesn't support native templates, so I don't know what you are talking about
<13> hi..
<13> when i use a function like " doit($bla); can i get "$bla" variable's name in function ?
<5> no, why do you need to?
<13> i want to debug some lines..
<13> and i want to write a function to show values like
<13> $var=value
<13> otherwise i need to add line like " echo "\$var=".$var."<br>"; "
<13> i want to add this line easier :s
<13> like
<13> s($var)
<14> is there a way to prevent declaring a cl*** twice? something like: if not already declared, include "foo.cl***.php"?
<5> ah, yeah, you'd have to do s('var', $var
<15> kombi__, you can check if a cl*** is defined.
<5> kombi__: include_once
<13> hmm
<5> ALWAYS
<15> cl***_exists()
<13> wow :)
<15> kombi__, you should structure your application so you don't have these problems though.
<14> ||cw - Julian|Work: ;)
<13> i can use cl***_exists too :P
<5> kombi__: alwyas use include_once or require_once unless you know why you are not
<15> ||cw, how do you figure that?



<14> Julian|Work: true, coudn't ommit it here
<5> Julian|Work: it's very rare that someone really wants to include the same file more than once
<5> and when they do have a reason to, well, they can
<14> what's the diff between include and require though?
<15> ||cw, and therefore, they should make sure they don't. Not rely on PHP to fix their laziness with added overhead.
<15> kombi__, the difference is what happens upon failure.
<14> I remember..
<5> kombi__: require throws a fatal error if the files doens't exsist, even if the program logic doesn't use the file that time
<14> require breaks, include not, right?
<15> include() throws an E_WARNING I believe, require() kills the script.
<14> ok..
<5> for instance, if($devmode){ include('debugging.php'); }
<16> Morning... I got a problem with histograms in Excel... anyone with skills or knows where to find someone with the skills?
<15> StarLeaf, what does that have to do with PHP?
<5> if you are not in dev mode, you might not want debugging.php top be ont eh procudtion system, and so log devmode isn't enabled on the server, no problem
<16> Julian|Work: Not much, but there are lots of programmers in here and they IF anyone could possibly know the answer
<5> !tell StarLeaf about g8
<15> Programmers don't necessarily have MS Excel skills.. I'd try somewhere more relevant./
<5> excell is for poeple who are not programmers
<16> The more relevant the channels the more ignored I get...
<5> try ms's news groups
<16> ||cw: I disagree... but then again Universities uses a lot of weird things...
<1> anyone know the correct way to put a javascript <script src=> tag inside a php page?
<14> StarLeaf: nobody ignored you..;) we are just busy with other stuff here
<15> shale, echo
<17> test
<1> Julian|Work.. that isn't working for me... i have echo "<script src=\"DynamicOptionList.js\"></script>"; but it isn't working... any ideas?
<16> kombi_: :) I usually have patience for it... but I haven't the time for it... I got almost 10 hours left until it should be done...
<18> Shale: what is the output of that?
<15> shale, have you viewed the page source that's returned? PHP doesn't treat one string differently from another.
<19> How do i set my p*** and username for phpmyadmin ,I'm trying to view it on localhost as this box will be the server
<14> shale: what does html source look like?
<16> Sorry to go offtopic again, but doesn't ASP use Excel?
<15> Make sure output buffering or hidden errors aren't preventing the string from being echoed.
<1> SunSparc when i view source it just shows <script src="DynamicOptionList.js"></script>
<15> StarLeaf: ask #asp :P
<16> :P
<18> shale: you should try specifing what type of script it is <script type="text/javascript" src="...
<16> It takes to much time to write /join ##asp
<14> shale: problem must be in js then
<20> hello everyone
<19> I'm on a linux box :P
<15> Hey pacopacino
<16> Julian|Work: Now that was a real dead end... :/
<1> SunSparc tried that, no worky
<1> it works fine if i put the src tag in the <head>
<1> but not outside??
<5> dexion: we can't support phpmyadmin, they thier channel
<15> shale, #web or #javascript
<15> shale, once PHP echoes the <script> tag to the browser, it's out of our hands.
<1> roger that, thanks
<15> Yup
<19> ok thanks
<20> i used a php form handler script to authenticate users by comparing a username to a p***word in an mysql table. my question is this: one they have successfully entered in their p***word, and they see the 'congratulations' page, how do i then re-direct them automatically the the content they were orinally looking for?
<17> woot, i've actually for the first time in my life OPTIMIZED code by hand!
<17> and my nose starts to hurt :S
<21> does anyone here use phpmailer
<17> we don't support third party applications
<22> hello folks
<23> Anyone can help me with ereg ?
<23> http://pastebin.com/536121
<5> pacopacino: javascript or a html META-refresh
<22> I am trying to learn the pear DB package could use just a text file documentation where can i get one... i only see the HTML documentation: http://pear.php.net/manual/en/package.database.db.php
<24> JohnnyC: use preg instead.
<8> hello people, has anyone ever used docbook ?
<8> I was wondering if there is a php toolbox/cl***/function that will allow me to directly parse Docbook XML.
<20> ||cw, since i dont know the first thing about java (other than how to use azerues) then i should probably use the meta html refresh.
<23> anyone know how can I get the first ocorrence with a ereg ? http://pastebin.com/536121 ?
<25> I hate ordering stamps
<5> pacopacino: javascript != java. if you are making website you almost have to know javascript
<26> hi all, I can't find any information in the manual about multiple installations of PHP on linux (there is info on that for windows, however)
<26> can someone point me in the right direction ?
<23> kumi|gone: why do you want to install several PHP versions on same machine ?
<8> inquiring minds want to know...


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#mysql
#css
linux eth0 renamed to eth1 debian
GROUP_CONCAT(DISTINCT slow
#perl
grp xorg modular
perl each char scalar
#math
infobash quakenet
#javascript



Home  |  disclaimer  |  contact  |  submit quotes