Jump to content

oneoleguy

Members
  • Content Count

    42
  • Joined

  • Last visited

Everything posted by oneoleguy

  1. oneoleguy

    $_POST

    Thanks Jhecht,I downloaded that file and ran it. It copied thousands of file from itself to my hard drive.It then booted my PC.I thought this is sweet!!!!!!!!!!!When the PC re-booted, I couldn't find an Icon on my desktop nor a menu item on my Start/Program List for Apache.It seems that I need to compile Apache. Which requires me to download Visual C++ and Visual SDK for C++. And I haven't gotten any farther, I'm downloading the SDK for the second time and oh, poo! It failed a second time.These were free applications, what a mess!One Ole Guy
  2. oneoleguy

    $_POST

    Synook,If you follow the link in my last post, the first thing about register_globals that you'll see is a warning:This feature is DEPRECATED and REMOVED as of PHP 6.0.0. Relying on this feature is highly discouraged.I've reported my other application to the author (who is online) because it's programs are doing the same thing. Perhaps they will be able to tell me what's wrong with their programs or my hosts PHP installation and I can apply that fix tto these programs?I've discovered another issue that may point to problems with my host's PHP installation! Then again I don't know that for sure
  3. oneoleguy

    $_POST

    Well, I found this: http://us.php.net/manual/en/security.globals.php .Please review it. It may shed light on the issue at hand.I know it does and doesn't for me.One Ole Guy
  4. oneoleguy

    $_POST

    Hey Synook,I may be on the path to discovery! When visiting the site of the author of the other application, they had a reference to another site for PHP. It was PHP.netThere I did a search for register_globals in their online documentation and I found a reference to it.It seems that I may need to create a PHP.ini file! Well, that's interesting!I'll do more research and let you know what I find. One Ole Guy
  5. oneoleguy

    $_POST

    Thanks Synook,I'm not a PHP programmer (though I'll be closer to being one after debugging these applications) and went to the PHP tutorial. There I did a search on: 'register_globals' so I went the W3Schools PHP Tutorial couldn't find any reference to it.Could you give me the syntax for that command and tell me where to put it in the program?Thanks again,One Ole GuyPS If any of you are interested, my host's support person wrote and said:When visiting http://billsplace.us/fg/, there is no error info.Can you please send us more detailed info about this?I then executed the scripts and copied wha
  6. oneoleguy

    $_POST

    I was given another PHP application at the same time as this one. I was testing it today and didn't realized that it had been printing error messages.Neither application's programs crash, but not all their functions work.I've written to support at my host to see if there is special code I need to add to the PHP file. They're not real responsive, so it could be a few days.One Ole Guy
  7. oneoleguy

    $_POST

    Could the problem be the version of PHP on my server? I'm not trying to execute on my own PC, but on the server hosting my domain.Maybe I should just sleep on it for a while and see what happens.One Ole Guy
  8. oneoleguy

    $_POST

    I've put all of the programs in a zip file at: billsplace.us/fg/forms_with_problems.zipOne Ole Guy
  9. oneoleguy

    $_POST

    CloneTrooper,The forms generator can be found at:billsplace.us/fg/Put that in your browser address window and the forms generator will start automatically. The error occurs on the 3rd page.I don't know if you will be able to view the source code there, if not I will post it in it's entirity here or place it at some common URL where it can be read.If the Forum will allow uploads, I will upload it and pm it to you.Whichever works.One Ole Guy
  10. oneoleguy

    $_POST

    Hi Ingolme,You were the person who help me last time and I thank you once again for that help. I'm continuing along with the same set of programs.These are today's error messages:Notice: Undefined index: radio in /home/vh1176/www/billsplace.us/fg/process2.php on line 173Notice: Undefined index: active in /home/vh1176/www/billsplace.us/fg/process2.php on line 174Notice: Undefined index: select in /home/vh1176/www/billsplace.us/fg/process2.php on line 175This is what those lines look like:Line 173 $radio = $_POST['radio'];Line 174 $active = $_POST['active'];Line 175 $select = $_POST['select'];If
  11. oneoleguy

    $_POST

    Hello,I made an earlier post about an IF test and found that the $fields = $_POST['fields']; was missing.I have gotten a forms generating program and found that each program has bugs in them. I figured that someone got angry with the purveyors of the software and removed all the $_POST statements.I've been replacing them when I find them, but I have 2 that aren't fixed by simply placing a $variablename = $_POST['variablename']; in the PHP file.I begin to believe that defining a variable as being passed in a POST statement from another file may have different forms for different variable types.
  12. oneoleguy

    PHP If Test

    Ingolme,The addition you suggested: $fields = $_POST['fields']; worked fine.I just got the software and as I continue to try to use it, I hope that you will kindly respond, as you have, when I find another error.Thank you,Bill
  13. oneoleguy

    PHP If Test

    I do not know. The code was given to me. It is a form generator. This is a snippet of the code: <table> <tr> <td height="153"> <table border="0" cellspacing="0" cellpadding="1" bgcolor="#333333"> <tr> <td> <table border="0" cellspacing="0" cellpadding="2" bgcolor="#ffcc00" width="380"> <tr> <td bgcolor="#333333"><font color="#FFFFFF"><b> Step 1: number of fields</b></font></td> <
  14. oneoleguy

    PHP If Test

    One PHP file collects a numeric value for a variable called 'fields'It passes it to another program which test it for being numeric. That program complains:Notice: Undefined variable: fields in /home/vh1176/www/billsplace.us/fg/fields.php on line 176You did not enter a valid number. Please use a number between 1 and 99. The number I entered was 6.I don't understand PHP enough to know what is causing the error. The first program collects the value for 'fields' like this:form action="fields.php" method=post>Enter the number of fields: <input type=text name="fields"> The second program p
  15. Mr. ParanoidI was unable to understand what either the PHP snippets did, so I started trying to see what the Javascript did.I want to pass a variable, such as, &track=Adlocation1. See the comments I've addedas my explanation of the code. <script type="text/javascript">var qs = window.location.search; // haven't a clueqs = qs.substr(1); // haven't a cluevar args = qs.split("&"); // anything to the right of the & is placed in the variable argsvar arg_value = ""; // initialize arg_value as nullfor (var i = 0; i < args.length; i++){ pair = args[i].split("="); //
  16. Hello,I want to learn how to pass arguments to HTML code. Here is an example of what I want to do:myfile1.html&arg=AdLocation1Within myfile1.html, I want to take the value of the argument and add a fixed value to it like 'from site8' and then pass it on to another HTML file, likemyfile2.html&newarg=the combined argumentCan someone direct me to a document that explains how to do this, or just tell me here on this forum?Thanks,Bill
×
×
  • Create New...