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



Comments:

<0> htmlspecialchars(); , a typo
<1> if the file at the end is not utf-8
<0> ooh
<0> so you're taking from the XML?
<1> so I'm not displaying it yet, so htmlspecialchars dont apply yet
<1> yes
<2> you should pm :)
<0> then i have no idea.....
<2> alll others are scared :d
<1> what pm xored?
<2> vanderkerkoff: no it was more or less a joke : pm = private message, cause you are talking and everybody is quite, like scared :)
<1> it is a doozy of a problem, I'm certain most other webby types will either have seen it, or are going to see it soon
<1> especially with blogs becoming de riguer
<1> if someone wrote a very simple plugin to sit accross browsers to strip this info out I'll buy it right now
<3> does anyone know wats the diffrernce between cisco and normal switches
<2> vanderkerkoff: the problem is, why people are not getting, taht UTF-8 is the one to use...



<1> ones crap, the other ones arent
<2> Fr0Gs: thats maybe worng in here :()
<4> dump the table, replace / delete, reimport
<1> herrlich, that was my suggestion some time ago
<3> yeh but no one knows!
<1> I"ll try it
<4> sry
<1> it will work
<1> someone write an applet for gods sake
<1> maybe I hsould?
<0> vanderkerkoff: so, repeat again please; you're saying that you want to import data from an XML file into your MySQL database, and the XML file is loaded with MSWord chars???
<1> i'm pulling data from a mysql database using rails into an xml output feed, then I"m using curl to create an xml file of that output, then I'm using simplexml to blow the xml file apart and display it
<1> but
<1> there's ascii characters casing problems
<1> herrlich is right, I can strip it out using grep and the mysqldum p
<1> but, someone would make huge beans if they wrote an accross browser plugin to remove any msword pasted data into webforms
<1> i know sharepoint has somethign like that, but they've got access to MS's drivel
<0> you have a lot of steps...
<1> and if youv'e ever had the extreme please of using sharepoint you'll know it's not something you do lightly, like hang yourslef
<5> i have an array with "forbidden words". how is the best way to check that 100 strings does not contain any of the words?
<1> right, I'm off to see the wizard, the wonderful wizard of Grep
<1> I'll tell you how it goes
<6> anyone here using phpMyAdmin 2.8.1?
<7> hey again
<7> how do i disable odbc support in php under windows?
<6> check the php.ini
<7> i did :P
<6> should be line in there
<6> if it is not a line in there - that mean that php is compiled with the support for windows
<7> i think its built in
<7> let me check it out
<8> what is the function for string comparision (ignore case sensitive) in php ?
<9> how to make a page refresh and show the time 10 9 8 7 6 5 4 3 2 1
<10> apt-abhi: preg_match
<10> biberao: not with php.. use http headers and/or javascript
<9> wisp, one of each
<9> or together?
<11> I've a problem of headers that not seem to be used , in my script php
<11> header() , etc
<12> apt-abhi, wisp: strcasecmp()
<13> hmm, quick file editing question, i have a username list(doing a text file of users with pwhashes and login times, just as a very (un)secure login system. just how do i go through each line of the file looking for a username and then just re-write that one line, or even just the timestamp at the end of the line rather than re-writing the entire file?
<2> someone used runkit_import with derived cl***es ?
<14> NET||abuse: You can't; you have to read the entire file, make your change then write the lot back.
<15> hi all, how can i serialize this $kookoo = simplexml_load_string($client->WS_call()); i'm trying the simple approach of $_SESSION['var'] = $kookoo; but it seems to not work. Any suggestions?
<7> is there a binary of php for windows without odbc support for download
<7> ?
<11> au pif , try EasyPHP
<11> hum
<11> it was a dumb suggestion,I bet
<7> it comes without that support ?
<11> not sure at all
<16> afternoon
<17> I have question: using curl I got some html data with js-redirect on it, how can I redirect to that page using same curl-instance? there are JS-Recirect, not HTTP/Location
<18> I have a page that has both php and html codes and submits some information to the database as well as time and date. however, it stores time and date as soon as I enter the page, and not when I click on Submit button. how can I make that it stores the time and date only when I click on the Submit button?
<19> aibo, parse out the page you get back and do another curl fetch
<17> Qube, I wanna do it using same curl-instance, is it possible?
<19> no, curl isn't a javascript parser
<17> thx
<18> hello?
<18> ouch!



<16> how can you p*** a cl*** into a function?
<16> I've tried with references, and its just not working
<17> cl*** or object?
<16> its an instance of the cl***, so an object?
<17> yes
<17> just <?php helloMyFunction(new cl***Name($params_if_needed)) ?>
<16> but I don't want a new one
<17> use singleton
<16> i want to access the old one
<16> (otherwise I wouldn't need to send it)
<16> singleton?
<17> http://www.php.net/manual/en/language.oop5.patterns.php
<15> guys, i cannot serialize an object returned by simplexml_load_string, any others noticed something similar?
<16> aibo: that just does the same as creating a new one
<17> the_cre8or, nope, if there are an instance - it being used, if none - creating new one
<16> but how will it get the right instance?
<17> read manual
<17> there will be only 1 instance
<16> but I have several instances
<16> so that doesn't work
<20> if I have a tarball with some php files, is it possible to use php to first open the file, and then search the php files content?
<21> execute 'untar'
<22> whats that thing called where you use <<<HTML or wahtever
<23> hi all
<20> pdc303: hmm, is it then possible to search the file content within the tarball?
<23> hei dudes i suppose that i have a security problem with a php session
<23> i run php on a local WAMP machine for testing, on this machine i have set-up the
<23> path of the session to C:\Temp
<23> at the moment there are two different project that run on this machine and i debug either
<23> at this point seem to be the proble, when i execute a log-in into the two applications
<23> i have see that in C:\Temp exist only a unique file that share the same info about the current session
<23> opened from php, and the last value for $_SESSION['user'] = $user rewrite the old value
<23> thus i lost the real user name into one of both application
<23> is this a problem ?
<23> for example on server that run more account and share a folder with the sessions
<18> can someone reply to me please?
<22> whats that thing called where you use <<<HTML or wahtever
<24> heredoc
<21> Apocs: you could untar to ./myNewFolder then get the files from that folder. If you want a more professional solutution then 'untar' is able to list the files in an archive. You could call this command then read/parse the output
<20> pdc303: ok,thanks
<21> Whatever PHP cannot do natively can probably be achieved with one of the many, many standard Linux applications
<23> hei dudes any reply about my question
<22> whats an easy regex to check if an email say $email is valid and hasn't got any ',' in it so a feedback form can't be exploited
<25> Hello, Its my first time with PHP+MySQL, any ideas whats going on with my script, it doesn't place anything into mysql.. looks perfect to me? http://pastebin.com/751206
<26> whats with all the ****in slashes
<26> what book told you to do that crap
<25> Umm, you need to.. I forgot how to do stripslash lol.
<25> Otherwise you get errors.
<26> not if you write it properly
<0> Thomazzz: read up http://od5.co.uk/74 for why not to use pastebin.com
<25> da-drew, how do I write it propperly?
<0> da-drew: your code looks very bad
<25> Drakas: http://cpp.sourceforge.net/?show=16296
<0> !tell Thomazzz about sql injection
<23> !tell kioto about sql injection
<25> Is there any other way?
<0> Thomazzz: i'm making a correction now
<25> Thanks mate
<27> hi
<23> i have used the drupal way to avoid sql injection
<23> try to learn how work the basic db api of drupal
<18> answer? please?
<23> i have rewrite a db cl*** with the same login behind
<27> what does & in front of the functions mean?
<28> hold errors
<0> Thomazzz: http://moved.od5.co.uk/77
<25> Thanks heaps!
<0> Thomazzz: and you might wanna add http://de2.php.net/manual/en/function.stripslashes.php#66082 too
<0> (at the start)
<25> Saves me adding all those slashes ;) Thanks
<0> Thomazzz: if anything, at the end you'll have to add mysql_close($link);
<0> Thomazzz: if you can, use my pastebin more frequently please ;)


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#mysql
kdebase-3.5* package conflicts
exec php file execute
#perl
Insert Multiple Lines Memo Mysql SQL
gcc4 athlon-mp problem
fybromyaligia
ubuntu kernal sempron
installing xman on ubuntu
ubuntu x configuration has been altered



Home  |  disclaimer  |  contact  |  submit quotes