Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~18.9K People Reached
Favorite Forums
Favorite Tags
Member Avatar for millanskie

Hi, First Problem: I have a PHP script that export CSV with Japanese text, for example I download the CSV on the website then save to desktop of my computer and Open it on NOTEPAD... that works fine I could still see all the japanese text OK with no problem, …

Member Avatar for ruddyfrompt
0
15K
Member Avatar for manolisvl46

[CODE]$uploaddir = $_SERVER['DOCUMENT_ROOT'].'/bla/bla/uploads/'; $file = $uploaddir . basename($_FILES['uploadfile']['name']); $data = file_get_contents($uploaddir . $_FILES["uploadfile"]["name"]); $data=split("[;\r]",$data); include_once("processes.php"); $ldapconn=connectToDB(); $info["cn"] = $data[$c]; echo "|onoma-->"; echo $info["cn"] ; $c++; $info["sn"] = $data[$c]; echo "|epwnimo-->"; echo $info["sn"] ; $info["objectclass"][0] = "top"; $info["objectclass"][1] = "organizationalPerson"; $r = ldap_add($ldapconn, "cn=".$info['cn'].",cn=............,ou=.......,ou=......,ou=.....,dc=...,dc=gr", $info); [/CODE] so i get the attributes …

Member Avatar for manolisvl46
0
935
Member Avatar for manolisvl46

hallo there everyone.. i got an array from my database [CODE]$save=split("[|;]",$listOfItems);[/CODE] and what i want i s after making some changes to the attributes on the array above to export them on an csv or excel format but directly as a message to the browser .. i dont want it …

Member Avatar for colweb
0
2K
Member Avatar for manolisvl46

is there a way to get a value that a viarble has on one php file ... save it to a javascript or wherever and then include it to another php file.. thanksss

Member Avatar for diafol
0
79
Member Avatar for manolisvl46

i would like to ask if there is a way to change on a drag and drop jquery i use the image src from the li div that i drag it on the ul div that i drop it... with a jquery i found something like this [CODE]$('#dropContainer').droppable({ drop: function(e,ui) …

0
78
Member Avatar for manolisvl46

hallo there again i would like to modify some entries on my ldap server via php actually i want to move some students from one dn to another i use ldap rename but nothing happens ... [CODE] $newparent='cn='.$save[$i].',cn=****,ou=******,ou=****.,ou=******,dc=****,dc=*** $dn= $save[$i+1]; $dn2=split("[,]",$dn);//that is the name of the student(which is on the …

0
93
Member Avatar for manolisvl46

hallo there... is there a way to handle data from a POST method like [CODE]$listOfItems=$_POST['listOfItems'];[/CODE] on the variable though are inserted values of an array such as( 1234|john;3455|helen;.....e.t.c.) is there a way to "brake" the variable so as to get one by one the array values... thank you

Member Avatar for manolisvl46
0
55
Member Avatar for manolisvl46

Hallo there everyone, i am using a command on the server (kinit)and after that a password is required to type in the thing is that i would like that to be done automaticaly from the php code! i found that one [URL="http://stackoverflow.com/questions/187736/command-line-password-prompt-in-php"]http://stackoverflow.com/questions/187736/command-line-password-prompt-in-php[/URL] but is not what i want(and is not …

Member Avatar for manolisvl46
0
198
Member Avatar for manolisvl46

Do you have any idea on how a sasl bind with gssapi mech will work my file looks like that: [CODE] $ldapbind=ldap_sasl_bind($ldapconn,NULL,NULL,"GSSAPI","TEIPIR.GR","ldapmaster","dn:cn=ldapmaster@TEIPIR.GR,ou=kerberos,dc=teipir,dc=gr"); // verify binding if ($ldapbind) { echo "LDAP bind successful..." . "<br />"; [/CODE] every other mech i use seems to work fine but only the gssapi is …

0
66
Member Avatar for manolisvl46

On the php manual i realised there was a bug that got fixed ..but still cant make it work... my attributes are used like shown below.. [CODE] $r=ldap_sasl_bind ( $ds, bind dn..., 'MYCODE', 'GSSAPI', NULL<--?(realm of the heimdal), 'jimmy'<--?, 'dn:MY STUFF...?');[/CODE] there was another opinion that i schould recompile Apache …

Member Avatar for manolisvl46
0
142
Member Avatar for manolisvl46

Hallo everyone... i have set up a twiki app on my server but i face a problem that i cant deal with... i want to replace this one: [url]http://10.0.0.12/twiki/bin/view/TWiki/WebHome[/url] with those ... [url]http://10.0.0.12/WebHome[/url] OR [url]http://10.0.0.12/TWiki/WebHome[/url] what should i change at the rewrite rule on the apache's config? + there are …

0
78
Member Avatar for manolisvl46

Hallo there i wan to make my ldap connect with the client pc's over ssl (like this one) [URL="http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html#4.0"]http://www.openldap.org/pub/ksoper/OpenLDAP_TLS.html#4.0[/URL] or this one [URL="http://www.madboa.com/geek/openssl/#cert-self"]http://www.madboa.com/geek/openssl/#cert-self[/URL] i have already made a self signed key and all the steps i found through the internet... but when i try to do one of the last …

Member Avatar for manolisvl46
0
176
Member Avatar for ali_engr

I have hierarchical data of family in nested array. I want to draw tree using php graphics. Any body have some code, Please help me how to draw tree nodes & links between nodes etc Thanks,

Member Avatar for diafol
0
643
Member Avatar for manolisvl46

is there a possibility to retrieve a search from an ldap search (for my case) which is in done php <?......?> outside of it to the body of my page? to have a general idea i try to create a table that will be completed dynamically from the search being …

Member Avatar for manolisvl46
0
156