php-windows Digest 23 Oct 2001 22:14:34 -0000 Issue 818
Topics (messages 9961 through 9976): retrieving form data 9961 by: Mauri 9963 by: FPU.WHITES1.FRIENDSPROVIDENT.CO.UK 9965 by: Svensson, B.A.T. Undefined Variables ? 9962 by: Maurice Schalker Re: [PHP] Undefined Variables ? 9964 by: Philip Olson 9966 by: Neil Freeman FLASH functions 9967 by: Augusto Cesar Castoldi .php3 extension not being executed! 9968 by: Todd Williamsen 9969 by: Ross Fleming 9970 by: Todd Williamsen 9972 by: Ross Fleming 9974 by: Todd Williamsen Re: Boy Makes $71,000 in 3 Weeks. You Can Too!! 9971 by: Jason Wood 9973 by: Corn Vollney-R7019C PHP Installation 9975 by: Jason Bouwmeester It gives me just a header! 9976 by: Stefán Vingir Skarphéðinsson 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] ----------------------------------------------------------------------
Hello, I have some problems passing data from a form to a php page. I have a text field named Author, and when I submit the page with GET to the php one it says that Author is undefined. I just wrote: echo $Author; Can anyone help me? Thanks
--- Received from FPU.WHITES1 799 3703 23-10-01 15:36 -> [EMAIL PROTECTED] Is the parameter appearing in the URL when you submit the page? If you are using GET it should appear in the URL something like this: http://www.someserver.com/MyPage.php?author=somevalue -Steve ---------------------------------------------------------------------------- From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 23 Oct 2001 16:34:22 +0200 Subject: [PHP-WIN] retrieving form data Hello, I have some problems passing data from a form to a php page. I have a text field named Author, and when I submit the page with GET to the php one it says that Author is undefined. I just wrote: echo $Author; Can anyone help me? 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] This e-mail may contain confidential information and/or copyright material. This e-mail is intended for the use of the addressee only. Any unauthorised use may be unlawful. If you receive this e-mail by mistake please advise the sender immediately by using the reply facility in your e-mail software. Friends Provident Marketing Group consists of the following companies: Friends Provident Life and Pensions Limited. Registered number 4096141. Friends' Provident Unit Trust Managers Limited. Registered number 970641 FP Life Assurance Limited. Registered number 782698 Friends Provident Pensions Limited. Registered number 475201 Friends Ivory & Sime Managed Pensions Funds Limited. Registered number 1020044 Registered and Head Office of each of the above companies is at Pixham End, Dorking, Surrey RH4 1QA. Registered in England. Incorporated companies limited by shares. Ivory & Sime Trustlink Limited. Registered number 151198 Registered and Head Office: One Charlotte Square, Edinburgh EH2 4DZ. Registered in Scotland. Incorporated company limited by shares. Companies within this Group transact life assurance, pension, permanent health, unit trust and investment trust business All are regulated by the Personal Investment Authority. Friends' Provident Unit Trust Managers Limited is also regulated by IMRO.
What are you actually trying to do? I suspect you want to use POST instead of GET. >-----Original Message----- >From: Mauri [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, October 23, 2001 4:34 PM >To: [EMAIL PROTECTED] >Subject: [PHP-WIN] retrieving form data > > >Hello, I have some problems passing data from a form to a php page. >I have a text field named Author, and when I submit the page >with GET to the php one it says that Author is undefined. >I just wrote: >echo $Author; >Can anyone help me? >Thanks
After an update to 4.06 my guestbook isn´t working correct. Between de code, i get an error : Undefinde variable ? What went wrong?
Most likely your php.ini settings are a little different now. In this case, it's the error_reporting setting. Specifically, E_NOTICE will shout out such errors. http://www.php.net/manual/en/phpdevel-errors.php http://www.php.net/manual/en/features.error-handling.php http://www.php.net/manual/en/configuration.php#ini.error-reporting Also, you can always play with the error_reporting() function. regards, Philip Olson On Tue, 23 Oct 2001, Maurice Schalker wrote: > After an update to 4.06 my guestbook isn´t working correct. > Between de code, i get an error : > Undefinde variable ? What went wrong? > > > > -- > PHP General 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 can test if a variable has been set by using the command: isset() eg if (isset($my_name)) echo "hi"; else echo "no name set"; This will stop any undefined variable warnings. Neil Maurice Schalker wrote: > After an update to 4.06 my guestbook isn´t working correct. > Between de code, i get an error : > Undefinde variable ? What went wrong? > > -- > PHP General 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] > > *************************************************************** > This message was virus checked with: SAVI 3.50 > last updated 23rd October 2001 > *************************************************************** -- -------------------------------- Email: [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------
Do you hava the FLASH dll for PHP-Windows? Can you send me? Or any help about where I'll find it? thanks, Augusto _______________________________________________________________________________________________ Yahoo! GeoCities Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo! GeoCities. É fácil e grátis! http://br.geocities.yahoo.com/
What could be causing this? I am using Win2k with Apache thanks
What do you mean? If you mean that index.php3 is just spewing out the raw source code then it's because you don't have ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php3 Action application/x-httpd-php "/php/php.exe" in your apache conf file. Ross -----Original Message----- From: Todd Williamsen [mailto:[EMAIL PROTECTED]] Sent: 23 October 2001 20:08 To: [EMAIL PROTECTED] Subject: [PHP-WIN] .php3 extension not being executed! What could be causing this? I am using Win2k with Apache 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]
Ross, Thanks... but which file is that? I am trying to ween myself off of MS stuff, so be patient with me "Ross Fleming" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > What do you mean? If you mean that index.php3 is just spewing out the raw > source code then it's because you don't have > > ScriptAlias /php/ "c:/php/" > AddType application/x-httpd-php .php3 > Action application/x-httpd-php "/php/php.exe" > > in your apache conf file. > > Ross > > -----Original Message----- > From: Todd Williamsen [mailto:[EMAIL PROTECTED]] > Sent: 23 October 2001 20:08 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] .php3 extension not being executed! > > > What could be causing this? > > I am using Win2k with Apache > > 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] > > >
Apache\conf\httpd.conf Just open it in notepad or similar and insert it in where the rest of the AddType's are. Search the document for php, there is probaby something similar commented out. Just stick in the one I gave you. ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php3 Action application/x-httpd-php "/php/php.exe" Change the .php3 to whatever file extension you want to be recognised and treated as php files. (personally I use .php) Make sure that php4ts.dll is copied to your winnt/system32 folder as well. We all learnt once. :) Ross -----Original Message----- From: Todd Williamsen [mailto:[EMAIL PROTECTED]] Sent: 23 October 2001 20:16 To: [EMAIL PROTECTED] Subject: Re: [PHP-WIN] .php3 extension not being executed! Ross, Thanks... but which file is that? I am trying to ween myself off of MS stuff, so be patient with me "Ross Fleming" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > What do you mean? If you mean that index.php3 is just spewing out the raw > source code then it's because you don't have > > ScriptAlias /php/ "c:/php/" > AddType application/x-httpd-php .php3 > Action application/x-httpd-php "/php/php.exe" > > in your apache conf file. > > Ross > > -----Original Message----- > From: Todd Williamsen [mailto:[EMAIL PROTECTED]] > Sent: 23 October 2001 20:08 > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] .php3 extension not being executed! > > > What could be causing this? > > I am using Win2k with Apache > > 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] > > > -- 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]
Ross... Thank you! "Ross Fleming" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Apache\conf\httpd.conf > > Just open it in notepad or similar and insert it in where the rest of the > AddType's are. Search the document for php, there is probaby something > similar commented out. Just stick in the one I gave you. > > ScriptAlias /php/ "c:/php/" > AddType application/x-httpd-php .php3 > Action application/x-httpd-php "/php/php.exe" > > Change the .php3 to whatever file extension you want to be recognised and > treated as php files. (personally I use .php) Make sure that php4ts.dll is > copied to your winnt/system32 folder as well. > > We all learnt once. :) > > Ross > > > > -----Original Message----- > From: Todd Williamsen [mailto:[EMAIL PROTECTED]] > Sent: 23 October 2001 20:16 > To: [EMAIL PROTECTED] > Subject: Re: [PHP-WIN] .php3 extension not being executed! > > > Ross, > > Thanks... but which file is that? > > I am trying to ween myself off of MS stuff, so be patient with me > "Ross Fleming" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > What do you mean? If you mean that index.php3 is just spewing out the raw > > source code then it's because you don't have > > > > ScriptAlias /php/ "c:/php/" > > AddType application/x-httpd-php .php3 > > Action application/x-httpd-php "/php/php.exe" > > > > in your apache conf file. > > > > Ross > > > > -----Original Message----- > > From: Todd Williamsen [mailto:[EMAIL PROTECTED]] > > Sent: 23 October 2001 20:08 > > To: [EMAIL PROTECTED] > > Subject: [PHP-WIN] .php3 extension not being executed! > > > > > > What could be causing this? > > > > I am using Win2k with Apache > > > > 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] > > > > > > > > > > -- > 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'd rather have my mailbox stuffed with 100 dollar bills =) -- Jason Wood Chief Technology Officer Expressive Tek, Inc. 407 Kehrs Mill Road Ballwin, MO 63011 Phone 636.256.1362 www.expressivetek.com <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Thank you for your time and interest. Have you heard about the program on ABC's 20/20, about a 15 year old boy who made over $70,000 on the Internet? > > The mother of a 15 year old boy was cleaning and putting laundry away when she came across a large brown paper bag that was suspiciously buried beneath some clothes and a skateboard in the back of her son's closet. Her first thought was that he had robbed a bank. There was over $71,000 dollars in the bag, more than her husband made in a year!! Well, it turns out that the boy did not rob a bank. In fact, everything he did was completely legal. He had followed a little program that was sent to him in an Email and it resulted in him making over $70,000 all in the form of $5 bills. > > Are you curious as to how a 15 year old boy could make $71,000 in 3 weeks? Are you curious as to why all the money came in the form of several thousand $5 bills? > > Would you be interested to know that thousands of people have the same curiosity and after finding out what the boy did, are now following his same steps and are being successful? > > This is a simple, harmless and fun way to make some extra money at home. Don't Miss Your Chance To BE FINANCIALLY SECURE! Honest! It Really WORKS! And, as ABC's 20/20 discovered, it is completely legal. > > Read the full story about this young boy! Read about other's success! > SEE HOW YOU CAN START DOING THE SAME THING TODAY!!! > > How would you like tons of $5 bills stuffed in your mailbox? > It Really Works!!! > Check out: http://www.goexcel.org/success
This is basically another multi-level marketing scam. You pay the guy 5 bucks to 5 reports that basically tell you to send out X number of emails to all your friends, who then (supposedly) pay you 5 bucks to get the 5 reports, etc. Its a total scam and provides no value add for our country, the economy, etc. Oh, and this is a list for php/windows users, not scam artists. V -----Original Message----- From: Jason Wood [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 1:57 PM To: [EMAIL PROTECTED] Subject: [PHP-WIN] Re: Boy Makes $71,000 in 3 Weeks. You Can Too!! I'd rather have my mailbox stuffed with 100 dollar bills =) -- Jason Wood Chief Technology Officer Expressive Tek, Inc. 407 Kehrs Mill Road Ballwin, MO 63011 Phone 636.256.1362 www.expressivetek.com <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Thank you for your time and interest. Have you heard about the program on ABC's 20/20, about a 15 year old boy who made over $70,000 on the Internet? > > The mother of a 15 year old boy was cleaning and putting laundry away when she came across a large brown paper bag that was suspiciously buried beneath some clothes and a skateboard in the back of her son's closet. Her first thought was that he had robbed a bank. There was over $71,000 dollars in the bag, more than her husband made in a year!! Well, it turns out that the boy did not rob a bank. In fact, everything he did was completely legal. He had followed a little program that was sent to him in an Email and it resulted in him making over $70,000 all in the form of $5 bills. > > Are you curious as to how a 15 year old boy could make $71,000 in 3 weeks? Are you curious as to why all the money came in the form of several thousand $5 bills? > > Would you be interested to know that thousands of people have the same curiosity and after finding out what the boy did, are now following his same steps and are being successful? > > This is a simple, harmless and fun way to make some extra money at home. Don't Miss Your Chance To BE FINANCIALLY SECURE! Honest! It Really WORKS! And, as ABC's 20/20 discovered, it is completely legal. > > Read the full story about this young boy! Read about other's success! > SEE HOW YOU CAN START DOING THE SAME THING TODAY!!! > > How would you like tons of $5 bills stuffed in your mailbox? > It Really Works!!! > Check out: http://www.goexcel.org/success -- 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]
Apache 1.3.20 PHP 4.06 W2K Pro I installed Apache to d:\apache I extracted the php files to d:\apache\modules\mod_php4 I have the following code in httpd.conf: ScriptALias /php/ "d:/Apache/modules/mod_php4/" AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Action application/x-httpd-php "/php/php.exe" I copied php.ini-dist to c:\winnt and renamed php.ini I copied php4ts.dll to c:\winnt\system32 I restarted Apache. Anytime I try to get to a php page on my site, I get a message saying I am trying to download the file. The sad thing is, I've done this before - and more than once, just not in like six months. As an aside, I am using virtual hosts under apache, this wouldn't cause problems would it? I can't see how/why. I've also set my Path environment to include d:\apache and d:\apache\modules\mod_php4 TIA, jb
Hello folks! I was trying to execute a PHP script (on Win98) but it came only this source code from my server: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD> <BODY></BODY></HTML> This happens to all the scripts I try to execute both from my server and using MS-DOS-Prompt (php webpage.php) it returns nothing What's wrong? Please help!