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



Comments:

<0> one of them must be right :)
<1> thanks :)
<2> has anyone here used mod_suphp? I've been having trouble getting it to work, the documentation ****s, the answer I got from the mailing list sounded promising but still didn't fix it...
<1> i'll try them hehe
<3> nmatrix9, yes, mine :)
<4> hey, i g2g for a bit. got some work to do. later on folks
<0> colder: yeah I realize it's probally yours
<5> i know i can get the filesize of a file.. filesize() buyt how do you get the size of a string? It isn't the length is it?
<6> Kaitlyn: if it is a standard ascii string, yes it is..
<2> why would you not expect it to be the length?
<2> Unicode does complicate things, of course...
<7> anyone have experience with p***ing a base64 encoded string by GET?
<7> i'm having issues :(
<8> hi, Any one please explain : function A(); why they can use ; A($some_variable) ; ?
<9> hey



<9> header("Refresh: 5;url=javascript:document.login.submit()");
<9> this doesnt work in Firefox
<9> anyone knows why ?
<2> Xaros: for security reasons.
<9> ???
<9> i dont get that
<7> snow_: be more specifc
<6> Wow.. javascript in headers... that is a neet idea
<2> automatically submitting forms is a security risk.
<7> Xaros, if that worked, then spyware forms would be self-submittable
<2> precisely.
<9> works in internet explorer
<7> ...
<7> thats because Microsoft are wankers.
<9> lol, yes
<9> security :P
<7> ...tried IE7 - out of curiosity ?
<2> right, which is why there was that article on Slashdot the other day showing how IE is vastly less secure than Firefox.
<9> but this, doenst even work as click
<9> <a href=javascript:document.login.submit()>test</a>
<9> doesnt work either !
<7> Xaros, might be a DOM issue then, that that;s not the correct way to reference a form in FFox's DOM
<9> how i fix ?
<7> use the Dom inspector
<2> Xaros: for starters, use valid compliant HTML. ;-)
<7> or something like..
<7> document.forms[0].submit();
<7> where form 0 is the login form
<6> I like giving my form an id, and referencing like document.getElementById("formId").
<7> document.getElementById('loginForm').submit();
<7> :)
<8> Lee_, I meant, they declare the function without parms, but they use params to call the function
<2> Jonnay: that's how I do it too.
<10> #javascript
<2> getElementById is your friend.
<10> !+g8
<11> 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.
<2> and yeah, this isn't a PHP topic. ;-)
<7> snow_ they don't that's not valid code, at all.
<7> unlessit's a prototype that gets overridden later
<9> my form id is login
<6> Yea, but then, neither are the constant mumblings about Debian.
<10> Xaros: #javascript
<2> Xaros: document.getElementById('login').submit();
<6> But Stormchaser is right, for any other javascript problems, do try #javascript instead.
<2> Xaros: your problem is probably something else, and yeah, off you go. :-)
<7> while we have some activity in here, ...
<7> anone used ProTX in here ?
<10> !tell Lee_ about g10
<7> g10 ?
<7> ProTX isnt a script.
<7> it's a payment gateway one codes an inerface for
<12> Lee_: ...
<7> and i have coded said interface... but i'm getting base_64 deocde errors
<12> Lee_: we don't support 3rd party applications
<7> it's not a 3rd party applicatinop
<12> it's not? I've never heard of that thing being in PHP core...
<7> looknig to see if anyone has experienced issues of decoding a base64 encoded string that has been p***ed by the url
<7> ^ and those are php core functions
<12> Lee_: you weren't asking that...
<7> since my problem is that for some reason there is an undocumented issue decoding the string



<13> I have an idea, I shall antagonise everyone - then demand favours!
<7> well, i beleive p***ing a base64 encoded string by get is a stu;pid way to do things
<7> and is limited to protx
<7> but, anything you guys may know on the topic would help
<12> php.net/base64
<14> which operating system has \n\n line endings?
<8> sorry, the meaning of $_REQUEST ???
<8> this array contains ?
<14> I fsockopen to a server, then pull a request to that server and do: while (!feof($fp)) echo fread($fp, 128);
<7> snow_ request is built from $_GET, $_POST etc
<14> but that just keeps loading infinitive
<7> Stormch[a]ser, there's nothing pretaning to obvious encoding problems there
<7> Stormch[a]ser, thanks for your time, think i'll hit quaknet and see if they can help. Cheers
<13> you do that
<7> god you guys are all pricks :/
<15> what was that all about
<16> nobody knows the answer so we're all pricks?
<15> what was his question anyway?
<17> hello. are there any functions for kerberos in php?
<16> something about problems with a base64 encoded string
<13> he doesnt understand url encoding and base64
<15> pff
<13> so he's off to quakenet to see if they want to hold his hand and wipe his ***
<18> url encoding is browser and server specific thing, base64 is type of encoding that can be used to store data into a alphanumerical srting
<15> stupid ppl ****....
<17> does anyhow know how to authenticate to a kerberos server here?
<19> with a ticket ? ;-)
<17> adaptr, I'm being serious :-/.
<19> seriously, you either need an account (sp / upn) already set up, or a local kdc to issue one
<14> Can somebody help me with this script? http://pastebin.com/550098
<17> I figured out ldap, now I nee to authenticate usernames, so that I make sure they are giving the right info in ldap.
<19> LDAP != kerberos..
<17> adaptr, I know.
<19> then what do you mean ? do you have the SPN's stored in ldap ?
<17> adaptr, I was saying I need to hvae the users authenticate with kerberos
<17> adaptr, then, once they've authenticated i need to save the username in a session.
<17> adaptr, then do an ldap query with the uid.
<19> hmmm, okay - but in any case, those accounts already exist, yes ?
<17> adaptr, yup.
<19> are you using inetorgperson ?
<17> adaptr, I know nothing about kerberos, so I couldn't tell you to be honest.
<19> because you need a little more to be able to store UIDs
<19> I'm talking about LDAP
<17> adaptr, I'm using an anonymous bind, if that's what you mean?
<19> kerberos is simple - make sure the SPN exists on the server, and connect by p***ing the username and p***word
<19> as long as you have that compiled into php, it should just work
<17> adaptr, yeah, but how do I p*** it those args?
<17> or how would I connect to the server?
<19> erm.. read the docs ?
<17> send the docs?
<19> you don't need to explicitly connect to the service, just tell it which kdc you want to use and enter username and p***word
<9> how do i get referrer ???
<19> the rest should be wrapped by php, right ?
<19> else what use would a php lib be ?
<20> to make our lives more complicated
<17> umm, what function should I look up docs for?
<9> how do i get referrer from _SERVER ???
<21> Xaros, it's part of $_SERVER
<9> i mean the one saying where user came from
<17> adaptr, what docs should I read?
<20> Xaros: $referer = $_SERVER['HTTP_REFERER'];
<9> jonez what part ?
<9> thanx
<20> Xaros: but don't rely on it
<9> ???
<9> why ?
<4> Xaros: there's no guarantees that it's accurate or even present
<9> what else may i use ?
<4> Xaros: never depend on anything for important stuff that depends on data sent from the client's browser
<17> Xaros, what docs are there for the kerberos problem? If I can read it, I'll be fine.
<19> tuxtheslacker: http://www.google.com/search?q=php+kerberos+authentication
<5> i am having problems with fopen('folder/file.txt', 'w') on windows. I thought windows folders were always write-permissioned... why can't I create the file in the folder?
<9> ok


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#math
ignorantcow
warning: perhaps you need to create the maildirs in advance
ubuntu # Joystick calibration file.
#linux
laod data+mysql
#physics
set portcheck_setting(flag) o|o
#python
#math



Home  |  disclaimer  |  contact  |  submit quotes