[PHP] uploading file encoding error

2010-05-27 Thread Manolis Vlachakis
= $_SERVER['DOCUMENT_ROOT'] . '/ //public_html/uploads/'; $file = $uploaddir . basename($_FILES['uploadfile']['name']); if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file)) { echo "success"; } else { echo

Re: [PHP] jquery password problem

2010-05-14 Thread Manolis Vlachakis
sorry for the off topic it is true that it turned out to be clearly a JS script problem ... thanks again for the replies problem solved then.. On 14 May 2010 16:23, Peter Lind wrote: > On 14 May 2010 15:16, Manolis Vlachakis > wrote: > > i uses str_replace finally and it works.. &

Re: [PHP] jquery password problem

2010-05-14 Thread Manolis Vlachakis
Vlachakis On 14 May 2010 12:41, Karl DeSaulniers wrote: > > On May 14, 2010, at 4:38 AM, Peter Lind wrote: > > On 14 May 2010 11:29, Karl DeSaulniers wrote: >> >>> On May 14, 2010, at 4:01 AM, Manolis Vlachakis wrote: >>> >>> I encode my password with md

[PHP] jquery password problem

2010-05-14 Thread Manolis Vlachakis
I encode my password with md5 base 64 ..on the php side but i have a problem with the POST that this function i using on my form. after posting my data + is replaced with space I came out with that explanation after a lot of tries and echos in my code files i found out that after using numbers ,o

Re: [PHP] ldap add Invalid DN syntax

2010-05-04 Thread Manolis Vlachakis
;] = iconv("Windows-1253","UTF-8",$data[$c]);[/CODE] so for all the greeks out there this is the way is being done -- On 3 May 2010 18:56, Manolis Vlachakis wrote: > > the thing i just tried is with > > // Open a memory "file" for read/write... >

Re: [PHP] ldap add Invalid DN syntax

2010-05-03 Thread Manolis Vlachakis
d it comes back to me that is not an array does anyone think that this may cause the problem on the problem i face? On 3 May 2010 12:37, Manolis Vlachakis wrote: > and my code begins like this... > > $uploaddir = > $_SERVER['DOCUMENT_ROOT'].'/webteam/voiko/public_ht

Re: [PHP] ldap add Invalid DN syntax

2010-05-03 Thread Manolis Vlachakis
uot;]); $data=split("[;\r]",$data); ; $num = count($data); var_dump($data); and goes on as i show you on the last mails.. On 30 April 2010 17:22, Manolis Vlachakis wrote: > on the array and on the server side i can see the names are added normally > and wit

Re: [PHP] ldap add Invalid DN syntax

2010-04-30 Thread Manolis Vlachakis
Invalid DN syntax Thank you for your answer On 30 April 2010 16:53, Ashley Sheridan wrote: > On Fri, 2010-04-30 at 14:34 +0300, Manolis Vlachakis wrote: > > Hallo there everyone > although i have built my code correctly according to the examples i found on > the net.. > i get

[PHP] ldap add Invalid DN syntax

2010-04-30 Thread Manolis Vlachakis
Hallo there everyone although i have built my code correctly according to the examples i found on the net.. i get Invalid DN syntax error when i try to insert some attributes with ldap add.. i get and read a csv file where i get the data correctly as i can see on the echos that follow:

[PHP] LDAP import a csv file from php

2010-04-26 Thread Manolis Vlachakis
ideas on how to import a csv file in my ldap server via php thank you again -- Manolis Vlachakis

[PHP] Array to csv or excel in php

2010-04-19 Thread Manolis Vlachakis
hallo there everyone.. i got an array from my database Help with Code Tags *PHP Syntax* (Toggle Plain Text ) 1. $save=split("[|;]",$listOfItems); and wha

Re: [PHP] PHP to server prompt

2010-03-29 Thread Manolis Vlachakis
did it but it seems that is not working.. do you think because it requires the 'enter' to be given after the password is required... On 29 March 2010 11:21, Ashley Sheridan wrote: > On Mon, 2010-03-29 at 11:13 +0300, Manolis Vlachakis wrote: > > Thanks a lot for your rep

Re: [PHP] PHP to server prompt

2010-03-29 Thread Manolis Vlachakis
ridan wrote: > On Mon, 2010-03-29 at 10:38 +0300, Manolis Vlachakis wrote: > > > 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

[PHP] PHP to server prompt

2010-03-29 Thread Manolis Vlachakis
ons/187736/command-line-password-prompt-in-php> but is not what i want(and is not working) i thought something like * * 1. fwrite and then the$_SERVER['password here'] and then use the Post method to be writen on the prompt but i am not quite sure whta to do .. -- Manolis Vl