IRC Networks
Irc Logs Stats
Start date: 2007-09-27 02:48:27
Last update: 2008-10-24 20:19:38
Channels: 41
Logged Lines: 6230436
Size: 1982.48 MB
Powered by
Channel Info
Network: freenodeChannel: #php |
Search in www.irclog.org
Log from #php at freenode 2006-07-20
Pages: < Prev
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Next >
[08:46]<sazyfvbfun>TML, it was just a joke, I know how anal people get
[08:46]<tml>yelo: It's my job to worry.
[08:46]<dnfj>eh
[08:46]<tml>ScriptBlue: I understand that. Regardless: Please don't.
[08:46]<dnfj>aight then :) worry :P
[08:46]<sazyfvbfun>k
[08:46]<zjd2yn>er yeah.
[08:46]<zjd2yn>Is anyone here familiar with dealing with HTTP Authentication?
[08:47]<zjd2yn>http://pastebin.ca/93068
[08:48]<zjd2yn>I have an issue with a HTTP Authentication with eGroupware and PHPGroupware.
[08:48]<zjd2yn>I am trying to usee Kerberos.
[08:49]<dnfj>only example i found that makes sense is: http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/163447 but it requires ADODB.Connection
[08:49]<cxnr_t99>VHCS is hard to mod grrrrrrr
[08:50]<pnmdr>http://pastebin.com/752838
[08:50]<pnmdr>can you see this link? i can't load it :-\
[08:50]<zjd2yn>But, because there is no Password exchanged, Auth fails.
[08:50]<zjd2yn>Helpful solutions?>
[08:51]<sazyfvbfun>Zombie, are you sending " header('WWW-Authenticate: Basic realm="..." ') "?
[08:51]<sazyfvbfun>and header('HTTP/1.0 401 Unauthorized');
[08:51]<sazyfvbfun>respectively?
[08:51]<zjd2yn>No.
[08:52]<zjd2yn>Auth fails in a very peculiar way.
[08:53]<sazyfvbfun>Zombie, how so?
[08:54]<zjd2yn>If you don't have a Kerberos ticket, you get the standard HTTP Auth, you are presented with a login prompt. after a valid login/password, Authentication succeeds,.
[08:54]<zjd2yn>If you do.
[08:54]<zjd2yn>when
[08:54]<zjd2yn>using Kerberos ticket negotiation, something strange happens. I get the
[08:54]<zjd2yn>PHP login screen for eGroupware, and no logins work. Why is eGroupware
[08:54]<zjd2yn>failing to honor authentication from mod_auth_kerb?
[08:55]<dnfj>whats a good tool to manage mysql databases ?
[08:55]<sazyfvbfun>yelo, phpmyadmin
[08:55]<dnfj>and create queries and all.
[08:55]<dnfj>humm
[08:56]<sazyfvbfun>Zombie, have you been able to get a basic HTTP Auth to work?
[08:56]<zjd2yn>Yes,
[08:56]<zjd2yn>That succeeds Perfectly.
[08:57]<asjpv>No.
[08:57]<asjpv>Maybe.
[08:58]<sazyfvbfun>Zombie, hmm, I think it maybe php misbehaving
[08:58]<sazyfvbfun>it's been known to do that with HTTP Auth
[08:58]<zjd2yn>I was thinking maybe its because no http password is sent.
[09:00]<zjd2yn>Is there a condition that PHP can check for?
[09:01]<sazyfvbfun>$_SERVER['PHP_AUTH_PW'] should be set
[09:01]<zjd2yn>should be set too?
[09:03]<zjw>yelo: depends how complex stuff is going to get and if you want a gui or a web browser based thing, I personally dislike phpmyadmin, for basic queries and a gui use mysql query browser, or for db design etc microolap db designer or wait for mysql workbence to go a bit more stable.
[09:04]<zjw>or mysql cli client for basic queries :P
[09:05]<dnfj>coool, thanks :)
[09:05]<zjd2yn>ScriptBlue: Hello?
[09:05]<zjw>will unserialize() return false if the string is not serialized or is there a better way of checking if its serialized?
[09:05]<sazyfvbfun>Zombie, oh sorry, yeah PHP_AUTH_PW should be set if a password is present
[09:06]<ljgrxr>eh
[09:06]<zjd2yn>The issue is, that there will be instances where users will not have a ticket, like access outside my Intranet
[09:07]<fyvrrn>if mysql_connect() works, why would using mysqli_connect() generate this error?: Fatal error: Call to undefined function mysqli_connect()
[09:07]<cnzrd>hello can someone help me?
[09:07]<jdddd>not installed
[09:08]<jdddd>!+g1
[09:08]<lxl-2jv>Guideline #1) Don't ask to ask, Don't state: "I have a question", Don't ask: "Is anyone around?" or "Can anyone help?". Just Ask The Question
[09:08]<cnzrd>i'm using the gd library and trying to use imagecolortransparent()
[09:08]<cnzrd>and when i do it i get a new image that is blury around the edges of color
[09:09]<fyvrrn>Jymmm: was that "not installed" post for me?
[09:09]<ljgrxr>litage, because "mysql" and "mysqli" are different extensions
[09:09]<fyvrrn>ah
[09:09]<ljgrxr>litage, do you use php4 or php5 ?
[09:09]<sgwdkgg>Is there anyway to detect if a user is coming from a Proxy if he has his server set in "stealth" mode
[09:10]<ljgrxr>litage, mysqli comes with php5 , mysql with php4
[09:10]<fyvrrn>poncha: i'm using php5
[09:10]<zjd2yn>Hello?
[09:10]<zjd2yn>I hate getting Marrooned
[09:10]<fyvrrn>but i'm loading mysql.so: extension=mysql.so
[09:10]<ljgrxr>litage, then maybe you enabled wrong bundled extension :)
[09:10]<jvjcjgjcj>Well, that was weird.
[09:11]<fyvrrn>poncha: i installed via debian's apt utility
[09:11]<ljgrxr>litage, should load mysqli.so
[09:11]<ljgrxr>litage, php5-mysqli ?
[09:11]<ljgrxr>:)
[09:12]<ljgrxr>damn mysql extension :)
[09:12]<zjd2yn>Anyone else want to help with my HTTP Auth bug?
[09:13]<ljgrxr>$conn = mysql_connect(...); mysql_close($conn); <<-- at this point , $conn is still RESOURCe, moreover , mysql_ping() succeeds, mysql_get_host_info() returns real host info of what i was connected to... but of course i cant query the host. grrr
[09:13]<ljgrxr>Zombie, whats the problem? i missed the beginning :)
[09:15]<zjd2yn>I have an issue with a HTTP Authentication with eGroupware and PHPGroupware.
[09:15]<fyvrrn>poncha: is there a php5-mysqli debian package? i can't seem to find it
[09:15]<jdddd>!+g8
[09:15]<lxl-2jv>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.
[09:15]<jdddd>!+g10
[09:15]<lxl-2jv>Guideline #10) We don't support script(s). We help you *write* PHP, not recommend or download and install/hack/modify/adapt/use pre-written scripts. Contact the authors of the script for support options they provide.
[09:15]<ljgrxr>litage apt-cache search mysqli ?
[09:15]<zjd2yn>I am trying to use Kerberos.
[09:15]<zjw>I would think its in the php5-mysql package would it not be?
[09:16]<zjd2yn>If you don't have a Kerberos ticket, you get the standard HTTP Auth, you are presented with a login prompt. after a valid login/password, Authentication succeeds,.
[09:16]<ljgrxr>litage, what deb distro and what is your source of php5 ? official or unofficial repo?
[09:16]<jdddd>Zombie, we dont support scripts in here.
[09:16]<fyvrrn>poncha: yeah, that returns nothing for me in both stable and testing. i did a ``find . -type f -name '*mysqli*''' in my apt mirror and it came up empty too
[09:17]<ljgrxr>litage, in stable, i believe, there is no php5 (official) at all
[09:17]<ljgrxr>in sarge that is
[09:17]<fyvrrn>poncha: debian sarge (with a few packages from testing for php5 and whatnot)
[09:17]<fyvrrn>poncha: php5-mysqli is an unofficial package?
[09:17]<ljgrxr>litage, there are no php5 packages in sarge at all afaik :)
[09:17]<zjd2yn>using Kerberos ticket negotiation, something strange happens. I get the PHP login screen for eGroupware, and no logins work. Why is eGroupware is not honoring Kerberos.
[09:18]<ljgrxr>litage, but in testing it might already be in , i donno :)
[09:18]<fyvrrn>poncha: yeah i realize that, but i've searched through my entire apt mirror and there're no debs containing "mysqli"







