[PHP-WIN] HTTP_REFERER

2002-02-25 Thread "Spychała, Wojciech"
$HTTP_REFERER shows the address of the page which referred the browser to the current page. This is set by the user's browser can I set is manualy to cheat a script? Thanks Wojtek -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-windows Digest 26 Feb 2002 08:03:19 -0000 Issue 1018

2002-02-25 Thread php-windows-digest-help
php-windows Digest 26 Feb 2002 08:03:19 - Issue 1018 Topics (messages 12270 through 12291): Re: comparing dates with oracle 12270 by: Svensson, B.A.T. (HKG) 12271 by: Sandeep Murphy 12272 by: Svensson, B.A.T. (HKG) 12273 by: Jerry Nelson 12274 by: San

RE: [PHP-WIN] Re: opener header

2002-02-25 Thread "Spychała, Wojciech"
yea but i need exactly something else i want to cheat script. If script wants to know what HTTP_REFERER is I want to show him something else than realy is hmm is that clear? -Original Message- From: Alexander Gräf [mailto:[EMAIL PROTECTED]] Sent: Friday, February 22, 2002 9:55 PM To: [EM

RE: [PHP-WIN] passthru() on Win98 ??

2002-02-25 Thread Shrock, Court
To explain the 400 bad request, you most likely had a typo when you typed in the HTTP request. The request is case-sensitive and very particular. Most likely, the "Host: localhost" portion of the request messed up somehow. When you get a "HTTP/1.1 200 OK" response, that means that the webserver

Re: [PHP-WIN] Help with XSL

2002-02-25 Thread J Wynia
I did an XSLT demo a while back for the Twin Cities PHP User Group. My notes and demo code are available at http://www.tcphp.org/meeting_notes/xslt/. I wrote the demo on Windows. "Phillip Fox" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > On Mon, 25 Feb

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-25 Thread Sviss Cobazor
I followed your instructions and got: HTTP/1.1 400 bad request > Date: Tue, 26 Feb 2002 01:05:57 GMT > Server: Apache/1.3.20 (Win32) > Connection: close > Content-Type: text/html charset=iso-8859-1 ... And then the same in html source ... (in the putty window) So I didn't get what was expected

RE: [PHP-WIN] passthru() on Win98 ??

2002-02-25 Thread Shrock, Court
Sure, go to http://www.chiark.greenend.org.uk/~sgtatham/putty/latest/x86/putty.exe and download it. It is PuTTY, an open source telnet/ssh client that is far superior than the telnet included in windows. Instructions are prefaced with a *. *run the exe *type in the HostName field: localhost *m

Re: [PHP-WIN] passthru() on Win98 ??

2002-02-25 Thread Sviss Cobazor
I'm sorry but I'm not very familiar with telnet usage. If you can give me an example I'll try it asap. "Court Shrock" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Have you tried to telnet to localhost:80 and given it a valid request header > to see what you

Re: [PHP-WIN] Help with XSL

2002-02-25 Thread Phillip Fox
On Mon, 25 Feb 2002, Noel Billig wrote: > Anybody out there get XSL transforms working with PHP4.1.1 and Apache1.3.22 > (Win32)? Yes, I got it to work, but before I did I was getting the same encoding error as you. I'm not sure what is causing your iconv dll errors though. I have a iconv-1.3.d

RE: [PHP-WIN] passthru() on Win98 ??

2002-02-25 Thread Shrock, Court
Have you tried to telnet to localhost:80 and given it a valid request header to see what your response from teh webserver is? when connected via telnet to port 80, type: GET / HTTP/1.1[enter] Host: yourhost.com[enter] [enter] [enter] You should see something like: HTTP/1.1 200 OK Date: Mon, 25 F

[PHP-WIN] passthru() on Win98 ??

2002-02-25 Thread Sviss Cobazor
Hi everyone. I've posted earlier about this problem but haven't gotten any solution yet. I'm using HTMLDOC application for html > pdf convertion but I can't get passthru() to work. I'm using Win98/Apache/PHP 4.1.1/MySQL and everything so far has been smooth. I have tested my header() funktion wit

[PHP-WIN] Re: compiling from cvs with vc++.net

2002-02-25 Thread Devon Knowles
I've had the exact same problem. If you ever get it to work I'd be thankful to hear how you did it. - Devon Knowles -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] GD2 build

2002-02-25 Thread Frank M. Kromann
Hi Joris, > My php version 4.1.1 (downloaded from php.net a week ago) contains 2 files > in the extensions directory: php_gd.dll and php_gd2.dll This sounds like GD for version 1.x and 2.x. I'm not using any pre compiled versions of PHP so I have no idea of why the system is crashes. It could b

[PHP-WIN] compiling from cvs with vc++.net

2002-02-25 Thread Christoph Grottolo
Hi I try to compile latest cvs with visual studio.net according to the instructions in the manual. I'm always getting the following linking error: php4ts fatal error LNK1104: cannot open file 'php4ts_debug.lib' Can anybody help me with that? Christoph -- PHP Windows Mailing List (http

Re: [PHP-WIN] GD2 build

2002-02-25 Thread Joris Pinnoo
Thank you Frank, but before I start using your latest build, I have an other question. My php version 4.1.1 (downloaded from php.net a week ago) contains 2 files in the extensions directory: php_gd.dll and php_gd2.dll What's the difference between those 2 files? Is the second one the GD library

[PHP-WIN] Help with XSL

2002-02-25 Thread Noel Billig
Anybody out there get XSL transforms working with PHP4.1.1 and Apache1.3.22 (Win32)? I'm a developer (not a server administrator) trying to set up a local box to work on and I've been going through the install process (which has been extremely frustrating so far), but I think I'm finally close, u

Re: [PHP-WIN] GD2 build

2002-02-25 Thread Frank M. Kromann
You can find this on http://kromann.info/php4.php. This site is updated with the latest version of PHP sources from CVS each morning. Not all extensions are supported at the moment though but both GD1 and GD2 are included. - Frank > where can I find a PHP-build with the latest GD-functionalit

[PHP-WIN] Again compiling under Windows

2002-02-25 Thread Piotr Pluciennik
Hi, thank you very much, but in this part of the manual there is no information answering the question: How can I compile my own extension (it means - not write but create php_extxx.dll) in Windows? TIA Piotr --- Christoph Grottolo <[EMAIL PROTECTED]> wrote: > see in the manual under installat

[PHP-WIN] HELP!!

2002-02-25 Thread Lindsay Gillam
Hi, I am just starting out learning php and have printed off all the manual for installing on windows. I have a Windows 2000 server using IIS. I have followed all the instructions being: goto registry editor and addd new string for the type of extention you will be using for your .php files. Ins

RE: [PHP-WIN] comparing dates with oracle

2002-02-25 Thread Sandeep Murphy
it works..! thnx.. -Original Message- From: Jerry Nelson [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 25 de Fevereiro de 2002 16:55 To: [EMAIL PROTECTED] Subject: RE: [PHP-WIN] comparing dates with oracle Oracle formats it's date differently. Try this : between to_date('15/11/1258'

RE: [PHP-WIN] comparing dates with oracle

2002-02-25 Thread Jerry Nelson
Oracle formats it's date differently. Try this : between to_date('15/11/1258', 'dd/mm/') and to_date('15/08/1988','dd/mm/') *-*---*--*-*-*-** Jerry Nelson Project Manager / Analyst Datanamics, Inc. 973-C Russell Ave Gaithersburg,

RE: [PHP-WIN] comparing dates with oracle

2002-02-25 Thread Svensson, B.A.T. (HKG)
> to_char(DOCUMENT.doc_date,'dd/mm/') --> is for formatting the date and >"doc_date" after it is meant as an alias... > >any mistake here??? > >I just need to obtain a code for a date which lies within the >form inputted date values... I don't know the Oracle syntax, but with in MS SQL you

RE: [PHP-WIN] comparing dates with oracle

2002-02-25 Thread Sandeep Murphy
-Original Message- From: Svensson, B.A.T. (HKG) [mailto:[EMAIL PROTECTED]] Sent: segunda-feira, 25 de Fevereiro de 2002 16:35 To: [EMAIL PROTECTED] Cc: 'Sandeep Murphy' Subject: RE: [PHP-WIN] comparing dates with oracle to_char(DOCUMENT.doc_date,'dd/mm/') --> is for formatting th

RE: [PHP-WIN] comparing dates with oracle

2002-02-25 Thread Svensson, B.A.T. (HKG)
From: Sandeep Murphy Sent: Monday, February 25, 2002 5:06 PM >Hi, > >I am trying to compare dates between my form fields and my db field but so >far keep getting a format error.. Am using an Oracle Db... > >my query reads like this: > >SQL = "SELECT DISTINCT to_char(DOCUMENT.doc_date,'dd/mm/yyy

php-windows Digest 25 Feb 2002 16:08:14 -0000 Issue 1017

2002-02-25 Thread php-windows-digest-help
php-windows Digest 25 Feb 2002 16:08:14 - Issue 1017 Topics (messages 12256 through 12269): php, xml, win32, encoding, bug? 12256 by: Alexander Gräf Re: passthru(), system() and exec() - help please 12257 by: alain samoun 12258 by: Sviss Cobazor compiling and build

[PHP-WIN] comparing dates with oracle

2002-02-25 Thread Sandeep Murphy
Hi, I am trying to compare dates between my form fields and my db field but so far keep getting a format error.. Am using an Oracle Db... my query reads like this: SQL = "SELECT DISTINCT to_char(DOCUMENT.doc_date,'dd/mm/') doc_date,DOCUMENT.document_code from Document where"; SQL += " doc_

[PHP-WIN] fopen() - returns null when error occurs...

2002-02-25 Thread Svensson, B.A.T. (HKG)
I would like to put in some additiona comments to this: >-Original Message- >From: Svensson, B.A.T. (HKG) >Sent: Thursday, February 21, 2002 2:51 PM >To: [EMAIL PROTECTED] >Cc: 'Olga Tonkonog' >Subject: RE: [PHP-WIN] fopen() > > >>I have problem with function fopen() - if file not exists

[PHP-WIN] Re: compiling and building under Windows

2002-02-25 Thread Christoph Grottolo
see in the manual under installation -> Windows (lower part of the page) Christoph "Piotr Pluciennik" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... | Hi, | | I'd like to ask you where I can find informations how | I can compile and build PHP 4.x and exte

Fw: [PHP-WIN] Beginner's Teething Problems

2002-02-25 Thread DL Neil
Forwarded to list, in case others would like to add their wisdom/benefits of their experience. =dn - Original Message - From: "DL Neil" <[EMAIL PROTECTED]> To: "Lindsay Gillam" <[EMAIL PROTECTED]> Sent: 25 February 2002 13:27 Subject: Re: [PHP-WIN] Beginner's Teething Problems > Lindsa

Re: [PHP-WIN] Beginner's Teething Problems

2002-02-25 Thread DL Neil
Lindsay, [I have posted this back to the list - there are others here with greater minds than mine!] > It sounds as if you are opening the .htm[l] or .php file in your browser. > Remember that PHP requires server-side > processing, so a page must be called from a web server (which is in turn > i

Re: [PHP-WIN] Beginner's Teething Problems

2002-02-25 Thread DL Neil
Hi Lindsay, > These probably sound like really trivial and stupid questions to you but I > am a newcomer in this field. I have literally started looking at PHP this > weekend as I have been given a project in work to do and PHP seemed like the > best option. I have some previous programming exper

Re: [PHP-WIN] Beginner's Teething Problems

2002-02-25 Thread Symeon Charalabides
> Hi All, > These probably sound like really trivial and stupid questions to you but I > am a newcomer in this field. I have literally started looking at PHP this > weekend as I have been given a project in work to do and PHP seemed like the > best option. I have some previous programming experin

[PHP-WIN] Beginner's Teething Problems

2002-02-25 Thread Lindsay Gillam
Hi All, These probably sound like really trivial and stupid questions to you but I am a newcomer in this field. I have literally started looking at PHP this weekend as I have been given a project in work to do and PHP seemed like the best option. I have some previous programming experince so not

RE: [PHP-WIN] shell_exec (or other exec sunctions) and pgp.exe

2002-02-25 Thread Paul J. Smith
Solved it by upgrading PGP! Paul Smith Microtech Limited http://www.microtech.co.gg -Original Message- From: Paul J. Smith Sent: 25 February 2002 10:45 To: [EMAIL PROTECTED] Subject: [PHP-WIN] shell_exec (or other exec sunctions) and pgp.exe Hi, Anyone any ideas how I can get this si

[PHP-WIN] shell_exec (or other exec sunctions) and pgp.exe

2002-02-25 Thread Paul J. Smith
Hi, Anyone any ideas how I can get this simple piece of code to work!? $output=shell_exec("pgp.exe -sta -u test test.txt"); echo $output; pgp.exe is in the folder where the script runs. It has all the right permissions. Safe mode is off for testing. If I change the pgp comma

[PHP-WIN] compiling and building under Windows

2002-02-25 Thread Piotr Pluciennik
Hi, I'd like to ask you where I can find informations how I can compile and build PHP 4.x and extensions in Windows environment. TIA Piotr __ Do You Yahoo!? Yahoo! Sports - Coverage of the 2002 Olympic Games http://sports.yahoo.com -- PHP Windo

Re: [PHP-WIN] passthru(), system() and exec() - help please

2002-02-25 Thread Sviss Cobazor
Gladly :) I've tried almost everything sone it's not quotes or full paths that is the problem. It seems that not even the header is getting send. I get a blank html page from this and I wanted a pdf document from the htmldoc application. I have tested it from the command line and it does work.