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



Comments:

<0> xml is easy
<1> i looked at lots of browser scripts and i don't like any
<1> i want a very simple one made by me
<0> I would see if you can convert those records to xml
<2> XML the foundation of most file formats (now)
<2> ZEUGMA, this "simple" one is too complicated for you, by the sounds of things
<3> right. i mean XML just describes data... an XML file is only as retarded as the person who designed it.
<1> well, what simple premade script do you recommend me to look?
<0> I want to learn how to make dynamic xml
<2> simplexml for php ?
<0> sos I don't have to make xml files all the time they would just generate themeselves
<2> xml itself cant do smit, you always need a parser
<2> and you just make a daemon, or somet to write the xml files on the fly with simplexml or just xml (simplexml and xml, are php modules)
<0> never used it
<0> have to check it out
<4> How can i have a function return its own name from within a function?



<5> function foo() { return "foo"; }
<5> For a more sophisticated approach, use reflection.
<6> guys, how can i check if a row exists in a mysql table that has value "gay" in column "name"
<5> hacked``: See #mysql
<2> %gay%
<4> kamoricks: ty :)
<7> this is very weird.. if i run php -f test.php from cmd line, it connects to mysql and outputs results but if i run exactly the same script in the browser, it says it cant connect to the mysql.sock file.. any ideas?
<2> someone_, your server is fcked,
<8> yep
<8> probably
<7> its a fresh install... pretty much
<2> /etc/init.d/mysql restart
<6> kamoricks, this is a php question, not mysql
<7> yeah already restarted and all that crap
<2> hacked``, no thats a mysql question
<1> Keloran: what simple premade script do you recommend me to look?
<6> im not asking for the query, im asking for the results
<2> ZEUGMA, i dont use premade anything
<2> hacked``, you would do it in the mysql query, not after the result
<0> restart your server
<7> tried that too
<2> cause you would be pulling ALOT of data, only for the server then to parse each of those results
<0> someone what editor are you using ?
<2> someone_, you need to recompile php, jag
<2> *jag = just a guess
<1> can't you show me how to make this that you find simple but it's complicated for me?
<0> that ****s
<1> i don't like premade scripts also
<1> http://pasteme.com/p.php?id=33
<1> this is what i have
<1> and i want to enter dirs and download
<2> php only takes about 1h on a 1ghz/512mb machine, so wont take too long
<0> zeugma rule of thumb if you can't understand the script your not ready for that programming level yet
<2> ZEUGMA, it would be "simplier" to get a premade
<0> find a script that you can understand and work up from there
<7> Keloran: nah its not as simple as that.. we have an image thats the same across all our servers, this is no different
<2> someone_, does the script work on any of the other servers ??
<7> Keloran: yeah, works fine. I just can't work it out, it must be apaching blocking access to that file I would think
<0> is ti ghost with norton ?
<0> could be a bad image it happends sometime
<2> i love NAS prefer them to any norton rubbish
<1> i understand what foreach does
<1> what i don't understand is what kind of links i should insert
<9> hehe
<1> i don't want a premade script
<9> Ghost is rather good, not symantec product per se, they bought it from ghostsoft
<0> zeugma you need to read
<0> bro
<0> don't dive in and think your going to tackle a script we know nothing about
<0> you know nohing about
<0> stupid vnc lag time
<0> images have alot of problems with vmware versions
<0> which needs to be fixed imop
<10> what is the diff between === and == ?
<9> specificity
<7> checks to make sure the variable type is the same... "1" is different to 1
<7> as well as the value
<11> !tell threat about ===
<10> TML, thanx
<10> !tell me about strpos
<11> threat: php.net/strpos



<12> !tell me about life, the universe, and everything
<12> damn
<13> 42
<12> oh, much better
<11> numist: Once upon a time, that was the sequence to make the bot reboot
<10> numist, lol
<12> hahaha it was?
<10> yes 42
<12> rawk
<10> :)
<8> 42!!!
<8> That's the answer
<14> hola
<10> I like the TV eps better then the movie :)
<8> hey l008com
<14> hi
<8> post your php code to pastebin or other similar tool
<10> l008com, do you like the TV eps better then the movie too?
<13> nah nah.... Red Dwarf for teh win
<8> Pollita: remembers me about "Polla"
<11> Pollita: I was just watching that
<10> heh yeah Red Dwarf was great, expecially when that chick got speared in the leg by that dood
<11> Pollita: The one where Kryton's head shorted out?
<14> http://www.whatsmyip.org/3866
<10> TML, Kryton? are we talking about Farscape now?
<15> Red Dwarf
<8> l008com: take a look: http://www.whatsmyip.org/3867
<10> ok
<8> l008com: it's not complete though
<16> red Dward??
<8> l008com: wiat just a few seconds
<10> ok so === is a stricter compariter then ==
<10> great
<8> and I'll show you how helpful can I be in any channel
<8> l008com: there: http://www.whatsmyip.org/3868
<14> whoa
<14> ok whats with the five \'s ?
<8> heh
<7> when mysql_connect() is called, is it still Apache's responsibility to restrict file access to certain files on the file system that mysql_connect() tries to access?
<8> in PHP, even being a PCRE the code for subpatterns is \number, not $number as in Perl
<14> according to the manual, its both
<8> the five '\' is the way to escape-escape-escape-so it will work
<11> ZaphodBeeblebrox: $1 works
<8> ok then
<8> my bad
<8> whatever
<8> l008com: you got your help
<14> wait
<11> l008com: What was the question?
<14> it seems to be working, except the strtoupper("$2") in the replace seems to be returning a lowercase anyway
<14> TML i'm tryign to make a function that capitalizes the first letter of every sentence
<5> Why "$2"?
<14> using this http://www.whatsmyip.org/3869
<5> Oh. Yeah. String.
<15> enough already
<14> say what?
<17> i do not accept your apology
<11> l008com: You'd have to use the e modifier to do what you're trying to do
<11> Or use preg_replace_callback
<14> wow it actually works now
<14> eep
<14> thanks
<14> and if anyone cares enough to see the fruits of my labor
<14> http://www.whatsmyip.org/changecase/
<14> its nothing all that special
<14> but it was fun to make (until i got to the regexp part)
<6> guys
<6> you know when im doing: $sql = "select routingid from p1_routing where bankroutingnum='" . $routingnum . "' limit 1";$result = mysql_query($sql);
<6> how can i make an if statement for when there is no results returned
<11> hacked``: Which part do you not know how to do? How to make an if statement, or how to see the number of items in the results?
<14> if (!mysql_num_rows($result))
<6> #2 sit


Name:

Comments:

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






Return to #php
or
Go to some related logs:

yum hanging on Setting up Package Sacks
#math
#mysql
python kill subprocess Popen
libdvdcss.deb
iptables ip rate limits
ubuntu sharevts
sudousers examples
plink svn hang windows
#perl



Home  |  disclaimer  |  contact  |  submit quotes