[PHP-WIN] Re: get Url

2002-11-26 Thread George Nicolae
echo basename(Http://www.host.com/testfile.php;); -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.com Rodrigo San Martin [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

[PHP-WIN] IIS and PHP with $HTTP_SERVER_VARS

2002-11-26 Thread Shaun Garriock
Hi The problem I am having is as follows: I setup PHP with IIS and it seems to work fine. I am creating a Intranet site and would like to obtain the user logged on to the networks username. I have setup basic auth but when I visit the site it asks me for my username and password before I can get

[PHP-WIN] Installation question about : PHP4TS.DLL PHP4TS.LIB

2002-11-26 Thread Franco Pozzer
Thanks for all. A question about installation under Win32 system. In the document at this link : http://www.thickbook.com/extra/php_apachephp4_win.phtml explain very well how to configure PHP in CGI mode with Apache. In the document I read this: 3.Move the php4ts.dll file to

Re: [PHP-WIN] Installation question about : PHP4TS.DLL PHP4TS.LIB

2002-11-26 Thread Cam Dunstan
Franco Yes it is entirely possible to get PHP to work in CGI mode with NOTHING in your windows or system directory. I often set up win machines with everything under the C:\PHP directory including the php.ini file and all DLLs, sessiondata and uploadtemp dirs and it works a treat and is a cleaner

[PHP-WIN] Users on line

2002-11-26 Thread mst
How i can check who is on line? mst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-WIN] Unable to upload.. :(

2002-11-26 Thread toby z
thnx yet again pal . No probs buddy. Perhaps you have an IM program loaded? m do u mean instant messenger thinggy ya ive got it on my machine is THAT hinderrin my file upload sumhow :S 2ndly . move_uploaded_file() aint workin either . i keep gettin the same

[PHP-WIN] File Upload - extension filtering

2002-11-26 Thread George Pitcher
Hi all, I have file upload working on my NT/Lasso/PHP site and want to restrict the type of file being uploaded to either PDF, TIF or ZIP. My code sofar is: ? $u_ext = error; $location =http://mysite/upload_confirm.lasso?nj=; . $nj; $file_dir=e:\\upload\\; foreach($HTTP_POST_FILES as

[PHP-WIN] Re: C++ dll files

2002-11-26 Thread Brian 'Bex' Huff
this is a common question... it should be in a FAQ somewhere... The most flexible option is the win32 API functions, but note that they are experimental, and sometimes hard to set up and use, but pretty dang cool: http://www.php.net/manual/en/ref.w32api.php The most stable solution

[PHP-WIN] update from php 3 to php 4

2002-11-26 Thread Omar
This is a silly question: If i want to update from version 3 to 4 on a win2k server, do i only download the php instaler and execute it? Or should i uninstall the current version of php and after that install the new version? Thank you for your help. Omar -- PHP Windows Mailing List

[PHP-WIN] Re: File Upload - extension filtering

2002-11-26 Thread Brian McGarvie
use 'image/tiff' instead... George Pitcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, I have file upload working on my NT/Lasso/PHP site and want to restrict the type of file being uploaded to either PDF, TIF or ZIP. My code sofar is: ?

RE: [PHP-WIN] Re: File Upload - extension filtering

2002-11-26 Thread George Pitcher
Brian, Thanks. However, I have just solved it by using stristr() instead. Works a treat. George -Original Message- From: Brian McGarvie [mailto:[EMAIL PROTECTED]] Sent: 26 November 2002 4:26 pm To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re: File Upload - extension filtering use

Re: [PHP-WIN] Re: File Upload - extension filtering

2002-11-26 Thread Brian McGarvie
using the mime-type is safer ;) George Pitcher [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Brian, Thanks. However, I have just solved it by using stristr() instead. Works a treat. George -Original Message- From: Brian McGarvie [mailto:[EMAIL

RE: [PHP-WIN] Re: File Upload - extension filtering

2002-11-26 Thread George Pitcher
Brian, Possibly so, but I have a small number of authenticated users who are unlikely to do anything malicious. Cheers George -Original Message- From: Brian McGarvie [mailto:[EMAIL PROTECTED]] Sent: 26 November 2002 4:34 pm To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Re: File

[PHP-WIN] Basics!

2002-11-26 Thread Rc4lax
I'm interested in learning PHP. I got a book with the apache server on it and it's got PHP I can't get anything to work though! I'm pretty fluent in HTML (Big whoop huh?) and I'm currently in our AP C++ class in school. If anyone could help me get started, that would be great! Ryan Callaway

Re: [PHP-WIN] Basics!

2002-11-26 Thread Scott Carr
What version of Apache and PHP are in the book? -- Scott Carr Documentation Maintainer http://documentation.openoffice.org OpenOffice.org Quoting [EMAIL PROTECTED]: I'm interested in learning PHP. I got a book with the apache server on it and it's got PHP I can't get anything to work though!

[PHP-WIN] Re: IIS and PHP with $HTTP_SERVER_VARS

2002-11-26 Thread Brian McGarvie
it's to do with probably folder permissions, the folder all your web files are should have IUSR_machinename added to the folder with full rights, the login box should then not appear... Shaun Garriock [EMAIL PROTECTED] wrote in message

[PHP-WIN] Saving a FDF merge as a PDF to server

2002-11-26 Thread Herhuth, Ron
I have successfully created a web app that fills a FDF Tax form out with data from MSSQL. However there seems to be a dependency that is created between the PDF form I saved with PHP (the filled out tax form) onto the server and the template PDF (template tax form). I ideally would like to

Re: [PHP-WIN] C++ dll files

2002-11-26 Thread Brennan Mann
I got my DLL all set. I am just having problems with windows. I can't get windows to register it. Any suggestions? Thanks, Brennan Franco Pozzer [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I try to help to you but I do not sure if it is a correct because I

php-windows Digest 26 Nov 2002 22:04:20 -0000 Issue 1458

2002-11-26 Thread php-windows-digest-help
php-windows Digest 26 Nov 2002 22:04:20 - Issue 1458 Topics (messages 17130 through 17151): Re: C++ dll files 17130 by: Franco Pozzer 17139 by: Brian 'Bex' Huff 17151 by: Brennan Mann Re: get Url 17131 by: George Nicolae IIS and PHP with $HTTP_SERVER_VARS

RE: [PHP-WIN] C++ dll files

2002-11-26 Thread Mikey
regsrvr32.exe should register it for you. HTH, Mikey -Original Message- From: Brennan Mann [mailto:[EMAIL PROTECTED]] Sent: 26 November 2002 22:04 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] C++ dll files I got my DLL all set. I am just having problems with windows. I can't get

[PHP-WIN] Redirect browser to another URL?

2002-11-26 Thread Jack Kelly Dobson
Hello, Anyone know how to have a script re-direct the browser to a URL cleanly? I've tried using header(location: . $url); but I'm running into a problem with a server error saying header data was already sent from some line in the script that was running as if the new url is being opened after

RE: [PHP-WIN] Redirect browser to another URL?

2002-11-26 Thread Kieran Hall
Try using a javascript with your php to create a redirect redirect: script language=JavaScript document.location.href=?PHP echo $url ? /script Hope this is useful. Kieran Hall -Original Message- From: Jack Kelly Dobson [mailto:[EMAIL PROTECTED]] Sent: 26 November 2002 22:43 To: [EMAIL

RE: [PHP-WIN] Redirect browser to another URL?

2002-11-26 Thread Dash McElroy
Jack, If your script which has to redirect the user spits out _ANY_ output (i.e. carrige return, space, HTML of any sort) then it will be unable to send header info to the browser. If the script is not supposed to send any data to the browser other than a redirect, you have some whitespace or

Re: [PHP-WIN] C++ dll files

2002-11-26 Thread Brennan Mann
I get an error when I try to register the DLL using regsrvr32.exe . DLL was loaded, but the DllRegisterSever entry point was not found. File not loaded. Any Suggestions? Thanks, Brennan Brennan Mann [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I got my DLL