Re: [PHP] PHP and javascript

2010-01-19 Thread Rene Veerman
To do what you want that new httpd server should at least be able to call up PHP via cli / whatever, and retrieve the output. It also needs to provide what's in php called $_GET and $_POST. Assuming you got that covered, then yes, you could route the calls via ajax (i recommend jquery.com for

Re: [PHP] PHP and javascript

2010-01-19 Thread Rene Veerman
oh, and if you're going to use ajax-non-phphttpd-php-andback, then check if your dear non-php httpd abuses the CPU while waiting for PHP to return the results... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and javascript

2010-01-15 Thread Andres Gonzalez
How do I call PHP code that will run server side, from javascript code that is running client side? I have a lot of PHP server side code written and working within CodeIgniter. Now, my project has changed and (for reasons unimportant to this discussion) we are now NOT going to use apache and

Re: [PHP] PHP and javascript

2010-01-15 Thread Ryan Sun
I don't think you can call php cli from client javascript unless you have a wrapper http interface On Fri, Jan 15, 2010 at 2:07 PM, Andres Gonzalez and...@packetstorm.comwrote: How do I call PHP code that will run server side, from javascript code that is running client side? I have a lot

Re: [PHP] PHP and javascript

2010-01-15 Thread Ashley Sheridan
On Fri, 2010-01-15 at 14:07 -0500, Andres Gonzalez wrote: How do I call PHP code that will run server side, from javascript code that is running client side? I have a lot of PHP server side code written and working within CodeIgniter. Now, my project has changed and (for reasons

[PHP] php image javascript issue

2008-09-08 Thread javasac
/html === test.js function Hello() { alert('Hello Ronaldo'); } == -- View this message in context: http://www.nabble.com/php-image---javascript-issue-tp19376008p19376008.html Sent from

Re: [PHP] php image javascript issue

2008-09-08 Thread javasac
']; echo 'My name is ' . $name; ? /body /html === test.js function Hello() { alert('Hello Ronaldo'); } == -- View this message in context: http://www.nabble.com/php-image

Re: [PHP] php and javascript error

2007-03-12 Thread Richard Lynch
almost sure it has nothing to do with php rather javascript, and maybe microsoft's special javascript interpretations... greets Zoltán Németh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Some people have a gift link here

Re: [PHP] php and javascript error

2007-03-12 Thread Richard Lynch
On Thu, March 8, 2007 7:17 pm, jekillen wrote: Yes I have been around the bend with Netscape and now, Fire Fox javascript consoles. Before I got it that I need to format web content text for Unix, I went crazy trying to interpret Netscape console messages and the line numbers it said the

RE: [PHP] php and javascript error

2007-03-12 Thread Richard Lynch
On Sun, March 11, 2007 9:21 am, tedd wrote: At 5:28 PM +0100 3/7/07, [EMAIL PROTECTED] wrote: PS: If you want your code to validate, change the to amp; Add the closing /a tag too. PPS: It's advisable not to use the short tags, use ?php instead of ? in such a cases I usually use ?= $var

RE: [PHP] php and javascript error

2007-03-11 Thread tedd
At 5:28 PM +0100 3/7/07, [EMAIL PROTECTED] wrote: PS: If you want your code to validate, change the to amp; Add the closing /a tag too. PPS: It's advisable not to use the short tags, use ?php instead of ? in such a cases I usually use ?= $var ? instead ?php echo $var ?. At least it's

Re: [PHP] php and javascript error

2007-03-11 Thread Tijnema !
On 3/11/07, tedd [EMAIL PROTECTED] wrote: At 5:28 PM +0100 3/7/07, [EMAIL PROTECTED] wrote: PS: If you want your code to validate, change the to amp; Add the closing /a tag too. PPS: It's advisable not to use the short tags, use ?php instead of ? in such a cases I usually use ?= $var ?

Re: [PHP] php and javascript error

2007-03-11 Thread tedd
At 3:25 PM +0100 3/11/07, Tijnema ! wrote: On 3/11/07, tedd mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: At 5:28 PM +0100 3/7/07, mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: PS: If you want your code to validate, change the to amp; Add the closing /a tag too. PPS: It's

Re: [PHP] php and javascript error

2007-03-08 Thread jekillen
On Mar 7, 2007, at 11:46 PM, Tijnema ! wrote: Just a little side note, you said that firefox wasn't giving an error, i think it does, but that it hides the error. Open your page, and then go to Tools-javascript console. There it will display all javascript errors. And gives a nice detailed

[PHP] php and javascript error

2007-03-07 Thread Ed Curtis
I've just run into this problem this morning a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web Site'); This produces an Error on Page in IE 7, but works perfectly in Firefox and

Re: [PHP] php and javascript error

2007-03-07 Thread Németh Zoltán
some logging then forwards the user to the URL or is it just a IE quirk? I'm almost sure it has nothing to do with php rather javascript, and maybe microsoft's special javascript interpretations... greets Zoltán Németh -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] php and javascript error

2007-03-07 Thread Tijnema !
where this call resides and all of them work perfectly except for this one. Does this error occur because I'm sending the variables to another script that does some logging then forwards the user to the URL or is it just a IE quirk? I'm almost sure it has nothing to do with php rather javascript

RE: [PHP] php and javascript error

2007-03-07 Thread Edward Kay
I've just run into this problem this morning a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web Site'); This produces an Error on Page in IE 7, but works perfectly in Firefox

Re: [PHP] php and javascript error

2007-03-07 Thread Ed Curtis
that does some logging then forwards the user to the URL or is it just a IE quirk? I'm almost sure it has nothing to do with php rather javascript, and maybe microsoft's special javascript interpretations... I know it's not the PHP but rather the JS that's causing it. What I fail

Re: [PHP] php and javascript error

2007-03-07 Thread Tijnema !
sending the variables to another script that does some logging then forwards the user to the URL or is it just a IE quirk? I'm almost sure it has nothing to do with php rather javascript, and maybe microsoft's special javascript interpretations... I know it's not the PHP but rather the JS

RE: [PHP] php and javascript error

2007-03-07 Thread afan
I've just run into this problem this morning a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web Site'); This produces an Error on Page in IE 7, but works perfectly in Firefox

Re: [PHP] php and javascript error

2007-03-07 Thread Ed Curtis
a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web Site'); This produces an Error on Page in IE 7, but works perfectly in Firefox and Netscape. I have several other javascript calls on

RE: [PHP] php and javascript error

2007-03-07 Thread Brad Fuller
-Original Message- From: Ed Curtis [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 11:47 AM To: php-general@lists.php.net Subject: Re: [PHP] php and javascript error a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent

RE: [PHP] php and javascript error

2007-03-07 Thread Brad Fuller
-Original Message- From: Brad Fuller [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 07, 2007 12:02 PM To: 'Ed Curtis'; 'php-general@lists.php.net' Subject: RE: [PHP] php and javascript error -Original Message- From: Ed Curtis [mailto:[EMAIL PROTECTED] Sent: Wednesday

RE: [PHP] php and javascript error

2007-03-07 Thread Edward Kay
a href=# onclick=javascript:window.open('web_forward.php?address=? echo $web_url; ?agent=? echo $agent; ?real_company_name=? echo $real_company_name; ?', 'Web Site'); This is a JavaScript issue, but may have something to do with the data you are echoing out in PHP. Look at the source in

Re: [PHP] php and javascript error

2007-03-07 Thread Seak, Teng-Fong
to another script that does some logging then forwards the user to the URL or is it just a IE quirk? I'm almost sure it has nothing to do with php rather javascript, and maybe microsoft's special javascript interpretations... I know it's not the PHP but rather the JS that's causing

Re: [PHP] php and javascript error

2007-03-07 Thread Ed Curtis
Edward Kay wrote: you've got a stay quote mark in one of your PHP vars. Not it, I looked and there's nothing there. I'm sure it's because you've got some stray characters in your output that mess it up. It would help if you actually posted the source rather than just saying it's OK, when

Re: [PHP] php and javascript error

2007-03-07 Thread jekillen
, or deployment on PHP servers which are not under your control My scripts aren't meant for distribution also they will only ever be delpoyed on a server that I control. Thanks for the tip though and thanks to everyone that helped. Ed This isn't a javascript discussion list but, javascript and php

Re: [PHP] php and javascript error

2007-03-07 Thread Tijnema !
Just a little side note, you said that firefox wasn't giving an error, i think it does, but that it hides the error. Open your page, and then go to Tools-javascript console. There it will display all javascript errors. And gives a nice detailed error. Tijnema

Re: [PHP] php generated javascript

2006-09-07 Thread Shu Hung (Koala)
On 8/31/06, Curt Zirzow [EMAIL PROTECTED] wrote: On 8/30/06, Shu Hung (Koala) [EMAIL PROTECTED] wrote: On 8/31/06, Peter Lauri [EMAIL PROTECTED] wrote: Koala, There is no difference with the php generated javascript and javascript on a static html page. Take a look

Re: [PHP] php generated javascript

2006-08-31 Thread Curt Zirzow
On 8/30/06, Shu Hung (Koala) [EMAIL PROTECTED] wrote: On 8/31/06, Peter Lauri [EMAIL PROTECTED] wrote: Koala, There is no difference with the php generated javascript and javascript on a static html page. Take a look at the source code of the page that has been generated in the browser

[PHP] php generated javascript

2006-08-30 Thread Shu Hung (Koala)
doesn't show anything at all. it seems that the php generated javascript cannot be loaded sometimes. Maybe the generation takes too long. I'm not sure about that. Is there anyway to deal with it? Koala Yeung

RE: [PHP] php generated javascript

2006-08-30 Thread Peter Lauri
Koala, There is no difference with the php generated javascript and javascript on a static html page. Take a look at the source code of the page that has been generated in the browser, and if that one looks as it should, it is probably your javascript that is not doing what it should

Re: [PHP] php generated javascript

2006-08-30 Thread Shu Hung (Koala)
On 8/31/06, Peter Lauri [EMAIL PROTECTED] wrote: Koala, There is no difference with the php generated javascript and javascript on a static html page. Take a look at the source code of the page that has been generated in the browser, and if that one looks as it should, it is probably your

Re: [PHP] php generated javascript

2006-08-30 Thread J R
put this at the top of your script ob_start(); or before any output. On 8/31/06, Shu Hung (Koala) [EMAIL PROTECTED] wrote: On 8/31/06, Peter Lauri [EMAIL PROTECTED] wrote: Koala, There is no difference with the php generated javascript and javascript on a static html page. Take a look

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread tedd
Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP? Thanks, Paul Paul: I am sure that you can change css via javascript, but you can as well with php -- see:

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Satyam
Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP? Thanks, Paul You don't need to change the CSS (I don't even know if it is possible), but you can change specific styles of any element within the

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread tedd
Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP? Thanks, Paul Satyam said: You don't need to change the CSS (I don't even know if it is possible), but you can change specific styles of any element

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Satyam
- Original Message - From: tedd [EMAIL PROTECTED] Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP? Thanks, Paul Satyam said: You don't need to change the CSS (I don't even know if it is

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Anas Mughal
JF on March 11th answered it appropriately. Please take this topic off this group. Thanks. On 3/12/06, Satyam [EMAIL PROTECTED] wrote: - Original Message - From: tedd [EMAIL PROTECTED] Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread tedd
Yes, it's just a text file -- it can be re-written. However, it needs to be loaded again to take affect. And it affects all documents of all users. Suddenly, by the action of one user, all other users reaching the same page will see things as per the actions of another user. Unless you

Re: [PHP] PHP/CSS/Javascript question

2006-03-12 Thread Satyam
- Original Message - From: tedd [EMAIL PROTECTED] Yes, it's just a text file -- it can be re-written. However, it needs to be loaded again to take affect. And it affects all documents of all users. Suddenly, by the action of one user, all other users reaching the same page will

[PHP] PHP/CSS/Javascript question

2006-03-11 Thread Paul Goepfert
Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP? Thanks, Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/CSS/Javascript question

2006-03-11 Thread Jesús Fernández
On 3/11/06, Paul Goepfert [EMAIL PROTECTED] wrote: Hi all, Is it possible to modify a table using JavaScript to control CSS visabilty when the entire table is developed dynamically using PHP?

Re: [PHP] PHP generated JavaScript

2006-02-21 Thread Richard Lynch
On Mon, February 20, 2006 1:59 am, Tim Burgan wrote: Is is possible to make an external Javascript with PHP. Am I doing this correcT? ?php header(Content-Type: text/javascript); $text = Hello World; echo alert('.$text.');; You may need to include the trailing newline on this line

Re: [PHP] PHP generated JavaScript

2006-02-20 Thread Curt Zirzow
On Mon, Feb 20, 2006 at 06:29:12PM +1030, Tim Burgan wrote: Is is possible to make an external Javascript with PHP. Am I doing this correcT? ?php header(Content-Type: text/javascript); $text = Hello World; echo alert('.$text.');; ? This looks perfectly fine. There are a few

[PHP] PHP generated JavaScript

2006-02-19 Thread Tim Burgan
Is is possible to make an external Javascript with PHP. Am I doing this correcT? ?php header(Content-Type: text/javascript); $text = Hello World; echo alert('.$text.');; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and javascript

2005-04-13 Thread Richard Lynch
On Mon, April 11, 2005 5:04 pm, Marek Kilimajer said: Richard Lynch wrote: On Mon, April 11, 2005 4:23 pm, Jared Williams said: Hmm, document.forms['Selection'].elements['distID[]'][0].value is perfectly valid, and should work in any decent browser. There is also document.getElementsByName()

RE: [PHP] php and javascript

2005-04-12 Thread Ford, Mike
-Original Message- From: Richard Lynch To: Marek Kilimajer On Sun, April 10, 2005 4:32 pm, Marek Kilimajer said: Assuming your form is named Selection, you will have a javascript array document.forms['Selection'].elements['distID[]'] available. You can try:

Re: [PHP] php and javascript

2005-04-11 Thread Richard Lynch
On Sun, April 10, 2005 4:32 pm, Marek Kilimajer said: Assuming your form is named Selection, you will have a javascript array document.forms['Selection'].elements['distID[]'] available. You can try: alert(document.forms['Selection'].elements['distID[]'][0].value); I can GUARANTEE this will

RE: [PHP] php and javascript

2005-04-11 Thread Jared Williams
On Sun, April 10, 2005 4:32 pm, Marek Kilimajer said: Assuming your form is named Selection, you will have a javascript array document.forms['Selection'].elements['distID[]'] available. You can try: alert(document.forms['Selection'].elements['distID[]'][0].value); I can

RE: [PHP] php and javascript

2005-04-11 Thread Richard Lynch
On Mon, April 11, 2005 4:23 pm, Jared Williams said: Hmm, document.forms['Selection'].elements['distID[]'][0].value is perfectly valid, and should work in any decent browser. There is also document.getElementsByName() Didja try it? Cuz every time *I* ever tried it (back in Browser Wars

Re: [PHP] php and javascript

2005-04-11 Thread Marek Kilimajer
Richard Lynch wrote: On Mon, April 11, 2005 4:23 pm, Jared Williams said: Hmm, document.forms['Selection'].elements['distID[]'][0].value is perfectly valid, and should work in any decent browser. There is also document.getElementsByName() Didja try it? Cuz every time *I* ever tried it (back in

[PHP] php and javascript

2005-04-10 Thread PartyPosters
Hello, I have a form that when I hit sumbit I want to test the varialble in javascript. I can get it working using test variables in php but I want to be able to call the input box in my form, the only problem is the name of the box is in an array (i think) as it's in a list. You can see the 2

Re: [PHP] php and javascript

2005-04-10 Thread Marek Kilimajer
PartyPosters wrote: Hello, I have a form that when I hit sumbit I want to test the varialble in javascript. I can get it working using test variables in php but I want to be able to call the input box in my form, the only problem is the name of the box is in an array (i think) as it's in a

[PHP] PHP, over javascript code simple \n

2004-08-19 Thread Louie Miranda
Im having problems. Because my javascript is inside a PHP code. Now below are 1 line code of a print function that display this on the html header. i must put \n after the Firstname. But PHP actually reads \n so when i view it on a browser the js code moves down. Which is wrong, because it wont

Re: [PHP] PHP, over javascript code simple \n

2004-08-19 Thread Curt Zirzow
* Thus wrote Louie Miranda: Im having problems. Because my javascript is inside a PHP code. Now below are 1 line code of a print function that display this on the html header. i must put \n after the Firstname. But PHP actually reads \n so when i view it on a browser the js code moves down

[PHP] php and javascript

2003-03-21 Thread shaun
Hi, I'm not sure if this is a PHP or a JavaScript question but I have found the following code to enable me to select all of the checkboxes on my form. SCRIPT LANGUAGE=JavaScript !-- Begin var checkflag = false; function check(field) { if (checkflag == false) { for (i = 0; i field.length; i

Re: [PHP] php and javascript

2003-03-21 Thread Mike
Try radio buttons. You can't have lots of checkboxes like that. Or try one of those lists that you can select multiple parts. I don't remember what they're called. On Fri, 2003-03-21 at 10:25, shaun wrote: Hi, I'm not sure if this is a PHP or a JavaScript question but I have found

Fw: [PHP] php and javascript

2003-03-21 Thread Kevin Stone
- Original Message - From: shaun [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, March 21, 2003 12:25 PM Subject: [PHP] php and javascript Hi, I'm not sure if this is a PHP or a JavaScript question but I have found the following code to enable me to select all

Re: [PHP] php and javascript

2003-03-21 Thread John Nichel
if this is a PHP or a JavaScript question but I have found the following code to enable me to select all of the checkboxes on my form. SCRIPT LANGUAGE=JavaScript !-- Begin var checkflag = false; function check(field) { if (checkflag == false) { for (i = 0; i field.length; i++) { field[i

Re: [PHP] php and javascript

2003-03-21 Thread John Nichel
For what code to work, the JavaScript? In php, the only way you'll be able to get all the checkboxes that have been checked is to put the square brackets behind the name. For it to work in JavaScript, you have to reference the element such as document.forms[0].elements['list[]'][i

Re: [PHP] php and javascript

2003-03-19 Thread Antoine
Message - From: Antoine [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 2:52 PM Subject: [PHP] php and javascript I wrote a function to redirect my page to another one. But for some reason I keep getting an error. here is the function I made

[PHP] php and javascript

2003-03-18 Thread Antoine
I wrote a function to redirect my page to another one. But for some reason I keep getting an error. here is the function I made function js_pointer_login($thepage) { echo 'script language=javascript window.location = '$thepage' /script'; } -- Antoine [EMAIL PROTECTED] -- PHP General

Re: [PHP] php and javascript

2003-03-18 Thread Jim Lucas
, 2003 2:52 PM Subject: [PHP] php and javascript I wrote a function to redirect my page to another one. But for some reason I keep getting an error. here is the function I made function js_pointer_login($thepage) { echo 'script language=javascript window.location = '$thepage' /script

Re: [PHP] php and javascript

2003-03-18 Thread Oscar F
; } Hope this Helps, Oscar F. Antoine wrote: I wrote a function to redirect my page to another one. But for some reason I keep getting an error. here is the function I made function js_pointer_login($thepage) { echo 'script language=javascript window.location = '$thepage' /script

Re: [PHP] php and javascript

2003-03-18 Thread Kevin Stone
- Original Message - From: Antoine [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 3:52 PM Subject: [PHP] php and javascript I wrote a function to redirect my page to another one. But for some reason I keep getting an error. here is the function I

Re: [PHP] php and javascript

2003-03-18 Thread Chris Hayes
At 23:52 18-3-2003, you wrote: I wrote a function to redirect my page to another one. But for some reason I keep getting an error. here is the function I made function js_pointer_login($thepage) { echo 'script language=javascript window.location = '$thepage' /script'; } beside the quote thing

Re: [PHP] php and javascript

2003-03-18 Thread -{ Rene Brehmer }-
On Tue, 18 Mar 2003 15:59:32 -0700, Kevin Stone wrote about Re: [PHP] php and javascript what the universal translator turned into this: - Original Message - From: Antoine [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 3:52 PM Subject: [PHP] php

[PHP] Php and JavaScript

2003-03-02 Thread Valentin
Hi, Is any way to write JavaScript code into PHP function or to send PHP's variables values to the JScript variables? Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and JavaScript

2002-11-07 Thread John Meyer
On a PHP event, does the onLoad event in a document run before or after the page is parsed, created, and sent to the user? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP and JavaScript

2002-11-07 Thread Marco Tabini
After--that's client-side stuff. Marco -- php|architect - The magazine for PHP Professionals The first monthly worldwide magazine dedicated to PHP programmer Come visit us at http://www.phparch.com! ---BeginMessage--- On a PHP event, does the onLoad event in a document run

Re: [PHP] PHP and JavaScript

2002-11-07 Thread Ernest E Vogelsinger
At 17:24 07.11.2002, John Meyer spoke out and said: [snip] On a PHP event, does the onLoad event in a document run before or after the page is parsed, created, and sent to the user? [snip] Hmm - maybe I should a

Re: [PHP] PHP and JavaScript

2002-11-07 Thread Maxim Maletsky
onLoad is Javascript, and thus AFTER page was parsed. -- Maxim Maletsky [EMAIL PROTECTED] John Meyer [EMAIL PROTECTED] wrote... : On a PHP event, does the onLoad event in a document run before or after the page is parsed, created, and sent to the user? -- PHP General Mailing List

[PHP] PHP and JavaScript on a validation NIGHTMARE

2002-10-01 Thread Riccardo Sepe
Hi every1 I'm stucked with this page in which I would like to perform some check before submit and in the meantime I need to be able to change some content upon a choice at the top of the page. My first attempt was: The form has been submitted every time I change the option at the top of the

Re: [PHP] PHP and JavaScript on a validation NIGHTMARE

2002-10-01 Thread skitum
Use globals variables instead hidden fields. Maybe it works. Peace Love skitum - Original Message - From: Riccardo Sepe [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: Tuesday, October 01, 2002 1:34 PM Subject: [PHP] PHP and JavaScript on a validation NIGHTMARE Hi every1

Re: [PHP] PHP and JavaScript on a validation NIGHTMARE

2002-10-01 Thread Riccardo Sepe
skitum wrote: Use globals variables instead hidden fields. Maybe it works. Peace Love skitum Cool mate I' ll let u know! bye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP and JavaScript on a form validation task

2002-09-27 Thread Riccardo Sepe
... (in order to change the option or eventually perform the check). Can I do that on the same page? ..I mean can I pass a variable through javascript 2 php? The problem is that if I call the submit button ready2be_checked and I use an onclick(validate_the_form) handle, javascript works fine

Re: [PHP] PHP and JavaScript on a form validation task

2002-09-27 Thread Kevin Stone
PROTECTED] Sent: Friday, September 27, 2002 2:19 PM Subject: [PHP] PHP and JavaScript on a form validation task Hi every1 I'm buidin' up a form that should perform a couple of checks before submit. I used javascript but as the form has got option fields also and some field changes upon

[PHP] PHP and JavaScript

2002-09-23 Thread skitum
Hi all, The following code will drive me mad coz it always shows the JavaScript functions and I'd like know why: ? if(isset($validar)) { $clinom=strlen($clinombre); $clinif=strlen($clinifcif); $clidir=strlen($clidireccion); $cliloc=strlen($clilocalidad); $clipro=strlen($cliprovincia);

[PHP] php and javascript question

2002-06-05 Thread kemu
I have a page first he generates a var in javascript my next question is is it possible to use that var in php on the same page first he does the javascript then the php ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php and javascript question

2002-06-05 Thread Martin Clifford
first he generates a var in javascript my next question is is it possible to use that var in php on the same page first he does the javascript then the php ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List

RE: [PHP] php and javascript question

2002-06-05 Thread Scott Hurring
EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 -Original Message- From: Martin Clifford [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 4:24 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] php and javascript question As far as I'm

Re: [PHP] php and javascript question

2002-06-05 Thread Miguel Cruz
On Wed, 5 Jun 2002, Martin Clifford wrote: As far as I'm aware you can't create a javascript variable and use it within PHP on the same page. You can add that variable's value to a hidden form element to be passed to the next page, but I don't think so with the same page. You're quite

[PHP] PHP and JavaScript

2002-05-26 Thread mp
Hi, php-general, I make this kind of PHP script(script.php): script.php ? $variable = Some some long long Text Blah blah; echo document.write(\.$variable.\); ? And in HTML (other.html) file I write: script language=JavaScript src=script.php/script But there is some mistake. Does

RE: [PHP] PHP and JavaScript

2002-05-26 Thread SP
To: [EMAIL PROTECTED] Subject: [PHP] PHP and JavaScript Hi, php-general, I make this kind of PHP script(script.php): script.php ? $variable = Some some long long Text Blah blah; echo document.write(\.$variable.\); ? And in HTML (other.html) file I write: script language=JavaScript src

Re: [PHP] PHP and JavaScript

2002-05-26 Thread Mark
On Sun, 26 May 2002 10:05:03 +0300, mp wrote: Hi, php-general, I make this kind of PHP script(script.php): script.php ? $variable = Some some long long Text Blah blah; echo document.write(\.$variable.\); ? And in HTML (other.html) file I write: script language=JavaScript src=script.php/script

[PHP] PHP session / JavaScript conflict

2002-04-23 Thread Larry Linthicum
I am finding that the simple ? session_start(); ? is causing pages with JavaScript menus to load with 'error on page and the JavaScript to not work the session without the JavaScript seems fine, as does the JavaScript without the session ( I can do other things in PHP without conflict)

[PHP] php and javascript problem

2002-04-08 Thread bob
i use php to produce a javascript code,which enable the password and level change as the username changes.it did. but now i cannot select level. what's wrong?how can i select level? thanks in advance. html head titlesuper/title meta http-equiv=Content-Type content=text/html; charset=gb2312

[PHP] php and javascript

2002-03-25 Thread Scott
I have some image urls that I have stored in a mysql database. I want to be able to display the images in a popup window using javascript. But I haven't been able to figure out how to get the get the info to mysql so that the image loads when the popup window appears. Below is an example of

Re: [PHP] php and javascript

2002-03-25 Thread Dennis Moore
25, 2002 6:13 PM Subject: [PHP] php and javascript I have some image urls that I have stored in a mysql database. I want to be able to display the images in a popup window using javascript. But I haven't been able to figure out how to get the get the info to mysql so that the image loads

[PHP] php and javascript

2001-07-27 Thread Karl Phillipson
Does anyone know how to pass php variables to a javascript for processing. I have a DHTML menu system that requires variables be attached to the url contained within it. Using echo does not print the variable to the url. Is there another way? Thx in advance. Karl

Re: [PHP] php and javascript

2001-07-27 Thread Vitali Falileev
Hello Karl, Publish your code, plz. We are not wizards. :) 27 July, 2001, 14:08:05, you wrote: KP Does anyone know how to pass php variables to a javascript for processing. KP I have a DHTML menu system that requires variables be attached to the url KP contained within it. Using echo does

Re: [PHP] php and javascript

2001-07-27 Thread Daniel Rezny
Hello Karl, Friday, July 27, 2001, 1:08:05 PM, you wrote: KP Does anyone know how to pass php variables to a javascript for processing. KP I have a DHTML menu system that requires variables be attached to the url KP contained within it. Using echo does not print the variable to the url. KP

Re: [PHP] php and javascript

2001-07-27 Thread Sheridan Saint-Michel
=Javascript var foo = ?php echo $foo; ?; document.writeln(foo); /Script /Body /HTML If you need something more specific post some code. Sheridan Saint-Michel Website Administrator FoxJet, an ITW Company www.foxjet.com - Original Message - From: Karl Phillipson [EMAIL PROTECTED] To: [EMAIL

Re: [PHP] php and javascript

2001-03-02 Thread Christian Reiniger
On Friday 02 March 2001 06:21, you wrote: Hello, Are there any good examples of producing embedded javascript code in a php file? ?php somecode ? script language='javascript' sglfjh s /script ?php more code ? -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) The use

RE: [PHP] php and javascript

2001-03-02 Thread John Ashton
Well not sure what ya need an example of :) php is php and javascript is javascript. What excatly do you need help wiht ? -Original Message- From: Christian Reiniger [mailto:[EMAIL PROTECTED]] Sent: March 2, 2001 5:34 AM To: Php-General@Lists. Php. Net Subject: Re: [PHP] php

[PHP] php and javascript

2001-03-01 Thread Dan Harrington
Hello, Are there any good examples of producing embedded javascript code in a php file? I am having a weird problem with some javascript that simply will not execute, even though I've properly used slashes to prefix quote marks etc. I don't get javascript errors, it simply doesn't run like

[PHP] php and javascript

2001-02-20 Thread Carl Natale
nt $summary; ? If I take JavaScript out of the submit coding, the browser window moves to hint.php and prints the $summary variable. I'm much more comfortable with PHP than JavaScript. How can I deliver the text in $summary to a second, smaller window? Thank you. -- PHP General Mailing List

Re: [PHP] php and javascript

2001-02-20 Thread Simon Garner
t;Here's the hint:BR"; file://BUT NOT THIS ONE print $summary; ? If I take JavaScript out of the submit coding, the browser window moves to hint.php and prints the $summary variable. I'm much more comfortable with PHP than JavaScript. How can I deliver the text in $summary to a second, small

  1   2   >