User Profile

Collapse

Profile Sidebar

Collapse
stealthmode666
stealthmode666
Last Activity: Dec 11 '08, 09:03 AM
Joined: Nov 28 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • stealthmode666
    replied to Notice: Undefined index message
    in PHP
    Solved the notice:Undefine d index in /....... 128
    I used .js to insert a space in blank fields left by the user.
    See more | Go to post

    Leave a comment:


  • stealthmode666
    replied to php errors in code on submit
    in PHP
    I do server-side .js validation for the reason of the client having it turned of.
    I will learn as time goes by to use php to validate but at the moment it was easier to make .js file and load to server to check the form as user fills it in.
    After doing server-side validation the form works perfectly now as no undefined fields are sent.
    Thanks all for help on this. next problem I will start a new thread as different problem to...
    See more | Go to post

    Leave a comment:


  • Hey thanks for that, but after some headbanging and hair pulling I got a way round it. This I see is a very common problem that seems to have loads of people looking and they know how to cure but are not willing to share with the rest of the world. you can close this thread or do I have to close it.
    I went to one of my old uni lecturers who showed me in seconds how to get round it till I learn to write my own code a bit more. no-one would...
    See more | Go to post

    Leave a comment:


  • stealthmode666
    started a topic I will pay to get help with script

    I will pay to get help with script

    Maybe a strange request.
    I tried using a .php script that works with a small number of fields and sends the data to an email address and also displays a thank-you page and sends an auto-reply to the field that had the email of the user from one of the filled in fields.
    This works perfectly so i appplied the same script to another form but this form has about 100 fields of data and I am not good enough to know how to script out the two...
    See more | Go to post

  • stealthmode666
    started a topic isset not working
    in PHP

    isset not working

    Undefined Index: I have used this but the user still gets a page of notices, (about 70 in total) can someone help me with the coding here that will somehow check the empty string and still send it without the browser displaying a page of notices.
    I am at a serious loss this end and I can't learn this is mins what has taken some people years to understand.
    I have 2 problems with my script in PHP as I have tried to piece together bits....
    See more | Go to post

  • stealthmode666
    replied to php errors in code on submit
    in PHP
    Okay, trying quickly to understand, the header then is already sent as in (output started at E:...) which means the html has been written to the browser.
    I am also using .php to send a header. So how can I code this to get .php to send a header before any html is output?
    Am on the right tracks here?
    See more | Go to post

    Leave a comment:


  • stealthmode666
    replied to php errors in code on submit
    in PHP
    Err, see how one look and you know, but I haven't got a clue how to do this.
    I'm still learning basic fuctions and tags.
    I use this scipt to do the same work on a simple form with about three fields and it works, but that doesn't mean by this that it's right. All this was a tutorial I followed and now I have landed myself in trouble. Not homework or assignment so I will try to read up on what to do but i need this working urgently....
    See more | Go to post
    Last edited by stealthmode666; Dec 3 '08, 02:27 PM. Reason: typo errors in spelling

    Leave a comment:


  • stealthmode666
    replied to php errors in code on submit
    in PHP
    okay, maybe too much in my post now
    See more | Go to post

    Leave a comment:


  • stealthmode666
    replied to php errors in code on submit
    in PHP
    [code=php]I have done this file as I'm not sure how to post it with-out just pasting it in the message window.

    This is the warning message I get and I have shown the two lines in my script it refers to.

    Warning: Cannot modify header information - headers already sent by (output started at

    E:\domains\r\.. ...com\user\htd ocs\r.....\sfor m.php:180) in E:\domains\r\.. ...com\user\htd ocs\r.....\sfor m.php ...
    See more | Go to post

    Leave a comment:


  • stealthmode666
    replied to php errors in code on submit
    in PHP
    I've done wrong again, just read through the entire forum rules, i have had previous help already relating to the code, sorry for starting a slightly different thread but still relating to my problem
    See more | Go to post

    Leave a comment:


  • stealthmode666
    started a topic php errors in code on submit
    in PHP

    php errors in code on submit

    Not sure how to show this in tags so I have attached .txt file
    need urgent help as this form i've made is live.
    I used spry widgets to check the form as it's filled in by uploading the .js and .css files to do this. I use this code to extract the data and send it to an email but this Warning and notices happen if all the form is not filled in.
    If all fields are filled it goes through and loads and displays the thank-you page....
    See more | Go to post

  • stealthmode666
    replied to PHP errors
    in PHP
    Sorry, I know what your saying, but my thoughts on what I said is what is happening. There are two text field names, one for the spry which uses the spry text name to check the .js script for live server validation and the original text field which I've used in my script to get the data.

    I stupidly used the spry text field name for my .php script which in turn caused the page of errors.
    Hey I'm learning but walking dangerouly...
    See more | Go to post

    Leave a comment:


  • stealthmode666
    replied to PHP errors
    in PHP
    Hi again, I notice that the spry has a textfield to identify itself, also the original text field name i gave it is still there, should I be using the original text field name for the .php script to get the information and not the spry textfield name.
    As in will the spry text field use this name to check with the .js script for validation and be nothing to do with the script i use in.php to extract the form field data.
    I'm running...
    See more | Go to post

    Leave a comment:


  • stealthmode666
    started a topic PHP errors
    in PHP

    PHP errors

    I have added spry widget validation to a form which included me having to upload the .css file and a .js file to the server to validate it.
    Now my .php script which worked has thrown a mass of errors.
    All I need now is the script to take the form field information and send it to my email. It doesn't need to do any validation now, only send the information.

    I tried to re-do the script but to no avail.
    Will i need...
    See more | Go to post

  • stealthmode666
    replied to Notice: Undefined index message
    in PHP
    This is one of two scripts i'm using. Both are the same with the data fields in an array and the first script with about 10 fields on the page works no problem. If the user hits the submit it shows the field that needs to be filled in (I display text to tell them to go back and fill-in the required field) without all the notices appearing about undefined indexes.
    I don't understand why one works perfectly and the other one shows all the unfilled...
    See more | Go to post

    Leave a comment:


  • stealthmode666
    replied to Notice: Undefined index message
    in PHP
    Back again, Still got a page of notices. The last one on the page is the actual field that has not been filled in. I need the user to fill in 2 fields min. then they can hit submit. There are about 100 or so fields and if they don't fill in the 2 required fields or just hit the submit button I'm still getting the page of notices.
    As long as the 2 fields are filled in then all is fine.
    i just want it to throw an error to tell them to...
    See more | Go to post
    Last edited by stealthmode666; Nov 29 '08, 12:28 PM. Reason: worded better what i want

    Leave a comment:


  • stealthmode666
    replied to Notice: Undefined index message
    in PHP
    Thank-you

    I never expected a reply so quickly, so went looking and discovered the single quote instead of double.


    Dreamweaver has helped me with the colours in the sense it caused me to investigate why, so down this long and wonderful road I guess I am starting to learn something.

    You know I will be back. I will mark this thread as solved.
    See more | Go to post

    Leave a comment:


  • stealthmode666
    replied to Notice: Undefined index message
    in PHP
    Not quite there yet.

    Thank-you so much for your help.
    I have used your script but 2 out of 3 have some problems my end.

    I have dragged all my script into dreamweaver to allow me to see the colors which are helping me by showing different tags and types.

    The $to script I have put in place and commented out my old one.
    Sucess, it works great.
    I do not get any notices as long as I fill...
    See more | Go to post

    Leave a comment:


  • stealthmode666
    replied to Notice: Undefined index message
    in PHP
    Thanks for that, but I have no idea where to insert this?
    I am trying to learn as fast as I can and understand very simple things. I can code in html, css etc but beyond that i'm really struggling, 3 days ago I managed to create a webform, upload it to a webhost, and get the form data to be sent back to me via email and the script above. I am trying to cram in as many tutorials as I can but to be honest a lot of them are incomplete and I need...
    See more | Go to post

    Leave a comment:


  • stealthmode666
    started a topic Notice: Undefined index message
    in PHP

    Notice: Undefined index message

    New to .php so need script help.
    I want to know how to stop this being displayed when I click submit.

    Notice: Undefined index: homeowner in E:\domains\r\.. .\user\htdocs\. ..\form.php on line 166

    I have an array which takes filled in fields and blank fields and sends them via email.
    I DON'T need the user to fill in all the fields which is resulting in this notice on every field that is not filled in. I do need...
    See more | Go to post
    Last edited by Markus; Nov 28 '08, 10:08 PM. Reason: added # tags
No activity results to display
Show More
Working...