[PHP-WIN] Receiving Microsoft Internet extension errors from script

2001-10-03 Thread Thomas
I'm having a problem with my php script when it tries to display db query's that are more involved (joining and what not). For the basic queries php doesn't have a problem but when I start trying to join tables and what not it returns an error to the browser saying: An Internal Error occurred in

[PHP-WIN] RE: cannot find php.ini file

2001-10-04 Thread Thomas
You need to put the php.ini file in the WinNT directory -Thomas -- 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] The page cannot be displayed

2003-03-06 Thread Thomas
php is serverside altho netscape might display more usefull error messages. any help apreciated thanks Thomas -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: The page cannot be displayed

2003-03-06 Thread Thomas
d give a move helpful error message. > > -- > Ben O'Neill > > > "Thomas" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > i have just installed > > php-4.3.1-Win32 > > mysql-3.23.55-win > > apache_2.0.44-win32-x86-no_ssl.m

[PHP-WIN] Re: I am having probles getting apache to work with php

2003-03-07 Thread Thomas
dont use Windows ME "Stephen K Knight" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am currently running on a Windows Box the OS is ME > I have installed apache 2.0.44 and I have downloaded the newest PHP download > for windows. > I have read the configuration manual repeate

Re: [PHP-WIN] Sorry, answered too quick [waas: SET in MSSQL-query]

2001-01-10 Thread Thomas
php_mssql.c v1.36 (return true instead false) as soon as I've got Visual C (Don't wanna risk a cvs-version again). Can this work properly, or have you changed other source-files also (concerning the "update returns false instead true-bug")? Many thanks in advance! Best regard

Re: [PHP-WIN] Problem with CURSOR under MS SQL 7

2001-01-11 Thread Thomas
TOP $limit WITH TIES * FROM $table WHERE $check2 ID_Fa not in (SELECT TOP $offset WITH TIES ID_Fa FROM $table WHERE $check1 ORDER BY $mySort1 ASC, ID_Fa ASC) ORDER BY $mySort1 ASC, ID_Fa ASC" Hope that helps, Thomas "Mauro Boschi (by way of Mauro Boschi )" wrote: > H

Re: [PHP-WIN] Problem with CURSOR under MS SQL 7

2001-01-11 Thread Thomas
Hello Mauro, Sorry! As you maybe have seen, this is another version than the "countermove-select" (bloody copypaste :), but should work anyway. Cu, Thomas Thomas wrote: > Hello Mauro, > > I don't know exactly why your Cursor doesn't work (e.g. a SET . desn&#

Re: [PHP-WIN] RTF Files Library...

2001-01-18 Thread Thomas
f, you might want to step up (work togethter with the author, whatever :) from the PHP-RTF-Parser at: http://phpclasses.upperdesign.com/browse.html/package/119, or directly at http://josefine.ben.tuwien.ac.at/~mfischer/developing/php/rtf/rtfclass.phps Hope that helps, Thomas Andres Salazar wrote:

[PHP-WIN] How to use COM

2001-03-14 Thread Thomas
mple, is it not so? But how can i get the attributes and execute the methods? And why the Documentation speaks from com_load,com_invoke and so on. No once of them are working. I only get the message: Call to undefined function and so on.. Thanks for Help, Thomas -- PHP Windows Mai

Re: [PHP-WIN] Irgendeine deutsche newsgroup?

2001-03-27 Thread Thomas
Hi! de.comp.lang.php Viel Spaß, Thomas Christoph Winkler wrote: > Sorry guys this is only for german peoples :) > > Kennt nicht irgendjemand eine deutsche PHP Newsgroup? Ich kann die Fragen > besser in deutsch formulieren bzw. verstehen :) > > Danke im vorraus > >

Re: [PHP-WIN] PHP & IIS5

2001-04-02 Thread Thomas
d proceed in that way: run all scripts in CGI-mode, and only scripts that really need ISAPI in ISAPI. Hope that helps, Thomas anderzzo wrote: > I've installed PHP on my Win2000 Server with IIS5 > and it worked fine in a week until today! > > All I get when I try to reach a

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] [Security] PHP Exploit - Please Check Yourself

2002-03-01 Thread Thomas Davis
You may have seen this already, but as Security is mainly an issue of reputation, and I like PHP, I don't want to hear about anyone actually being effected by this. Please read the entire advisory, it isn't very long. Many on this list are not effected but some with older installations may be. h

[PHP-WIN] Re: Any credability lost...

2002-04-03 Thread Brad Thomas
"Ross Fleming" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > It is after 6am, I am just going to bed after several friends have left my > flat after copious amounts of vodka consumed. Just thought people might be > interested to hear and share any similar st

[PHP-WIN] Re: HELP! Connect or no connect, that's the question...

2002-04-15 Thread Brad Thomas
<[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Dear all, > > I installed mysql for windows and had to copy some databases (including > mysql standard databases), that I have to use for my php-project. I also > installed the Apache server 1.3 ... > > My problem

[PHP-WIN] Apache 1.3 / Win2KPro / PHP4

2002-04-18 Thread Thomas Maynard
Hello All, I have just started with php and I thought all was well. However I will state problem and then my procedures. Problem: I run a .php file and I get nothing but a blank screen. I view the source and the php code is not there indicating that apache sent it to the php program, right? I run

[PHP-WIN] Re: Testing...pls ignore

2002-05-06 Thread Brad Thomas
I am also ignoring this. BT <..> http://hellkeeper.hostbet.net/ "Then" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > pls ignore this -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: Shutting down Apache on Windows

2002-05-06 Thread Brad Thomas
Hello. To shut down apache, you need to make the apache window active, and press the Ctrl + C keys. Hope this helps. Brad "Jerry" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello! I just setup Apache 1.3 on Win98 using Triad. Everything > works great. I

[PHP-WIN] PHP 4.2.1 and DOTNET (C#)

2002-07-08 Thread Thomas Weidner
nabled. The build is 4.2.1 and done by myself. Can anybody help me to get the things workings ??? Thanks Thomas Weidner -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Returning values from function

2002-07-09 Thread Thomas Weidner
tCount(1,1,&$count); I get back the int value ob GetCount, thats OK. But how can I get back Value 3 ??? Help would be appreciated... Thanks Thomas Weidner -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: strange error

2002-07-12 Thread milton thomas
It seems that your variables are not set as global.. check your php.ini file and set global variables on. "Fungi" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have problem testing PHP on my own server setup with IIS5. > I tested my server with > > phpinfo(

[PHP-WIN] formatted textareas

2002-07-12 Thread milton thomas
Does anyone know how to use the textarea to display formmated text.. such as the output from html files or an exact copy from a word document.. similar to how msn and yahoo does there thing when you are composing and email -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP-WIN] Re: Date conversion

2002-08-13 Thread Brad Thomas
"Kit Kerbel" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I would like to convert 2002-04-02 00:00:00 to the format, > 04-02-2002or m/d/Y > > How would I do this? > > Thanx in advance, > Kit > > > > ___

[PHP-WIN] Re: Getting Field Names in Microsoft SQL

2002-08-16 Thread Brad Thomas
"R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I'm trying to build a dynamic script that basically extracts all of the > fields in a MS SQL database...I just can't seem to figure out how to get > at the field names themselves. I am using the m

[PHP-WIN] Re: Quotes issues

2002-08-17 Thread Brad Thomas
"R.S. Herhuth" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I need to strip off quotes both single and double from form input. This > is what I have but it doesn't appear to be working: > > str_replace("\"","",$string); > str_replace("\'","",$string); > >

Re: [PHP-WIN] RE: Acces DB and PHP connection ?

2002-10-14 Thread Brad Thomas
I would think the only way you could connect to an Access Database without a DSN set would be through the use of COM, maybe? We did a little bit of ASP in TAFE last term and we connected to an Access DB without setting a DSN .. so maybe it could follow a bit of the same path. HTH Brad "Cisiodo

Re: [PHP-WIN] RE: Acces DB and PHP connection ?

2002-10-15 Thread Brad Thomas
Haha. I rock :) HTH Brad "Mark A. Nichols" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Here's a code snippet. I haven't tried this yet. http://www.phpbuilder.com/mail/php-general/2000101/1850.php -Original Mess

[PHP-WIN] PHP behind a proxy server

2002-11-01 Thread Thomas Keller
ction (get_meta_tags, gethostbyaddr,...), which fails since I didn't find any way to configure php for my proxy server. I would be very pleased if you could help me! Thanks in advance, Thomas Keller. T-Systems Berkom, Germany -- -- www.thomaskeller.tk www.seelenstriptease.net -- PHP Windows Ma

[PHP-WIN] Re: Any special functions need to be loded to accept forms?

2002-11-03 Thread Brad Thomas
Hi "Luke" <[EMAIL PROTECTED]> wrote in message news:20021103231622.13841.qmail@;pb1.pair.com... > I am trying to submit a form on my apache server running win2k and php4 > using php, but I get the error: > > Notice: Undefined variable: submitform in C:\www\\emailform.php on line 9 > > The exact sa

[PHP-WIN] Re: Form text with reserved chars

2002-11-04 Thread Brad Thomas
Hi It sounds like magic_quotes_gpc is set to On in your php.ini file.. change this value to Off if you wish to handle escaping of characters yourself. Secondly, it's advisable to research nl2br() HTH Brad "News.Php.Net" <[EMAIL PROTECTED]> wrote in message news:20021101073812.3879.qmail@;pb1.p

[PHP-WIN] Re: MsWord html

2002-11-11 Thread Brad Thomas
Eradicating the world of people who use MSWord to create webpages. *happy sigh at the thought* HTH Brad "Steel" <[EMAIL PROTECTED]> wrote in message news:4818722902.20021110141715@;inbox.ru... > Hi php-windows, > > Does anybody knows, what regexp can help me remove almost all > M$ Word2000 HTML

Re: [PHP-WIN] Re: MsWord html

2002-11-12 Thread Brad Thomas
Hi Steel! I also code all my HTML and PHP in a simple text-editor... I decided years ago that I would never again use a WYSIWYG to design my webpages as I got sick of all the extra stupid code that the programs generated... grr, the angst. :) "Steel" <[EMAIL PROTECTED]> wrote in message news:3778

[PHP-WIN] mysql loop problem

2002-11-20 Thread Gareth Thomas
Hi, I am trying to write some code to sit and wait for an entry in a table, once an entry is made it is processed and then the waiting loop begins again. Problem is that after a period of time the code just stops, almost like a timeout with no error message or any indication of why. This is the

[PHP-WIN] mysql command problem

2002-11-21 Thread Gareth Thomas
Hi, I have a Mysql command that when run in PHP does not work and yet when executed directly in MySQL works fine. The query is: $query = "UPDATE zone SET current_socket = '' WHERE current_socket LIKE 'R%'"; $result = mysql_query($query); Anyone have any idea why this wont work in PHP? Thanks i

[PHP-WIN] sockets problem

2002-11-21 Thread Gareth Thomas
Hi, I realise that sockets is still 'experimental' but any help will be much appreciated. I am developing a queue system to send commands across from a server to a client using sockets. Problem is that the I keep getting a 'connection reset by peer' error after the first command is sent. The se

[PHP-WIN] Basic Authentication

2001-06-19 Thread Thomas Dedeyne
Hello, I have a folder with some restrictions on. Now I want to give some people access to this folder and some not from within my webpage. When I use basic authentication, I get a window where I can enter my username and password. That's OK, for a bit. :) I want to get rid of that window and giv

Re: [PHP-WIN] Basic Authentication

2001-06-19 Thread Thomas Dedeyne
e.html";, "r"); > > Have a closer look at fopen() and the "Filesystem" section in PHP > manual. > > Just a warning: Be very, VERY careful when dealing with usernames and > passwords like this. They must never get exposed in anyway. Your most > dirty mind ju

[PHP-WIN] Problems with System DSN

2001-06-26 Thread Thomas Hove
Hello... I'm running an ApacheWebserver 1.3.20 with mod_ssl/2.8.4, OpenSSL/0.9.6a and PHP 4.0.6. My PHP scripts gets data from a Paradox 5.0 database currently placed on the same pc as the Webserver. I'm using a System DSN called "MXPROCESSDB" - and all works fine... But if I move the database t

[PHP-WIN] PHP 4.0.6 compiled with DEAPI

2001-06-27 Thread Thomas Hove
Hello ! I'm running an ApacheWebserver 1.3.20 with mod_ssl/2.8.4, OpenSSL/0.9.6a and PHP 4.0.6. Everytime I start the Apache Server the following error message appear : [Wed Jun 27 12:35:00 2001] [warn] Loaded DSO F:/php/sapi/php4apache.dll uses plain Apache 1.3 API, this module might crash und

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

2001-07-06 Thread Thomas Davis
s the answer, it just means you will have to look to another resource to get your answer. Please do not take your frustration out here or make uniformed accusations, there is basically no reason to ever be abusive on these kinds of board. We are here for/to help. Thomas Davis System Administrator TiV

[PHP-WIN] IIS situation - php as an ISAPI

2001-07-19 Thread Thomas Madrid
I have question concerning using PHP as an ISAPI. My problem is this. I set up IIS4 (running on WINNT4.0 sp5) and it runs fine for a bit, then eventually I receive an error that effectively shuts down the W3C service. This is not good. The error I am getting is "NT could no load http filter %D

[PHP-WIN] Problems with German Umlaut

2001-07-20 Thread Thomas Feucht
Hi all, I tried to access an SQL Server 2000 with PHP+Apache under Windows 2K (all on the same machine). Connection was successful and SELECT statements gave the proper data back. But: The German Umlauts appeared like binary data. Can anyone help me please? Thanks a lot, Thomas -- PHP

[PHP-WIN] Network Documents

2001-08-15 Thread Thomas Davis
host for your document root and using PHP? Thomas System Administrator

[PHP-WIN] PHP compiled with DEAPI

2001-08-26 Thread Thomas Hove
Hello ! I'm running an ApacheWebserver 1.3.20 with mod_ssl/2.8.4, OpenSSL/0.9.6a and PHP 4.0.6. Everytime I start the Apache Server the following error message appear : [Wed Jun 27 12:35:00 2001] [warn] Loaded DSO F:/php/sapi/php4apache.dll uses plain Apache 1.3 API, this module might crash und

[PHP-WIN] Re: Login System

2001-08-29 Thread Brad Thomas
IMHO I've found MySQL better <[EMAIL PROTECTED]> wrote in message news:3B896921.25275.3BAA1C@localhost... > How would I go about making a Login system? and should I should > Flat file or MySQL? > > Let me know > Thanks -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail:

[PHP-WIN] Re: .php opening as text document

2001-08-29 Thread Brad Thomas
"Goodluckmo" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > you must not correct install php. > "Craig" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi > > > > I'm trying to set up hlstats which users hlstats.php but e

[PHP-WIN] Re: Login System

2001-09-03 Thread Brad Thomas
"Brad Thomas" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > IMHO I've found MySQL better > > <[EMAIL PROTECTED]> wrote in message news:3B896921.25275.3BAA1C@localhost... > > How would I go about making a

[PHP-WIN] Re: What's my problem with nl2br and a text file?

2001-09-09 Thread Brad Thomas
Yes! I've got this exact same problem I think it has something to do with the format of a text file not recording file break positions But that doesn't really explain why notepad can display them perfect :( "John Asendorf" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROT

Re: [PHP-WIN] mysql statment

2001-09-11 Thread Brad Thomas
"Angie Tollerson" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Well, I've answered my own question! Apparently, you cannot use the addslashes function in the sql statement, not the way I am anyways. Does anyone know the proper way if any to do that without ha

Re: [PHP-WIN] File does not exist: CGI error?

2001-11-02 Thread Thomas Juntunen
and make sure the box for "Check if file exists" is checked. Then you will get a standard 404 error for nonexistent files. I also suggest reading: http://www.php.net/manual/en/features.error-handling.php To see what else you can do about controlling errors and their output. HTH, T

Re: [PHP-WIN] File does not exist: CGI error?

2001-11-02 Thread Thomas Juntunen
On 11/02/01 08:58, "Ross Fleming" <[EMAIL PROTECTED]> wrote: > How do you do the same in Apache out of interest?.. > > Thomas Juntunen wrote: >> >> On 11/02/01 05:52, "Hace" <[EMAIL PROTECTED]> wrote: >> >>> Why does IIS

Re: [PHP-WIN] File Upload on Win2K

2001-11-02 Thread Thomas Juntunen
s done: \n"); print("Name: $UploadedFile_name \n"); print("Size: $UploadedFile_size \n"); print("Type: $UploadedFile_type \n"); print("\n"); } ?> HTH, Thomas Juntunen Network Administrator Creative Resourc

Re: [PHP-WIN] Re: PHP as ISAPI on IIS 5.0/win2k server

2001-11-20 Thread Thomas Juntunen
your opinion of IIS. The shop I work for was IIS based before I worked here and does not offer me any choice in the matter. Many people are in that situation as well. So enjoy the fact you can run demonstrably better web server software, but don't condemn others without more facts. Thomas

[PHP-WIN] php session id entropy source in windows..

2001-12-04 Thread Thomas Frössman
I think that it is a good idea to implement a good entropy source from something like . I belive that it goes something like this (by looking briefly at the platform SDK help). HCRYPTPROVhCryptProv; BYTEpbData[8]; CryptAcquireContext( &hCryptProv, NULL, NULL, PROV_RSA_FUL

[PHP-WIN] Re: A referer code needed

2001-12-10 Thread Brad Thomas
"Emad El-Din" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi > I would like to know the function written to know the URL of the page the > user's browser was previously on if the user followed a link from that page > to my php script (as "referer" in perl s

[PHP-WIN] email() problem

2001-12-20 Thread Thomas Orr
I need help with a basic issue. I can't seem to get the mail() function to work with php4 on an xp machine running iis5. I'm new to php and really want to get it down, but every little thing I try to do throws errors at me. I just need to know what needs to be adjusted to get this script working

[PHP-WIN] Re: Mysql connection

2002-01-16 Thread Brad Thomas
> > Warning: MySQL Connection Failed: Can't connect to MySQL server on > > 'localhost' (10061) in c:\program files\apache > > group\apache\htdocs\db_connect.php on line 3 This error means the MySQL server isn't running. Try starting the server and try again. -- PHP Windows Mailing List (htt

[PHP-WIN] Re: Editor

2002-01-17 Thread Brad Thomas
"Sanjuroe" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I am looking for a light-weight editor which supports PHP tag > highlighting and indenting. > > Which editor do you recommend? > > Sanjuro > Edit Plus is good. (http://www.editplus.com) Brad -- PH

[PHP-WIN] Apache variables

2002-02-02 Thread B Thomas
Hi. Any ideas why Apache variables no longer parse in PHP anymore? Returns: nothing. PHP 4.0.6 Apache 1.3.20 *frowns* -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: php 4.1 / xitami on a Win2k computer

2002-02-02 Thread B Thomas
"Wolfgang Schneider" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello all, > > I am running Xitami together with PHP 4.1 and mySQL on a Win2k > computer for locally testing websites ... everything seems to work > fine, except for a bit of a strange thing I

[PHP-WIN] Re: Apache variables

2002-02-05 Thread B Thomas
"Steve Yates" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > "B Thomas" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > echo $SCRIPT_NAME; > > >

[PHP-WIN] Remote PHP files bug?

2002-02-12 Thread Thomas Davis
exist, the permissions are fine cuz I can access the other files that are not PHP in the same directory with the same permissions. PHP acts normally under all other circumstances. Anyone? Thomas Davis Web System Administrator TiVo Inc. -- PHP Windows Mailing

[PHP-WIN] socket timeout

2002-12-05 Thread Gareth Thomas
Hi, I am attempting to timeout a socket_read() that is part of a handshaking process using socket_set_timeout(). Problem is it doesn't seem to work at all. If I switch off the handshaking write on the server side the read just sits there and doesn't time out at all. I have tried socket_set_timeout

[PHP-WIN] socket timeout issue

2002-12-05 Thread Gareth Thomas
Hi, apparently this does not work with socket_read() but only with higher level socket functions (fread etc). However I have found a function called socket_set_nonblock(socketname) which apparently does something very similar, it prevents the socket_read from waiting to receive data. I simply b

RE: [PHP-WIN] upload file

2003-02-05 Thread fran . thomas
Have you checked it isnt your apache server timing out? -Original Message- From: Lemberger [mailto:[EMAIL PROTECTED]] Sent: 05 February 2003 14:11 To: [EMAIL PROTECTED] Subject: [PHP-WIN] upload file Hi, I cannot upload file bigger than 20 KB on my Appache Server(Windows 2000 Professiona

RE: [PHP-WIN] Include virtual?

2003-02-05 Thread fran . thomas
I've wondered this before also but currently use; include($_SERVER["DOCUMENT_ROOT"].'/'.'template.php') Be interested if there is an easier way! .:Fran -Original Message- From: Charles P. Killmer [mailto:[EMAIL PROTECTED]] Sent: 05 February 2003 14:46 To: php-windows Subject: [PHP-WIN]

RE: [PHP-WIN] Passing parameters in forms

2003-02-07 Thread fran . thomas
Depending whether or not you are using autoglobals... try reading $_POST['myName'] .:Fran -Original Message- From: Apollo [mailto:[EMAIL PROTECTED]] Sent: 07 February 2003 00:52 To: [EMAIL PROTECTED] Subject: [PHP-WIN] Passing parameters in forms Hi there, I am using Windows XP as my

RE: [PHP-WIN] I get a "File Download" dialogue box

2003-02-10 Thread fran . thomas
You need to do two things (assuming you are not using the SAPI) in your httpd.conf; -Defin a PHP doc AddType application/x-httpd-php .php .phtml -Define what you do with a PHP doc Action application/x-httpd-php /php/php-cgi.exe -Original Message- From: news [mailto:[EMAIL PROTECTED]] Sen

[PHP-WIN] Using W32api functions in PHP

2003-02-18 Thread Andrew Thomas
Hi, I am trying to use some W32api functions in PHP (to do some Windows NT Domain login stuff). Problems I am having: I have looked at: http://www.php.net/manual/en/ref.w32api.php Which gives a simple example of using dl() to load the appropriate dll extension, then registering the functions

RE: [PHP-WIN] Retrieving Server and PHp variables

2003-03-04 Thread fran . thomas
Autoglobals not on,use $_SERVER['{VAR}'] instead. .:Fran -Original Message- From: Rich Gray [mailto:[EMAIL PROTECTED] Sent: 04 March 2003 10:41 To: Sharat Hegde; php-windows Subject: RE: [PHP-WIN] Retrieving Server and PHp variables > Hello, > > I just upgraded from PHP3 to PHP4 on Apac

[PHP-WIN] custom extensions..

2003-03-05 Thread THOMAS BRADBURY
Hi, I'm using PHP 4.3.1 and Windows IIS-5 (on WinXP), and I'm wanting to set up a custom file extension to be processed by PHP... instead of using "blah.com/image.php?" i'd like to use "blah.com/image?..." or "blah.com/.image?..." Is this possible to set up (on such a setup as mine), and if

[PHP-WIN] MySQL Table Locks

2003-03-06 Thread fran . thomas
Anyone any idea how to check whether a table is locked? In particular I use FLUSH TABLES WITH READ LOCK before backup starts and want to know whether this has happened. Thanks in advance, . : Fran Thomas Internet communications are not secure and therefore the Barclays Group does not accept

FW: [PHP-WIN] MySQL Table Locks

2003-03-07 Thread fran . thomas
Anyone any idea how to check whether a table is locked? In particular I use FLUSH TABLES WITH READ LOCK before backup starts and want to know whether this has happened. Thanks in advance, . : Fran Thomas Internet communications are not secure and therefore the Barclays Group does not accept

[PHP-WIN] Re: Im almost there just a little more help

2003-03-07 Thread Thomas Smart
remove all the //'s to start with \n"; echo "newname = '" . $newname . "';\n"; echo "\n"; } ?> "Stephen K Knight" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Below is all of my code. The first is my html page that calls my php page. > I do not know php well enough to edit t

[PHP-WIN] Re: Recursive function within a class

2003-03-07 Thread Thomas Smart
im not sure if i understand your question completely but u can call a function in a class like so classname::functionname($vars); "Olafsson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello > > I´ve a small problem. I´ve created a class with serveal functions but when > I try t

[PHP-WIN] Re: Variable problems

2003-03-09 Thread Thomas Smart
in the page that recieves the variable add this: $test = $_POST['test']; "Reggie P" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am new to php and I am having problems passing variables from one page to > another. I wrote a simple script as such: > > > > > > name > >

[PHP-WIN] Re: Variable problems

2003-03-10 Thread Thomas Smart
bin\insert2.php on > line 7 > Could I have installed something wrong? It is running on win2000 server and > IIS 5 > > "Thomas Smart" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > in the page that recieves the variable add this: >

Re: [PHP-WIN] Passing value in URL to form

2003-03-10 Thread Thomas Smart
or you could set your php to parse .html files, then you can do it with php $_GET['varname'] "Bobo Wieland" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You can do it with javascript... > > > > but t

Re: [PHP-WIN] Re: Variable problems

2003-03-10 Thread Thomas Smart
as of php 5 the register globals is not even going to be an option so get used to using $_POST and $_GET !! "Rich Gray" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Thanks, but I found out something really interesting! I was using > > php-win32 > > version 4.3.0 and it would no

[PHP-WIN] Re: e-shop problem

2003-03-10 Thread Thomas Smart
www.hotscripts.com has some good cart scripts, the best way to learn these is to download and read the script thru :) "Andrzej Wroblewski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > > > > > > Hi > > I'm designing internet shop based on PHP and MySQL, but I don't know > ho

[PHP-WIN] Re: image question

2003-03-10 Thread Thomas Smart
look for GDlib tutorials "Anthony Ritter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm looking for a php tutorial or script which can open and read an existing > .jpg or .png from another URL. > > Next, the script then modifies that image by - say - cropping off the bottom >

[PHP-WIN] Re: Newbie attempting file open...

2003-03-10 Thread Thomas Smart
try r+ instead of r and if your working with a windows server add b after the r+ "William Fisher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The Question: It is my understanding that fopen() using the "r" option will either open the indicated file for read only OR create o

[PHP-WIN] Re: CGI or ISAPI

2003-03-10 Thread Thomas Smart
how do u make it read a specific php.ini in the cgi version? "Afonso Marques Dos Santos" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I would like to know whats best on a Windows2000/IIS system. I've changed to ISAPI, buit now i can't make it ro read a specific php.ini, loca

[PHP-WIN] Re: Installing PHP with Apache on Win ME

2003-03-12 Thread Thomas Smart
er... not use winME :-) "Nick Scott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have gone through the steps and when I open a php page it wants to > download the page. > > What do I need to do? > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP-WIN] Re: Global Variable Issues

2003-03-15 Thread Thomas Smart
you could use a database or you could write the information to a textfile on the server, i have used that sometimes to transfer large lumps of info from 1 page to another if i didnt want to use a database. "Cam" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Through past releas

[PHP-WIN] Re: ODBC Query max()

2003-03-15 Thread Thomas Smart
this is a mysql query for heighest id, maybe it helps // get highest ID from database include 'includes/connect.php'; $query1=MYSQL_QUERY("SELECT max(id) as max_id FROM $ctableuk"); $getvar=MYSQL_FETCH_ARRAY($query1); $id=$getvar["max_id"]; mysql_close(); if (!isset($id)){$id="1";} "Gen

[PHP-WIN] htaccess ignored

2003-03-15 Thread Thomas Smart
AuthName "By Invitation Only" AuthUserFile h:/sites/htpasswd Require user thomas any help apreciated, thanks, Thomas -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] GIF handling problem...

2003-03-17 Thread Thomas Smart
I totally agree with you, bannermakers should burn in silicon hell >:-D "Jill Ramonsky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I confess I have an idiological difficulty with the idea of helping out > someone who openly admits that they're going to use the information to

[PHP-WIN] can't get SQL result ...

2003-03-25 Thread Thomas debost
I can't access my data after a working query : $byter=" select SUM(bytesrecvd) from WebProxyLog where DestHost = \"" . $name . "\""; $recv= mssql_query($byter, $linkid); When i try to print $recv, it prints ressource ID #.. how can i print the result of the s

[PHP-WIN] Re: Not rhetorical: Why upgrade php when current version is working fine?

2003-05-30 Thread Brad Thomas
Along with the other suggestions the other people have made, I would like to suggest that you look at mysql_select_db, and replace mysql_db_query with it. I have a feeling the scripts you have relied on mysql_db_query for it's database interaction, and as mysql_db_query is now deprecated, it will

[PHP-WIN] Re: I am try to upload an image to a folder on my web server

2003-06-09 Thread Brad Thomas
Hi Firstly, I would like to point out that programming with register_globals on is a bad move, in sense of security. Secondly, I'd suggest using isset for checking if there is anything in the $_FILES superglobal. (If you're using post 4.1, of course.) "Stephen K Knight" <[EMAIL PROTECTED]> wrote

[PHP-WIN] Re: Recursive function within a class

2003-06-09 Thread Brad Thomas
You can, you just need to use the $this variable, so $this->a($y) "Olafsson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello > > I´ve a small problem. I´ve created a class with serveal functions but when > I try to make a recursive function within the class it generates an err

[PHP-WIN] Re: Getting current page details

2003-06-09 Thread Brad Thomas
I've found that the following line is useful for tracking where a user has originated from: $url = urlencode (basename($_SERVER['PHP_SELF']) . "?" . $_SERVER['QUERY_STRING'])); Firstly, we'll urlencode the value so it can be used in a form, or as an extra parameter in the URL. Then we take the ba

[PHP-WIN] sockets with telnet

2003-07-15 Thread Gareth Thomas
Hi, I am trying to create a basic telnet client using sockets to connet to a linux box. I have written some sockets code previously with a server script that I developed myself and that worked fine. The problem I am getting is with Telnet (port 23) after making the socket connection successfully a

[PHP-WIN] CLI File Open Problem

2003-08-04 Thread Gareth Thomas
Hi, I am trying to write data to a text file on my Windows 2000 server using PHP at the command line. I am running PHP 4.3.2, and the script uses the 'touch' function to create the file (which works fine) but when I try and open the file to write to it and errors. Anyone any idea? I have checked t

[PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Gareth Thomas
ry. I have tried modifying the php.ini file to point to the = correct path.. all to no avail. If anyone has any idea how to resolve = this issue I would be most grateful. Regards, Gareth Thomas

Re: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Gareth Thomas
Mike, extension_dir does point to the correct directory. I do need the DLL since the application has an email module. Regards, Gareth Thomas - Original Message - From: "Mike Brum" <[EMAIL PROTECTED]> To: "'Gareth Thomas'" <[EMAIL PROTEC

Re: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Gareth Thomas
Absolutely. Gareth Thomas Mercury Software Solutions, Inc 805-984-6541 http://www.mercurysoft.com - Original Message - From: "Mike Brum" <[EMAIL PROTECTED]> To: "'Gareth Thomas'" <[EMAIL PROTECTED]>; "'Mike Brum'" <[EMAIL

Re: [PHP-WIN] upgrade imap dll problem

2003-09-22 Thread Gareth Thomas
I should add that I am using IIS and not Apache... Gareth Thomas Mercury Software Solutions, Inc 805-984-6541 http://www.mercurysoft.com - Original Message - From: "C-omputerSolutions Webmaster" <[EMAIL PROTECTED]> To: "Gareth Thomas" <[EMAIL PROTECTED]&

  1   2   >