php-general Digest 18 Sep 2009 08:30:35 - Issue 6345
Topics (messages 298114 through 298135):
Re: ie6 memory could not be read help!
298114 by: Ashley Sheridan
298116 by: HallMarc Websites
298117 by: Ben Dunlap
298119 by: Ralph Deffke
298122 by: Paul
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.
Or you can also do this way:
on loading
?php
[...]
echo input type='hidden' name='myphpvar' id='myphpvar'
value='.$myphpvar.';
[...]
echo input type='button' name='mybutton' id='mybutton'
onclick='javascript:recalculateValue();' value='Click Me!' ;
[...]
?
script type=text/javascript
functino
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 'script type=text/javascriptvar
myPHPvar=eval(('.addslashes(json_encode($myPHPvar)).'));/script';
why would you use hidden input, plus
Actually, it's even more simple ... forgive me:
echo 'script type=text/javascriptvar
myPHPvar='.json_encode($myPHPvar).';/script';
that's pretty much it
From: an_...@hotmail.com
To: jonathan.desarro...@gmail.com; mail2gautambha...@gmail.com
CC: saeed@gmail.com;
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
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
particular.
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
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
html
head
titleContact Us/title
/head
body
?php header(Location: advertise2.php); ?
/body
/html
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
On Fri, Sep 18, 2009 at 12:39 PM, Ernie Kemp ernie.k...@sympatico.ca wrote:
html
head
titleContact Us/title
/head
body
?php header(Location: advertise2.php); ?
/body
/html
The above is just snippet of the code but even this simple example throws the
Header Warning / Error.
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, 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) __
The message was checked
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 virus signature
database 4437 (20090918
sorry man, but no blancs etc. means NOTHING should be send before the header
it should look like this:
?php
header(Location: advertise2.php);
?
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.
Ernie Kemp wrote:
html
head
titleContact Us/title
/head
body
?php header(Location: advertise2.php); ?
/body
/html
The above is just snippet of the code but even this simple example throws
the Header Warning / Error.
Warning: Cannot modify header information
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:
?php
header(Location: advertise2.php);
?
here u can do ur html
not one! single char incl. space should be outputted
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
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 ...
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:
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
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:
?php
header(Location: advertise2.php);
?
here u can do ur html
not one! single char incl.
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 Smart
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: September-18-09
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
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
Jim Lucas wrote:
Ernie Kemp wrote:
html
head
titleContact Us/title
/head
body
?php header(Location: advertise2.php); ?
/body
/html
The above is just snippet of the code but even this simple example throws
the Header Warning / Error.
Warning: Cannot modify header
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.php
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.
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
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
to
the screen.
The question I have is do you need this redirect to sit where it is? It would
be so much easier to just write this page correctly.
Thank you,
Marc Hall
HallMarc Websites
610.446.3346
__ Information from ESET Smart Security, version of virus signature
database 4438 (20090918
this page correctly.
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
--
PHP General Mailing List (http
[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
Security, version of virus signature
database 4438 (20090918) __
The message was checked by ESET Smart Security.
http://www.eset.com
Well, set the action of the form to the upload script. Then, in your
upload script, check to see that all the fields are as required
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
Well, set the action of the form to the upload script. Then, in your
upload script
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 hoping
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 htmlheadtitle etc is more than
enough to produce this error.
Using Location redirects to another URL. It does not make sense to
38 matches
Mail list logo