php-windows Digest 22 Jun 2001 23:35:50 -0000 Issue 623 Topics (messages 7981 through 7990): Starting Point and Online Tutorials 7981 by: Frank J. Schmuck 7986 by: Flint Doungchak using the PHP4 mail() function in (Newbie) 7982 by: Peter Haywood 7989 by: Michael Kelley Re: Get the contents of the textarea "as is" 7983 by: Ben Gillam Re: ImageCreate() 7984 by: Josh Seward PHP Nuke question 7985 by: Clint Tredway Problems with Mysql Tables! 7987 by: Arjun Saha Re: Need help with Cookies 7988 by: Neuro Mancer Apache/PHP/Mysql win98SE - Connection Dropping 7990 by: Mark Edwards 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] ----------------------------------------------------------------------
Can someone provide a good starting point and possible on-line tutorials for using PHP, MySQL and CGI on a Win32 platform (Win32). I already have some degree of experience using Perl, MySQL and CGI and am evaluating the benefits of PHP in this area. Thanks Frank
Hey Schmuck, Just kidding. Bet you haven't heard that one before. LOL. :p Try http://www.php.net/links.php there's a whole list of resources for tutorials and code examples there. The PHP FAQ also has some comparison between perl and asp, etc. That's at http://www.php.net/FAQ.php -Flint -----Original Message----- From: Frank J. Schmuck [mailto:[EMAIL PROTECTED]] Sent: Friday, June 22, 2001 7:07 AM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Starting Point and Online Tutorials Can someone provide a good starting point and possible on-line tutorials for using PHP, MySQL and CGI on a Win32 platform (Win32). I already have some degree of experience using Perl, MySQL and CGI and am evaluating the benefits of PHP in this area. Thanks Frank -- 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]
Any advice on this would be much appreciated: I am trying to send a simple email. in the php file, i have entered: <?php mail ("[EMAIL PROTECTED]", "This is the Subject", "This is the message body"); ?> when i load the page, i get the following: Warning: Server Error in C:\inetpub\wwwroot/php/tests/test.php on line 2 test.php being the file containing the PHP mail code this is the sendmail info in my php.ini file: [mail function] ; For Win32 only. SMTP = localhost ; for Win32 only ; For Win32 only. sendmail_from = [EMAIL PROTECTED] ; for Win32 only thanks, pete
You need to change SMTP = localhost ; for Win32 only to SMTP = MyMailhost.domain.edu ; for Win32 only (MyMailHost being your mail service's server -> pop3.hotmail.com) If you don't have that then you may need to install a mail service of your own ... If you need to do that research the archieves I know I've seen a load of different free mail services and how to install (I didn't have to do that so I'm not going to try to tell you how to do it ...) Peter Haywood wrote: > Any advice on this would be much appreciated: > > I am trying to send a simple email. in the php file, i have entered: > > <?php > mail ("[EMAIL PROTECTED]", "This is the Subject", "This is the message > body"); > ?> > > when i load the page, i get the following: > > Warning: Server Error in C:\inetpub\wwwroot/php/tests/test.php on line 2 > test.php being the file containing the PHP mail code > > this is the sendmail info in my php.ini file: > > [mail function] > ; For Win32 only. > SMTP = localhost ; for Win32 only > > ; For Win32 only. > sendmail_from = [EMAIL PROTECTED] ; for Win32 only > > > thanks, > > pete -- Michael Kelley [EMAIL PROTECTED] Programmer/Systems Analyst I New Mexico State University Information and Communication Technologies Work # (505)-646-1374 P.O. Box 30001 MSC: 3AT Las Cruces, NM 88003
I used the thing from phpbuilder worked a treat, many thanks ""Ben Gillam"" <[EMAIL PROTECTED]> wrote in message 9gt53d$lfh$[EMAIL PROTECTED]">news:9gt53d$lfh$[EMAIL PROTECTED]... > For example, if someone puts the following into a textbox.. > > "Hi my name is bob smith > > and im talking to you now > > and hitting enter every now and then" > > and the name of the textbox is $message > > how could i get it to take the contents of the text box and put it in > $message as is, with blank lines and carrige returns that the user has put > in, becuase as you know that would just come out as > > "Hi my name is bob smith and im talking to you now and hitting enter every > now and then" > > Any help would be great. > [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] >
You need to have the GDlib installed. Here is a link that will set up Apache, Mysql, php, and the GDlib on your win200 system. This is not ment for actally hosting a commercial site yet. I wouldn't use it for that wihtout some tweaking. Link: http://www.firepages.com.au/yak2.htm?this=6&that=3 ----- Original Message ----- From: "Arash Dejkam" <[EMAIL PROTECTED]> To: <> Sent: Friday, June 22, 2001 7:37 AM Subject: [PHP-WIN] ImageCreate() > Hi, > > I want to use image functions in PHP but each time I use functions like > ImageCreate() or ImageCreateFromJPEG() ... I receive an error saying > undefined function, I'm using PHP version 4.0.5 on Apache and I use W2K. > what's the problem ? > > Thanks > Arash Dejkam > > > > > -- > 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] >
Does anyone have tips for getting PHP-Nuke running on windows? Thanks! -- Clint Tredway www.factorxsoftware.com --
Hey Guys, I'm running Apache/PHP/Mysql on Win2k Pro. This is an error that has happened first time with me..and it's so scary I just had to mail. I access all my mysql from Php and often refer to the tables from the command prompt. All of a sudden I am unable to read from some Mysql tables and when I query "SELECT * FROM <tablename>" from the command prompt I get an error (no. 127) saying "Unable to read table identifier". So has all my table data gone??? Or can I retrieve it?? Why o why does this happen?? Pleeeeeeeeeease HELP! TIA, Arjun.
Anybody know if there is a fix in the works for this or are they just blaming IIS/MS and recommending a move to Apache? Neuro. ""Ivan Milanez Castellanos"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Thanx Brian but I allready resolved the problem by switching the web server from IIS 5 to Apache aparentrly IIS has problems setting cookies from PHP scripts. I'll still try your files and tell you what happened ok. Later. -----Original Message----- From: Brian Little [mailto:[EMAIL PROTECTED]] Sent: Martes, 22 de Mayo de 2001 02:37 p.m. To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] Need help with Cookies Can't say I know what the problem is, but here are two test files, that work on my Windows 2000, IIS 5, SQL 7 machine. Let me know if you have a problem with them and maybe we can find the problem. Brian -- 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 am using my win98 machine as a dev box for a web/php application. I am doing fairly frequent queries to the mysql instance, and every now and again the connection between php and mysql drops and I can't reinstate it without bouncing apache. Almost seems like there's a leak somewhere and all the resources are getting used up. I have checked code for mysql_result_free() and mysql_close() usage, and its all pretty clean. Symptoms of the error are that php returns mysql_ errors consistently for each call after failure. Has anyone experienced this before? If so, I'd be grateful for any workarounds. Thanks in advance... Mark Edwards.