[PHP-WIN] Re: php4ts.dll, developing own handlers

2002-02-22 Thread l0t3k
Alexander, in zend_execute_API.c ZEND_API int zend_eval_string(char *str, zval *retval_ptr, char *string_name TSRMLS_DC) id do a search in the code to find the implementation of eval(). this should yield some clues Alexander GräF <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[

Re: [PHP-WIN] Re: swatch internet time

2002-02-22 Thread B Thomas
"Daniel Beulshausen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > At 14:44 22.09.2001 +1200, Arron Edwards wrote: > >Hey all i worked it out. Someone emailed me the C code, I converted it to > >PHP here it is if any one else wants it. > > you can just use da

[PHP-WIN] Re: opener header

2002-02-22 Thread Alexander Gräf
i think HTTP_REFERER is what you want. this variable holds the url of the page that linked to you. "Wojciech Spychala" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > > Some scripts recognize what was previos page on your browser befor u get to > t

[PHP-WIN] php4ts.dll, developing own handlers

2002-02-22 Thread Alexander Gräf
hello, i'm using php on win32, and i want to use the functions provided by php in a dll. i only want to give php a string with php-code and want to get the outputs produced by the php-interpreter. i looked for a solution with temporary files and php.exe but php also outputs headers, etc. and in

RE: [PHP-WIN] "The connection with the server was reset"

2002-02-22 Thread Ross Fleming
Actually, scrap my first answer, I think it's to do with the size of the script. It grows with the size of the file I believe. Instead of using fpassthru(), use a buffer instead: while(!feof($fd)) { $buffer = fread($fd, 4096); print $buffer; } fclose($fp); That may work better, in fa

Re: [PHP-WIN] Re: WELCOME to php-windows@lists.php.net

2002-02-22 Thread DL Neil
Hi Dustin, > I was wondering I am running php on a win2k server and have downloaded and > installed phpwebdev which uses the apache webserver. I need to be able to > send mail on this box. Can you tell me of a program that will work with php > and windows. and what code I need besides the mail()

[PHP-WIN] Merging Arrays

2002-02-22 Thread W-Mark Kubacki
Hello, I'm trying to merge two multidimensional arrays, but it doesn't work neither with array_merge nor array_merge_recursive. Is there a solution which makes the following problem-script to print every element (and not mergin two existing elements to a new sub-array): - Cod

[PHP-WIN] Re: WELCOME to php-windows@lists.php.net

2002-02-22 Thread Dustin_Rabe
Hi, I was wondering I am running php on a win2k server and have downloaded and installed phpwebdev which uses the apache webserver. I need to be able to send mail on this box. Can you tell me of a program that will work with php and windows. and what code I need besides the mail() command in php

[PHP-WIN] pspell

2002-02-22 Thread Michael Langford
Does anyone know how to configure pspell for Windows? I think I've installed it properly, but the compilation using --with-pspell is obviously a linux command. I'm after either lines to add to php.ini file, or an equivalent windows compilation command. Many thanks for any help Mike Langford

[PHP-WIN] Re: Extension problem.

2002-02-22 Thread Nicole Amashta
You need to edit your registry to associate .php3 extension with PHP. You can look up the documentation with either you php files or at php.net. Nicole Amashta www.aeontrek.com "Tom Van Gemert" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Yo, > > I hace rec

Re: [PHP-WIN] Bad char Translation

2002-02-22 Thread -HONU-
... mm something else... when i try Print("Blés"); the output in the console is Blùs And the problem is not only there ... if i send "Blés" to an SQL server database it becomes "Blùs" ! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP-WIN] Bad char Translation

2002-02-22 Thread -HONU-
The source file is ISO-8859-1.. and the result is not displayed on a webpage but in a console ... This is where the problem come when i display the result in the console > I've got a text file containing "blés, Châteaux ..." (without quotes) > > I'm reading this file like this > > $FileNam

[PHP-WIN] Extension problem.

2002-02-22 Thread Tom van Gemert
Yo, I hace recently installed PHP with PWS 4 on my PC and I am only able to run *.php documents in the browser. *.php3 extensioned files will display code as text in the browser window. Can anybody tell me how to configure things, so it also runs *.php3 extensions? Help is appreciated... To

php-windows Digest 22 Feb 2002 14:49:43 -0000 Issue 1013

2002-02-22 Thread php-windows-digest-help
php-windows Digest 22 Feb 2002 14:49:43 - Issue 1013 Topics (messages 12215 through 12223): Re: PHP Authentication 12215 by: Gehring Uwe 12216 by: Rasmus Lerdorf 12217 by: Ross Fleming 12220 by: Collins, Robert "The connection with the server was reset"

RE: [PHP-WIN] Bad char Translation

2002-02-22 Thread Svensson, B.A.T. (HKG)
>Hi, > >I've got a text file containing "blés, Châteaux ..." (without quotes) [...] >But when i launch the script through the console (under >windows 2000) ...characters are translated :blùs, Chôteaux ... > >what does it means .. .? Windows uses ISO-Latin-1, aka ISO-8859-1. So it probably mean

[PHP-WIN] Re: Form

2002-02-22 Thread Nicole Amashta
haha, sorry i saw the bad words, and couldn't help myself ... "Internerds Canada" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I need to make this script send a file with it, can anyone help? thanks. > dont worry about the bottom part, i havent finished it

[PHP-WIN] Bad char Translation

2002-02-22 Thread -HONU-
Hi, I've got a text file containing "blés, Châteaux ..." (without quotes) I'm reading this file like this $FileName = "Test.txt"; $FileHand = fopen($FileName, "rb"); $Data = fread($FileHand, filesize($FileName)); fclose($FileHand); print_r($Data); Under Linux, by asking the script throught an

RE: [PHP-WIN] PHP Authentication

2002-02-22 Thread Collins, Robert
It took some digging on the PHP-Win Archive but I found the answer a long time ago... You have to be running PHP as an Apache module (not a CGI). in Apache change : ScriptAlias /php/ "C:/Program Files/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php.exe" to :

RE: [PHP-WIN] "The connection with the server was reset"

2002-02-22 Thread Ross Fleming
Hmmm... to me it sounds like it times-out. I know you've got set_time_limit(0), but have you removed max_execution_time from the php.ini file? I think that if it's there then it still gets used. Otherwise I'd look into IIS's timeout settings (don't know about them) which might very well overrid

[PHP-WIN] "The connection with the server was reset"

2002-02-22 Thread Ronny Salomonsen
I've created a simple downloadscript that handles file downloads (it redirects to a file that cannot be accessed through internet. After 2% I get the following errormessage: Internet Explorer cannot download basedata.mdb from [removed] The connection with the server was reset The script

RE: [PHP-WIN] PHP Authentication

2002-02-22 Thread Ross Fleming
You could always just do the authentication simply from IIS Ross -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: 22 February 2002 07:55 To: Christoph Grottolo Cc: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] PHP Authentication Well, then you simply can't use HTTP A