Your code does not make sense (to me anyway).
It flags an error because you are sending HTML before the header command. Don't
bother looking for whitespace etc...the etc is more than
enough to produce this error.
Using "Location" redirects to another URL. It does not make sense to redirect
in
On Sat, Sep 19, 2009 at 02:58:52AM +0900, Dave M G wrote:
> PHP List,
>
>
> I posted this question on the TCPDF forum on SourceForge, but it's
> getting no response. I'm not even sure how active their list is.
> http://sourceforge.net/projects/tcpdf/forums/forum/435311/topic/3400663
>
> So I'm
> I will look into getting from one page to the next page after a Submit
If it's any help, I've got a light-weight contact-form code on github,
that's meant to be dropped into an otherwise-static site with minimal
fuss: http://github.com/bdunlap/Drop-in-Widgets/tree/master/contactform/
It uses a
Sounds like you have 64-bit LDAP libraries installed on your system.
Do you also have 32-bit libraries installed, but PHP is ignoring them?
The --with-ldap configure option tells PHP where to look for ldap.h
and libldap.a -- but not directly. Here's the relevant bit from
php-src/trunk/ext/ldap/con
n your code before this statement, or
> you have
> output_buffering option enabled in the php configuration.
>
> Now, with that said, using output buffering to "fix" this "problem" is
> the wrong
> solution. But it does work.
>
> Jim
I thought of that
> The fundamental idea was to fill in a contact forum , submit it and then go
> to an upload page.
By "upload", do you mean "transmit the information that the user
entered into the contact form"? Or is the upload page supposed to do
something separate from the contact form?
Ben
--
PHP General
> > > >
> > > > Isn't that the truth!
> > > >
> > > >> Winston S. Churchill
> > > >
> > > >
> > > >
> > >
> > > Just to point out to everybody, you can actually do this. And most
> of
output_buffering option enabled in the php configuration.
> >
> > Now, with that said, using output buffering to "fix" this "problem" is
> > the wrong
> > solution. But it does work.
> >
> > Jim
>
>
>
> I thought of that t
[snip]
If anybody is interested, give it a call
(541) 323-9089
[/snip]
That is awesome! Happy weekend everybody!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ou have
> output_buffering option enabled in the php configuration.
>
> Now, with that said, using output buffering to "fix" this "problem" is
> the wrong
> solution. But it does work.
>
> Jim
I thought of that too and I ran a test on my server
lution. But it does work.
>
> Jim
I thought of that too and I ran a test on my server just to make sure - guess
what? it doesn't work either and I am assuming that is because I have it turned
off in my php.ini I prefer not to use the ob because I do a lot of development
on m
PHP List,
I posted this question on the TCPDF forum on SourceForge, but it's
getting no response. I'm not even sure how active their list is.
http://sourceforge.net/projects/tcpdf/forums/forum/435311/topic/3400663
So I'm hoping someone here might be able to help if they are using
TCPDF. I just n
I think you may have something there Ben.
This code is in my php.ini file. This was 'on' by default.
; Output buffering allows you to send header lines (including cookies) even
; after you send body content, at the price of slowing PHP's output layer a
; bit. You can enable output buffering duri
I am having problems configuring PHP 5.2.8 with ldap on a AIX 5.3 ldap
server. I have also downloaded openldap to try to configure PHP. LDAP
is installed in /opt/IBM/ldap/V6.0 and openldap in /opt/freeware.
PATH=/opt/freeware/bin:/usr/local/apache/build/libtool:/usr/bin:/etc:/usr/sbin:/usr/uc
> if ... you have
> output_buffering option enabled in the php configuration.
Which is probably the case on the OP's local machine, and would
explain why the code doesn't fail for him there.
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.ph
Jim Lucas wrote:
> Ernie Kemp wrote:
>>
>>
>>
>>
>>
>>
>> Contact Us
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> The above is just snippet of the code but even this simple example throws
>> the Header Warning / Error.
>>
>> Warning: Cannot modify header information - headers already sent by
HallMarc Websites wrote:
> yay for the infinite monkeys!
We have a monkey line here at the office.
We created it just as a gage line to transfer the techs to just to goof around.
Well, we have found that it works really well for those "annoying sales calls"!
If anybody is interested, give it a
> I think this sort of issue arises particularly because of the
> misconception that PHP is embedded inside HTML pages. Once a person has
> that idea in their head, they will start to work with an HTML template
> and add PHP as necessary. While that can work, in cases such as this,
> it's best to
On Fri, 2009-09-18 at 13:12 -0400, Ernie Kemp wrote:
> Thanks for your reply Andrew.
> I think you can add the "Header" in your body.
>
> The code working on my local system.
>
> Thanks,
> .../Ernie
>
> -Original Message-
> From: Andrew Ballard [mailto:aball...@gmail.com]
> Sent: Septem
I'm bewildered, bemused, astonished
and am trying really hard not to lash out
Thank you,
Marc Hall
HallMarc Websites
610.446.3346
__ Information from ESET Smart Security, version of virus signature
database 4438 (20090918) __
The message was checked by ESET
From: Ashley Sheridan
> On Fri, 2009-09-18 at 19:01 +0200, Ralph Deffke wrote:
>> sorry man, but no blancs etc. means NOTHING should be send before the
header
>>
>> it should look like this:
>> >
>> header("Location: advertise2.php");
>>
>> ?>
>>
>> here u can do ur html
>>
>>
>>
>> not one
yay for the infinite monkeys! I just had a client ask if I have 3-5 years
experience developing websites in Linux.
I agree with Jim - I hope you all have a great weekend!
Thank you,
Marc Hall
HallMarc Websites
610.446.3346
Thanks for your reply Andrew.
I think you can add the "Header" in your body.
The code working on my local system.
Thanks,
.../Ernie
-Original Message-
From: Andrew Ballard [mailto:aball...@gmail.com]
Sent: September-18-09 12:44 PM
To: Ernie Kemp
Cc: php-general@lists.php.net
Subject: Re
> Maybe people really have started to rtfm!
>
> Ash
well, apparently not everybody, somebody put right now a header call in the
middle of the page declaring "there're no white space around, I've checked it!"
maybe other realized that a search in the manual takes less time than a mail
here ..
http://us3.php.net/manual/en/function.header.php
Thank you,
Marc Hall
HallMarc Websites
610.446.3346
__ Information from ESET Smart Security, version of virus signature
database 4438 (20090918) __
The message was checked by ESET Smart Security.
http://www.eset.com
On Fri, 2009-09-18 at 19:01 +0200, Ralph Deffke wrote:
> sorry man, but no blancs etc. means NOTHING should be send before the header
>
> it should look like this:
>
> header("Location: advertise2.php");
>
> ?>
>
> here u can do ur html
>
>
>
> not one! single char incl. space should be ou
Ernie Kemp wrote:
>
>
>
>
>
>
> Contact Us
>
>
>
>
>
>
>
>
>
>
>
> The above is just snippet of the code but even this simple example throws
> the Header Warning / Error.
>
> Warning: Cannot modify header information - headers already sent by (output
> started at /home/cont
sorry man, but no blancs etc. means NOTHING should be send before the header
it should look like this:
here u can do ur html
not one! single char incl. space should be outputted before the header e.g.
before the php open tag.
ralph_def...@yahoo.de
""Ernie Kemp"" wrote in message
ne
Ashley Sheridan wrote:
> On Fri, 2009-09-18 at 12:49 -0400, HallMarc Websites wrote:
>
>> Slower than I was used to.. I wonder if it is because the economy is still
>> sucking..
>>
>>
>>
>> __ Information from ESET Smart Security, version of
On Fri, 2009-09-18 at 12:49 -0400, HallMarc Websites wrote:
> Slower than I was used to.. I wonder if it is because the economy is still
> sucking..
>
>
>
> __ Information from ESET Smart Security, version of virus signature
> database 4437 (20090918) __
Slower than I was used to.. I wonder if it is because the economy is still
sucking..
__ Information from ESET Smart Security, version of virus signature
database 4437 (20090918) __
The message was checked by ESET Smart Security.
http://www.eset.com
--
PHP General Mailing
On Fri, Sep 18, 2009 at 12:39 PM, Ernie Kemp wrote:
>
>
>
>
>
> Contact Us
>
>
>
>
>
>
>
>
>
>
>
> The above is just snippet of the code but even this simple example throws the
> Header Warning / Error.
>
>
>
> Warning: Cannot modify header information - headers already sent by (output
>
Contact Us
The above is just snippet of the code but even this simple example throws
the Header Warning / Error.
Warning: Cannot modify header information - headers already sent by (output
started at /home/content/g/t/a /html/yourestate/advertise.php:6)
in/home/content/g
Has this ML been a little slow lately, or is it just me?
And, is that good or bad?
Jim Lucas
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> You can not pass this myPHPvar javascript var as an input in a form. if you
> want to change its value and maintein it, must to use an static var, and
> only can access to this values via javascript functions where an event is
> invoked (in case you want to read or write values)
with all due
And of course, sorry for my english!!! I correct!!
Imagine you have an assoc. array that you encode with json and save into the
> js var. Ok.
>
> This way is perfect. But you can do less with this values than using my
> solution. Important: Each case is different, and may be studied in
> particul
imagine you have an assoc. array that you encode with json and save in the
js var. Ok.
This way is perfect. But you can do less with this values than using my
solution. Important: Each case is different, and may be studied in
particular.
You can not pass this myPHPvar javascript var as an input i
Actually, it's even more simple ... forgive me:
echo 'var
myPHPvar='.json_encode($myPHPvar).';';
that's pretty much it
> From: an_...@hotmail.com
> To: jonathan.desarro...@gmail.com; mail2gautambha...@gmail.com
> CC: saeed@gmail.com; php-general@lists.php.net
> Date: Fri, 18 Sep 2009 13:01
> basicly is use hidden inputs as a container for php variables, and transform
> through js.
really? I though the other way round was extremely simple:
echo 'var
myPHPvar=eval("('.addslashes(json_encode($myPHPvar)).')");';
why would you use hidden input, plus DOM to get data, etc, etc?
_
Or you can also do this way:
on loading
";
[...]
echo "
functino recalculateValue(){
var myText = document.getElementById("myphpvar");
var myValue = myText.value;
/*
operations with myText
*/
myText.value = myRecalcValue;
}
once changed, you choose how to proceed, maybe executing any other
hello,
You can also try using AJAX technology to communicate with the server
side code that is your php :).
Regards,
Gautam Bhatia
Punjab,India
mail2gautambha...@gmail.com
On Fri, 2009-09-18 at 02:16 +0700, saeed ahmed wrote:
> hello guys,
>
> i'm new here in this list. guys i need a help
41 matches
Mail list logo