[PHP] vhost php_value include_path: Seg fault

2003-08-24 Thread Jason End
Using: - Apache 1.3.27 - PHP 4.2.3 I just changed my httpd.conf to have two virtual hosts. One of them uses php, so I added the include_path, but when I try to test the config I get a core dump. Here's the vhost section for the domain using php: [...] ServerAdmin [EMAIL PROTECTED]

[PHP] Serving files with different filename from their own

2003-06-27 Thread Jason End
Is there a way to serve files with a different file name than they actually have? Here's my situation: Users can upload software manuals, which are then saved with a unique name. Their title, filename, type and id are then save into a db. But when they go to download a file, they'll of course see

[PHP] Ldap bind: checking group membership

2003-06-25 Thread Jason End
I need my ldap bind to check whether a user is member of a group, but the user isn't exclusively from that group. So for example, I have the user "jbrown" and the ldap connection string: $r=ldap_bind($ds, "uid=$uid, ou=people,dc=mycompany,dc=mydomain,dc=dom", $passw); That works fine. But I need

[PHP] Authentication: Addressing the user variable

2003-06-20 Thread Jason End
I'm using LDAP to authenticate my users. login.php and any script that requires authentication start off with the following code: -- session_start(); if (session_is_registered("valid_user")) { header( "Location: admin.php" ); -- The ldap binds as such: ldap_bind($ds, "uid=$uid,ou=people,dc=server,

[PHP] Bubble windows

2002-10-16 Thread Jason End
Remember those bubbles windows php.net used to have? What are those actually called? Any tutorials that show how to make them? thanks, Jay __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos & More http://faith.yahoo.com -- PHP Genera