php-windows Digest 12 Apr 2001 10:29:23 -0000 Issue 540 Topics (messages 6651 through 6666): GD library for win32 6651 by: Piotr Pluciennik Re: php 4 crashes apache for windows 6652 by: Ermanno Iannacci Re: PHP Editor 6653 by: Josh Seward 6654 by: Josh Seward 6657 by: Piotr Pluciennik 6658 by: Dan Cleveland Re: HTML-Forms with the method POST 6655 by: Mike 6659 by: Olivier Hubert Re: dynamic buttons 6656 by: Piotr Pluciennik 6663 by: NarN Re: free php hosting 6660 by: OoCobra97.aol.com Re: WinNT Logons as a $var 6661 by: OoCobra97.aol.com Re: CGI Error 6662 by: OoCobra97.aol.com 6666 by: Ivan Pavlovic PHP and XML 6664 by: Byrne, Gerald [euler:eti-lon] Re: Exec() 6665 by: Patrick 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] ----------------------------------------------------------------------
Hi all, currently I'm using PHP on Windows NT with GD library version equal 1.6.2. This version doesn't support GIF file formats. I'd like to ask you where I can find earlier version of GD library for win32 platform and my version of PHP - 4.0.4pl1 - which supports GIFs? Maybe someone can send it to me via e-mail or show me URL, please? Thanks in advance, Piotr _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
I put the dll into the folder together with the .so files. I don't remember the path but I think is something like "/modules/php4apache.dll". It could be a permission problem. ----- Original Message ----- From: "Darren" <[EMAIL PROTECTED]> To: "Ermanno Iannacci" <[EMAIL PROTECTED]> Sent: Thursday, April 12, 2001 12:27 AM Subject: Re: [PHP-WIN] php 4 crashes apache for windows > but i provided the correct dir in the module call. What was yours set to? > > Thank you for replying by the way :-) > ----- Original Message ----- > From: Ermanno Iannacci <[EMAIL PROTECTED]> > To: Darren <[EMAIL PROTECTED]> > Sent: Wednesday, April 11, 2001 11:26 PM > Subject: Re: [PHP-WIN] php 4 crashes apache for windows > > > > I put the php module in the apache modules folder and it works. > > > > "Darren" <[EMAIL PROTECTED]> ha scritto nel messaggio > > 9b2447$406$[EMAIL PROTECTED]">news:9b2447$406$[EMAIL PROTECTED]... > > > Hi all. I have a problem with apache running PHP. I config it as stated > in > > > the instructions but when i boot apache, i get a > > > > > > APACHE caused an invalid page fault in module APACHECORE.DLL at > > > 0167:10010d35. > > > > > > this disappears when i comment out the > > > "LoadModule php4_module /perl/bin/sapi/php4apache.dll" > > > > > > and yet reappears when i remove the comment. Any ideas? > > > Thanks > > > > > > > > > > > > > > > -- > > > 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 use Homesite 4.5 but its not free. There is a freeware version of SynEdit that works great with php3. I am not sure if they updated it for php 4 or not. I dont have the link right now, but I will try and find something. The software is designed by MikiDesigns and the name is SynEdit. Hope this comes in handy! It did for me! ----- Original Message ----- From: "Mad Nas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 1:22 AM Subject: [PHP-WIN] PHP Editor > Hi All, > I Search for a > 1 ) Freeware > 2 ) Powerful > 3 ) Highlight Syntax > 4 ) ... > > Editor for work on php files, Can you help me ? > > Thanks For Answer > > Mad Nas > >
OOPS!!!!!!!! My bad, this was already posted http://synedit.hypermart.net/ Sorry! ----- Original Message ----- From: "Daniel Furse" <[EMAIL PROTECTED]> To: "Mad Nas" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, April 11, 2001 3:17 AM Subject: RE: [PHP-WIN] PHP Editor > I use SynEdit http://synedit.hypermart.net/ > > It has all the features I need for both PHP and HTML. > > It's free. I think it's powerful. It has syntax highlighting for > 37 languages, including PHP3, HTML, Perl. Plus the highlighting is > customisable. > > DanF > > -----Original Message----- > From: Mad Nas [mailto:[EMAIL PROTECTED]] > Sent: 11 April 2001 06:22 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] PHP Editor > > > Hi All, > I Search for a > 1 ) Freeware > 2 ) Powerful > 3 ) Highlight Syntax > 4 ) ... > > Editor for work on php files, Can you help me ? > > Thanks For Answer > > Mad Nas > > > -- > 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 use PHP Coder - as I remember (I hope :-) I've downloaded it from www.stsoft.cjb.net All the best Piotr Mad Nas wrote: > Hi All, > I Search for a > 1 ) Freeware > 2 ) Powerful > 3 ) Highlight Syntax > 4 ) ... > > Editor for work on php files, Can you help me ? > > Thanks For Answer > > Mad Nas _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
I'm currently developing PHP Studio. It's being developed more every day and we are very open to suggestions on features etc. You can visit the new website for it at: http://www.phpstudio.f2s.com You can use the site to file a bug report, request a feature and other things. Hope you enjoy it! Dan Cleveland PHP Studio Development Team +-------------------------------------------------------------------+ | | | If Yoda so strong in force is, | | why words in proper order he cannot put? | | | +-------------------------------------------------------------------+ | | +-------------------------------------------------------------------+ | Daniel J. Cleveland | | e-mail: [EMAIL PROTECTED]| +-------------------------------------------------------------------+
I think u have to read thru ur PhP.ini file...... There is a setting there about global vars.....that should do it... Greetz M!ke "Monello" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I have a strange problem with HTML-Forms with the method POST. > > When I work local on my computer with the localhost, all data tipped into > the form can be read from the HTTP_POST_VARS-system array. > > But when I trie to use the form from a other computer connected to the > internet, all the formdata are lost, the HTTP_POST_VAR-array is empty. > > What happens hear ? What did I wrong ? > > Thanks for your help. > Philipp > > -- > 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] >
That's right, check if register_global is at 1 (something equivalent should work) in your php.ini. Olivier >I think u have to read thru ur PhP.ini file...... > >There is a setting there about global vars.....that should do it... > >Greetz > >M!ke >"Monello" <[EMAIL PROTECTED]> schreef in bericht >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >> I have a strange problem with HTML-Forms with the method POST. >> >> When I work local on my computer with the localhost, all data tipped into >> the form can be read from the HTTP_POST_VARS-system array. >> >> But when I trie to use the form from a other computer connected to the >> internet, all the formdata are lost, the HTTP_POST_VAR-array is empty. >> >> What happens hear ? What did I wrong ? >> >> Thanks for your help. >> Philipp
Hi, you should use some of the PHP image functions. It let you do dynamic buttons. An example you've got in PHP online manual, in chapter 16 - Creating and manipulating images. Explanation of image functions - in function reference part of the above mentioned manual - unit XXVII. Image functions. I hope it will help, let me know, please Greetings Piotr NarN wrote: > Hi all > > I'm using php4, IIS and Win2k server. > > I want to create dynamic buttons. I have a template (empty button) and I > would like to place text on that button and send it to the browser. > > Any thoughts how I have to do this on Win2k? > > Tnx > > NarN > > -- > 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!? Get your free @yahoo.com address at http://mail.yahoo.com
Tnx I found it a few hours after my post. It's a big manual! "Piotr Pluciennik" <[EMAIL PROTECTED]> schreef in bericht [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi, > > you should use some of the PHP image functions. It let you do dynamic > buttons. An example you've got in PHP online manual, in chapter 16 - > Creating and manipulating images. Explanation of image functions - in > function reference part of the above mentioned manual - unit XXVII. Image > functions. > > I hope it will help, let me know, please > > Greetings > > Piotr > > NarN wrote: > > > Hi all > > > > I'm using php4, IIS and Win2k server. > > > > I want to create dynamic buttons. I have a template (empty button) and I > > would like to place text on that button and send it to the browser. > > > > Any thoughts how I have to do this on Win2k? > > > > Tnx > > > > NarN > > > > -- > > 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!? > Get your free @yahoo.com address at http://mail.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] >
www.f2s.com is great so far, I've signed up about a week ago and its been down only once, i think it may have been caused by there database servers (yes they have mysql database servers for free too) So I would recomend it. To see a user website just go to www.oocobra97.f2s.com and you will see the web and database server in action. The only real downside I see with f2s.com is that your default start page is limited to only index.html, but you can always re-direct to a php page as i did. Have fun! ~Jeff In a message dated 4/11/2001 2:00:40 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: > <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]. > .. > Hello! > I heard about www.f2s.com, but didn't tried it yet... > > I have just been there and i am still waiting for confirmation. sadly the > site is just in its test stages but its free so i am not complaining :-) > >
Hello, I run windows 2k for my web server with iis 5, I tested a script for someone on this issue and $AUTH_USEr worked fine, as long as you set the directory or page as password protected (requiring windows logon). Hope this helps ~Jeff In a message dated 4/11/2001 1:43:37 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: > > "Paul Wieland" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I'm using PHP to build our companies Intranet. I am able to setup > > permissions to certain areas of the website by specifiying permissions to > > the corresponding folders. In some areas, I need to keep track of who > makes > > what changes where. In order to do this, the person needs to login. > > Ideally, it would be best to just use their NT logon. > > It would be extrememly helpful to me if I could get a users NT Logon as a > > variable in php [maybe as an environment variable?]. I read something > > somewhere about REMOTE_USER in asp [gag]. Is it possible to get the logon > > with PHP? > > > > Thanks in advance. > > -Paul Wieland > > you need to trace server side variables such as $REMOTE_ADDR which brings up > the IP address of the connector and REMOTE_HOST which stores the computer > name, there are others like $AUTH_USER and $LOGIN_USER but i haven't > tried the last two as i don't run NT > > I hope this helps > > Darren >
Hello, Well when php describes a cgi error, but there is no output, it could be because its not finding the file. On iis5 when you set the handler for php (thats where you define the extention to php) theres a checkbox named "check if file exists". If you check that box than if the file isnt found, it will re-direct to your 404 page instead of the blank cgi error. If you need help setting up iis5 on windows 2k, E-mail me and I will give you a hand, but that should solve that problem, why its not finding the file is a different one, hehe ~Jeff In a message dated 4/11/2001 2:01:59 PM Eastern Daylight Time, [EMAIL PROTECTED] writes: > Hey Phil > > PHP -i does display a pageful of html > > The PHP is installed on c:\php > C: is a FAT partition, everyone has permissions. > I don't know exactly where to set permissions > any suggestions? > >
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are: This message is starting to show when I change the name of home directory. I change the local path in IIS but nothing. When I return the name everything is ok. I created new site and copy all of the pages but php pages still won't work and it's the same message. What is the problem??. ( I try to change security, and php work fine on the other site, restarting IIS and service from control panel but still nothing)
Hello everybody. I'm new to PHP but I like what I see. Can anybody advise me about the best way for using XML in my PHP pages. Locally I'm using PHP4 with Xitami on NT 4. I'd also like to be able to use XML with my free host (www.freeola.com). Is there a set of light weight PHP classes for using XML? Appreciate the help. Thanks. GedB > -----Original Message----- > From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]] > Sent: Wednesday, April 11, 2001 1:49 PM > To: [EMAIL PROTECTED] > Subject: WELCOME to [EMAIL PROTECTED] > > Hi! This is the ezmlm program. I'm managing the > [EMAIL PROTECTED] mailing list. > > I'm working for my owner, who can be reached > at [EMAIL PROTECTED] > > Acknowledgment: I have added the address > > [EMAIL PROTECTED] > > to the php-windows mailing list. > > Welcome to [EMAIL PROTECTED]! > > Please save this message so that you know the address you are > subscribed under, in case you later want to unsubscribe or change your > subscription address. > > > --- Administrative commands for the php-windows list --- > > I can handle administrative requests automatically. Please > do not send them to the list address! Instead, send > your message to the correct command address: > > To subscribe to the list, send a message to: > <[EMAIL PROTECTED]> > > To remove your address from the list, send a message to: > <[EMAIL PROTECTED]> > > Send mail to the following for info and FAQ for this list: > <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> > > Similar addresses exist for the digest list: > <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> > > To get messages 123 through 145 (a maximum of 100 per request), mail: > <[EMAIL PROTECTED]> > > To get an index with subject and author for messages 123-456 , mail: > <[EMAIL PROTECTED]> > > They are always returned as sets of 100, max 2000 per request, > so you'll actually get 100-499. > > To receive all messages with the same subject as message 12345, > send an empty message to: > <[EMAIL PROTECTED]> > > The messages do not really need to be empty, but I will ignore > their content. Only the ADDRESS you send to is important. > > You can start a subscription for an alternate address, > for example "[EMAIL PROTECTED]", just add a hyphen and your > address (with '=' instead of '@') after the command word: > <[EMAIL PROTECTED]> > > To stop subscription for this address, mail: > <[EMAIL PROTECTED]> > > In both cases, I'll send a confirmation message to that address. When > you receive it, simply reply to it to complete your subscription. > > If despite following these instructions, you do not get the > desired results, please contact my owner at > [EMAIL PROTECTED] Please be patient, my owner is a > lot slower than I am ;-) > > --- Enclosed is a copy of the request I received. > > Return-Path: <[EMAIL PROTECTED]> > Received: (qmail 15201 invoked from network); 11 Apr 2001 12:48:47 -0000 > Received: from unknown (HELO ?63.140.97.2?) (63.140.97.2) > by va.php.net with SMTP; 11 Apr 2001 12:48:47 -0000 > Received: from baltimore01.aci.eulergroup.com by [63.140.97.2] > via smtpd (for va.php.net [198.186.203.51]) with SMTP; 11 Apr > 2001 12:50:23 UT > Received: by BALTIMORE01 with Internet Mail Service (5.5.2650.21) > id <H9RARD9F>; Wed, 11 Apr 2001 08:50:29 -0400 > Message-ID: <173E24A0B387D411AA300008C7A4C239397DD9@lonsex01bkp> > From: "Byrne, Gerald [euler:eti-lon]" <[EMAIL PROTECTED]> > To: > "'php-windows-sc.986991901.jalbkdebojfeblcpimmn-Gerald.Byrne=eulergroup.co > [EMAIL PROTECTED]'" > > <php-windows-sc.986991901.jalbkdebojfeblcpimmn-Gerald.Byrne=eulergroup.com > @lists.php.net> > Subject: > Date: Wed, 11 Apr 2001 08:49:46 -0400 > MIME-Version: 1.0 > X-Mailer: Internet Mail Service (5.5.2650.21) > Content-Type: text/plain >
""Helmut Himmelstoss"" <[EMAIL PROTECTED]> wrote in message 9b21na$iu7$[EMAIL PROTECTED]">news:9b21na$iu7$[EMAIL PROTECTED]... > I copied the Program Ping.exe to the same directory as my script and the > User the IUSR_[Machine name] hast the permissions. > > <?php > echo"<pre>"; > $dd=system("ping ping 127.0.0.1"); > echo "$dd ;;this is a system-test"; > echo "<hr>"; > ?> > The result is the same.......... no result: > ;;this is a system-test > you must use single quotes in system() call ping ping whats that check your erorr logs this worked for me <? //escaping the backslash and in single quotes //this works for win98/apache/php4apache.dll //NOTE: this and the php4isapi.dll is not yet ready //for production, if CGI MODE then I do think it should work echo"<pre>"; $dd=system('c:\\windows\\ping 127.0.0.1'); echo "$dd ;;this is a test"; echo"</pre>"; ?> printed this out Pinging 127.0.0.1 with 32 bytes of data: Reply from 127.0.0.1: bytes=32 time=1ms TTL=128 Reply from 127.0.0.1: bytes=32 time=1ms TTL=128 Reply from 127.0.0.1: bytes=32 time=1ms TTL=128 Reply from 127.0.0.1: bytes=32 time=1ms TTL=128 Ping statistics for 127.0.0.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 1ms, Maximum = 1ms, Average = 1ms Minimum = 1ms, Maximum = 1ms, Average = 1ms ;;this is a test