Re: [PHP] Mail form

2002-10-25 Thread Marek Kilimajer
Register globals problem - either use $_POST['numele'] (prefered), or 
turn register_globals on.

Trasca Ion-Catalin wrote:

Why my mail prcessing script don't recognize the value from the form file.
If I call the $numele variable it's just output a null.
This is the form.html


Numele




 Nume:
   
 
 
   
 



And this is mail.php
Mesajul este trimis

$email = "Nume:\t$numele";
$to = "[EMAIL PROTECTED]";
$subject = "Nume";
# mail($to, $subject, $email);
?>







the mail command is commentet for testing purpose, I don't want to receive a
e-mail every time I test the script.

--
Trasca Ion-Catalin



 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Mail Form

2002-07-30 Thread Jason Wong

On Wednesday 31 July 2002 11:35, Bob Lockie wrote:
> >use a decent editor with syntax highlighting
>
> What is a free cross platform syntax highlighting editor?
> Are there any Open Source ones that you know of?

vim/emacs?

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
It's not broken, you silly boy.

- Linus Torvalds offending people on the gcc mailing list
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Mail Form

2002-07-30 Thread Manuel Lemos

Hello,

On 07/31/2002 12:35 AM, Bob Lockie wrote:
>>use a decent editor with syntax highlighting
> 
> 
> What is a free cross platform syntax highlighting editor?
> Are there any Open Source ones that you know of?

Use kate that comes with KDE.

-- 

Regards,
Manuel Lemos


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Mail Form

2002-07-30 Thread Bob Lockie

>use a decent editor with syntax highlighting

What is a free cross platform syntax highlighting editor?
Are there any Open Source ones that you know of?




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Mail Form

2002-07-30 Thread Kerry Gray

I didn't write it, it was taken from a code library on a site. i have never
used php before in my life, hence why I have no idea whats going on, it's
more than likely the only thing i'll use php for.


"Jason Wong" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Wednesday 31 July 2002 03:08, Kerry Gray wrote:
> > Can somebody please tell me why I keep getting this error when using
this
> > script...
>
> Because what you wrote is invalid PHP code.
>
> > Parse error: parse error in
/host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php
> > on line 54
>
> It's bad enough asking people to 'debug' your invalidly written code (use
a
> decent editor with syntax highlighting), but do you really expect people
to
> count the lines of your code and work out which is line 54? Make it easier
> for people to help you and indicate which is line 54.
>
> In the meantime try checking for matching
> braces/brackets/parantheses/double-quotes/single-quotes, missing
semicolons.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
> /*
> Gordon's Law:
> If you think you have the solution, the question was poorly phrased.
> */
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Mail Form

2002-07-30 Thread Jason Wong

On Wednesday 31 July 2002 03:08, Kerry Gray wrote:
> Can somebody please tell me why I keep getting this error when using this
> script...

Because what you wrote is invalid PHP code.

> Parse error: parse error in /host/g/i/a/8/b/i/giapai3k.8bit.co.uk/mail.php
> on line 54

It's bad enough asking people to 'debug' your invalidly written code (use a 
decent editor with syntax highlighting), but do you really expect people to 
count the lines of your code and work out which is line 54? Make it easier 
for people to help you and indicate which is line 54. 

In the meantime try checking for matching 
braces/brackets/parantheses/double-quotes/single-quotes, missing semicolons.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Gordon's Law:
If you think you have the solution, the question was poorly phrased.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Mail form error in script

2001-04-20 Thread Yasuo Ohgaki
 is depreciated under current PHP.
See NEWS file in source.

Regards,
--
Yasuo Ohgaki


""John Silverio"" <[EMAIL PROTECTED]> wrote in message
9bne0n$pug$[EMAIL PROTECTED]">news:9bne0n$pug$[EMAIL PROTECTED]...
> Whenever I try to mail a form I receive this message:
>
> Warning:  is no longer supported - please use the
> track_vars INI directive instead in
> /mnt/web/guide/corvettebuyers/www/do_sendfeedback.php on line 1
>
> The form is on a UNIX server with PHP installed. The INI directive has me
> confused? Thank you.
>
>
>
> --
> 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]
>


-- 
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]