[PHP-WIN] Re: Apache 2.0.35 & php 4.2.0 RC4 includes

2002-04-18 Thread Steff
Have you set up PHP based on php.ini-recommended? Look out for the include_path directive in your php.ini(-recommended) and remove the semi-colon at the beginning of the line. I assume you're used to provide the full path for every file to be included include("../my_include_files/inc_file.php"

Re: [PHP-WIN] Connecting to a remote database

2002-04-18 Thread Steff
further on you should tell your DBMS that not only local scripts (users), but also external users may access your database. this is done by modifying the table "db" in the database "mysql". with this table you can control which hosts may access your dbs. the simplest but also most risky way is

[PHP-WIN] Re: can't view php

2002-04-18 Thread Steff
It looks like your web server hasn't been told to handle php files the way the are intended to. which web server are you using? check the php manual for installation advice - and perhaps also the web server's. HTH steff Joey wrote: > Everytime i try to view a php file on my server it prompts m

[PHP-WIN] can't view php

2002-04-18 Thread joey
Everytime i try to view a php file on my server it prompts me to download the file then opens it up in word pad. I can view any other file just not php. Can anyone help me with this problem please? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

php-windows Digest 18 Apr 2002 22:22:38 -0000 Issue 1100

2002-04-18 Thread php-windows-digest-help
php-windows Digest 18 Apr 2002 22:22:38 - Issue 1100 Topics (messages 13155 through 13182): R: [PHP-WIN] Using Access with PHP via ODBC 13155 by: Alberto. Sartori Creating a "nice" link 13156 by: R.S. Herhuth 13157 by: Steve Bradwell 13158 by: Nicole Amashta

[PHP-WIN] Re: Creating a "nice" link

2002-04-18 Thread Matt Parlane
Hiya... In case you can't get sessions working, you could use javascript to post a form to the next page... (messy I know...) Next page I'm not too sure about cross browser compatibility though, you might want to try in on Netscape and IE just in case. Hope that helps... Matt "R.S. Herhu

RE: [PHP-WIN] Connecting to a remote database

2002-04-18 Thread Matt Babineau
Try to access the SQL DB by IP Address. If you want to access it from outside you LAN, The machine the SQL DB is on has to have an external IP. Matt Babineau Freelance Internet Developer e: [EMAIL PROTECTED] p: 603.943.4237 w: http://www.illuminatistudios.com -Original Message- From:

[PHP-WIN] Connecting to a remote database

2002-04-18 Thread R.S. Herhuth
Newbie alert! I am able to connect to a SQL Server Database on my local network by specifying the host as "testHost" the database is "DB". My question is if I'm outside the network what is the correct syntax that I need to call in the host in order to access the database? Thanks, ROn -- PHP

[PHP-WIN] Trouble w/Apache on WinME

2002-04-18 Thread Ken Villines
I am doing some php development and testing it on my WinME system. I have Apache installed and the only way I can get anything to execute is with a shebang at the beginning of the file. Then the shebang is printed in the page:( Anyone know how to get around this. I don't have this trouble with

[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: executing windows command with php

2002-04-18 Thread Nicole Amashta
Go to php.net. Type in "exec" in the search box for functions. It shows you how to use exec and system to execute system commands and return the output. I have a script to ping servers on the network and get their IP's. So, it can be done. -- Nicole Amashta Web Application Developer www.aeontre

RE: [PHP-WIN] executing windows command with php

2002-04-18 Thread Dash McElroy
Josh, Believe it or not, I found an effective way to do that with a batch script! But PHP works better :) One of the easiest ways in PHP is to use the backtick method - the ` character (just like in unix). Example: Works great. -Dash -Original Message- From: Evans, Josh [mailto:[

[PHP-WIN] executing windows command with php

2002-04-18 Thread Evans, Josh
what would be the best way to ping a host and return the output to a webpage? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Re: How can i install PHP as an Apache module on windows 2000?

2002-04-18 Thread cybero
add this lines to httpd.conf : LoadModule php4_module c:/php/sapi/php4apache.dll AddModule mod_php4.c AddType application/x-httpd-php .php Guilherme dávalos <[EMAIL PROTECTED]> píse v diskusním pøíspìvku:001b01c1e718$6b6f6b60$[EMAIL PROTECTED] Hi, i'm trying to run an application on Apache 1

[PHP-WIN] How can i install PHP as an Apache module on windows 2000?

2002-04-18 Thread Guilherme Dávalos
Hi, i'm trying to run an application on Apache 1.3 at windows 2000 professional, but it was made on php/Linux. I suppose that i'm having the following problem beacuse the installation of PHP on windows is CGI version by default. the problem is: [Thu Apr 18 12:28:00 2002] [error] [client 127.0

[PHP-WIN] Re: my php.ini

2002-04-18 Thread cybero
When I use AppacheWebServer it Works eg. from send.htm -> Send this file: I send any file eg. Setuplog.txt to site send.php -> \n"; echo "Tmp Name: ".$_FILES["userfile"]["tmp_name"]."\n"; echo "Size: ".$_FILES["userfile"]["size"]."\n"; echo

[PHP-WIN] Re: my php.ini

2002-04-18 Thread Nicole Amashta
I tried your code and it works. Although this does not actually upload a file anywhere. It just checks that the file is in the directory set in your php.ini (in your case, c:\inetpub\wwwroot\upload). Make sure that this directory has the Read and Write permissions, which you can set bu right-clic

[PHP-WIN] php SiteManager

2002-04-18 Thread Steve Bradwell
Hello everyone, I am pretty new to php and web development, Right now I am writing my code in VIM which I like but I was checking around and saw a download for PHP SiteManager. I would like to start creating object oriented php applications I have done some java and c++, will this help? Also wha

[PHP-WIN] Re: my php.ini

2002-04-18 Thread Nicole Amashta
OK, try some debugging lines. First off, in your php script, you didn't upload the file anywhere. You have to do some sort of: copy( $userfile, $pathtonewfile ) to get the file there. Then, when you check the file exists, you want to check the path of the new file, like so: if ( file_exists(

[PHP-WIN] Re: my php.ini

2002-04-18 Thread Nicole Amashta
Sorry, you already pasted code. I am trying to do 5+ things at once ... -- Nicole Amashta Web Application Developer www.aeontrek.com "Nicole Amashta" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >>The file is smaller than 4M and folder 100% exist on my ser

[PHP-WIN] Re: my php.ini

2002-04-18 Thread Nicole Amashta
>>The file is smaller than 4M and folder 100% exist on my server. Could you paste the code you are using (privately if you prefer)? And is the error you are getting just that the page hangs after you submit the file for upload? -- Nicole Amashta Web Application Developer www.aeontrek.com "Nico

[PHP-WIN] Re: my php.ini

2002-04-18 Thread Nicole Amashta
Is 4mb large enough? If the file you are attempting to upload is larger than 4mb, it won't work either. Also, be sure that uploads directory exists on the computer PHP runs on. -- Nicole Amashta Web Application Developer www.aeontrek.com "Cybero" <[EMAIL PROTECTED]> wrote in message [EMAIL PROT

[PHP-WIN] my php.ini

2002-04-18 Thread cybero
enable_dl = on file_uploads = on upload_tmpd_dir = c:\inetpub\wwwroot\uploads upload_max_filesize = 4M --- Odchádzajúca správa neobsahuje vírusy. Skontrolované antivírusovým systémom AVG (http://www.grisoft.cz). Verzia: 6.0.342 / Vírusová databáza: 189 - dátum vydania: 14.3.2002 -- PHP Win

[PHP-WIN] Re: Forward Link

2002-04-18 Thread Nicole Amashta
You can use embedded javascript for this. Example: window.location='http://path/to/next/page';"; exit; ## you may want to stop execution of rest of page here but at this point you should be ## directed to the url set above. ?> hope that helps some. -- Nicole Amashta Web Application

Re: [PHP-WIN] help with upload IIS php 4.1.2

2002-04-18 Thread Nicole Amashta
Make sure the path in you PHP.ini to your temp folder is setup and that path exists. When you upload files, they are temporarily placed in this temp directory (which you set in php.ini). Double check this exists. good luck, -- Nicole Amashta Web Application Developer www.aeontrek.com "Cybero"

Re: [PHP-WIN] help with upload IIS php 4.1.2

2002-04-18 Thread cybero
Section in my php.ini register_globals = on I also try $_FILES["userfile"]["name"] but nothing. Alberto. Sartori <[EMAIL PROTECTED]> píse v diskusním pøíspìvku:[EMAIL PROTECTED] k.com... If you've turned on the Global Variables you can use this: $_FILES["userfile"]["name"] $_FILES["userfile"

[PHP-WIN] R: [PHP-WIN] help with upload IIS php 4.1.2

2002-04-18 Thread Alberto. Sartori
If you've turned on the Global Variables you can use this: $_FILES["userfile"]["name"] $_FILES["userfile"]["size"] -Messaggio originale- Da: cybero [mailto:[EMAIL PROTECTED]] Inviato: giovedì 18 aprile 2002 16.42 A: [EMAIL PROTECTED] Oggetto: [PHP-WIN] help with upload IIS php 4.1.2 H

[PHP-WIN] help with upload IIS php 4.1.2

2002-04-18 Thread cybero
Hi all. I have a big problem with uploading files. I have WINDOWS 2000, IIS, PHP4.1.2. send.htm -> Send this file: send.php -> \n"; ECHO "Orign :

RE: [PHP-WIN] Creating a "nice" link

2002-04-18 Thread Brian McGarvie
have you configured your session_data path in the PHP.ini file? this may cause php to hang if you do not have this set -Original Message- From: R.S. Herhuth [mailto:[EMAIL PROTECTED]] Sent: 18 April 2002 2:00 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Creating a "nice" link I am creat

[PHP-WIN] Re: Creating a "nice" link

2002-04-18 Thread Nicole Amashta
I have php 4.0.6 on Win2k and Apache ... i use session and have no problem. If you need help setting up your php.ini for sessions, let me know. You need to make sure that the session directory exists (the one that is setup in yoru php.ini should point to a directory that exists. Double check that

RE: [PHP-WIN] Creating a "nice" link

2002-04-18 Thread Steve Bradwell
Hey Ron, I am using php4, apache and win98 and sessions work ok for me, I am pretty new to php but I have found sessions are the easiest and most practical way to store vars, I was using cookies before...which work really well but can get a little tedious to use when you have alot of variables be

[PHP-WIN] Creating a "nice" link

2002-04-18 Thread R.S. Herhuth
I am creating a few links on the fly that have to pass variables to the next page: echo 'next page' The problem is that I don't want that information to appear in the address field (more like a method=post instead of a method=get). How can I do that? I was trying to use sessions under W2k, ph

[PHP-WIN] R: [PHP-WIN] Using Access with PHP via ODBC

2002-04-18 Thread Alberto. Sartori
Try this (from pscode.com): Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=C:\\inetpub\\wwwroot\\php\\mydb.mdb"); // SQL statement to build recordset. $rs = $conn->Execute("SELECT myfield FROM mytable"); echo "Below is a list of values in the MYDB.MDB database, MYABLE table,

php-windows Digest 18 Apr 2002 10:04:57 -0000 Issue 1099

2002-04-18 Thread php-windows-digest-help
php-windows Digest 18 Apr 2002 10:04:57 - Issue 1099 Topics (messages 13144 through 13154): Re: PHP Warning: No File Uploaded in Unknown on Line 0 .. any ideas? 13144 by: Shrock, Court 13145 by: Ethan Nelson Re: COM and ADODB access 13146 by: Alan Brown pspell act

[PHP-WIN] Using Access with PHP via ODBC

2002-04-18 Thread Brian McGarvie
Hi, I'm developing an application which is built on top of an existing MS Access Database, when the DB is not opened/windows client to the DB is opened it creates a lock, which in turn prevents PHP from accessing the Database, is there any solutions to this? Thanks in advance -- PHP Window

RE: [PHP-WIN] Forward Link

2002-04-18 Thread brother
> -Original Message- > From: Wayne Hinch [mailto:[EMAIL PROTECTED]] > Does this get invoked as soon as the page is opened? > > -Original Message- > From: brother [mailto:[EMAIL PROTECTED]] > > I most often uses the standard metarefresh, you just have to echo the > variabels you

Re: [PHP-WIN] Forward Link

2002-04-18 Thread Matt Williams
On Thursday 18 April 2002 08:26, Wayne Hinch wrote: > header("Location: [filename.php]"); >   > although this is not working it is bringing up the following error >   > Warning: Cannot add header information - headers already sent by (output > started at c:\html/customer/newcust.php:3) in [filen

RE: [PHP-WIN] Forward Link

2002-04-18 Thread Wayne Hinch
Does this get invoked as soon as the page is opened? Wayne -Original Message- From: brother [mailto:[EMAIL PROTECTED]] Sent: 18 April 2002 09:33 To: '[EMAIL PROTECTED]' Subject: RE: [PHP-WIN] Forward Link > -Original Message- > From: Wayne Hinch [mailto:[EMAIL PROTECTED]] >

RE: [PHP-WIN] Forward Link

2002-04-18 Thread brother
> -Original Message- > From: Wayne Hinch [mailto:[EMAIL PROTECTED]] > > Hi all, > > How can I get a page to automatically forward to the next > page currently > I am trying to use > > header("Location: [filename.php]"); > > although this is not working it is bringing up the follo

[PHP-WIN] Forward Link

2002-04-18 Thread Wayne Hinch
Hi all, How can I get a page to automatically forward to the next page currently I am trying to use header("Location: [filename.php]"); although this is not working it is bringing up the following error Warning: Cannot add header information - headers already sent by (output started at c:

RE: [PHP-WIN] pspell activation

2002-04-18 Thread Ross Fleming
You can't. There isn't a compiled dll (the one you're looking for is php_pspell.dll) but it doesn't exist. Search google for the full explanation but the underlying idea that I got when looking for someone a couple of months ago is that it is "thread unsafe" and so is not suitable for running un