[PHP-WIN] Re: How to Detect File in a Specifc Directory on Window Env?

2002-07-19 Thread Johan Holst Nielsen
But i don't know which php function will perform this task (Check filename > from Right to Left). > > If you have any other suggestion, pls help me! I think I would do something like this: '.$file.'<\n>'; } } } ?> Regards, Johan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: php-4.2.1 and apache2.0 - how to get php working

2002-05-22 Thread Johan Ekström
Are U using php4apache2.dll ? see to it that there is no space " " in the dir to the file. have you copied all the necessary files??? "Nick" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > Could someone please tell me or point me to some instructions on

[PHP-WIN] Problem : track_vars stopped working.

2002-05-22 Thread Johan Ekström
7;t think they would have forgotten this function in that file. Anyone got any idée's??? I kind of need that function to do multipages. johan ekström [EMAIL PROTECTED] http://www.dynamicduo.nu/

[PHP-WIN] Re: Installing PHP 4.2.1

2002-05-20 Thread Johan Ekström
This is what you must do. Copy Part ^^ copy php4ts.dll to c:\winnt\system32\ copy php4sapi.dll to c:\winnt\system32\ if you want any extensions, copy them to to c:\winnt\system32\ configuration part ^^^ in php.ini ¨ edit doc_root like : c:/Inetpub/wwwroot ed

[PHP-WIN] Re: Installing PHP 4.2.1

2002-05-20 Thread Johan Ekström
This is what you must do. Copy Part ^^ copy php4ts.dll to c:\winnt\system32\ copy php4sapi.dll to c:\winnt\system32\ if you want any extensions, copy them to to c:\winnt\system32\ configuration part ^^^ in php.ini ¨ edit doc_root like : c:/Inetpub/wwwroot ed

[PHP-WIN] Apache 2.0.35 & IIS 5.1 > PHP 4.20 (Module Problems.)

2002-05-19 Thread Johan Ekström
Okey... Apache Installed, PHP 4.20 unzipped. "c:\program files\other applications\internet\apache group\apache\" "c:\program files\other applications\internet\php\" I've added... LoadModule php4_module "c:/program files/other applications/internet/php/sapi/php4apache.dll" AddType application/x

[PHP-WIN] Re: how to get php_gettext.dll work on windows2000 / iis5 server?

2001-11-14 Thread Johan Holst Nielsen
xt.dll? > > I assume that the message "Unknown on line 0" means that the > php_gettext.dll 'needs' another dll to work?? > > Does anybody have any suggestions for me to get the 'gettext' function > to work? Remember that you also need gnu_gettext.dll http://

[PHP-WIN] RE: [PHP] RE: [PHP-WIN] Can PHP and Java work together?

2001-08-31 Thread Alfredeen, Johan
rver again. Johan > > -Original Message- > > From: Jack [mailto:[EMAIL PROTECTED]] > > Sent: August 31, 2001 2:13 AM > > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > > Subject: [PHP-WIN] Can PHP and Java work together? > > > > > > Dear all > >

[PHP-WIN] RE: [PHP] Can PHP and Java work together?

2001-08-31 Thread Alfredeen, Johan
: var jstitle = ; Good luck, Johan Which World? www.pongworld.com -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: Friday, August 31, 2001 2:13 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Can PHP and Java work together? Dear all I want to ask if i want to

Re: [PHP-WIN] Where to find a complete description of php configuration

2001-07-12 Thread Johan
e and up to date as the code itself. But I must say that the PHP team is doing a great job. There's not many opensource project out there in same high class standards as PHP. Have a nice day /Johan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROT

[PHP-WIN] Re: Error on viewing test.php

2001-07-10 Thread Johan
Hi Wayne, Did you copy the files to C:\WINNT? /Johan > Hi all, > > Please help I'm a newbie to PHP stuff. > > When I try and view test.php, it keeps saying that it carn't find the > dynamic librarys. In PHP.INI it has all the default values and file > locati

[PHP-WIN] Re: Access Violation error. PLEASE HELP

2001-07-10 Thread Johan
Hi, Try an upgrade to 4.0.6, it helped me with alot of problems... Is it just one script running on the server? Coul'd it be that there's one function/script that's not used more than once every 2-3 hours or so, and that one has some bad functions/errors?? /Johan > I have t

[PHP-WIN] Re: Apache Direcotry indexing

2001-07-09 Thread Johan
rtfm Hi Ivan, Take a look at: http://httpd.apache.org/docs/mod/mod_dir.html and http://httpd.apache.org/docs/mod/mod_autoindex.html You should be able to get it the way you want by that info. /Johan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP-WIN] Spell checking w. PHP in Windows

2001-07-09 Thread Johan
ut since I don't use COM that much... /Johan -- PHP Windows 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 PROTECTED]

[PHP-WIN] Re: Need help with Cookies

2001-07-06 Thread Johan
Hi Have you tested it on more than one client/browser? I dunno if it helps, but I've read there's a bug in IIS and cookies (I'm not all that into IIS myself) Look at: http://support.microsoft.com/support/kb/articles/q176/1/13.asp /Johan "Iván Milanez Castellanos" <

Re: [PHP-WIN] 500 error

2001-06-27 Thread Johan Lundqvist
Tjena Martin, How did you set it up? Where's the PHP doc that generates the error located? What's in the script? Did you check user rights? /Johan "Martin Skjöldebrand" wrote: > > I've installed PHP and MySQL on my Win2K Pro box according to > a doc I g

Re: [PHP-WIN] Exec command still doesn't on Win2K and IIS

2001-06-27 Thread Johan Lundqvist
Your'e correct. When using PHP as ISAPI there's still problems with program execution (exec, system et.c.) in ver. 4.0.6 CGI version still works better... /Johan BAMHA Mostafa Ftmms wrote: > > Hi all, > I'm using the ISAPI version of PHP-4.0.6 on Win2K but the Exec

Re: [PHP-WIN] preventing duplicate entries

2001-06-27 Thread Johan Lundqvist
Pete, Look at UPDATE or REPLACE (chap. 7.22 & 7.24 in MySql manual). Then you might rewrite your SQL query to fit your needs. /Johan Pete Kuczynski wrote: > > I want to prevent duplicate entries into my mysql database which holds > invertory of all network eqpt at my site. Engine

Re: [PHP-WIN] Session varibles

2001-06-27 Thread Johan Lundqvist
om/columns/mattias2105.php3 http://www.phpbuilder.com/columns/chad19990414.php3 /Johan Jason Belletty wrote: > > Hi Everybody, > > I'm a php newbie - (best to warn you straight away!!!) > > How do I use session variables? > > In asp its just:session("somevariable

Re: [PHP-WIN] How to launch a .bat file with php.

2001-06-26 Thread Johan Lundqvist
Have a look at "Program Execution functions" in PHP manual. There you will find the syntax et.c. for exec(), system(), passthru() that might be interesting to you. Happy coding. /Johan "Alessio Bernesco Làvore" wrote: > > Well... > I've to execute by the comm

Re: [PHP-WIN] How to launch a .bat file with php.

2001-06-26 Thread Johan Lundqvist
Hi, That's a tricky one... dunno if it really could be done without many security issues and ugly workarounds. I think you got it a bit backwards... If I ask you like this: What is it that you need in the batch file, that can't be done in PHP? /Johan "Alessio Bernesco Làvore&

Re: [PHP-WIN] Unable to see my .php script in IE5

2001-06-26 Thread Johan Lundqvist
Michael wrote: > > Dear Johan > > In answer to your questions > > A) I have restarted Apache Good.. > B) I stored it in the htdocs file within the Apache installation directory That's like "c:\program files\apache group\apache\htdocs\", ok? > C) I was

Re: [PHP-WIN] Unable to see my .php script in IE5

2001-06-26 Thread Johan Lundqvist
Just to check the obvious A: You have restarted Apache? B: Where did you store phpinfo.php? C: You have set "short_open_tag = On" in php.ini? /Johan Michael wrote: > > Please help > > I am having some serious problems. I have used a text editor to write the > fo

Re: [PHP-WIN] Call Perl script in PHP

2001-06-20 Thread Johan Lundqvist
ere's still possible problems. Program Execution functions work fine in Linux-PHP-Apache config (that's where I use it) for app's that really need that functionality. /Johan > > I could not get the result of perl script to my browser. I need help thanks. > > I use IIS + Win

Re: [PHP-WIN] Php interact with Dreamwaver

2001-06-19 Thread Johan Lundqvist
he "Search Extensions" box and hit "GO", and there you are... /Johan -- PHP Windows 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 PROTECTED]

Re: [PHP-WIN] Basic Authentication

2001-06-19 Thread Johan Lundqvist
hen dealing with usernames and passwords like this. They must never get exposed in anyway. Your most dirty mind just can't imagine what people end up doing with it... /Johan Thomas Dedeyne wrote: > > Hello, > > I have a folder with some restrictions on. Now I want to give some p

Re: [PHP-WIN] cosine and sin in PHP on Win2K & IIS 5

2001-06-19 Thread Johan Lundqvist
Hi, That's correct, since PHP cos() and sin() uses radians and not degrees. This can be solved by first using deg2rad(). This would make your code look like this: $i = deg2rad(270); print "cos:".cos($i); print "sine:".sin($i); cos:0 sin:-1 /Johan Brad

Re: [PHP-WIN] escape loop on timeout

2001-05-22 Thread Johan Lundqvist
U R right Zak, I'm a bit dizzy today, thanx. -- PHP Windows 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 PROTECTED]

Re: [PHP-WIN] escape loop on timeout

2001-05-22 Thread Johan Lundqvist
This is a way of doing it: $s = time() + 10; for ($i = time(); $i <= $s; $i++) { print $i; } Will run for about ten seconds... /Johan Brendan Gogarty wrote: > > hi, > just wondering if there was any easy way to break/escape from a loop > (for loop) if the loop exceeds a ma

Re: [PHP-WIN] OK, I'm officially screwed if I can't get some suggestions

2001-05-22 Thread Johan Lundqvist
Sounds to me like it might be the firewall messing things up. Are the clients connecting with https? What's the workload on the firewall? You said that the web server is in the DMZ. Where are the clients? On the Private or Public side of the firewall? /Johan "Asendorf, John"

[PHP-WIN] Print out a paper?

2001-05-21 Thread Johan Lundqvist
priner.dll come out of beta stage? I got this to work well on Linux, but can't get it to work my way in Windoze... Thanx /Johan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list ad

Re: [PHP-WIN] DNS/WEB SERVER WITH APACHE/PHP/WIN98

2001-05-21 Thread Johan Lundqvist
ouldn't recoment running it on Win9X platform. In tesing/development environments you could replace DNS functionallity with the hosts-file. /Johan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL P

Re: [PHP-WIN] Canceling a Query

2001-05-18 Thread Johan Lundqvist
quite easy to implement in NetWare, haven't got a clue about if it'll work in Windoze. Dunno if this might help you with any ideas... /Johan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

Re: [PHP-WIN] extracting email addresses

2001-05-17 Thread Johan Lundqvist
Get in contact with some SPAM people... they all seem to get it done... afan wrote: > > Hi all, > there is my problem: I have a large text file with a lot of email addresses included >in text. I have to extract just email addresses from a whole text. > What's the way to do that? > > Thanks for

Re: [PHP-WIN] anti-advocacy: Larry Seltzer, pcmag May'01 pub.

2001-05-09 Thread Johan Lundqvist
server side development as the same thing, and that's not true. Though Micro$oft often mislead people to that idea... /Johan Hmmm, that tended to be quite misspelled and long, sorry bout that... -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [PHP-WIN] Loading Database modules..error

2001-05-09 Thread Johan Lundqvist
Have you checked the "extension_dir" in php.ini?? I got fed up with the path statements, so I simply put the dll's I need in system32, and it works fine. Not a good lookin solution, but it works in my test environment (in production we use Linux). /Johan macky wrote: > &

[PHP-WIN] echo vs print?

2001-05-04 Thread Johan Lundqvist
Hi there, I'm lookin into some code a friend of mine wrote and we got in to this arguement: Is there any differens in performance when using "echo" vs "print"?? I belive print is, more or less, an alias for echo, he doesn't. Someone got any answer to this??? /

Re: [PHP-WIN] php newbie seeks help!

2001-05-03 Thread Johan Lundqvist
Not sure, but it sounds like php_crypt.dll would do the trick. Seth Cox wrote: > > Hey! I just installed PHP on my Sambar server. It works great but I have > one question. While reading a book to learn the PHP scripting language, > it talks about having the encrypt() and decrypt() options with a

Re: [PHP-WIN] mysql dump

2001-05-03 Thread Johan Lundqvist
'\\' LINES TERMINATED BY '\n' Since you get the error: MySQL said: File 'c:windowstempphpc021.tmp' not found (Errcode: 2) you might see that it took away the backslashes?? If you don't know why, take a look at php manual Chapter 6. Types and the page ab

Re: [PHP-WIN] mysql dump

2001-05-02 Thread Johan Lundqvist
Hi Giro, You'll have to type c:\\Windows\\Temp\\phpC021.TMP /Johan Giro De Roover wrote: > > Hi everyone, > > I am experiencing problem with mysql trying to import a text file with data > into a table, i am using phpmyadmin in order to do that, going to insert > t

Re: [PHP-WIN] need your opinion

2001-05-01 Thread Johan Lundqvist
Yes Mike, but if it's a larger database you might wanna use the functions in MySQL instead. Then you will save time and memory by not selecting everything everytime and then process it in php. Take a look at 7.4.9 in MySQL doc (http://www.mysql.com/doc/M/a/Mathematical_functions.html). /

Re: [PHP-WIN] NT4 + Apache problem

2001-04-26 Thread Johan Lundqvist
This is normal when something is very wrong in php.ini Check the syntax in all lines in your ini-file. Ermanno Iannacci wrote: > > I get a strange error when i use php with Apache on NT4 > If i run phpinfo() i get this error: > "Could not attach to the application > win NT error code = 87" > >

Re: [PHP-WIN] MYSQL Help

2001-04-26 Thread Johan Lundqvist
Tom's answer is correct, but... I just HAVE to comment on the security issue in allowing telnet access at all. You should think more than twice before open up any system, in any way... You might wanna think SSH, firewall or maybe VPN... I dunno. /Johan Tom Mathews wrote: > > 1) C

Re: [PHP-WIN] Authorization on IIS5 (PHP4; Win2k)

2001-04-24 Thread Johan Lundqvist
In php.ini just enable LDAP in "Dynamic Extensions" section by entering the line extension=php_ldap.dll and restart the web-server (if ISAPI module) and off you go... Joel Gilbert wrote: > > Thanks for the info. Just one more thing, is it possible to set up LDAP in > PHP for Win2K & IIS, and if

Re: [PHP-WIN] Authorization on IIS5 (PHP4; Win2k)

2001-04-23 Thread Johan Lundqvist
se cookies to store the user > preferences, but am I right in thinking that if they log on from another > computer their settings won't be loaded? Correct. /Johan -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mai

Re: Vs: [PHP-WIN] Problem with: exec(), system()

2001-02-15 Thread Johan Huhtalo
test, want to use c:\\test\\test.exe, but gets the same errors > */ > $hmm = system( $cmd ); > ?> > > T. SJM > > ps. I escaped the DIR C: => "DIR C:\" as well (\"DIR C:\\\"), even though > it works without. > > Johan Huhtalo <[EMAIL PROTECTE

[PHP-WIN] Problem with: exec(), system()

2001-02-15 Thread Johan Huhtalo
?> Thanks for help. -- Regards Johan -- PHP Windows 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 PROTECTED]