php-windows Digest 20 Feb 2001 23:00:29 -0000 Issue 455 Topics (messages 5647 through 5667): Fwd 5647 by: Taylor Silvers unlink() problem with PHP 5648 by: Mihai Matei 5653 by: Asendorf, John PHP4 and MS Access 5649 by: Glenn 5650 by: Darvin Andrioli 5654 by: Gregory_Griffiths.cargill.com 5659 by: Gregory_Griffiths.cargill.com 5660 by: Yoann Chevalier Re: SMTP on IIS 5.0 Windows 2000 Pro 5651 by: Asendorf, John Re: Failed opening - NT4 SP6a, O'Reilly WebSite Pro 2.5, PHP4 5652 by: Doug Brewer Processing form data 5655 by: Denis L. Menezes 5662 by: Asendorf, John Re:[PHP-WIN] Processing form data 5656 by: patrik.lindstrom.spectronic.se Graphics version of PHP4 for Windows? 5657 by: Bill Maki 5661 by: Yoann Chevalier DNS question 5658 by: Richard Re: crash cause ... ? 5663 by: Gonzalo Vera Re: Problems with Apache 1.3.17, PHP 4.0.4pl1 and Netscape 6 5664 by: William Stockall 5666 by: Wayne Dunkel Trying to understand this example 5665 by: Asendorf, John Simple Fail-Safe E-Business Opportunity! 5667 by: dbcarolina.verizonmail.com 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] ----------------------------------------------------------------------
Dear Friends & Future Millionaire: AS SEEN ON NATIONAL TV: ''Making over half million dollars every 4 to 5 months from your home for an investment of only $25 U.S. Dollars expense one time'' BE A MILLIONAIRE LIKE OTHERS WITHIN A YEAR!!! Before you say ''Bull'', please read the following. This is the letter you have been hearing about on the news lately. Due to the popularity of this letter on the Internet, a national weekly news program recently devoted an entire show to the investigation of this program described below, to see if it really can make people money. The show also investigated whether or not the program was legal. Their findings proved once and for all that there are ''absolutely NO Laws prohibiting the participation in the program and if people can -follow the simple instructions, they are bound to make some mega bucks with only $25 out of pocket cost''. DUE TO THE RECENT INCREASE OF POPULARITY & RESPECT THIS PROGRAM HAS ATTAINED, IT IS CURRENTLY WORKING BETTER THAN EVER. This is what one had to say: '' Thanks to this profitable opportunity. I was approached many times before but each time I passed on it. I am so glad I finally joined just to see what one could expect in return for the minimal effort and money required. To my astonishment, I received total $ 610,470.00 in 21 weeks, with money still coming in''. Pam Hedland, Fort Lee, New Jersey. ============================================================ Here is another testimonial: ''' this program has been around for a long time but I never believed in it. But one day when I received this again in the mail I decided to gamble my $25 on it. I followed the simple instructions and walaa ..... 3 weeks later the money started to come in. First month I only made $240.00 but the next 2 months after that I made a total of $290,000.00. So far, in the past 8 months by re-entering the program, I have made over $710,000.00 and I am playing it again. The key to success in this program is to follow the simple steps and NOT change anything.'' More testimonials later but first, ======== PRINT THIS NOW FOR YOUR FUTURE REFERENCE ========== (Or Have it E-mailed to you-See Submit Button Below) $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ If you would like to make at least $500,000 every 4 to 5 months easily and comfortably, please read the following...THEN READ IT AGAIN and AGAIN !!! $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ FOLLOW THE SIMPLE INSTRUCTION BELOW AND YOUR FINANCIAL DREAMS WILL COME TRUE, GUARANTEED! INSTRUCTIONS: ===== Order all 5 reports shown on the list below. ========= For each report, send $5 CASH, THE NAME & NUMBER OF THE REPORT YOU ARE ORDERING and YOUR E-MAIL ADDRESS to the person whose name appears ON THAT LIST next to the report. MAKE SURE YOUR RETURN ADDRESS IS ON YOUR ENVELOPE TOP LEFT CORNER in case of any mail problems. === When you place your order, make sure you order each of the 5 reports. You will need all 5 reports so that you can save them on your computer and resell them. YOUR TOTAL COST $5 X 5=$25.00. === Within a few days you will receive, vie e-mail, each of the 5 reports from these 5 different individuals. Save them on your computer so they will be accessible for you to send to the 1,000's of people who will order them from you. Also make a floppy of these reports and keep it on your desk in case something happen to your computer. === IMPORTANT __ DO NOT alter the names of the people who are listed next to each report, or their sequence on the list, in any way other than what is instructed below in step '' 1 through 6 '' or you will lose out on majority of your profits. Once you understand the way this works, you will also see how it does not work if you change it. Remember, this method has been tested, and if you alter, it will NOT work !!! People have tried to put their friends/relatives names on all five thinking they could get all the money. But it does not work this way. Believe us, we all have tried to be greedy and then nothing happened. So Do Not try to change anything other than what is instructed. Because if you do, it will not work for you. Remember, honesty reaps the reward!!! 1.... After you have ordered all 5 reports, take this advertisement and REMOVE the name & address of the person in REPORT # 5. This person has made it through the cycle and is no doubt counting their fortune. 2.... Move the name & address in REPORT # 4 down TO REPORT # 5. 3.... Move the name & address in REPORT # 3 down TO REPORT # 4. 4.... Move the name & address in REPORT # 2 down TO REPORT # 3. 5.... Move the name & address in REPORT # 1 down TO REPORT # 2 6.... Insert YOUR name & address in the REPORT # 1 Position. PLEASE MAKE SURE you copy every name & address ACCURATELY! ============================================================ **** Take this entire letter, with the modified list of names, and save it on your computer. DO NOT MAKE ANY OTHER CHANGES. Save this on a disk as well just in case if you lose any data. To assist you with marketing your business on the internet, the 5 reports you purchase will provide you with invaluable marketing information which includes how to send bulk e-mails legally, where to find thousands of free classified ads and much more. There are 2 Primary methods to get this venture going: METHOD # 1: BY SENDING BULK E-MAIL LEGALLY ============================================================ Let's say that you decide to start small, just to see how it goes, and we will assume You and those involved send out only 5,000 e-mails each. Let's also assume that the mailing receive only a 0.2% response (the response could be much better but lets just say it is only 0.2%. Also many people will send out hundreds of thousands e-mails instead of only 5,000 each). Continuing with this example, you send out only 5,000 e-mails. With a 0.2% response, that is only 10 orders for report # 1. Those 10 people responded by sending out 5,000 e-mail each for a total of 50,000. Out of those 50,000 e-mails only 0.2% responded with orders. That's=100 people responded and ordered Report # 2. Those 100 people mail out 5,000 e-mails each for a total of 500,000 e-mails. The 0.2% response to that is 1000 orders for Report # 3. Those 1000 people send out 5,000 e-mails each for a total of 5 million e-mails sent out. The 0.2% response to that is 10,000 orders for Report # 4. Those 10,000 people send out 5,000 e-mails each for a total of 50,000,000 (50 million) e-mails. The 0.2% response to that is 100,000 orders for Report # 5 THAT'S 100,000 ORDERS TIMES $5 EACH=$500,000.00 (half million). Your total income in this example is: 1..... $50 + 2..... $500 + 3..... $5,000 + 4..... $50,000 + 5..... $500,000 ........ Grand Total=$555,550.00 NUMBERS DO NOT LIE. GET A PENCIL & PAPER AND FIGURE OUT THE WORST POSSIBLE RESPONSES AND NO MATTER HOW YOU CALCULATE IT, YOU WILL STILL MAKE A LOT OF MONEY ! ============================================================ REMEMBER FRIEND, THIS IS ASSUMING ONLY 10 PEOPLE ORDERING OUT OF 5,000 YOU MAILED TO. Dare to think for a moment what would happen if everyone or half or even one 4th of those people mailed 100,000 e-mails each or more? There are over 150 million people on the Internet worldwide and counting. Believe me, many people will do just that, and more! METHOD # 2 : BY PLACING FREE ADS ON THE INTERNET ============================================================ Advertising on the net is very very inexpensive and there are hundreds of FREE places to advertise. Placing a lot of free ads on the Internet will easily get a larger response. We strongly suggest you start with Method # 1 and add METHOD # 2 as you go along. For every $5 you receive, all you must do is e-mail them the Report they ordered. That's it. Always provide same day service on all orders. This will guarantee that the e-mail they send out, with your name and address on it, will be prompt because they can not advertise until they receive the report. ====================== AVAILABLE REPORTS==================== ORDER EACH REPORT BY ITS NUMBER & NAME ONLY. Notes: Always send $5 cash (U.S. CURRENCY) for each Report. Checks NOT accepted. Make sure the cash is concealed by wrapping it in at least 2 sheets of paper. On one of those sheets of paper, Write the NUMBER & the NAME of the Report you are ordering, YOUR E-MAIL ADDRESS and your name and postal address. PLACE YOUR ORDER FOR THESE REPORTS NOW : ============================================================ REPORT # 1 : ''The Insider's Guide to Advertising for Free on the Net'' Order Report # 1 from: Jeff Nickel P.O. Box 560005 Charlotte, NC 28256-0005 USA ____________________________________________________________ REPORT # 2 : ''The Insider's Guide to Sending Bulk e- mail on the Net'' Order Report # 2 from : D. Gilstrap P.O. Box 311079 Atlanta, GA 31131 USA ____________________________________________________________ REPORT # 3 : ''The Secret to Multilevel marketing on the net'' Order Report # 3 from: Stella Dottir 2327 1/2 Chartres St. New Orleans, LA 70117 USA ____________________________________________________________ REPORT # 4 : ''How to become a millionaire utilizing MLM & the Net'' Order Report # 4 from: Amos Miller 261 Joost Ave. San Francisco, CA 94131 USA ____________________________________________________________ REPORT # 5 : ''HOW TO SEND 1 MILLION E-MAILS FOR FREE'' Order Report # 5 from: Loren Stone P.O. Box 6232 Clearfield, UT 84089 USA ____________________________________________________________ $$$$$$$$$ YOUR SUCCESS GUIDELINES $$$$$$$$$$$ Follow these guidelines to guarantee your success: === If you do not receive at least 10 orders for Report #1 within 2 weeks, continue sending e-mails until you do. === After you have received 10 orders, 2 to 3 weeks after that you should receive 100 orders or more for REPORT # 2. If you did not, continue advertising or sending e-mails until you do. === Once you have received 100 or more orders for Report # 2, YOU CAN RELAX, because the system is already working for you, and the cash will continue to roll in ! THIS IS IMPORTANT TO REMEMBER: Every time your name is moved down on the list, you are placed in front of a different report. You can KEEP TRACK of your PROGRESS by watching which report people are ordering from you. IF YOU WANT TO GENERATE MORE INCOME SEND ANOTHER BATCH OF E-MAILS AND START THE WHOLE PROCESS AGAIN. There is NO LIMIT to the income you can generate from this business !!! ============================================================ FOLLOWING IS A NOTE FROM THE ORIGINATOR OF THIS PROGRAM: You have just received information that can give you financial freedom for the rest of your life, with NO RISK and JUST A LITTLE BIT OF EFFORT. You can make more money in the next few weeks and months than you have ever imagined. Follow the program EXACTLY AS INSTRUCTED. Do Not change it in any way. It works exceedingly well as it is now. Remember to e-mail a copy of this exciting report after you have put your name and address in Report #1 and moved others to #2 ...........# 5 as instructed above. One of the people you send this to may send out 100,000 or more e-mails and your name will be on every one of them. Remember though, the more you send out the more potential customers you will reach. So my friend, I have given you the ideas, information, materials and opportunity to become financially independent. IT IS UP TO YOU NOW! ==================== MORE TESTIMONIALS====================== '' My name is Mitchell. My wife, Jody and I live in Chicago. I am an accountant with a major U.S. Corporation and I make pretty good money. When I received this program I grumbled to Jody about receiving ''junk mail''. I made fun of the whole thing, spouting my knowledge of the population and percentages involved. I ''knew'' it wouldn't work. Jody totally ignored my supposed intelligence and few days later she jumped in with both feet. I made merciless fun of her, and was ready to lay the old ''I told you so'' on her when the thing didn't work. Well, the laugh was on me! Within 3 weeks she had received 50 responses. Within the next 45 days she had received total $ 147,200.00 ........... all cash! I was shocked. I have joined Jody in her ''hobby''. Mitchell Wolf M.D., Chicago, Illinois ============================================================ '' Not being the gambling type, it took me several weeks to make up my mind to participate in this plan. But conservative that I am, I decided that the initial investment was so little that there was just no way that I wouldn't get enough orders to at least get my money back''. '' I was surprised when I found my medium size post office box crammed with orders. I made $319,210.00 in the first 12 weeks. The nice thing about this deal is that it does not matter where people live. There simply isn't a better investment with a faster return and so big''. Dan Sondstrom, Alberta, Canada ============================================================ '' I had received this program before. I deleted it, but later I wondered if I should have given it a try. Of course, I had no idea who to contact to get another copy, so I had to wait until I was e-mailed again by someone else.........11 months passed then it luckily came again...... I did not delete this one! I made more than $490,000 on my first try and all the money came within 22 weeks''. Susan De Suza, New York, N.Y. ============================================================ '' It really is a great opportunity to make relatively easy money with little cost to you. I followed the simple instructions carefully and within 10 days the money started to come in. My first month I made $ 20,560.00 and by the end of third month my total cash count was $ 362,840.00. Life is beautiful, Thanx to internet''. Fred Dellaca, Westport, New Zealand ============================================================ ORDER YOUR REPORTS TODAY AND GET STARTED ON YOUR ROAD TO FINANCIAL FREEDOM ! ============================================================ If you have any questions of the legality of this program, contact the Office of Associate Director for Marketing Practices, Federal Trade Commission, Bureau of Consumer Protection, Washington, D.C. ============================THE END=========================
Hy everybody. I am using PHP4.01 as CGI on IIS . The OS is NT. I am trying to erase some file using unlink() from a directory with access rights corectly set (read/write/execute). The error message i get is "unlink() is not supported under this build of PHP" (or something like this...). I have the corect manual for this build, and it doesn't mention anything about not suporting the unlink() function, so i guess the error message ie eronated :). I tried a different aproach of this situation, so i tried to delete the file using exec() & system() and it didn't worked. I would like to know if there is a different way to erase a file, create and remove a directory from within PHP or i have to use a different language (lige ASP..) for this task? Thank you. MMG
You might want to double check your unlink line... unlink( "D:/must/use/forward/slashes.txt" ); Also, try creating a file with PHP (via upload) and then see if you can delete it. --------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aut insanit homo, aut versus facit > -----Original Message----- > From: Mihai Matei [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 20, 2000 6:13 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] unlink() problem with PHP > > > Hy everybody. > > I am using PHP4.01 as CGI on IIS . The OS is NT. I am > trying to erase some file using unlink() from a directory > with access rights corectly set (read/write/execute). The > error message i get is "unlink() is not supported under this > build of PHP" (or something like this...). I have the corect > manual for this build, and it doesn't mention anything about > not suporting the unlink() function, so i guess the error > message ie eronated :). I tried a different aproach of this > situation, so i tried to delete the file using exec() & > system() and it didn't worked. I would like to know if there > is a different way to erase a file, create and remove a > directory from within PHP or i have to use a different > language (lige ASP..) for this task? Thank you. > > MMG >
Hallo! I try to make an insert statment but get a ERROR msg, It looks like this Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement., SQL state 37000 in SQLExecDirect in my insert statment look like this: /* run insert */ $result = odbc_exec($connect, "INSERT INTO content (ingress, text) VALUES ('$tblIngress', '$tblText') where id = 1"); pleas help me Best regards //Glenn _____________________________________________ Free email with personality! Over 200 domains! http://www.MyOwnEmail.com
Check the contents of '$tblIngress' and '$tblText', some characters , such as ' , may give you this error . Darvin -----Original Message----- From: Glenn [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, February 20, 2001 2:08 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] PHP4 and MS Access Hallo! I try to make an insert statment but get a ERROR msg, It looks like this Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement., SQL state 37000 in SQLExecDirect in my insert statment look like this: /* run insert */ $result = odbc_exec($connect, "INSERT INTO content (ingress, text) VALUES ('$tblIngress', '$tblText') where id = 1"); pleas help me Best regards //Glenn _____________________________________________ Free email with personality! Over 200 domains! http://www.MyOwnEmail.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]
You don't need a WHERE clause on an insert -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > > Sent: 20 February 2001 13:08 > > To: [EMAIL PROTECTED] > > Subject: [PHP-WIN] PHP4 and MS Access > > > > > > Hallo! > > I try to make an insert statment but get a ERROR msg, It > > looks like this > > > > > > Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] > > Syntax error > > in INSERT INTO statement., SQL state 37000 in SQLExecDirect in > > > > my insert statment look like this: > > > > /* run insert */ > > $result = odbc_exec($connect, "INSERT INTO content (ingress, > > text) VALUES > > ('$tblIngress', '$tblText') where id = 1"); > > > > pleas help me > > > > Best regards > > //Glenn > > > > _____________________________________________ > > Free email with personality! Over 200 domains! > > http://www.MyOwnEmail.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] > > > > >
Update syntax is : UPDATE <table name> SET <field name 1>=<field value 1>,<field name 2>=<field value 2> etc > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: 20 February 2001 14:27 > To: griffiths, gregory d. /here > Subject: RE: [PHP-WIN] PHP4 and MS Access > > > Hallo! > > OK > But I must update a record in the tabel , but i get the same > error msg. > > result = odbc_exec($connect, "UPDATE content '$tblIngress'= '$tblTest' > where id = $id"); > > Best regards. > //Glenn > ---------------------------------------------- > Original Message > From: ""<[EMAIL PROTECTED]> > Subject: RE: [PHP-WIN] PHP4 and MS Access > Date: Tue, 20 Feb 2001 14:16:11 +0000 > > >You don't need a WHERE clause on an insert > > > >> -----Original Message----- > >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > >> Sent: 20 February 2001 13:08 > >> To: [EMAIL PROTECTED] > >> Subject: [PHP-WIN] PHP4 and MS Access > >> > >> > >> Hallo! > >> I try to make an insert statment but get a ERROR msg, It > >> looks like this > >> > >> > >> Warning: SQL error: [Microsoft][ODBC Microsoft Access Driver] > >> Syntax error > >> in INSERT INTO statement., SQL state 37000 in SQLExecDirect in > >> > >> my insert statment look like this: > >> > >> /* run insert */ > >> $result = odbc_exec($connect, "INSERT INTO content (ingress, > >> text) VALUES > >> ('$tblIngress', '$tblText') where id = 1"); > >> > >> pleas help me > >> > >> Best regards > >> //Glenn > >> > >> _____________________________________________ > >> Free email with personality! Over 200 domains! > >> http://www.MyOwnEmail.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] > >> > >> > > > > > > _____________________________________________ > Free email with personality! Over 200 domains! > http://www.MyOwnEmail.com > >
If you really need the WHERE clause you have to use a request with an UPDATE. Something like this : $result = odbc_exec($connect, "UPDATE content SET ingress='$tblIngress', text='$tblText' WHERE id = 1"); Yoann. ----- Original Message ----- From: "Glenn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Subject: [PHP-WIN] PHP4 and MS Access
Please post the script so that we can look at it. --------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aut insanit homo, aut versus facit > -----Original Message----- > From: Peter Knif [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 18, 2001 5:11 PM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] SMTP on IIS 5.0 Windows 2000 Pro > > > Hi everyone, > > I'm trying to run a simple PHP e-mail script on my Windows > 2000 Pro machine > and I keep receiving Server Error. I tried the same script on > a Unix server > and it worked fine. Does anyone know what the problem might > be? Thanks in > advance. > > -- > ***** Peter Knif ***** > > [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] >
include works like this: if your include_path starts with ".", any document with an "include" in it looks in it's own directory for the included file. if it doesn't find it, it looks for the next entry in include_path and looks there. If it can't find it anywhere, you get the error you're seeing. On WIN/NT, the paths are separated by semicolons, and need to include the drive letter. So your include_path entry should look something like this: include_path = ".;e:\my_include_directory\" don't forget to use quotes. PHP is capable of including files on other servers--see the PHP manual on "include". This will answer your questions on what include does, and then you should understand more about why include_path is important. DB | -----Original Message----- | From: Bob Ferguson [mailto:[EMAIL PROTECTED]] | Sent: Monday, February 19, 2001 10:19 PM | To: [EMAIL PROTECTED]; [EMAIL PROTECTED] | Subject: [PHP-WIN] Failed opening - NT4 SP6a, O'Reilly | WebSite Pro 2.5, | PHP4 | | | Sorry for the cross-post, but I'm getting a bit desperate | here. I've read | through the archives of both lists and tried the | suggestions there, but | nothing is helping. I continue to get: | | Warning: Failed opening '\\host\share\domain-name\htdocs\formmail.php' for inclusion (include_path='') in Unknown on line 0 I even created a page that had no PHP, just to see if I could get it to load (trying to remove the chance of coding errors), but got the same problem. include_path is blank, though I've tried several different options of pointing to the Web root, the PHP directory and using the "." -- all with the same result. doc_root is pointed to the Web root -- \\host\share\. user_dir is blank extension_dir is pointed to the location on the Web server where the extensions are located -- "c:\php4\extensions\". I should point out that the Web files are located on a separate machine, but the account that WebSite runs under has rights to that location. Honestly, I've not been able to complete understand the include_path. Why do I need it? What am I including? Help on this would be greatly appreciated as the client is getting toasted that this is not running. Thank you. Bob Ferguson Sound Data, Inc. 1467 Elliott Avenue West, Seattle, WA 98119 Voice: +1 206.283.0600 Fax: +1 206.283.0782 Providing Web site design and hosting services (http://www.sounddata.com) and developers of Internet ArtResources (http://www.artresources.com), ArtWatch Art Management Systems (http://www.sounddata.com/artwatch/) and the intervault Data Backup System (http://www.sounddata.com/intervault/). -- 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]
Hello friends. I am new to php4 which I am running on an intel machine with NT4 sp6 and IIS4. I have 2 forms name.php and username.php When I run the name.php, and click "submit data" button, the username.php does not appear. I have both the files in the same directory which is c:\inetpub\wwwroot. Appears to me that the FORM ACTION is not working and my username.php is noyt called. Can someone please help me and advise what I am doing wrong. <HTML> <!-- Name.php --> <BODY> <FORM ACTION="Processform.php" METHOD=POST><BR><BR> Please enter your name here : <INPUT TYPE=TEXT NAME="username"><BR><BR> <INPUT TYPE=SUBMIT VALUE="Submit data"> </FORM> </BODY> </HTML> <HTML> <!-- processform.php --> <BODY> <?php echo ("Welcome, " . $username . "!") ?> </BODY> </HTML> Thanks in advance Denis
You need to change your form action... <FORM ACTION="Processform.php" METHOD=POST> needs to become <FORM ACTION="username.php" METHOD=POST> OR change username.php to Processform.php see the problem? --------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aut insanit homo, aut versus facit > -----Original Message----- > From: Denis L. Menezes [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 20, 2001 9:17 AM > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Processing form data > > > Hello friends. > > I am new to php4 which I am running on an intel machine with > NT4 sp6 and > IIS4. > > I have 2 forms name.php and username.php When I run the > name.php, and click > "submit data" button, the username.php does not appear. I > have both the > files in the same directory which is c:\inetpub\wwwroot. > Appears to me that > the FORM ACTION is not working and my username.php is noyt called. Can > someone please help me and advise what I am doing wrong. > > <HTML> > <!-- Name.php --> > <BODY> > <FORM ACTION="Processform.php" METHOD=POST><BR><BR> > Please enter your name here : > <INPUT TYPE=TEXT NAME="username"><BR><BR> > <INPUT TYPE=SUBMIT VALUE="Submit data"> > </FORM> > </BODY> > </HTML> > > > <HTML> > <!-- processform.php --> > <BODY> > <?php > echo ("Welcome, " . $username . "!") > ?> > </BODY> > </HTML> > > Thanks in advance > Denis > > > > -- > 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] >
Thats because the <FORM ACTION="Processform.php" METHOD=POST> will submit data to Processform.php and NOT to username.php ____________________Reply Separator____________________ Subject: [PHP-WIN] Processing form data Author: PC:[EMAIL PROTECTED] Date: 2001-02-20 15:24 Hello friends. I am new to php4 which I am running on an intel machine with NT4 sp6 and IIS4. I have 2 forms name.php and username.php When I run the name.php, and click "submit data" button, the username.php does not appear. I have both the files in the same directory which is c:\inetpub\wwwroot. Appears to me that the FORM ACTION is not working and my username.php is noyt called. Can someone please help me and advise what I am doing wrong. <HTML> <!-- Name.php --> <BODY> <FORM ACTION="Processform.php" METHOD=POST><BR><BR> Please enter your name here : <INPUT TYPE=TEXT NAME="username"><BR><BR> <INPUT TYPE=SUBMIT VALUE="Submit data"> </FORM> </BODY> </HTML> <HTML> <!-- processform.php --> <BODY> <?php echo ("Welcome, " . $username . "!") ?> </BODY> </HTML> Thanks in advance Denis -- 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] ***************************************************** Patrik Lindström Spectronic Research AB Tel: +46 42 25 20 00 Fax: +46 42 15 68 32 Internet Address: [EMAIL PROTECTED] Home Page: http://www.spectronic.se *****************************************************
The documentation at www.php.net says to compile php with the GD library to get the graphics functions to work, and our Unix folks have done that. But I do development on my Windows desktop. Is there a version of php.exe (v. 4.x) that has the graphics compiled into it? If so, where? Thanks, Bill M ____________________________ ___________________________ | Bill Maki | Professor | | ---------------------------|---------------------------| | Department of Psychology | e-mail: [EMAIL PROTECTED] | | Texas Tech University | phone: 806-742-1712 | | Lubbock, TX 79409-2051 USA | fax: 806-742-0818 | |____________________________|___________________________|
Take a look at this site : www.php4win.de Yoann. ----- Original Message ----- From: "Bill Maki" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Subject: [PHP-WIN] Graphics version of PHP4 for Windows?
Does anyone do any configuring of a DNS server with php? If so, what server do you use? I am currently using bind 4.x on my NT 4 server with IIS. To add a new domain, you create a new .host file with the appropriate records in it (a, mx, etc) and then add that .host file to the named.boot file. Then you restart the service. It seems as though it would all be easy enough except for restarting the service. How can I do that? Normally, I do it through the DNS program itself as opposed to the services applet under control panel...don't know if that matters. Does anyone have a solution for this or any other DNS servers? Thanks, Rick
What DB are you using (if any)? Gonzalo. > Hi, > I have test environment with PHP 403sp1 (CGI) running on Apache 1.3.14 on a > low end (133mhz, 32mb RAM) Pentium with Windows 98. For some reason the > whole set up seems very unstable, and PHP causes general protection faults > consistantly with my scripts which work well on a Windows 2000 machine with > the same Apache/PHP setup. > On the failing Win98 machine, nothing is logged by Apache, and all I get on > the browser window is Internal Server Error. Simple scripts work fine - it > seems to me that the machine is getting clogged and can't handle more than > 1-2 hits simutanouesly, although it would be nice to know if this is truely > the case. > How can I see what the problem is? Is there some method of turning a higher > level of logging on, in Apache or PHP etc? > Siggy
How, exactly, do I go about modifying someone else's bug report without being one of the developers? I can't seem to find any way to do it. >I placed a bug report some weeks ago at bugs.php.net, stating this >problem, related but not limited to a few applications that wouldn't >start until apache is shut down (only with php as module). Now it >seems we can add Netscape to the list. One of the dev people asked for >more info which -I admit- I haven't gone back to give. You could >probably add to the bug report. Bug number 8866, also related to bugs >8864 and 8865. > >I think you might be having this same trouble. >Regards, > Gonzalo.
I tried to repeat the problem on my machine. I am running apache 1.3.14, PHP 4.0.3pl1 and netscape 6 on win98se. First off, the module for PHP 4.0.4pl1 doesn't work on my computer at all, so I reverted to 4.0.3pl1. The same problem occured as described when running apache and then trying to load netscape, but did not occur when I started netscape first. Wayne From: William Stockall <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: Problems with Apache 1.3.17, PHP 4.0.4pl1 and Netscape 6 Date: Mon, 19 Feb 2001 11:52:56 -0700 I had Apache 1.3.12 running with PHP 4.0.4 previously as a cgi. I couldn't compile the Apache module. When there was mention of Apache 1.3.17 on this list I went and got it. Hooray! I could compile my Apache module. Now, however, if Apache is running with the PHP module loaded Netscape 6 will not start until Apache is shutdown. I tried downloading PHP 4.0.4pl1 binaries from php.net, but the result is the same. If I don't load the PHP module, everything works fine. If the module is loaded and I try to start Netscape 6 nothing will visibly happen, but when I shut down Apache I get an error in winoldap and Netscape suddenly starts. I am running on Windows 95, Apache 1.3.17, PHP 4.0.4pl1. Does anyone have any idea at all what might be causing this bizarre problem? _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com
I yanked this example off of the annotated manual and I'm trying to figure out how/why one of the statements works... The example puts all of the results from an Oracle select statement in to a table. I can make it work, but I want to customize it. Unfortunately I think I may just be too inexperienced to figure out what the hell is going on... I get everything up until the second "while" statement. Can anyone explain to me what it's doing? Would it be a bit easier to understand if $column was renamed $row? Is that more accurate? What if I wanted to format the data? Would something like: print "$data['row_name'], $data['row_name2'] $data[3] <br>"; work? Maybe I'm way ahead of myself here... anyone? thanks in advance John $nrows = OCIFetchStatement($stmt,$results); if ( $nrows > 0 ) { print "<TABLE BORDER=\"1\">\n"; print "<TR>\n"; while ( list( $key, $val ) = each( $results ) ) { print "<TH>$key</TH>\n"; } print "</TR>\n"; for ( $i = 0; $i < $nrows; $i++ ) { reset($results); print "<TR>\n"; while ( $column = each($results) ) { $data = $column['value']; print "<TD>$data[$i]</TD>\n"; } print "</TR>\n"; } print "</TABLE>\n"; --------------------- John Asendorf - [EMAIL PROTECTED] Web Applications Developer http://www.lcounty.com - NEW FEATURES ADDED DAILY! Licking County, Ohio, USA 740-349-3631 Aut insanit homo, aut versus facit
Does a "Self-Run" Business interest you? CASH IN on a virtual Money Machine! Let the World's First Online Recruiter help build your group! FREE Marketing Tools (Self-Replicating Web Pages, Autoresponders, Fax-On-Demand, ...) bring you the EASIEST plan to achieve wealth. Tap into the speed/power of the Internet with our free tools and see your group grow fast! Guaranteed monthly Checks! You can earn $400 - $14,565+/month! We're Exploding! JOIN NOW and Succeed! Simply click below to request more Information About this great opportunity! mailto: [EMAIL PROTECTED]?subject=Send-Info It will ONLY take a minute to find out. You will be glad that you did! I received your e-mail as someone interested in Internet Business Opportunities. If I received your e-mail in error, or you are no longer interested, click here to be removed. Be sure REMOVE is in the Subject Title and you will not be contacted again: mailto:[EMAIL PROTECTED] ?subject=Remove Thank you! Dana