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



Comments:

<0> p0windah: Junkie.
<1> that said, enjoy the fish all
<2> BLOWFISH!
<3> I prefer 3des
<4> do you have a "throws" clause to declare methods in php?
<3> i'm pretty sure I dont have one, and i'm rather sure php doesn't have one as well
<5> melfar: http://ca.php.net/manual/en/function.set-exception-handler.php
<5> wow, that took all of 15 seconds to look up.
<3> mikere: not the same as a declaration as cl*** 'throws Blah'
<3> at least that is how understood the question
<4> void func () throws Exception {} -- I was talking about this option, like in java. does php have throws?
<3> mikere: no
<3> grrr.. melfar: noe
<3> p*
<6> can someone help me with forums and frames plz.. #html amd #web seame clueless
<4> okay, will do without it then



<6> i have a framelayout with 2x frams.. one of the frames has a forum in it.. how can i have it update both frames on submit
<7> scotepi : javascript
<3> scotepi: how would that apply to here?
<5> gotta love java - every method and every method that calls it has to throw IOException if you want to do something simple like console input.
<6> starkhalo :( anyway without java
<0> java != JavaScript
<6> zircu cuse if you do php you also do a bit of html/forums and no one is helping in the other channcles
<0> !+g8
<8> Guideline #8) SQL Q's: #sql, #mysql or #postgresql. Apache Q's: #apache. Linux Q's: Either #yourdistro, #linuxhelp or #linpeople. HTML/CSS/JavaScript Q's: #web. Just because some other channel is 'dead' does NOT mean you can ask here.
<3> scotepi: so i have a problem with my math homework, should I ask php since it can do math?
<0> zircu: Certanly :)
<5> Thing about some questions is the asker doesn't always know if the problem can be solved with php or not before they ask.
<6> zircu i wouldnt mind. i <3 math
<9> how do you test whether a date has really occured?
<9> like if someone put february 31 2001
<9> which is false is there a function that will return false if the date is false?
<3> mikere: well, the lack of answer doesn't define 'people in #web are clueless'
<0> usually the answer is "no", and it's pointed to another channel. But in most cases people say "But in some twisted fate my closed is related to a PHP problem, because the manufacturer has it's website built in PHP".
<0> s/closed/closet
<10> mew
<0> There.
<3> vhuren: well depending on the situation using mktime() can be handy
<11> hi, if i've got a php session, does the $_SESSION[] vars get saved on the use rside?
<0> no
<3> vhuren: with a combo of strtotime()
<11> can somebody inject something on the PHPID cookie or somehow
<11> id to the system as anothe rperson
<0> yes
<11> without knowing its p***wd?
<11> how?
<0> php.net/session and read on session fixation
<3> session fixation sounds *** perverted thing :)
<9> zircu: how so?
<11> Stormchaser is that on the same comp only?
<0> IceBreak: no... You have to *read* that that you'll know...
<11> Stormchaser: i've read
<11> and he cant possibly do any of those stuff
<12> Is there any way I can find out the number of arguments a function expects?
<3> vhuren: not sure, more details would be needed, i just gave some clues
<5> zircu: agreed. Doesn't mean there isn't a way to solve a problem with php tho. Asker some tiems doesn't know if question is appropriate till they ask
<13> Wolever: look at the definition of the function?
<14> vhuren i think if you fomat the 2 dates as integer and compare them would be helpfull wiht idate()
<9> ok
<11> Stormchaser: any other ideas?
<0> IceBreak: Session fixation is what you want.
<12> sequethin: Ah, sorry, I was thinking about using code to find the number of arguments. Must have forgotten to type that bit.
<13> Wolever: you're doing php reverse engineering? ;)
<11> Stormchaser: i've read, it p***es by cookie, nobody is listening to network
<11> what else?
<12> sequethin: Sorta.
<0> IceBreak: That's it.
<12> What I'm trying to do is write some functions to let people call PHP functions directly from HTML using JavaScrit
<11> Stormchaser: so HOW IS IT GOING ?!?!?
<12> s/Scrit/Script/
<0> IceBreak: PRetty well... And with you?
<3> mikere: i dont think he was in the 'Asker isn't aware', since he seaked the question in 2 other channels that were related
<12> When a full-blown Ajax framework would be too much, but a little bit of interaction would be nice
<13> good luck :)



<5> zircu: ah
<15> can anyone help me with a query, as no one in mysql seems to either respond or to know?
<0> Wolever: #javascript
<3> mikere: and the lack of answers made him say.. they seem to not understand
<11> Stormchaser: fixation means network snipping, or p***ing the SESSIONID via the URL no ?
<12> Stormchaser: I've got the JavaScript down. I'm trying to write a function now that will go through a cl*** and extract all the methods to be converted to JavaScript calls.
<0> olger901: no, NOBODY! Ask in #mysql
<3> IceBreak: that is the general idea, yea
<11> welp, the person who did the hack, cant listen to network, and the session info is p***ed via cookies
<3> IceBreak: well there is always brute attack, i could try a cookie sesion value of a25fda70d4a94ee66872cf8194243a70 and see if it works
<3> IceBreak: you say someone attacked you?
<3> errr.. hacked?
<0> zircu: PRobably a ninja with an axe
<3> i thought ninjas only used stars
<3> i remember back when I was :cough: younger, ninja stars where the thing to own
<16> brute-force attacks = /me sleeps
<16> lol zircu, I had a few of those when I was like 9...
<16> until I hit the neighbors front door with em, and my dad took em..
<3> cyphor: ok.. sleep as you may.. well I just infected 10,000 computers to do a brute attack
<16> oh?
<3> cyphor: the slient virus..
<3> at least what i would call it
<5> Am I correct in ***uming upload_tmp_dir can only be changed in php.ini - and can't be changed by a script?
<3> heh.. at least I woke you up :)
<3> mikere: php.ini or in an apache directive (***uming your using apache)
<17> Hi! This function returns complete path for me, while doc says, filename only:
<17> http://www.php.net/~helly/php/ext/spl/cl***SplFileInfo.html#73ccab89588cffa855508598208fdae2
<3> cyphor: true, but if I targeted a machine i'm pretty sure I could break something
<16> heh, target mine and break it
<17> I have php 5.1.2. any ideas welcomed.
<5> damn all web hosting companies that don't complie php with dbase functions and don't set upload_tmp_dir. I think I'm gonna go insane.
<0> LionKMP: Kill the SPAL maintainers, then
<0> *SPL
<3> cyphor: I'd rather make money :)
<17> hehe, is that the solution? :)
<16> I don't blame you =)
<0> liionYep :)
<0> I ment LionKMP
<11> zircu: yeah
<17> Stormchaser:
<17> wow, tab key roxx
<3> you really mean the smart tab key roxx
<17> Stormchaser: ok, I thought something went wrong in my code meanwhile (I had other problems since the upgrade too)
<2> s.m.a.r.t.
<17> is SPL a moving target?
<18> Hi there. I'm trying to write some sort of generic editing function for tables in the database, I just want to ask if there is any way to find out how many fields there are in a particular table and how to display it in a form with say the field-name as a headline.
<3> i usually use ducks for moving targets
<3> cavediver: perhaps some DOM could help
<18> Ok. I'm quite new at PHP. perhaps this is beyond me ;)
<11> zircu how can i check for a point-of-breach?
<18> I'm getting tired of deleting and reposting data all the time ...
<11> or how he did it ?
<19> Hmm... If I declare a variable with \n\n, split correctly detects it, but it does not when I import it from a MySQL database. I guess it has something to do with the linefeed/car.return issues or perhaps with the unicode encoding. Is there a quick way, perhaps a built-in function, to deal with this?
<20> cavediver: SQL commands, possibly.
<0> LionKMP: Many things in PHP are :)
<3> IceBreak: my bet is the breach was probably from a known third party code exposier, unless this was a targeted hack
<15> btw is OOP ever gonna be mandatory in PHP like it is in java?
<16> IceBreak: google intrusion detection systems, file integrity checkers, root kits, root kit scanners etc...
<11> nm.. its nothing like that
<17> Stormchaser: ok, I'll cut the "file name only" to file name only with a regexp for now and wait for PHP 5.1.3 then. :-) I thought there can't be so serious bugs!
<3> cavediver: i'm not sure how else to explain it, except that in order to do that you need a tool that can read a table strucutre, first thought... DOM, aka php.net/dom/
<14> cavediver: mysql_query("SHOW COLUMNS FROM sometable") for a start to list the fields in a table
<14> and you have to do an ordinary fetch loop to put them in ***ociative array
<16> IceBreak: what caused you to suspect your server was compromised?
<18> hmm
<3> IceBreak: how was the breach broken?
<14> cavediver: http://www.php.net/manual/en/function.mysql-list-fields.php
<11> he showed me he logged in with my user name
<11> on the system
<11> and it wasnt in the system, it's in a php script i wrote
<16> is he a friend?
<3> IceBreak: then you have a flaw in your script


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#ati
#debian
#web
tuxcard
rämehomo flash
#math
compiz invalid file format
#gimp
#python
easyubutu



Home  |  disclaimer  |  contact  |  submit quotes