php-general Digest 18 Sep 2009 08:30:35 -0000 Issue 6345

2009-09-18 Thread php-general-digest-help
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

Re: [PHP] how i assign a js variable to a php variable

2009-09-18 Thread Gautam Bhatia
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.

Re: [PHP] how i assign a js variable to a php variable

2009-09-18 Thread Jonathan Vivero
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

RE: [PHP] how i assign a js variable to a php variable

2009-09-18 Thread Andrea Giammarchi
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

RE: [PHP] how i assign a js variable to a php variable

2009-09-18 Thread Andrea Giammarchi
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;

Re: [PHP] how i assign a js variable to a php variable

2009-09-18 Thread Jonathan Vivero
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

Re: [PHP] how i assign a js variable to a php variable

2009-09-18 Thread Jonathan Vivero
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.

RE: [PHP] how i assign a js variable to a php variable

2009-09-18 Thread Andrea Giammarchi
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

[PHP] A little slow lately???

2009-09-18 Thread Jim Lucas
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

[PHP] PHP Header issue

2009-09-18 Thread Ernie Kemp
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

Re: [PHP] PHP Header issue

2009-09-18 Thread Andrew Ballard
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.

RE: [PHP] A little slow lately???

2009-09-18 Thread HallMarc Websites
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

RE: [PHP] A little slow lately???

2009-09-18 Thread Ashley Sheridan
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

Re: [PHP] A little slow lately???

2009-09-18 Thread Jim Lucas
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

[PHP] Re: PHP Header issue

2009-09-18 Thread Ralph Deffke
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.

Re: [PHP] PHP Header issue

2009-09-18 Thread Jim Lucas
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

Re: [PHP] Re: PHP Header issue

2009-09-18 Thread 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. space should be outputted

RE: [PHP] PHP Header issue

2009-09-18 Thread HallMarc Websites
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

RE: [PHP] A little slow lately???

2009-09-18 Thread Andrea Giammarchi
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 ...

RE: [PHP] PHP Header issue

2009-09-18 Thread Ernie Kemp
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:

RE: [PHP] A little slow lately???

2009-09-18 Thread HallMarc Websites
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

RE: [PHP] Re: PHP Header issue

2009-09-18 Thread Bob McConnell
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.

RE: [PHP] PHP Header issue

2009-09-18 Thread HallMarc Websites
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

RE: [PHP] PHP Header issue

2009-09-18 Thread Ashley Sheridan
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

RE: [PHP] Re: PHP Header issue

2009-09-18 Thread Andrea Giammarchi
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

Re: [PHP] A little slow lately???

2009-09-18 Thread Jim Lucas
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

Re: [PHP] PHP Header issue

2009-09-18 Thread Jim Lucas
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

Re: [PHP] PHP Header issue

2009-09-18 Thread Ben Dunlap
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

[PHP] Configure PHP 5.2.8 on AIX 5.3 With LDAP

2009-09-18 Thread Ginny Jaworski
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.

RE: [PHP] PHP Header issue

2009-09-18 Thread Ernie Kemp
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] Does anyone here use TCPDF?

2009-09-18 Thread Dave M G
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

RE: [PHP] PHP Header issue

2009-09-18 Thread HallMarc Websites
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

RE: [PHP] PHP Header issue

2009-09-18 Thread Ernie Kemp
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

RE: [PHP] A little slow lately???

2009-09-18 Thread Jay Blanchard
[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

RE: [PHP] PHP Header issue

2009-09-18 Thread Ashley Sheridan
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

RE: [PHP] PHP Header issue

2009-09-18 Thread 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 Well, set the action of the form to the upload script. Then, in your upload script

Re: [PHP] Does anyone here use TCPDF?

2009-09-18 Thread Paul M Foster
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

Re: [PHP] PHP Header issue

2009-09-18 Thread Angus Mann
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