RE: [PHP] File Upload Problem

2001-09-03 Thread Johan Vikerskog (ECS)
Perhaps someone from your Network group(or similiar) have put a restriction towards that site for some strange reason. Ask your administrator and he probobly will know the answer. //Johan -Original Message- From: Tim Grubb [mailto:[EMAIL PROTECTED]] Sent: den 3 september 2001 09:55

[PHP] base64_decode problem.

2001-08-31 Thread Johan Vikerskog (ECS)
Hi all. I have this variable cn$ which sometimes is in base64 format and sometimes it isnt. This is how the script looks like. It will get bigger but this is one of the problem i have to get threw first. If you wonder why i dont use the built in ldap function in PHP i just can tell you that i

RE: [PHP] just 10 characters from a string

2001-08-31 Thread Johan Vikerskog (ECS)
$string=abcdefghijklmnopqrstuvxyz $string = substr($string, 0, 10); Thats all there is to it. -Original Message- From: Marcos Lloret [mailto:[EMAIL PROTECTED]] Sent: den 31 augusti 2001 09:53 To: [EMAIL PROTECTED] Subject: [PHP] just 10 characters from a string hi to all, i have

[PHP] ldap compile problem. Please read.

2001-08-17 Thread Johan Vikerskog (ECS)
I sended this E-mail to two PHP mailing lists yesterday. Both this one and the installation mailing list. Doesnt seem that anyone can solve this problem for me but i dont believe that. Can someone PLEASE help me! I get the following error message: gcc -I.

[PHP] RE: [PHP-INST] ldap compile problem. Please read.

2001-08-17 Thread Johan Vikerskog (ECS)
09:35 To: Johan Vikerskog (ECS) Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP-INST] ldap compile problem. Please read. You're not giving enough information.. What is the WHOLE configure line you have used? On what system is this happening? --Jani On Fri, 17 Aug 2001, Johan

RE: [PHP] Ldap package.

2001-08-16 Thread Johan Vikerskog (ECS)
for slapd. //Johan -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: den 16 augusti 2001 08:10 To: Johan Vikerskog (ECS) Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP] Ldap package. Install OpenLDAP (www.openldap.org) On Thu, 16 Aug 2001, Johan Vikerskog (ECS) wrote

[PHP] LDAP support in PHP compilation.

2001-08-16 Thread Johan Vikerskog (ECS)
I get the following error message: gcc -I. -I/export/scratch/apps3/php-4.0.6/ext/mysql/libmysql -I/export/scratch/apps3/php-4.0.6/main -I/export/scratch/apps3/php-4.0.6 -I/export/scratch/apps3/apache_1.3.20/src/include -I/export/scratch/apps3/apache_1.3.20/src/os/unix

[PHP] Ldap package.

2001-08-15 Thread Johan Vikerskog (ECS)
I am going to install a LDAP package for my apache-mysql-php web interface. The question is. What ldap package to use and how to do it. Is there anything else i should de except for: --with-ldap=ldap directory Thanks for any help i can get. //Johan -- PHP General Mailing List

[PHP] LDAP compile problem.

2001-07-18 Thread Johan Vikerskog (ECS)
When i try to activate ldap on a UNIX system something goes wrong but i dont even know were to begin looking. i use the --with-ldap when i compile but it doesnt give me any errors and yet it doesnt work. Any suggestions? On my PC it worked great. //Johan -- PHP General Mailing List

[PHP] variables.

2001-07-17 Thread Johan Vikerskog (ECS)
ok, i still am a newbie to this and therefor ill ask this silly question. I have made a small test script which checks the inputted name and pass against my database and if it was successfull it typed out success! and if it wasnt successfull it types out wrong password! My problem is.

[PHP] Hi all.

2001-07-17 Thread Johan Vikerskog (ECS)
When i install PHP. Do i have to make anything special to activate the ldap function? //Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

[PHP] LDAP question PLEASE help me.

2001-07-17 Thread Johan Vikerskog (ECS)
People! I am getting nuts here about this thing i am working on right now. I am trying to get make a ldap php script that get information about a user. I can connect to the ldap server and get response on how many entries that was found. But how do i print out something of use. I mean. How do

[PHP] Need help. LDAP

2001-07-17 Thread Johan Vikerskog (ECS)
In the ldap script below i get the results when i use the decide function at the bottom. Anyone have a tip on how i can change this so i can push the results into variables instead? Thanks in advance //Johan ?php function printarray ($what, $display, $info, $i) { for ($j=0; $j

[PHP] Silly table and php question.

2001-07-12 Thread Johan Vikerskog (ECS)
Hi all. I know this is a silly question but i dont know how to do it so thats why i am asking. Be gentle towards me. Im just a stupid swede! ;-) statement: I have a table cell in my upper right corner. I have a small php script which checks wheter my user is online or not. If the user is i

[PHP] Batch job in UNIX.

2001-07-05 Thread Johan Vikerskog (ECS)
If i want to add something into a table with just the mysql command. Is this possible. Like ./mysql -p -u root test insert into... Something like this.Is that possible and how in that case. Johan Vikerskog Technician - CAE Tools Support Research Technology Development

[PHP] ok!

2001-07-05 Thread Johan Vikerskog (ECS)
Simple question and i know that i shouldent post it here. Hope you bare with me. I have a mysql database that is called supportdb How do i create an account for my user so he can connect to this database? Do i use mysqlacccess? //johan -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] Batch job in UNIX.

2001-07-05 Thread Johan Vikerskog (ECS)
But i want dont want to type in the password. I want to have the password in the command file. //Johan -Original Message- From: Alexander Wagner [mailto:[EMAIL PROTECTED]] Sent: den 5 juli 2001 12:57 To: Johan Vikerskog (ECS); [EMAIL PROTECTED] Subject: Re: [PHP] Batch job in UNIX

[PHP] Shell scripting and PHP.

2001-07-03 Thread Johan Vikerskog (ECS)
Hi all! If i want to use some shell commands and use the result it displays to set a variable. How is this done? Is there a way of doing it like you can do with Perl? Anyone knows? Thanks for all the tips you can give me, or better yet, if you know of a tutorial somewere that covers this.

[PHP] a slight newbie question

2001-05-18 Thread Johan Vikerskog (ECS)
?php /* Search for the criteria in $search */ mysql_connect('localhost', 'root', 'qwerty') ; mysql_select_db('support') ; $result = mysql_query (SELECT * FROM records WHERE MATCH (title,body) AGAINST ('$search'));

[PHP] Hi!

2001-05-11 Thread Johan Vikerskog (ECS)
with the variable HTTP_REFERER you go to the previous page. That means one page back in time. But how do go two pages back? Anyone have suggestions. Thanks for all the help you can give. //Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: [PHP] Hi!

2001-05-11 Thread Johan Vikerskog (ECS)
:10 To: Johan Vikerskog (ECS); php-general Subject: RE: [PHP] Hi! You can so this with JavaScript: A HREF = history.go(-2)Go back Two Pages/A -- Ben Cairns - Head Of Technical Operations intasept.COM Tel: 01332 365333 Fax: 01332 346010 E-Mail: [EMAIL PROTECTED] Web: http://www.intasept.com

[PHP] Location Header

2001-05-10 Thread Johan Vikerskog (ECS)
ok. I have this problem of mine which i dont know how to solve. therefor i use this great mailing list. Lets say i have a URL that looks something like this. http://adam:9000//usr/local/test/test.html and i want to change this with a PHP script to