Ron,
The email subject line should not have a br / tag in it at all. It is not
allowed under the specifications if I remember correctly. I would suggest that
when you suck the message in, first thing to do is to remove the br / tag
with str_replace...
Would this get you on your way?
Hi Ron
br / is perfectly legitimate in an e-mail header field like Subject:.
All headers may contain any combination of ASCII characters except CR
and LF which are used to terminate the field (See RFC8222 section 2.2).
There is also defined a means to fold lines which involves using the
Hi
you need eval()
http://uk2.php.net/manual/en/function.eval.php
HTH
Peter
-Original Message-
From: Brian Stoffer [mailto:[EMAIL PROTECTED]
Sent: 23 May 2004 23:34
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Variables in database content
Hi there. I have what I suspect is an
Or pass the variable $username as an argument into your function:
function LoginSystem($username) {
// your function code
}
LoginSystem($username);
ck
--
Cheap Domain Registration | Web Hosting | Email Packages | + more
Fantastic prices -- Even better service.
http://www.hosttohost.net
You are using a variable outside of the function's scope.
In the function, do this:
global $username;
Visit www.php.net/man to get a better understanding of globals and
scope.
On Wed, 2003-10-15 at 22:10, Adam Symonds wrote:
Hi,
I am starting to us functions with my work but I am having
english please!!!
___
Mark Snijders, Developer
Atos Origin
Groenewoudeseweg 1, Room VN-515
5621 BA Eindhoven, The Netherlands
* : [EMAIL PROTECTED]
*:+31 (0)40 - 2785992 (tel)
* : +31 (0)40 - 2788729 (fax)
The information in this mail is intended
Hi Francisco José Saiz netPerceptions,
would you be so kind and repeat your mail in english.
Regards,
Ruprecht
--
Ruprecht Helms IT-Service und Softwareentwicklung
Tel/Fax.: +49[0]7621 16 99 16
Homepage: http://www.rheyn.de
email: [EMAIL
PROTECTED]]
Sent: 13 December 2002 12:32
To: Francisco José Saiz :@mayn.de: netPerceptions
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] Variables de SESSION dentro de funciones PHP
Hi Francisco José Saiz netPerceptions,
would you be so kind and repeat your mail in english.
Regards,
Ruprecht
PROTECTED]
Subject: RE: [PHP-DB] Variables de SESSION dentro de funciones PHP
english please!!!
___
Mark Snijders, Developer
Atos Origin
Groenewoudeseweg 1, Room VN-515
5621 BA Eindhoven, The Netherlands
* : [EMAIL PROTECTED]
*:+31 (0)40 - 2785992 (tel
Thanks, I'll try it now.
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 1:49 PM
To: Francisco José Saiz :: netPerceptions
Subject: Re: [PHP-DB] Variables de SESSION dentro de funciones PHP
You're mixing register_globals off session
It would seem that your IF statement, as it is written below, evaluates to
true every time because I'm guessing that the hexadecimal value of the
string timeb is larger than the hexadecimal value of timea. Like I said,
just a guess.
I'm also guessing that you actually want to compare two values
could be a register globals issue?
Peter
---
Excellence in internet and open source software
---
Sunmaia
www.sunmaia.net
tel. 0121-242-1473
---
-Original
In php.ini you need to turn register_globals on..you also might want to
start using the $_GET, $_POST, $_SESSION global arrays
ed
At 02:49 PM 5/29/2002 +0100, Rob Fraser wrote:
Dear All,
I am probably doing something silly but I don't know what (story of my
life). I have just upgraded to
Beginning in PHP 4.2.0, the normal behavior with respect to preloaded
variables was changed (specifically, the default value of the
register_globals configuration entry was changed from on to off).
For details, see
http://www.php.net/manual/en/language.variables.predefined.php
---
I think what you don't know is this:
$varName = c1;
$$varName = 3;
that just set $c1 to equal 3.
Does that help?
-Original Message-
From: Julio Cuz, Jr. [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 25, 2002 9:56 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Variables
HI--
* I
In an attempt to be less vague I think you want to change your line:
$c . $count+1 = $artist[$count];
to be:
$varName = $c.($count+1);
$$varName = $artist[$count];
Got it now?
---
I think what you don't know is this:
$varName = c1;
$$varName = 3;
that just set $c1 to
try
form...
input name=a[] value=..
input name=a[] value=..
input name=a[] value=..
input name=a[] value=..
and
for ($i=1; $i=10; $i++) { $tab[$i]=$a[$i] ;}
This way $a will be a array.
Hope it helps
Bruno Gimenes Pereti.
- Original Message -
From: LeTortorec, Jean-Louis [EMAIL
If you have a string that is the name of an input field, you can do one of
3 things:
Ex:
$sName = input.$i; //result = input1
$sName = input.$i; //result = input2
etc...
1: Variable Variables
$value = $$sName;
2: If you posted the form
$value = $HTTP_POST_VARS[$sName];
3: If you used GET
Original message
From: LeTortorec, Jean-Louis [EMAIL PROTECTED]
Date: Mon, Oct 29, 2001 at 04:03:45PM -0500
Message-ID: 615315231286D21182E40008C7B1EED23C6E76@COMPAQ3000
Subject: [PHP-DB] Variables in a loop
I'm trying to write a loop to read variables I receive from a form:
form ...
input
plague --
unfortunately i don't have the beginnings of this thread, but if your code
below is verbatim, it looks as though you are missing the mysql_query()
statement. that should drop your information.
kate
-Original Message-
From: plague [mailto:[EMAIL PROTECTED]]
Sent:
if there is a value in $HTTP_POST_VARS[variable_name] then it came via a
form with method=POST, if there's a value in
$HTTP_GET_VARS[variable_name] then it came from querystring or a form with
method=GET
beau
// -Original Message-
// From: J-E-N [mailto:[EMAIL PROTECTED]]
// Sent:
how about posting the code? or describe
the problem a bit closer.
Johannes
"Rui Machado" [EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hello
I'm writting a registration form with connection to
mysql DB, but I have a problem in the last step, I
can't
On Thursday, March 29, 2001, at 04:58 PM, Scott Kalbach wrote:
I have the individual queries in include files. It does the first 2
queries
fine,but when it gets to the third, the value of $customer seems to be
gone,
so I get no result for the rest of the query's. I looked in my scripts
Dunno without looking at code, but try storing the value of $customer into a
local variable when the script is invoked - something is wiping it clean.
my thunks,
Phil J.
Scott Kalbach wrote:
I am having a problem with losing a variables value. What I am doing is
taking the value from a
24 matches
Mail list logo