RE: [PHP-WIN] IMAP

2001-03-29 Thread Fernando Madruga
I'v tried that piece of code on my exchange based imap and it failed; I then tried it on my external, unix based, mail account and it worked perfectly, after I used /pop3:110 after the server name, e.g.: "{milu.ipn.pt/pop3:110}INBOX"... Are you trying to use it with an MS Exchange Server? Bye,

RE: [PHP-WIN] Javascript

2001-03-29 Thread Fernando Madruga
Have you tried the string concatenation operator? e.g.: msgWindow=window.open( "ContentsWindow.php3?ID=" . IDent, "displayWindow","menubar=no,width=500,height=300") I don't know if it's '.' or '&' or whatever: just check your docs on javascript and look for string concatenation. HTH, Madrug

RE: [PHP-WIN] PHP and Filesystem - Solution Fixed

2001-03-29 Thread Fernando Madruga
u can simply copy/paste the block of code into a file... Bye, Madruga -Original Message- From: Fernando Madruga [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 29 de Março de 2001 13:34 To: Thomas W. Badera; [EMAIL PROTECTED] Subject: RE: [PHP-WIN] PHP and Filesystem - Solution First, if y

RE: [PHP-WIN] PHP and Filesystem - Solution

2001-03-29 Thread Fernando Madruga
Some lines were wrapped on my previous msg; this one fixes that, so you can simply copy/paste the block of code into a file... Bye, Madruga -Original Message- From: Fernando Madruga [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 29 de Março de 2001 13:34 To: Thomas W. Badera; [EMAIL

RE: [PHP-WIN] PHP and Filesystem - Solution

2001-03-29 Thread Fernando Madruga
First, if you're trying to get just the name of a file in a url, use basename(). Then remove stripslahes as it corrupts binary data. This would result in the following code that I've *TESTED* with some image urls and modified to print a nicely formated progress; I've also renamed some variables...

RE: [PHP-WIN] php from the command-line

2001-03-27 Thread Fernando Madruga
Did you try enclosing the file name in quotes? E.g: php "C:\Programmi\Apache Group\Apache\htdocs\test\phpinfo.php" what about simply executing php, then quickly (within 30 seconds) typing followed by CTRL-Z? HTH, Madruga -Original Message- From: Giuseppe D'Ambrosio [mailto:[EMAIL PRO

RE: [PHP-WIN] %V for strftime does not work under Windows NT

2001-03-27 Thread Fernando Madruga
Try this to see what is your current locale: I believe it must be some implementation issue: I've tried all that and even tried an example from PHP's manual (under gmstrftime), where I added the %V: On my Windows 98 SE machine I get nothing with %V !! HTH, Madruga -Original Message---

RE: [PHP-WIN] (should be) easy questions from a beginner

2001-03-27 Thread Fernando Madruga
> 1. Why when I use $PHP_SELF, I get the file referenced twice? Ex: in > file hello.php I have > > echo $PHP_SELF ; > ?> > > and the result is: /cgi-bin/hello.phpcgi-bin/hello.php This one beats me... :) Try one of the 'other', like $SCRIPT_NAME and see if it works the same... > 2. I set up

RE: [PHP-WIN] resolution problems in dinamic .gif

2001-03-26 Thread Fernando Madruga
releases of the printer driver. I've been trying to fix this problem using a Lexmark Optra S 1255 PS2. Give me your email and I'll send you the .gif I'm using, of course without the company's logo (my boss will kill my if I send it with the logo instead). By the way, do you sp

RE: [PHP-WIN] Freaks only !!!

2001-03-26 Thread Fernando Madruga
Well, if you are waiting for an answer from someone, I would suggest finding a german newsgroup and asking the question in your native language. Your english is not bad: it's terrible! I for one, can't understand what the heck you are saying! :) Bye, Madruga P.S.: Sorry for this kind of answer

RE: [PHP-WIN] asp to php

2001-03-23 Thread Fernando Madruga
I don't know any ASP, but you could try http://www.naken.cc/ for an automated ASP2PHP program. >From what your code looks like it's doing, I would say it is fairly easy to do in PHP... :) This is the output from asp2php 0.75.10: It commented out two lines... I don't know if they are important.

RE: [PHP-WIN] resolution problems in dinamic .gif

2001-03-23 Thread Fernando Madruga
Why don't you send me a sample image? I'll print it and see what I get. Perhaps you're not using a recent driver for your printer: try checking the manufacturer's web page for a more recent one... HTH, Madruga -Original Message- From: Praying Mantis [mailto:[EMAIL PROTECTED]] Sent: sex

RE: [PHP-WIN] NT Stability

2001-03-23 Thread Fernando Madruga
5 minutes equals 300 seconds (5*60) Apache does have a 300 seconds timeout; does IIS have that one too? from apache's httpd.conf: # # Timeout: The number of seconds before receives and sends time out. # Timeout 300 Maybe IIS does not realize that the script is already completed or the script has

RE: [PHP-WIN] Re: [PHP-WINDOWS] Windows is Slow...

2001-03-23 Thread Fernando Madruga
Do you NEED to run IIS? Why don't you try Apache? It's free, and it runs on WinNT too... HTH, Madruga -Original Message- From: Eric L.. Edberg [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 23 de Março de 2001 14:06 To: [EMAIL PROTECTED]; Joel Roller Subject: [PHP-WIN] Re: [PHP-WINDOWS]

RE: [PHP-WIN] FATAL: emalloc(): Unable to allocate 2147483599 bytes

2001-03-23 Thread Fernando Madruga
What about 'usefull' queries? Do they fail too? Bye, Madruga -Original Message- From: Denis Eltsov [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 23 de Março de 2001 7:47 To: [EMAIL PROTECTED] Subject: [PHP-WIN] FATAL: emalloc(): Unable to allocate 2147483599 bytes I use win2000 SP1 -

RE: [PHP-WIN] Apache Modules

2001-03-22 Thread Fernando Madruga
Seems to be broken. Is there a specific time of the day to browse this site? Bye, Madruga -Original Message- From: Giro [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 21 de Março de 2001 23:24 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Apache Modules This is a good one, one develop

RE: [PHP-WIN] include_once problem...

2001-03-22 Thread Fernando Madruga
Wow! That was helpfull! I don't want to start a flame, but you SHOULD read a msg before replying!! The WHOLE problem was precisely that INCLUDE_ONCE is not doing what it should, that is, include that file only once!!! I used to have it working, now I'm reinstalling and using more recent versions

RE: [PHP-WIN] Apache/PHP on Win 2000

2001-03-22 Thread Fernando Madruga
Defining two different types (your lines 2 and 5) for the same extension does not help... Try removing the last line. Also, you'll have to enable script parsing for the directories involved: check your apache docs for and 'options'. HTH, Madruga -Original Message- From: [EMAIL PROTECT

RE: [PHP-WIN] Does Apache for Win support DOCUMENT_ROOT & REQUEST_URI? Where is Apache for Win?

2001-03-22 Thread Fernando Madruga
Yes, it does. You can get it from http://httpd.apache.org/dist/httpd/binaries/win32/. HTH, Fernando Madruga -Original Message- From: Yasuo Ohgaki [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 22 de Marco de 2001 2:53 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Does Apache for Win

RE: [PHP-WIN] Naming Variables Based on Variable Content

2001-03-21 Thread Fernando Madruga
An example: This will echo $Contents = Will it work? HTH, Fernando Madruga -Original Message- From: Michael Rudel [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 21 de Março de 2001 14:14 To: 'Will Degener'; 'Php-Windows (E-mail)' Subject: RE: [PHP-WIN] Namin

RE: [PHP-WIN] MySQL errors

2001-03-21 Thread Fernando Madruga
Well, there is no need to use a beta version of mysql when a stable version exists! Why don't you start by upgrading to 3.23.34 ?! Maybe your problem goes away! HTH, Fernando Madruga -Original Message- From: Dirk Bonenkamp - Bean IT [mailto:[EMAIL PROTECTED]] Sent: terça-feira,

RE: [PHP-WIN] PHP, MySQL, Apache Set Up (Windows)

2001-03-20 Thread Fernando Madruga
I'm on the process of reinstalling all that and more and I'll post a sort of step by step instruction later today, as I have to document the whole thing for myself... HTH, Fernando Madruga -Original Message- From: OneFish [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 19 d

RE: [PHP-WIN] Showing source code with .phps extension

2001-03-19 Thread Fernando Madruga
For more information, check out 'Action' and 'AddHandler' on your Apache documentation. This has the advantage that you can add your own header/footer information so that the page does not look so 'detached' from your site... In fact, this is how I'm going to d

RE: [PHP-WIN] Problem with PHP4.04 installation

2001-03-19 Thread Fernando Madruga
ve is free, comes with source, runs on multiple OS from linux to windows, and can be used even for profit! Besides, Apache is MUCH more powerfull than PWS... HTH, Fernando Madruga -Original Message- From: John [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 19 de Março de 2001 13:59 To:

RE: [PHP-WIN] save as _> unable to retrieve the file_name of the image

2001-03-19 Thread Fernando Madruga
Have you tried to add a name='whatever' attribute on the tag? If that does not work, what is the .php code you're using? HTH, Fernando Madruga -Original Message- From: Lars Eirik Rønning [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 19 de Março de 2001 10:26 To: [

RE: [PHP-WIN] POST Problems

2001-03-19 Thread Fernando Madruga
an SMTP server on the machine running PHP? If not, you should change 'SMPTP=localhost'... If you do, try using the IP address instead... HTH, Fernando Madruga -Original Message- From: Ricardo Perazzo [mailto:[EMAIL PROTECTED]] Sent: sábado, 17 de Março de 2001 11:17 To: [EMAIL

RE: [PHP-WIN] Acess to mySQL

2001-03-16 Thread Fernando Madruga
Short Answer: YES. Long Answer: look on the tools page on www.mysql.com/; there you will find at least two different ways (not to mention ODBC drivers for MySQL that would allow you to copy data using Access): My Access 1.4 MyAccess is an AddIn for Access 97 / Access 2000 to manage MySQL

RE: [PHP-WIN] A restart question

2001-03-16 Thread Fernando Madruga
You failed to say WHERE do you use the php dll... Apache? Pws? IIS? If you use it in Apache, just shutdown apache, replace the dll, restart apache. Possibly the same applies to other http servers. HTH, Madruga -Original Message- From: Antonio Lopez [mailto:[EMAIL PROTECTED]] Sent: sext

RE: [PHP-WIN] Showing source code with .phps extension

2001-03-16 Thread Fernando Madruga
the proper color coded source. HTH, Fernando Madruga -Original Message- From: Anders Pettersson [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 15 de Março de 2001 18:35 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Showing source code with .phps extension On my Linux RH 6.2 computer - when

RE: [PHP-WIN] exec/system/passthru ??????

2001-03-15 Thread Fernando Madruga
's a lot harder to do... :) I don't (yet) have any experience on php scripts outside of web pages, so I believe I can't be of much help to you... :) See ya, Fernando Madruga -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

RE: [PHP-WIN] exec/system/passthru ??????

2001-03-15 Thread Fernando Madruga
ng whatever it has to do just before exiting... :) HTH, Fernando Madruga -Original Message- From: Josh Seward [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 15 de Março de 2001 15:10 To: [EMAIL PROTECTED] Subject: [PHP-WIN] exec/system/passthru ?? I am trying to open a program and le

php-windows@lists.php.net

2001-03-15 Thread Fernando Madruga
Yes: go get the 1.3.17 windows binary and install it. (http://httpd.apache.org/dist/binaries/win32/apache_1.3.19-win32-src-r2.msi) You can also try the php4apache-eapi.dll instead if your php distribution comes with one... HTH, Fernando Madruga -Original Message- From: Aleksey

RE: [PHP-WIN] PHP+Apache question

2001-03-15 Thread Fernando Madruga
The easy way is to use register_shutdown_function('function_name') and that function will be executed AFTER the script finishes, so the end use will not have to wait for it to complete... HTH, Fernando Madruga -Original Message- From: Martin Lindhe [mailto:[EMAIL PROTEC

RE: [PHP-WIN] apache + php + system() = error :(

2001-03-15 Thread Fernando Madruga
You could try replacing "batch.bat" with "c:\windows\command.com /c batch.bat" for windows 9x or "C:\winnt\cmd.exe /c batch.bat" or something like that. HTH, Fernando Madruga -Original Message- From: Jürgen Lasn [mailto:jyrgen[@][EMAIL PROTECTED]] Sent

RE: [PHP-WIN] Print variables coming from a form not controled by me...

2001-03-15 Thread Fernando Madruga
TTP_POST_FILES is provided to contain the uploaded file information. This is still only available if track_vars is turned on, but track_vars is always turned on in versions of PHP after PHP 4.0.2." If you're using PHP3, you may have to change your php.ini to turn on track_vars... This co

RE: [PHP-WIN] Help Needed on MSSQL

2001-03-15 Thread Fernando Madruga
depends on a NTWDBLIB.DLL which you may not have... Just a guess. HTH, Fernando Madruga -Original Message- From: R. Srinath [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 15 de Março de 2001 9:08 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Help Needed on MSSQL >Dear Sir >I install

RE: [PHP-WIN] Download Prompt Problem

2001-03-15 Thread Fernando Madruga
files and will probably do the trick. HTH, Fernando Madruga -Original Message- From: Daniel [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 15 de Março de 2001 1:57 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Download Prompt Problem I am very new to php, but i tried to install it and i fo

RE: [PHP-WIN] php & Win95

2001-03-14 Thread Fernando Madruga
onder [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 14 de Março de 2001 18:00 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] php & Win95 What should I change in the php.ini ? Marco "Fernando Madruga" <[EMAIL PROTECTED]> schreef in bericht 3685A91F554BD411BA310008C759B6

RE: [PHP-WIN] php & Win95

2001-03-14 Thread Fernando Madruga
> I have some problems installing php on apache on win85. ^ First, upgrade your windows 85 to a newer version!!! :) Seriously, you should copy php4tsdll.dll or something like that into the apache/modules directory and make sure that you ch

RE: [PHP-WIN] date() problem

2001-03-14 Thread Fernando Madruga
This one may be easy to explain, not so easy to fix... According to mktime documentation: 'Year may be a two or four digit value, with values between 0-69 mapping to 2000-2069 and 70-99 to 1970-1999 (on systems where time_t is a 32bit signed integer, as most common today, the valid range for ye

RE: [PHP-WIN] Sending email from PHP on windows 95

2001-03-14 Thread Fernando Madruga
> SMTP: mail.hosthere.com Is this the EXACT contents of your ini? If it is, that's the error: you should have changed to something like: SMTP: xs4all.nl Also, try to use the IP address instead of the name (do a PING xs4all.nl to find out the IP address). HTH, Fernando Madruga

RE: [PHP-WIN] Mail/PHP/Apache

2001-03-14 Thread Fernando Madruga
//www.php4win.de/ or somewhere else for a more detailed explanation... HTH, Fernando Madruga -Original Message- From: Gaylen Fraley [mailto:[EMAIL PROTECTED]] Sent: quarta-feira, 14 de Março de 2001 11:32 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Mail/PHP/Apache I have placed my

RE: [PHP-WIN] Mail/PHP/Apache

2001-03-14 Thread Fernando Madruga
ms. - Did you check for multiple copies of PHP.INI? - Is PHP.INI in your C:\Windows\ folder? Just a few thinks to check for... HTH, Fernando Madruga > I am experiencing technical difficulties! I have Apache and PHP 4 installed > on a Windows 98SE machine. Everything is working perf

RE: [PHP-WIN] Apache Modules

2001-03-12 Thread Fernando Madruga
Depending on your distribution, they may be called something else, e.g.: mod_rewrite.so Almost ALL files under modules/ in your installation directory ARE modules... HTH, Fernando Madruga -Original Message- From: Matt Williams [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 12 de

[PHP-WIN] RE: Echoed Status and Content-type Problem

2001-03-09 Thread Fernando Madruga
Does it happen ONLY on this page? Do you write or echo ANYTHING before the header()? What is the value for error_reporting on your PHP.INI? Can you make the source available if all else fails (copy it to .phps and give us the url for that one)? HTH, Fernando Madruga -Original Message

[PHP-WIN] RE: CGI error?

2001-03-09 Thread Fernando Madruga
Do you NEED to run PHP instead of using mod_php? I use mod_php and I get my error handler executed if the .php file requested does not exists... Besides, using mod_php is faster than running the external php.exe... :) HTH, Fernando Madruga -Original Message- From: [EMAIL PROTECTED

[PHP-WIN] RE: gdImageColorAllocate(), self-explained

2001-03-09 Thread Fernando Madruga
I don't think its an 'inexplicable' limitation... AFAIK, the gif file format is a palette-based file format, and it is limited to 256 colors... If the library was designed to create gif files, it should have the same limitations as the generated file format... Yours truly, F

[PHP-WIN] RE: [PHP] Problem using readfile

2001-03-09 Thread Fernando Madruga
What are the contents of $type? When opening the file directly, the browser will probably use the specified $type information, as opposed to the explorer using the file extension when the user saves it to disk, so the problem may be that $type is not correct... ;) HTH, Fernando Madruga

[PHP-WIN] RE: Win32 PHP, Apache Web Server, and Mail

2001-03-07 Thread Fernando Madruga
Can you 'ping idris.curtin.edu.au' from your windows machine? Is that machine the SMTP server? If you use Microsoft Exchange for your email server, is it configured to allow SMTP access? (Outlook and Windows Messaging DON'T access an Exchange mail server by SMTP/POP3 but instead use a proprietary

[PHP-WIN] RE: Help with ODBC to Access query

2001-03-06 Thread Fernando Madruga
I don't know about MySQL, but some other SQL databases I've used MUST have all fields specified in the WHERE clause returned in the SELECT! That is, you should probably add ', CallDate' to the SELECT part so as to return it. Just a thought. Madruga > I'm trying to get the following query to wor

[PHP-WIN] RE: Web Servers

2001-03-02 Thread Fernando Madruga
g) as it's an Apache+OpenSSL+PHP4 binary Windows installshield distribution: you may find it easier to setup. Fernando Madruga [EMAIL PROTECTED] -Original Message- From: Jim Ray [mailto:[EMAIL PROTECTED]] Sent: sexta-feira, 2 de Março de 2001 2:23 To: Php-Windows Subject: Web Servers