|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-08-25 05:57 UTC] sniper@php.net
[2001-02-10 15:27 UTC] jimw@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 10:00:01 2025 UTC |
$fd = fopen( $file, "r" ); $contents = fread( $fd, filesize( $file) ); fclose( $fd ); $ds=ldap_connect("-----------"); $r=ldap_bind($ds,"--------------","------"); ldap_mod_replace($ds, $searchroot, array ( $attr => $contents)); ldap_close($ds); --- ./configure --disable-debug --with-apache=/usr/src/apache_1.3.11 --without-gd --with-ftp --with-mysql --with-rege x=apache --enable-trans-sid --with-ldap=/usr/local --enable-track-vars --- in config.h i undefined HAVE_GETRUSAGE, so it would finally compile... --- I would want to store gif/jpeg images uploaded via http post into my LDAP directory, but it won't do it... probably it's because of the usage of string functions, again... it just stores several bytes... then cuts off... using the comandline ldap-toys works fine