> I've had a quick look and this: http://pastebin.com/RswEBPLd may work;
> if not though you want to view the source of an email from anywhere
> which displays correctly; and the source of one from your application -
> then compare to get the fix :)
>
> Regards!
Thanks Nathan, I will give it a t
MEM wrote:
> Hello all,
>
> I must confess I know the very basics on this language and have even less
> knowledge about http headers. I wish you could help me out on this:
mime headers not http :)
> I have a form that sends html e-mails and an optional file as attachment.
> The issue is that, if
Looks like I have an empty space somewhere...this code is called down in a
class and if I just cut this out and copy into it's own file and call that
file from the browser, it works fine. It is someone getting garbled down in
the class.
On 7/31/07, blackwater dev <[EMAIL PROTECTED]> wrote:
>
> He
On Sat, 2006-07-22 at 07:54, Martin Marques wrote:
> On Thu, 20 Jul 2006, Robert Cummings wrote:
>
> > On Thu, 2006-07-20 at 17:09, John Nichel wrote:
> >> Adam Zey wrote:
> >>
> >>> Note that just because the fact that it works is a feature, doesn't mean
> >>> it's good coding style. register gl
On Thu, 20 Jul 2006, Robert Cummings wrote:
On Thu, 2006-07-20 at 17:09, John Nichel wrote:
Adam Zey wrote:
Note that just because the fact that it works is a feature, doesn't mean
it's good coding style. register globals is a feature too, but it isn't
exactly a good idea to use it.
Ding d
Robert Cummings wrote:
> On Thu, 2006-07-20 at 16:50, Jochem Maas wrote:
>> Robert Cummings wrote:
>>> On Thu, 2006-07-20 at 14:15, Martin Marques wrote:
On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]>
wrote:
> On Thu, 2006-07-20 at 12:12, Adam Zey wrote:
On Thu, 2006-07-20 at 17:09, John Nichel wrote:
> Adam Zey wrote:
>
> > Note that just because the fact that it works is a feature, doesn't mean
> > it's good coding style. register globals is a feature too, but it isn't
> > exactly a good idea to use it.
> >
>
> Ding ding ding
>
> Give that
Martin Marques wrote:
On Thu, 20 Jul 2006, Adam Zey wrote:
Jochem Maas wrote:
Robert Cummings wrote:
I don't understand - the links point to posts by Rasmus saying that's
'beneficial' - seems to me to be a fairly robust endorsement yet you
consider leaving off trailing '?>' wrong (and use Ra
Adam Zey wrote:
Note that just because the fact that it works is a feature, doesn't mean
it's good coding style. register globals is a feature too, but it isn't
exactly a good idea to use it.
Ding ding ding
Give that man a cigar.
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot
On Thu, 2006-07-20 at 16:53, Adam Zey wrote:
> Jochem Maas wrote:
> > I don't understand - the links point to posts by Rasmus saying that's
> > 'beneficial' - seems to me to be a fairly robust endorsement yet you
> > consider leaving off trailing '?>' wrong (and use Rasmus' comments to
> > back tha
On Thu, 20 Jul 2006, Adam Zey wrote:
Jochem Maas wrote:
Robert Cummings wrote:
I don't understand - the links point to posts by Rasmus saying that's
'beneficial' - seems to me to be a fairly robust endorsement yet you
consider leaving off trailing '?>' wrong (and use Rasmus' comments to
back
Robert Cummings wrote:
> On Thu, 2006-07-20 at 14:15, Martin Marques wrote:
>> On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]>
>> wrote:
>>> On Thu, 2006-07-20 at 12:12, Adam Zey wrote:
Martin Marques wrote:
> Now, my question is: Is it a bad practice to "NOT" c
On Thu, 2006-07-20 at 16:50, Jochem Maas wrote:
> Robert Cummings wrote:
> > On Thu, 2006-07-20 at 14:15, Martin Marques wrote:
> >> On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]>
> >> wrote:
> >>> On Thu, 2006-07-20 at 12:12, Adam Zey wrote:
> Martin Marques wrote:
>
Jochem Maas wrote:
Robert Cummings wrote:
On Thu, 2006-07-20 at 14:15, Martin Marques wrote:
On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]> wrote:
On Thu, 2006-07-20 at 12:12, Adam Zey wrote:
Martin Marques wrote:
> Now, my question is: Is it
On Thu, 20 Jul 2006, Stephen Lake wrote:
As far as getting the header error resolved, try this:
http://ca3.php.net/manual/en/function.ob-start.php
I'll stick with not closing my scripts, just like Rasmus said. :-)
--
21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18
--
As far as getting the header error resolved, try this:
http://ca3.php.net/manual/en/function.ob-start.php
HTH
Steve
"Robert Cummings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Thu, 2006-07-20 at 14:15, Martin Marques wrote:
>> On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cumm
On Thu, 2006-07-20 at 14:15, Martin Marques wrote:
> On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]> wrote:
> > On Thu, 2006-07-20 at 12:12, Adam Zey wrote:
> >> Martin Marques wrote:
> >> > Now, my question is: Is it a bad practice to "NOT" close the script
> >> with
> >>
On Thu, 20 Jul 2006 13:06:10 -0400, Robert Cummings <[EMAIL PROTECTED]> wrote:
> On Thu, 2006-07-20 at 12:12, Adam Zey wrote:
>> Martin Marques wrote:
>> > Now, my question is: Is it a bad practice to "NOT" close the script
>> with
>> > the PHP closing "?>"? I mean, just leave the script without
On Thu, 2006-07-20 at 12:12, Adam Zey wrote:
> Martin Marques wrote:
> > Now, my question is: Is it a bad practice to "NOT" close the script
> with
> > the PHP closing "?>"? I mean, just leave the script without a closing
> > PHP simbols, as this scripts are included?
>
> Yes.
Wrong :)
Cheer
Hi:
So is the consensuses here to NOT close the "?>" tag?
tedd
--
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Martin Marques wrote:
> Now, my question is: Is it a bad practice to "NOT" close the script
with
the PHP closing "?>"? I mean, just leave the script without a closing
PHP simbols, as this scripts are included?
Yes.
Regards, Adam.
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
bruce wrote:
hi..
need to talk to someone to figure out how/what i need to do to use the php
'headers' function, as opposed to the javascript 'location.href'.
i've tried to implement the buffering functions, but still get the same
error...
is there someone that i can talk to about this, who ha
- Original Message -
From: "bruce" <[EMAIL PROTECTED]>
To: "'Jasper Bryant-Greene'" <[EMAIL PROTECTED]>;
Sent: Monday, September 19, 2005 6:14 AM
Subject: RE: [PHP] Re: headers .vs javascript location.href
regardless...
i've tried to
bruce wrote:
i've tried to resolve my issue using the buffering functions and
still get the same error...
if someone wants to look/examine my code, i'm more than willing to
let you see it... it's a test app so there's nothing of critical
importance.
Please don't top-post. Fire the trimmed-down
al Message-
From: Jasper Bryant-Greene [mailto:[EMAIL PROTECTED]
Sent: Sunday, September 18, 2005 6:03 PM
To: php-general@lists.php.net
Subject: Re: [PHP] Re: headers .vs javascript location.href
Tim Van Wassenhove wrote:
> On 2005-09-17, "bruce" <[EMAIL PROTECTED]> wrote:
>
Tim Van Wassenhove wrote:
On 2005-09-17, "bruce" <[EMAIL PROTECTED]> wrote:
need to talk to someone to figure out how/what i need to do to use the php
'headers' function, as opposed to the javascript 'location.href'.
i've tried to implement the buffering functions, but still get the same
error
On 2005-09-17, "bruce" <[EMAIL PROTECTED]> wrote:
> need to talk to someone to figure out how/what i need to do to use the php
> 'headers' function, as opposed to the javascript 'location.href'.
>
> i've tried to implement the buffering functions, but still get the same
> error...
Now, if you read
It wont get passed because your not passing it along to the script in
anyway, at line 3/4 you set the details into the session, then you
redirect them to the login page so in your login.php just call the
session variables which you just stored at line 3/4.
login.php example:
Now when you
* "Alessandro Rosa" <[EMAIL PROTECTED]>:
> Here's below the solution (the encryption will be shortly performed
> into login.php).
>
> 1 2 session_start();
>
> 3 $_SESSION['session_user'] = $_POST['txtIdUtente'];
> 4 $_SESSION['session_password'] = $_POST['txtPassword'];
>
> 5 $PHPcmd = "login.php"
I use sessions, I also dont store the users password into the session,
if you use flat file sessions on a shared server then storing the
password should be avoided,
What I do is take a username and password, verify their details against
database, if their details match one in database I simply
Ahhh, for storing session passwords...if you really need to store a
password in the session then try using md5, like so...
$psw = md5($_POST['txtPassword']);
Then to verify a users password just do the same and compare to the
stored md5 value in your database.
But, its a very bad idea stori
You have two calls to header?
The first should be changed to:-
session_cache_limiter('private');
http://php.net/manual/en/function.session-cache-limiter.php
Alessandro Rosa wrote:
Hi to all,
I got a problem while storing session variables.
After the call to header(...), the values of
* "Alessandro Rosa" <[EMAIL PROTECTED]>:
> Hi to all,
>
> I got a problem while storing session variables.
>
> session_start();
> header( "Cache-control: private" );
>
> require_once("config.inc.php");
>
>
> $_SESSION['session_psw'] = $_
BøRge Strand wrote:
Hi there,
I have a problem setting my headers right with php running as .cgi. I
have to specify a Content-type for the cgi file to work. But how
should I do both that and start a session?
I have a few options:
#! /usr/local/bin/php
This way $_SESSION['count'] stays unset even
If the files are included then one of the "catch me's" is when theres a
space before or after the tags
pete
Mark Roberts wrote:
Could someone help me out with this. I had this problem about a year ago
with another site and I can't for the life of me remember what I had to do
to fix it. I am in
Hello,
I just got two emails explaining my error.
Thanks to all.
I wasn't thinking right and sort of had my cart before my horse.
The fix is simple, put the header call before anything else.
I was thinking I had to get the input first -- wrong.
All I needed was to put this line first, at the v
what I found out in the meantime is that you CAN use cookies and headers,
just like you said, but my particular problem arose because a notice was
issued for an undefined variable;
I didn't check correctly for it's existence.
so any output, and also output like notices, warnings and errors, just
There is no such "restriction of cookies."
I think what the manual meant to say was that cookies must be sent prior
to any output, which is the same restriction any other header has that
you wish to set with the header() function, for example.
I have forwarded this along to the documentation te
kies after you set other headers then use
Output Buffering.
http://www.php.net/manual/en/function.ob-start.php
-Kevin
- Original Message -
From: "rolf vreijdenberger" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 29, 2002 1:59 PM
Subject: [PHP] R
but are you really sure that you cannot use setcookie() and header() at the
same time??
I cannot find it anywhere, either in the manuals or in tutorials or in the
output control functions!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says...
> I'm doing a little form:
> In the first page i have the form to insert datas,then redirect the
> control to a script that check if the filds are correct.If they are
> correct redirect the output to a prospect else to the first page.The
>Im getting Warnings about headers being already sent. But not on my local
>web server
>
>Im sending the headers (to try and make the page not cache) before anything
>is echoed to the browser.
Somebody somewhere is sending *SOMETHING* to the browser -- possibly a
NEWLINE at the tail end of one of
this might be because you use the cgi version of php. to be able to send
e.g.
404 header, you have to run php as webserver module which currently only
works with apache and linux afaik. otherwise these headers get send by the
webserver and you cannot affect them.
if you use php with apache as mod
header("Location: example.php?var=$value"); etc...
Or sessions...
--
Julio Nobrega
Don't eat the yellow snow.
"Wilbert Enserink" <[EMAIL PROTECTED]> wrote in message
00e101c17d86$a2c391a0$[EMAIL PROTECTED]">news:00e101c17d86$a2c391a0$[EMAIL PROTECTED]...
> Hi all,
>
>
> my q: The results o
44 matches
Mail list logo