Re: help required in PHP, a bit urgent

hey guys,
though i understand, that i don't have right to ask my queries again
and again which may somehow sound inforcement, but believe me, no
obligation at all by any way.
however, as i have said a few times before, i'm not that patient, and
usually i find my nervs rangling untill i get the answer of my
queries, specially in case of programming which has not yet proved my
cup of tea even though i'm trying to grasp it's taste.
so, as i asked in this query earlyer, now i've successfully made the
PHP page and the html code for contact form on e-mail, but i've tryed
sending a form for testing, but another amazing problem
comes, that the form is coming up, but i'm not able to find the
informations submited by user.
means, the fields like title, firstname, lastname, etc are blank, and
there is no information available what has been typed by me.
what may be the problem acording to you?
you already know about the code that i'm using, can someone come with
solution please?
hoping for a response, please guys if you can spare a few of your
valuable moments to reply this?
please?
as i said, will have to submit on monday.

regards,
sameer manohtra.



On 8/8/09, sameer manohtra <sameermanohtra@xxxxxxxxx> wrote:
> great, the error has got fix, and i'm now able to execute the same
> properly, but still it's not perfect.
> i've tryed sending a form for testing, but another amazing problem
> comes, that the form is coming up, but i'm not able to find the
> informations submited by user.
> means, the fields like title, firstname, lastname, etc are blank, and
> there is no information available what has been typed by me.
> what may be the problem acording to you?
> you already know about the code that i'm using, can someone come with
> solution please?
>
> i know, this person who even don't know about proper variable
> declaration need lot lot to grasp on this frunt, but you people are
> great that helping on every step.
> as i said earlyer, need to submit this assignment  it by monday so
> great if you can post your responses a bit soon. however, it whole
> depends on your convenience, and i'll be keenly waiting for your
> responses.
> sameer manohtra.
>
>
>
> On 8/8/09, sameer manohtra <sameermanohtra@xxxxxxxxx> wrote:
>> great, the error has got fix, and i'm now able to execute the same
>> properly, but still it's not perfect.
>> i've tryed sending a form for testing, but another amazing problem
>> comes, that the form is coming up, but i'm not able to find the
>> informations submited by user.
>> means, the fields like title, firstname, lastname, etc are blank, and
>> there is no information available what has been typed by me.
>> i know, this person who even don't know about proper variable
>> declaration need lot lot to grasp on this frunt, but you people are
>> great that helping on every step.
>> as i said earlyer, need to submit this assignment  it by monday so
>>
>> On 8/7/09, E.J. Zufelt <lists@xxxxxxxxx> wrote:
>>> Good morning,
>>>
>>> $LAST NAME ...
>>>
>>> Variable names can not contain spaces. You will need to remove the
>>> spaces from all of the php variables that contain them.  You will also
>>> need to remove the spaces from any html name attribute that contains
>>> them (e.g. name="LAST NAME").
>>>
>>> HTH,
>>> Everett
>>>
>>> Follow me on Twitter
>>> http://twitter.com/ezufelt
>>>
>>> View my LinkedIn Profile
>>> http://www.linkedin.com/in/ezufelt
>>>
>>>
>>>
>>> On 7-Aug-09, at 6:34 AM, sameer manohtra wrote:
>>>
>>>> hey everyone,
>>>> writing after a long again, but a good news is, that i'm now able to
>>>> create very basic application on the vb.net which could never be
>>>> possible without the help from you techies.
>>>> so, thanks to one and all who have helped me in achieving this goal of
>>>> developing my own applications on the vb.net. in fact, that's really
>>>> basic, and i still don't know anything apart from simple "1 2 3" like
>>>> operations, but i'm in the process, and hopefully i'll be able to
>>>> grasp the custems of the programmer's paradise soon.
>>>> after having a flare of vb.net, the next thing what the people at the
>>>> institute where i'm learning are teaching, is PHP.
>>>> since i already know html and javascript since my high school days,
>>>> thought to have a plunj of this as well, so i've joined the php
>>>> training.
>>>> it has started a few days back, and the assignment what had been given
>>>> by them seems to be trickyer to me.
>>>> they have given me an assignment to create a contact form and it's PHP
>>>> script which should e-mail the form to the administrator of the
>>>> website.
>>>> i having a website of my own which i have bought a few days back to
>>>> practice these stuffs.
>>>> now, the problem is, that even though i have applyed all the things
>>>> what i have learned untill now, yet i'm not able to properly execute
>>>> the script as the error comes as following:
>>>> Parse error: syntax error, unexpected T_STRING on line 4.
>>>>
>>>> i'm pasting here the html code that i've written and the PHP code as
>>>> well.
>>>> please note, that the validations on the form still need to be done,
>>>> just testing  first whether it's getting execute or not, which had
>>>> been unsuccessfull untill now.
>>>> here is the html code first:
>>>>
>>>> <form target="_blank" onsubmit="return window.confirm(&quot;You are
>>>> submitting information to an external page.\nAre you sure?&quot;);">
>>>> <form name="contact" action="http://contact.php"; method="post"
>>>> target="_blank" onsubmit="return window.confirm(&quot;You are
>>>> submitting information to an external page.\nAre you sure?&quot;);">
>>>> <br>
>>>> <h1>Contact Form</h1>
>>>> <p>
>>>> Title:
>>>> <select name="title">
>>>> <option value="mr.">Mr.</option>
>>>> <option value="ms.">Ms.</option>
>>>> </select>
>>>> <p>
>>>> First Name:
>>>> <input type="text" name="first name">
>>>> <br>
>>>> Last Name:
>>>> <input type="text" name="last name">
>>>> <br>
>>>> Contact Number:
>>>> <input type="text" name="contact number">
>>>> <br>
>>>> Valid E-mail Address:
>>>> <input type="text" name="valid email">
>>>> <br>
>>>> Re-enter Valid Email Address:
>>>> <input type="text" name="revalid email">
>>>> <br>
>>>> Message:
>>>> <input type="text" name="message">
>>>> <input type="submit" value="Submit!">
>>>> </p></p></form>
>>>> </form>
>>>>
>>>> now, here is the PHP code:
>>>>
>>>>
>>>> <?php
>>>> $agree = $_REQUEST["agree"] ;
>>>> $title = $_REQUEST["title"] ;
>>>> $first name = $_REQUEST["first name"] ;
>>>> $last name = $_REQUEST["last name"] ;
>>>> $contact number = $_REQUEST["contact number"] ;
>>>> $valid email = $_REQUEST["valid email"] ;
>>>> $revalid email = $_REQUEST["revalid email"] ;
>>>> $message = $_REQUEST["message"] ;
>>>> mail( "sameermanohtra@xxxxxxxxx", "Feedback",
>>>> $message, "From: $email" );
>>>> ?>
>>>>
>>>> can some one please tell me, what's the problem in my code?
>>>> i have already tryed best of what i could, yet no solution seems to
>>>> be working.
>>>> please note, that i've  kept both the html and PHP file in same
>>>> directory on the website.
>>>>
>>>> i'm an inocent in this world, and it may be possible  that these
>>>> things you people might have done a dacates back, but i think you
>>>> would help this backword this time.
>>>> though you can reply as per your convenience, but need to submit this
>>>> one by monday or tuesday, so would appreciate if you can do it  on an
>>>> urgent basis.
>>>> guys, raise your hands for this  learner,
>>>> please?
>>>> sameer manohtra.
>>>> __________
>>>> View the list's information and change your settings at
>>>> http://www.freelists.org/list/programmingblind
>>>>
>>>
>>>
>>
>
__________
View the list's information and change your settings at 
http://www.freelists.org/list/programmingblind

Other related posts: