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



Comments:

<0> vb.. pfft
<1> heh
<1> ok im out for a while
<1> worked enough ;)
<1> time to unplug, you guys stay gay
<1> i thought i banned you ;)
<2> http://pastebin.com/525380
<2> can you help a little more?
<2> Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/my714.com/httpdocs/index.php on line 97
<2> Found: Entry(s)
<2> Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/my714.com/httpdocs/index.php on line 105
<2> thats the error
<2> sorry if im bein a bugger
<3> a newbie that doesn't verify error return actually
<4> i would like to create an index.php for checking if the ip or host of the visitor is greek or english to send that user to another url like url/en/ or url/gr/
<4> how can i do that ?



<5> i would like to create an index.php for checking if the ip or host of the visitor is greek or english to send that user to another url like url/en/ or url/gr/
<5> how can i do that ?
<3> use a tool that tell you from where an IP is
<6> olympic_air first of all you need a database with ALL greek and/or english IP's :)
<5> o my god
<5> how can i find one ?
<6> or an engine that will do a whois on the ip and return the country ;)
<5> and is there any tutorial ?
<6> see ripe.net if they offer any api for that
<5> yes, i agree to all of that, but how can i begin to do that ?
<3> archaeus there is already a tool for that in PEAR I think
<5> can someone helps me ?
<7> how do you delete duplicate copies in mysql?
<8> ?
<7> i mean.. identical records.
<8> well
<7> identical records for a certain column for that matter
<8> make a script
<8> is it a big table?
<7> yeah
<8> how big?
<7> hundreds of thousands
<8> hmmm
<7> was thinking like a single query or someth.
<8> na
<8> no way
<7> hehe lol
<8> sec
<9> Select into another table where unique, then drop the original, rename the new one.
<8> yeah you could do that
<8> select distinct columname
<8> or you could make a script
<8> select distinct columnname
<8> from table
<8> loop through
<9> I'd go with the script just in case, it's harder to **** it up with it.
<8> select count(*) where columnname = $row['columnname']
<8> if count > 1
<8> delete from table ..
<8> dunno that seems a bit heavy
<8> im used to working with 4.0
<9> That's ok, think of it as punishment for coming up with a table structure that allows duplicates.
<8> yep
<9> It'll ensure it never happens again.
<8> ha
<8> i did that recently
<8> was pissed off
<8> 200k ISBNs with duplicates :\
<7> nice duey
<7> LOL!
<8> :\
<5> i would like to create an index.php for checking if the ip or host of the visitor is greek or english to send that user to another url like url/en/ or url/gr/
<10> hello
<10> how can i get the IP of a visitor?
<11> hey, i installed XAMPP on my linux, how do i enable CLI mode? ...
<0> xampp ?
<0> ./configure --enable-cli ..
<5> thanx
<11> [root@www /]# ./configure --enable-cli
<11> bash: ./configure: No such file or directory
<11> ammm wired..



<0> GolaS: get the source first
<0> extract it, change dir to it
<11> source of the php dir?
<0> run configure with --enable-cli and enable whatever other extensions you need
<11> i am newbie so sorry hehe
<0> http://www.php.net/downloads.php
<11> i am using xampp ..
<0> then: http://www.php.net/install.unix
<11> amm ok .. sec
<11> do u know xampp?
<0> sorry, I don't know what xampp is.. try #xampp
<0> this channel is for PHP
<11> yeah
<11> xampp is packaging all the php/mysql/ftp togthere
<12> is there a way to read info from a text file line by line?
<13> cybercruiser: yes...file();
<14> any other way to check how a function is responding when it is called?
<14> nvm
<1> It's mozart's birthday
<1> everyone pay respect
<14> yay for mozart
<14> someone rent the tape for the net
<1> ?
<14> didnt you watch "the net"
<14> ?
<1> sandra bullock?
<15> hey, anyone knows a program/lib that will take a normal .rtf/.doc and transfer that into PDF? I am trying to make certificate using php but would like to create the template using word (well the secretary would like :) )
<15> using php of course
<14> Sean| yeah. there was a mention of mozart's ghost.
<0> ionix: you might want to try the COM extension for .doc thingies
<15> well I have to send the result in pdf. 200 certificates per page
<15> per pdf
<15> from a doc template
<16> I need a function like string::replace from c++ (wich can replace from one index Count characters with another string)
<16> or a function that removes Count characters at a given index of a string and one that inserts
<16> is there anything like that in php?
<17> USE
<17> THE
<17> ****ING
<17> MANUAL
<17> php.net/str_replace
<16> are you dumb?
<16> read again!
<17> oh
<16> I don't need to replace all the ocurences
<17> yeah
<17> how many did you want to do?
<16> I have to do entity encoding
<17> right.
<16> so I'll have to replace 1 char
<16> with a string
<17> http://au3.php.net/preg_replace
<16> oh... mixed search
<17> Just use teh limit parameter
<16> cool
<16> it will do the whole job I think
<16> thanks
<18> its funny how you crack it at eachother and then end up saying thank-you
<16> :)
<17> All the bitches end up saying thanks to hajuu after he is done
<17> :P
<16> ya ya ya :P
<18> hahaha
<19> 'sup rotards?
<1> sup notard
<0> sk8ing: substr_replace() ?
<16> it's ok, preg_replace will do the whole job
<0> Haven't ever used string::replace, so I'm not 100% sure what it does ..
<0> I do all my string manipulation in PHP (before it even reach C++) =P
<16> :)
<1> string::replace ?
<0> and I use Qt ..
<16> is that based on c++?
<0> "The Qt toolkit is a comprehensive C++ application development framework."


Name:

Comments:

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






Return to #php
or
Go to some related logs:

deque access violation MSVC
#AllNiteCafe
knemo not running problem
#linux
easy enlighs
savage haq alla sex
#c++
#linuxhelp
#linux
#chatzone



Home  |  disclaimer  |  contact  |  submit quotes