php-windows Digest 24 Apr 2001 08:19:23 -0000 Issue 561 Topics (messages 6998 through 7012): Re: Storing images in Interbase database 6998 by: Il Cieco Sessions 6999 by: Randall Barber Re: Refreshing problem....(thread problem?) 7000 by: Phillip Bow 7011 by: macky Re: Authorization on IIS5 (PHP4; Win2k) 7001 by: Joel Gilbert 7012 by: Michael Rudel PHP Search 7002 by: Manesh 7003 by: John Meyer 7004 by: Manesh Re: Help on IIS4.0 +Oracle 7005 by: Gu Weidong-a1923c Installing PDFLib or CLibPDF 7006 by: Patrick Dunford Re: Installing GDLib 7007 by: Patrick Dunford Re: Images in MySql 7008 by: PHPWIN ISS, PHP & LDAP Authorization 7009 by: Joel Gilbert php postgres module for windows 2000 7010 by: Dado Feigenblatt Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
True, but i've just to include a small picture for record, so when i delete the record the image will also be deleted. Greetings, Alessio. ""Johannes Janson"" <[EMAIL PROTECTED]> ha scritto nel messaggio 9c1ueg$66v$[EMAIL PROTECTED]">news:9c1ueg$66v$[EMAIL PROTECTED]... > Hi, > > I don't know how to do it but I rekon you would be more > flexlibe if you store the image path in the db. It keeps your > DB smaller aswell. > > just a thought > Johannes > > ""Alessio Bernesco Lāvore"" <[EMAIL PROTECTED]> schrieb im > Newsbeitrag 9c1noo$1mc$[EMAIL PROTECTED]">news:9c1noo$1mc$[EMAIL PROTECTED]... > > Hi, > > Anyone know how to do it? > > I've already done it with MySql, using "load_file" command, now is there > > something like this with interbase? > > > > Thanks a lot, > > > > Alessio. > > > > > > > > -- > > 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 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] >
I am not familiar with the concept of sessions during a web browse. = >From what I gather, its just another way of passing information without = using GET and POST all over the place. The PHP docs are scanty, I guess they figure I'd know what this was. Will one of you point me toward a useful site with information on the = five W's, (who, what, when etc..). Does PHP do WinNT authentication on = its own? If not, anyone have a suggestion? I'm ok with generating content and programming--I just never bothered = integrating with LANs and WANs and other things. Thanks in advance RDB
Whats mem usage do during this time? Are there any tracing options to log what is happening in IIS? -- phill ""macky"" <[EMAIL PROTECTED]> wrote in message 9c0h2t$5tr$[EMAIL PROTECTED]">news:9c0h2t$5tr$[EMAIL PROTECTED]... > Im new using PHP on IIS 5.0 under Win2K Pro... Installed PHP according to > the direction stated in readme.... I created a simple PHP page and it work > > using IE 5.5 > > <%php > echo ("FOO BAR"); > %> > > Problem: > Whenever I click on refresh for the 3rd time (3rd consecutive time) page > wont display.... I have to restart IIS so I can view the page again? > > > > > > -- > 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] >
memory usage is ok... somehow..... from initial of 100K when page is load adds 3K... refreshing it twice after the initial load didn't show any movement on memory usage.... but one thing seems to be wrong.... CPU usage gone high up 100% hits the ceiling... wont go down... I stopped IIS on dos mode... net stop iisadmin it cant stop WWW service it provides an error... it says theres a process still going on.... but I already close IE.... what could be the problem? ""Phillip Bow"" <[EMAIL PROTECTED]> wrote in message 9c26pr$ffm$[EMAIL PROTECTED]">news:9c26pr$ffm$[EMAIL PROTECTED]... > Whats mem usage do during this time? Are there any tracing options to log > what is happening in IIS? > -- > phill > > ""macky"" <[EMAIL PROTECTED]> wrote in message > 9c0h2t$5tr$[EMAIL PROTECTED]">news:9c0h2t$5tr$[EMAIL PROTECTED]... > > Im new using PHP on IIS 5.0 under Win2K Pro... Installed PHP according to > > the direction stated in readme.... I created a simple PHP page and it > work > > > > using IE 5.5 > > > > <%php > > echo ("FOO BAR"); > > %> > > > > Problem: > > Whenever I click on refresh for the 3rd time (3rd consecutive time) page > > wont display.... I have to restart IIS so I can view the page again? > > > > > > > > > > > > -- > > 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 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] >
Thanks for the info. Just one more thing, is it possible to set up LDAP in PHP for Win2K & IIS, and if so, how? The PHP docs say you have to recompile PHP with LDAP support. Sorry for my stupidity on this, but how can I do this under PHP for Windows? "Johan Lundqvist" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > Hi, > > I'm trying to set up user-specific site settings with authentication. I need > > to be able to validate accounts to a Win2K Active Directory server, as there > > are several hundred accounts active, and they change on a regular basis. I > > have the IIS authentication working fine, but I want to be able to have a > > way of checking their group membership (in Win2K) so that PHP can determine > > whether to display certain pages depending on whether they are members of > > administrator, student or teachers groups. > > You could use LDAP to query the AD for user group membership. When > logged in the variables AUTH_PASSWORD and AUTH_USER are set in PHP, use > these in LDAP query to find the user. LDAP support is built into MS-AD, > but I don't know if it's working. I do the same thing on Novell NDS, and > that's working perfect. > > > I think that I can use cookies to store the user > > preferences, but am I right in thinking that if they log on from another > > computer their settings won't be loaded? > > Correct. > > /Johan > > -- > 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] >
Hi Joel, No, I think you don't have to recompile it under Win. You just have to enable the php-ldap extension. Hope this helps. Greetinx, Mike Michael Rudel - Web-Development, Systemadministration - _______________________________________________________________ Suchtreffer AG Bleicherstraße 20 D-78467 Konstanz Germany fon: +49-(0)7531-89207-17 fax: +49-(0)7531-89207-13 e-mail: mailto:[EMAIL PROTECTED] internet: http://www.suchtreffer.de _______________________________________________________________ > -----Original Message----- > From: Joel Gilbert [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, April 24, 2001 12:20 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] Authorization on IIS5 (PHP4; Win2k) > > > Thanks for the info. Just one more thing, is it possible to > set up LDAP in > PHP for Win2K & IIS, and if so, how? The PHP docs say you > have to recompile > PHP with LDAP support. Sorry for my stupidity on this, but > how can I do this > under PHP for Windows? > > "Johan Lundqvist" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Hi, > > > I'm trying to set up user-specific site settings with > authentication. I > need > > > to be able to validate accounts to a Win2K Active > Directory server, as > there > > > are several hundred accounts active, and they change on a > regular basis. > I > > > have the IIS authentication working fine, but I want to > be able to have > a > > > way of checking their group membership (in Win2K) so that PHP can > determine > > > whether to display certain pages depending on whether > they are members > of > > > administrator, student or teachers groups. > > > > You could use LDAP to query the AD for user group membership. When > > logged in the variables AUTH_PASSWORD and AUTH_USER are set > in PHP, use > > these in LDAP query to find the user. LDAP support is built > into MS-AD, > > but I don't know if it's working. I do the same thing on > Novell NDS, and > > that's working perfect. > > > > > I think that I can use cookies to store the user > > > preferences, but am I right in thinking that if they log > on from another > > > computer their settings won't be loaded? > > > > Correct. > > > > /Johan > > > > -- > > 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 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] >
I need one to search my site, and the web, it need to be like a radio button. PLEASE PLEASE PLEASE
Have you written any code? --- Manesh <[EMAIL PROTECTED]> wrote: > I need one to search my site, and the web, it need > to be like a radio > button. PLEASE PLEASE PLEASE > > > -- > 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] > __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/
i need to include it in a HTML page -----Original Message----- From: John Meyer [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 7:04 PM To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] PHP Search Have you written any code? --- Manesh <[EMAIL PROTECTED]> wrote: > I need one to search my site, and the web, it need > to be like a radio > button. PLEASE PLEASE PLEASE > > > -- > 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] > __________________________________________________ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices http://auctions.yahoo.com/ -- 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]
Thanks for your all information. Now I can get it under ISAPI but not CGI mode. Anyone knows the secret? Weidong Regards > -----Original Message----- > From: Gu Weidong-a1923c > Sent: Monday, April 23, 2001 2:54 PM > To: [EMAIL PROTECTED] > Subject: Help on IIS4.0 +Oracle > > Is it must to have Oracle 8.1.6 client installed with IIS to access Oracle using OCI? > I try to connect the database but got " _oci_open_server: ORA-12154: TNS:could not >resolve service name" with 8.0.5 client installed. ( I can use the same TNS name to >connect the DB in SQL*PLUS) > > > Weidong > > Regards >
The PHP documentation doesn't say anything about these extensions being included. But I have found I have files called php_cpdf.dll and php_pdf.dll. Do these DLLs belong to either CLibPDF or PDFLib? Can I simply use either of these libraries by having the load reference in PHP.ini i.e. are these DLLs complete and don't need any other files to be installed? -- ======================================================================= Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ The grace of the Lord Jesus Christ be with your spirit. Amen. -- Philippians 4:23 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010423 ======================================================================= Created by Mail2Sig - http://pdunford.godzone.net.nz/
On 23 Apr 2001 02:48:47 -0700 AD in php.windows, =?iso-8859- 1?q?Piotr=20Pluciennik?= said: >Hi, > >if you've downloaded PHP binaries for Win you should >already have GD library in it. You don't need any >compiler. The file is is php_gd.dll or php_gd_gif.dll >(it depends on version you have) and is located in >extensions folder of your php directory. > >To 'activate' it you should change your php.ini file - >in windows extension section uncomment line (remove >semicolon) extension=php_gd.dll. > >Greetings, let me know if it has helped you to solve >the problem > Yes it is all working properly with JPEG files now. -- ======================================================================= Patrick Dunford, Christchurch, NZ - http://pdunford.godzone.net.nz/ The grace of the Lord Jesus Christ be with your spirit. Amen. -- Philippians 4:23 http://www.heartlight.org/cgi-shl/todaysverse.cgi?day=20010423 ======================================================================= Created by Mail2Sig - http://pdunford.godzone.net.nz/
Thanks I've tried using FTP HTTP and Storing in MySql, and they work fine, but only on my computer. I've found out that to work around this server I have to include some code at the top of my php page, and give the page a .cgi extension, to use the script as cgi. I can then specify another /tmp directory in my domain and not have to use the system default which is out of reach of my scripts. The problem is that it is less secure as the session id from the on going session is not found in the new directory specified in the php.ini file , which has to be in my domain as well, and there goes my secure session management stuff. However I may be wrong, and hopefully there is a way to access the original session save directory or I could pass the PHPSESSION ID over? Any idea how to spoof it? Otherwise anyone know how to use these encrpto-scripting stuff to come up with an independant security system (non php sessions management) for sessions or simple data transfer between scripts in different pages? Use the database to store an id huh? And the next script gets it from there instead of by post to know it belongs to a session, and accepts data with the appended session id..... I guess thats alrite yeah? ----- Original Message ----- From: "Susan Ottwell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, April 23, 2001 5:10 PM Subject: Re: [PHP-WIN] Images in MySql > You can set the location of the "temp" directory that PHP writes to, there may be other ways for you to work around this. And, of course, the simplest way would be to store the images in mySQL, as long as they aren't too big, usually 2 meg is the limit. (but then you don't want any images bigger than that, anyway, since they would slow the page download too much). > > http://www.php.net/manual/en/configuration.php#ini.upload-tmp-dir > http://www.php.net/manual/en/features.file-upload.php > http://www.php.net/manual/en/features.file-upload.put-method.php > http://www.php.net/manual/en/function.move-uploaded-file.php > > Susan Ottwell > Techbox > Netanya, Israel > > > >From: "PHPWIN" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Subject: Re: [PHP-WIN] Images in MySql > >Date: Sun, 22 Apr 2001 18:24:35 +0800 > > > >Hi there > > Thanks for the tip, I'll try the telnet thing. > > > > But I believe that the real problem is that scripts are not allowed to > >access files outside their domain, like the /tmp directory where all files > >that are uploaded via the web, would end up. > > > >Therefore my scripts for HTPp, FTP or MySql don't work as long as I use > ><file input type=file> > >Unless a javascript reads the file on the client side and pastes everything > >in a textarea, but that would be drastic... > > > >Cheers > > > >----- Original Message ----- > >From: "John Lim" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Sunday, April 22, 2001 10:25 PM > >Subject: Re: [PHP-WIN] Images in MySql > > > > > > > Hi Xon, > > > > > > Some options i can think of. > > > > > > 1. Can u change HTTP write permissions yourselves via telnet with chmod or > > > chgrp? That would be the simplest if possible. > > > > > > 2. If you have to store in MySQL, storing in the file system gives better > > > performance. But storing in MySQL is not so bad. > > > > > > 3. Consider switching Web hosting companies. There are more responsive > > > companies out there. I can recommend futurequest.com. I host there myself. > > > > > > > > > Regards, John > > > > > > > > > "PHPWIN" <[EMAIL PROTECTED]> wrote in message > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > Hi there > > > I was wondering if anyone knew if it is a good idea to store gifs, jpegs > > > or swfs in MySql. > > > The problem is that the server I host my site on doesn't give HTTP write > > > permissions and has disabled FTP functions in php. I would like to allow > > > users to upload images and store them locally on the server. > > > > > > Any ideas? > > > > > > Thanks > > > Xon > > > > > > > > > > > > > > > -- > > > 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 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] > > > >
Hi, I figured out how to enable LDAP support, just a matter of uncommenting the appropriate line in php.ini. Now I can connect to the Win2K Active Directory server, but only with anonymous login, and can't do any queries. Does anyone have any sample scripts for accessing Win2K Directories with LDAP? This is hopefully the last piece in the puzzle that will allow me to use all PHP instead of ASP. Joel
I just installed apache and php for win2000. It's working fine. Now I need php to talk to postgresql. Where can I find that module? What is involved in getting it to work? Oh, I'd rather have a binary instead of compiling it. And since we are at it, where can I find the postgresql binaries for w2k? Thanks. Dado Feigenblatt