Re: [PHP] RE: help, weird include problem with functions

2001-08-10 Thread Renze Munnik
On Fri, Aug 10, 2001 at 08:22:57AM -0400, Jaxon wrote: > Renze, > > I found that it works if I pass only a variable or a path in, not both. > > e.g. opendir("/path/to/foo") works > opendir("$variable") where variable contains "path/to/foo" also works > opendir("$somevar/some/path")

Re: [PHP] Php on Windows not running!!! Any help ???

2001-08-10 Thread Data Driven Design
I used to use PWS, but now I use Apache, maybe I can help. Did you: . move the php.ini and php4ts.dll to your system folder . put the correct path in the registry editing file and double click it . check the box for 'Execute' in your PWS administration Data Driven Design 1506 Tuscaloo

RE: [PHP] RE: help, weird include problem with functions

2001-08-10 Thread Jaxon
Renze, I found that it works if I pass only a variable or a path in, not both. e.g.opendir("/path/to/foo") works opendir("$variable") where variable contains "path/to/foo" also works opendir("$somevar/some/path") does NOT work. go figure. cheers, jaxon > -Original Mess

RE: [PHP] Re: PHP.exe EAT's my win resources... (!)

2001-08-10 Thread Bruin, Bolke de
Depends for what you are using it. I'm having a PHP module as an ISAPI module in production use here for use as a Quicken OFX server. I haven't had much trouble with it and its running stable for 6 months now. Bolke -Oorspronkelijk bericht- Van: elias [mailto:[EMAIL PROTECTED]] Verzonde

Re: [PHP] plz check the warning message

2001-08-10 Thread Renze Munnik
On Fri, Aug 10, 2001 at 04:42:48PM +0530, Balaji Ankem wrote: > Is there anyway to restrict the reposting?? Means after pressing > logout button we shouldn't allow the user to go back or reposting > the data again and getting session again. Okay... I've figured out two 'solutions'. But... I must

Re: [Re: [PHP] user's ip]

2001-08-10 Thread Dave Freeman
On 7 Aug 01, at 14:02, René Moonen wrote: > The problem is that REMOTE_ADDR returns the IP address of the proxy (if > if(getenv(HTTP_X_FORWARDED_FOR)) > { > $ip=getenv(HTTP_X_FORWARDED_FOR); > } > else > { > $ip=getenv(REMOTE_ADDR); > } > $host = gethostbyaddr($ip); except, perhaps, when th

Re: [PHP] Question about security: writing images to a directory (chmod 777)

2001-08-10 Thread Data Driven Design
Using the ftp functions is an alternative http://www.php.net/manual/en/ref.ftp.php Data Driven Design 1506 Tuscaloosa Ave Holly Hill, Florida 32117 http://www.datadrivendesign.com Phone: (386) 226-8979 Websites That WORK For You - Original Message - From: "SED" <[EMAIL PROTECTED]> To:

[PHP] Php on Windows not running!!! Any help ???

2001-08-10 Thread legal
Hello Everyone I have installed php on my windows computer running with PWS. PHP files are in c:\php folder. I have placed test.php file in c:\inetpub\wwwroot folder on which I have given execute permission. When I call it in internet explorer as http://localhost/test.php it gives an error as Fi

Re: [PHP] php authentication system

2001-08-10 Thread pierre-yves
http://www.phpbuilder.com/columns/tim2505.php3 py - Original Message - From: "Andras Kende" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 10, 2001 6:44 AM Subject: [PHP] php authentication system > Hello, > > I need to password protect some webpages right now i

Re: [PHP] plz check the warning message

2001-08-10 Thread Renze Munnik
On Fri, Aug 10, 2001 at 04:42:48PM +0530, Balaji Ankem wrote: > Hi, Munnik, > I am starting the session if authentication is successful and i am closing the >session whenever user click on logout button. > Here in my case authentication is succesfull and session is started. And i checked >th

[PHP] [PHP-WIN] Php on Windows not running!!! Any help ???

2001-08-10 Thread legal
Hello Everyone I have installed php on my windows computer running with PWS. PHP files are in c:\php folder. I have placed test.php file in c:\inetpub\wwwroot folder on which I have given execute permission. When I call it in internet explorer as http://localhost/test.php it gives an error as F

Re: [PHP] plz check the warning message

2001-08-10 Thread Balaji Ankem
Hi, Munnik, I am starting the session if authentication is successful and i am closing the session whenever user click on logout button. Here in my case authentication is succesfull and session is started. And i checked the c:\tmp directory. session file is there. But it is not closing th

[PHP] THIS REALLY DOES WORK.

2001-08-10 Thread Tom Hill
This mail is never sent unsolicited. This is a PostMasterDirect.com mailing ! You Have subscribed to receive this information at ListsUK. To unsubscribe forward this message to [EMAIL PROTECTED] ( be sure to forward the ENTIRE message, or it will not unsubscibe

[PHP] Re: PHP.exe EAT's my win resources... (!)

2001-08-10 Thread elias
Hmm...Maybe because you're installing PHP as CGI. ISAPI runs fast only only once as you want. But it's not really stable. "Tribun" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Tach! > > Is that correct, that my php.exe opens each time when a user access a pa

Re: [PHP] plz check the warning message

2001-08-10 Thread Renze Munnik
On Fri, Aug 10, 2001 at 04:08:19PM +0530, Balaji Ankem wrote: > Hi, munnik, > > thankyou for u'r help. > > I am getting the following warning while closing session. > > > Warning: Trying to destroy uninitialized session in c:\www\logout.php on line 3 > session closed for 85744 > > > P

[PHP] php authentication system

2001-08-10 Thread Andras Kende
Hello, I need to password protect some webpages right now its passwords everywhere Probably need some cookie based php authentication system where users login once Where can I find a simple but good script?? Thanks :) Andras -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] plz check the warning message

2001-08-10 Thread Balaji Ankem
Hi, munnik,     thankyou for u'r help.   I am getting the following warning while closing session.     Warning: Trying to destroy uninitialized session in c:\www\logout.php on line 3session closed for 85744     Plz do the needful. I am sending the following files.       logout.php   ses

Re: [PHP] plz check the warning message

2001-08-10 Thread karthik
Hi, What Renze Munnik said is absolutely right. U r trying to send headers after outputing something. So u either have to write ur code before outputing anything or if u want to keep ur code like that only, but still want it to work, go to php.ini and change the settings for output_buffering

[PHP] Log off

2001-08-10 Thread AJDIN BRANDIC
Hi I am using HTTP authorisation to allow users to log in to vew specific pages. What can I use for log off?. I tried using header ("HTTP/1.0 401 Unauthorised"); header ("Location: http://www.mysite.com/index.php3";); OR $PHP_AUTH_USER=0; but it didn't work. -- PHP General Mailing List (ht

Re: [PHP] Printing

2001-08-10 Thread B. van Ouwerkerk
> > I made a system in php and mysql for a corp. > > This system controls the payment of the customers, so i need to print > > the quote of each payment. Is there anyway to do this with php? > > I mean.. Printing quotes from a web browser, besides that i also need > > something to print from th

RE: [PHP] PHP.exe EAT's my win resources... (!)

2001-08-10 Thread Bruin, Bolke de
That is correct, if you dont want it run it as an ISAPI module. Bolke -Oorspronkelijk bericht- Van: Tribun [mailto:[EMAIL PROTECTED]] Verzonden: Friday, August 10, 2001 10:24 AM Aan: [EMAIL PROTECTED] Onderwerp: [PHP] PHP.exe EAT's my win resources... (!) Tach! Is that correct, that m

Re: [PHP] plz check the warning message

2001-08-10 Thread Renze Munnik
On Fri, Aug 10, 2001 at 02:44:09PM +0530, Balaji Ankem wrote: > > Warning: Cannot send session cache limiter - headers already sent (output started at >c:\www\authentication.php:2) in c:\www\authentication.php on line 38 > I don't know what's in authentication.php, but I do know that -like th

[PHP] plz check the warning message

2001-08-10 Thread Balaji Ankem
  Warning: Cannot send session cache limiter - headers already sent (output started at c:\www\authentication.php:2) in c:\www\authentication.php on line 38 - Original Message - From: Yamin Prabudy To: Balaji Ankem ; [EMAIL PROTECTED] Sent: Friday, August 10, 200

[PHP] Re: problem with session start

2001-08-10 Thread Yamin Prabudy
OK i can see your problem you are using windows. then in the php.ini you must set where to put the session file. it's somewhere around with line like this session.save_path = /tmp change it to something like session.save_path = c:\tmp of cause you must make the tmp directory first go

[PHP] Re: how 2 read an non-existing file?! (I need help)

2001-08-10 Thread Tribun
at first: thank you for your answer. but I'm not sure what you've meant, with "I'm betting there's code in the code archives to show you how" Have you any ideas to do that May be through the CURL function??? (http://www.php.net/manual/de/ref.curl.php) In fact, I realy dont know. If you c

Re: [PHP] problem with session start

2001-08-10 Thread Renze Munnik
On Fri, Aug 10, 2001 at 01:58:54PM +0530, Balaji Ankem wrote: > Hi Andrew, >Thankyou now it is working well. > I would like to close the session after clicking logout button. > How to do? > > Thanks inadvance. > Regards > -Balaji session_destroy(); http://www.php.net/manual/en/function.ses

[PHP] again session doubt

2001-08-10 Thread Balaji Ankem
Hello! boss,    It started session.   But i didn't close the session. I tried to login again. But it is giving authorization required. It is not allowing for loggin in again because of session. What i have to do.   Thanks and regards -Balu   - Original Message - From: Y

Re: [PHP] problem with session start

2001-08-10 Thread Balaji Ankem
Hi Andrew,    Thankyou now it is working well. I would like to close the session after clicking logout button. How to do?   Thanks inadvance. Regards -Balaji - Original Message - From: Andrew Braund To: Balaji Ankem Sent: Friday, August 10, 2001 1:45 PM Subject: RE

[PHP] PHP.exe EAT's my win resources... (!)

2001-08-10 Thread Tribun
Tach! Is that correct, that my php.exe opens each time when a user access a page (e.g. on my intranet-page) ?? Is there no way to say php.exe to run only one time and compile the files through this instance??? I've designed a intranet-platform for LAN-parties and at our last one, there were 505

[PHP] problem with session start

2001-08-10 Thread Balaji Ankem
Hi! friend,   i got the following error when i am goint to start a session.   This is the file. and i got the following errors.   Warning: open(/tmp\sess_4a3f421e3a28de6801941743c0632862, O_RDWR) failed: m (2) in c:\www\login.php on line 2Warning: open(/tmp\sess_4a3f421e3a28de6801941743c06328

[PHP] Problem generating pdf with pdflib. Please help

2001-08-10 Thread Dezider Góra
Hi all, I'm experiencing strange problem. When I try to use verdana font, all national characters from codepage 1250 won't appear att all. Has anybody experienced this behaviour? I'm using pdflib 4.0.1, Mandrake 8.0, php 4.0.6. pdflib.upr is updated as required for my machine. I've converted verd

Re: [PHP] charset win1251

2001-08-10 Thread Maxim Derkachev
Hello BRACK, Thursday, August 09, 2001, 10:19:46 PM, you wrote: B> I finished English version of my site and wanted to start Russian B> part but realized that MySQL server returnes all data in koi-8r B> charset which is not very comfortable for some of the users, B> specially I know that A LOT

Re: [PHP] Determining browser encryption strength

2001-08-10 Thread Sean C. McCarthy
Hi Bolivar, Ciphering is something done at the network level when the connection is done. It is done exactly at the negotiation of the SSL session and it is done by the Server (Apache, IIS, ...). So you can use the information provided by the CGI Environment Variables of Apache (if it happens tha

Re: [PHP] CGI error

2001-08-10 Thread Phil Driscoll
On Thursday 09 August 2001 17:21, [EMAIL PROTECTED] wrote: > After install PHP when I try to open in a URL the address: > http://casa/IISSamples/Default/exemplo.php > I receive the following error: > > Error 403 of HTTP > 403.1 Forbided: forbided execution access > First experiment: Put a file c

RE: [PHP] MySQL connection

2001-08-10 Thread B. van Ouwerkerk
>If I use extention .inc for including my connection- >variables file then browser attempts to download this file which is >not better then first. I searched the net on this topic and found a >LOT of information about this problem and the best that I found is >here I just want you to be aware of