[PHP] HT access

2002-02-20 Thread Sven Jacobs
Yow I've a question, :-) I'm using ht access to protect a Directory with CGI in that I need use on my website. The htaccess uses the password file of my Linux to authenticate one. Now I want to keep the ht access but when I login via another login script a want my ht access to be filled in

[PHP] Date calculations

2002-02-21 Thread Sven Jacobs
Hey I need to calculate the amount of days between 2 point point 1 is now the second point is in the past the format I have is in 2002-02-25 10:02:23 ( that is the format i have in my db ) now if I have today 2002-02-25 10:02:04 and the other day is 2002-02-24 09:02:04 That means that the

[PHP] writing files with php

2002-02-25 Thread Sven Jacobs
Hey How can I create files with php, I've tried somethings but php always tells me that I don't have access. But the Directory has 777 access and the owner is my webserver. Can somebody help me :-) I need this for to create logfiles Greetings Sven

[PHP] Count

2002-02-25 Thread Sven Jacobs
hey Again a small question forgive me but it's monday and the brain is still working on sunday :-) I want to make this sql query visual does anybody have any idea :-) SELECT date_format(t_timestamp_opened,'%Y %m %d'), count(date_format(t_timestamp_opened,'%Y %m %d')) FROM crm.ticket group by

[PHP] CGI

2002-02-26 Thread Sven Jacobs
Hey I have some cgi files who are in the /usr/lib/xxx/cgi-bin/ directory How can i make them a part of my php meaning that in the current situation the url is something like this http://x.x.xxx/cgi-bin/cgiscripts/.cgi and i want it to be something like this

[PHP] Mailing Files

2002-02-26 Thread Sven Jacobs
Is it possible to mail files with the mail() commando? Or can it be done on a other way? Kind regards Sven

RE: [PHP] Crontab

2002-02-26 Thread Sven Jacobs
I've use a script that I put in my cron.weekly to execute a php script and it works fine :-) #! /bin/sh #Run Report Generation Script /usr/bin/php4 /usr/share/netsaint/genmonrep.scp.php Kind Regards Sven -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: mercredi

RE: [PHP] I can't find the problem - parsing error

2002-02-27 Thread Sven Jacobs
td bgcolor=\$type_color\ class=\copy\ width=\10\ -Original Message- From: Pax [mailto:[EMAIL PROTECTED]] Sent: mercredi 27 février 2002 16:47 To: [EMAIL PROTECTED] Subject: [PHP] I can't find the problem - parsing error I have the following line of code: $this-html=$this_html + tr

RE: [PHP] Javascript question...

2002-03-01 Thread Sven Jacobs
script function openpopup(){ var popurl=url winpops=window.open(popurl,Solution,width=500,height=400,) } //openpopup() /script input type=submit value=Escalations onClick=openpopup() Kind Regards Sven -Original Message- From:

[PHP] Active Directory

2002-03-01 Thread Sven Jacobs
Hey All Does anybody have any idea how to authenticate agains a Active Directory Server with PHP ? And if sow : -- How does it work -- What do I need to install -- Some sample code would be nice :-) Kind Regards Sven

[PHP] Of Topic but urgently needed

2002-03-04 Thread Sven Jacobs
yow all I know this is an of topic question but with all the system admins here . Does anybody know a good tool where I can monitor Compaq Proline servers with that uses some kind of text file or csv. So I can inport that file in mysql and do some thing on it via PHP :( Maybe some of you

[PHP] date calculations

2002-03-04 Thread Sven Jacobs
Yow I need to calculate the Time ( days hour minutes between 2 times ) I have something but I have an error margine of 10 % and that is to high Time one 2002/02/24 10:23:43 Time two 2002/02/02 12:43:12 this need to give me the correct time in days hours and minutes between the 2 dates

RE: [PHP] how the ticks works?

2002-03-06 Thread Sven Jacobs
Hey I want to run a shell script, all the values that are returned normal by that script I want to put as var. For example tracert X.X.X.X 1 10 ms 10 ms 10 ms blablabla.bla.com [X.X.X.X] 2 10 ms10 ms10 ms RFC1918-Host [X.X.X.X] 3 10 ms10 ms10 ms BUOPS

[PHP] Return values from shell_exec command into db

2002-03-06 Thread Sven Jacobs
Hey I want to run a shell script, all the values that are returned normal by that script I want to put as var. For example tracert X.X.X.X 1 10 ms 10 ms 10 ms blablabla.bla.com [X.X.X.X] 2 10 ms10 ms10 ms RFC1918-Host [X.X.X.X] 3 10 ms10 ms10 ms BUOPS

[PHP] Reading A file

2002-03-06 Thread Sven Jacobs
Hey I have a TEXT file that I want to make visual via the web using php

RE: [PHP] Reading A file

2002-03-06 Thread Sven Jacobs
-pre01:index index was never started -Original Message- From: Ing. Fernando Proll Segura [mailto:[EMAIL PROTECTED]] Sent: mercredi 6 mars 2002 15:13 To: Sven Jacobs; [EMAIL PROTECTED] Subject: Re: [PHP] Reading A file Hey I have a TEXT file that I want to make visual via the web using

RE: [PHP] Reading A file and placing data into db

2002-03-06 Thread Sven Jacobs
-pre01:index index was never started -Original Message- From: Ing. Fernando Proll Segura [mailto:[EMAIL PROTECTED]] Sent: mercredi 6 mars 2002 15:13 To: Sven Jacobs; [EMAIL PROTECTED] Subject: Re: [PHP] Reading A file Hey I have a TEXT file that I want to make visual via the web using

[PHP] LDAP question

2002-03-07 Thread Sven Jacobs
Hey I'm testing LDAP and I seem to have an error Call undefined function ldap_connect() the code is from php.net Can anybody tell me what I'm doing wrong :-)

[PHP] Sessions PROBLEMS

2002-03-07 Thread Sven Jacobs
Hey I have a problem with sessions, with the code below If I post i always seems to get the same session_id That is not the idea. I want to generate everytime a unique one what is wrong with my code if ($action ==logout){ session_destroy(); print destroy; } if ( $action == post

RE: [PHP] Why session is not deleted ???

2002-03-07 Thread Sven Jacobs
I've the same problem here If i do logout it doesn't doe a session_destroy :( -Original Message- From: Beta [mailto:[EMAIL PROTECTED]] Sent: jeudi 7 mars 2002 18:54 To: [EMAIL PROTECTED] Subject: [PHP] Why session is not deleted ??? Firstly i create a session, After that when i close

[PHP] Again Session

2002-03-08 Thread Sven Jacobs
Hey I have 2 values stored in my session, how do I pull them back out ?

[PHP] how to check session

2002-03-12 Thread Sven Jacobs
How can I check if a session is still valid or if it has been expired. I want to check that and if not valid then execute an other script. Can't be that difficult but after 2 hours in traffic jams my brain is not working anymore .

[PHP] dateformat

2002-03-18 Thread Sven Jacobs
hey all I want to convert 20020211150245 into 2002-02-11 15:02:45. Does somebody have the correct conversion for this ?

RE: [PHP] Making a simple borderless pop up window with a Close button

2002-03-19 Thread Sven Jacobs
class.overlib does that nicely http://www.posi.de/phpclass/ -Original Message- From: Denis L. Menezes [mailto:[EMAIL PROTECTED]] Sent: mardi 19 mars 2002 13:12 To: [EMAIL PROTECTED] Subject: [PHP] Making a simple borderless pop up window with a Close button Hello friends. I am

[PHP] mail

2002-03-20 Thread Sven Jacobs
hey Is it possible to put somebody in CC when you use the mail() function ???