Please re-send the link for your code.
Norah Jones nh.jone...@gmail.com hat am 20. März 2013 um 15:19 geschrieben:
I've been working on a PHP/Javascript Cookie Notify (Including multiple
language support). Now I have one small problem, when session_start() is not
at the top, the cookie
On Thursday, April 28, 2011, tedd wrote:
To answer your question in a new thread.
No, the $_SERVER super-global isn't going to give you anything nor is
anything else like it.
You see, PHP has a difficult time detecting IF Javascript is turned
ON in the client's browser because PHP is
tedd wrote:
As Yogi Berra once said; It's always hard to predict things
especially when it deals with the future.
He was quoting Niels Bohr:
http://www.quotationspage.com/quote/26159.html
--
Per Jessen, Zürich (10.2°C)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
At 9:02 AM +0100 4/28/11, Geoff Lane wrote:
FWIW, it's possible to detect whether or not Javascript is available,
but not AFAICT at 'first contact' because you need the 'first contact'
page to do something to prove that JS is available, from which you can
assume that JS is not should that
On Thu, 2011-04-28 at 10:17 -0400, tedd wrote:
At 9:02 AM +0100 4/28/11, Geoff Lane wrote:
FWIW, it's possible to detect whether or not Javascript is available,
but not AFAICT at 'first contact' because you need the 'first contact'
page to do something to prove that JS is available, from
On Thursday, April 28, 2011, Ashley Sheridan wrote:
I'm not sure if my earlier reply got through, but here it is again (or
at least the general gist of it)
Many thanks. I got your info the first time around but didn't respond
directly to you as Tedd made similar comments and I'd responded to
Stuart Dallas wrote:
On Monday, 18 April 2011 at 20:50, tedd wrote:
The form as-is produced a javascript alert() and now it doesn't.
This is not a browser change because it's happening before the browser sees the
response (try it with curl).
It is the browser, chrome will prevent execution
On Mon, Apr 25, 2011 at 19:12, Nathan Rixham nrix...@gmail.com wrote:
It is the browser, chrome will prevent execution because the code was sent
in the request, just check the javascript console and you'll see something
like:
Refused to execute a JavaScript script. Source code of script
At 7:45 PM -0400 4/25/11, Daniel Brown wrote:
On Mon, Apr 25, 2011 at 19:12, Nathan Rixham nrix...@gmail.com wrote:
It is the browser, chrome will prevent execution because the code was sent
in the request, just check the javascript console and you'll see something
like:
Refused to
On Monday, April 18, 2011 at 1:06 PM, tedd wrote:
Hi gang:
Quite some time ago I had a demo that showed Javascript injection. It
was where a user could type in:
script alert(Evil Code);/script
and a JavaScript alert would be shown.
But now my demo no longer works. So, what happened?
Javascript:alert(Hello World);
The browsers have had many updates since last I seen this work.
PHP Server side.
JavaScript Client/Browser Side.
Richard L. Buskirk
You can't grow your business with systems that are on life support...
-Original Message-
From: tedd
Is someone up to Cross Site Scripting? ;)
--Shreyas
On Mon, Apr 18, 2011 at 10:39 PM, Joshua Kehn josh.k...@gmail.com wrote:
On Monday, April 18, 2011 at 1:06 PM, tedd wrote:
Hi gang:
Quite some time ago I had a demo that showed Javascript injection. It
was where a user could type in:
On Mon, 2011-04-18 at 22:43 +0530, Shreyas Agasthya wrote:
Is someone up to Cross Site Scripting? ;)
--Shreyas
On Mon, Apr 18, 2011 at 10:39 PM, Joshua Kehn josh.k...@gmail.com wrote:
On Monday, April 18, 2011 at 1:06 PM, tedd wrote:
Hi gang:
Quite some time ago I had a demo
ad...@buskirkgraphics.com wrote in message
news:005501cbfdeb$457839c0$d068ad40$@com...
Javascript:alert(Hello World);
The browsers have had many updates since last I seen this work.
?? You're saying that alert doesn't work on your browse? Gee - it works
on mine.
--
PHP General Mailing
...@albanyhandball.com]
Sent: Monday, April 18, 2011 2:03 PM
To: php-general@lists.php.net
Subject: Re: [PHP] JavaScript Injection ???
ad...@buskirkgraphics.com wrote in message
news:005501cbfdeb$457839c0$d068ad40$@com...
Javascript:alert(Hello World);
The browsers have had many updates since last I seen
...
-Original Message-
From: Jim Giner [mailto:jim.gi...@albanyhandball.com]
Sent: Monday, April 18, 2011 2:03 PM
To: php-general@lists.php.net
Subject: Re: [PHP] JavaScript Injection ???
ad...@buskirkgraphics.com wrote in message
news:005501cbfdeb$457839c0$d068ad40$@com
At 1:09 PM -0400 4/18/11, Joshua Kehn wrote:
On Monday, April 18, 2011 at 1:06 PM, tedd wrote:
Hi gang:
Quite some time ago I had a demo that showed Javascript injection. It
was where a user could type in:
script alert(Evil Code);/script
and a JavaScript alert would be shown.
But now my
On Mon, Apr 18, 2011 at 14:42, tedd t...@sperling.com wrote:
No, I had a simple form where IF the user entered:
script alert(Evil Code);/script
-- into the form's text field (i.e., $_POST['text'] ) AND clicked Submit,
the form would
echo( $_POST['text'] );
-- and that would produce a
On Mon, 2011-04-18 at 14:42 -0400, tedd wrote:
At 1:09 PM -0400 4/18/11, Joshua Kehn wrote:
On Monday, April 18, 2011 at 1:06 PM, tedd wrote:
Hi gang:
Quite some time ago I had a demo that showed Javascript injection. It
was where a user could type in:
script alert(Evil Code);/script
At 2:46 PM -0400 4/18/11, Daniel Brown wrote:
On Mon, Apr 18, 2011 at 14:42, tedd t...@sperling.com wrote:
No, I had a simple form where IF the user entered:
script alert(Evil Code);/script
-- into the form's text field (i.e., $_POST['text'] ) AND clicked Submit,
the form would
echo(
On Monday, 18 April 2011 at 20:50, tedd wrote:
Daniel et al:
Sorry -- I'm not making myself clear.
The form as-is produced a javascript alert() and now it doesn't.
It doesn't make any difference if I use stripslashes() or not, it
still will NOT produce a javascript alert as it used to
On Mon, Apr 18, 2011 at 15:50, tedd t...@sperling.com wrote:
It doesn't make any difference if I use stripslashes() or not, it still will
NOT produce a javascript alert as it used to do.
Interestingly enough, I copied your index.php file to index2.php
on the server and modified it to use
At 4:44 PM -0400 4/18/11, Daniel Brown wrote:
On Mon, Apr 18, 2011 at 15:50, tedd t...@sperling.com wrote:
It doesn't make any difference if I use stripslashes() or not, it still will
NOT produce a javascript alert as it used to do.
Interestingly enough, I copied your index.php file to
On Mon, 2009-03-02 at 16:11 -0600, Boyd, Todd M. wrote:
Before some of you newbies feel like being heroes and jump all over me:
I KNOW THIS IS A PHP-RELATED LIST. IF YOU DON'T LIKE MY QUESTION, DON'T
ANSWER IT.
Now that that's out of the way... I have a Javascript question (and
maybe a
-Original Message-
From: Robert Cummings [mailto:rob...@interjinn.com]
Sent: Monday, March 02, 2009 4:18 PM
To: Boyd, Todd M.
Cc: PHP General list
Subject: Re: [PHP] Javascript question
On Mon, 2009-03-02 at 16:11 -0600, Boyd, Todd M. wrote:
Before some of you newbies feel like
-Original Message-
From: Michael A. Peters [mailto:mpet...@mac.com]
Sent: Monday, March 02, 2009 4:42 PM
To: Boyd, Todd M.
Cc: PHP General list
Subject: Re: [PHP] Javascript question
Boyd, Todd M. wrote:
Before some of you newbies feel like being heroes and jump all over
me
Boyd, Todd M. wrote:
Before some of you newbies feel like being heroes and jump all over me:
I KNOW THIS IS A PHP-RELATED LIST. IF YOU DON'T LIKE MY QUESTION, DON'T
ANSWER IT.
Now that that's out of the way... I have a Javascript question (and
maybe a Browser/DOM question) for you folks. I'm
Richard Heyes wrote:
Can anyone recommend a good Javascript related mailing list?
http://lists.evolt.org/mailman/listinfo/javascript perhaps.
--
Benjamin Hawkes-Lewis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
look at jquery - it will make working with javascript so much easier
and has it's own community around it too.
On 8/30/08, Richard Heyes [EMAIL PROTECTED] wrote:
Hi,
Can anyone recommend a good Javascript related mailing list?
Thanks.
--
Richard Heyes
HTML5 Graphing:
May be jsninja has mailing list.
I am fond of jquery. so i recommend it too.
--
Blog: http://talk.cmyweb.net/
Follow me: http://twitter.com/shiplu
[EMAIL PROTECTED] wrote:
my page include some javascript to control the play,rewind..and other
functions of the swffile showEdit.swf, it works in Safari/IE with
flash-plugin 8/9 installed but not works in Firefox with flash plugin
9(would reports obj.play() is not a function, is
On 14 May 2008 21:21, tedd advised:
At 7:31 PM +0100 5/14/08, Mário Gamito wrote:
Hi,
I have this HTML/JS page that switches images
clicking on the radio buttons and call
template.php with the image ID as parameter:
http://portulan-online.net/einstein.html
Now, I need to make it a PHP
-Original Message-
8 snip!
That's incorrect. A form will function perfectly well with only name=
attributes, and no ids, and it's quite possible for JavaScript to
address the form elements using only the names (in fact, it's easier
than via the ids as there's a short syntax for
On 16 May 2008 16:12, Boyd, Todd M. advised:
-Original Message-
8 snip!
That's incorrect. A form will function perfectly well with only
name=
attributes, and no ids, and it's quite possible for JavaScript to
address the form elements using only the names (in fact, it's easier
At 4:01 PM +0100 5/16/08, Ford, Mike wrote:
On 14 May 2008 21:21, tedd advised:
At 7:31 PM +0100 5/14/08, Mário Gamito wrote:
Hi,
I have this HTML/JS page that switches images
clicking on the radio buttons and call
template.php with the image ID as parameter:
On Wed, May 14, 2008 at 2:31 PM, Mário Gamito [EMAIL PROTECTED] wrote:
Hi,
I have this HTML/JS page that switches images clicking on the radio buttons
and call template.php with the image ID as parameter:
http://portulan-online.net/einstein.html
Now, I need to make it a PHP page, because
At 7:31 PM +0100 5/14/08, Mário Gamito wrote:
Hi,
I have this HTML/JS page that switches images
clicking on the radio buttons and call
template.php with the image ID as parameter:
http://portulan-online.net/einstein.html
Now, I need to make it a PHP page, because it is
going to receive a
On 8/12/07, tedd [EMAIL PROTECTED] wrote:
For example, if your wife says (and you're not listening as usual)
Do these pants make my butt look big? Neither answer is going to
help much. But, if said separately, you at least have a chance of
surviving the ordeal.
And I'll also point out
tedd wrote:
At 9:29 PM +0200 8/7/07, Tijnema wrote:
On 8/7/07, Robert Cummings [EMAIL PROTECTED] wrote:
Yeah!! This list is for public apologies and Copyright discussion.
Cheers,
Rob.
--
Oh yeah, Tedd is only the first of thousands of people that need to
apologize... :P
Tijnema
At 1:26 PM -0400 8/11/07, Robert Cummings wrote:
On Sat, 2007-08-11 at 12:15 -0400, tedd wrote:
Always (fishing for another apology opportunity) place javascript in
external files and call them in via the header. Keep the code
unobtrusive. There are ways to use javascript without having to
At 10:21 PM +0930 8/12/07, David Robley wrote:
tedd wrote:
At this rate, by the time I reach the end of my life, I'll know only
two sentences, namely I'm sorry and Yes, Dear.
Seems to me you could rather easily condense that to just one sentence with
the same degree of functionality. :-)
On Sun, 2007-08-12 at 21:27 -0400, tedd wrote:
At 1:26 PM -0400 8/11/07, Robert Cummings wrote:
On Sat, 2007-08-11 at 12:15 -0400, tedd wrote:
Always (fishing for another apology opportunity) place javascript in
external files and call them in via the header. Keep the code
unobtrusive.
At 9:29 PM +0200 8/7/07, Tijnema wrote:
On 8/7/07, Robert Cummings [EMAIL PROTECTED] wrote:
Yeah!! This list is for public apologies and Copyright discussion.
Cheers,
Rob.
--
Oh yeah, Tedd is only the first of thousands of people that need to
apologize... :P
Tijnema
Ah crap, have I
On Sat, 2007-08-11 at 12:15 -0400, tedd wrote:
At 9:29 PM +0200 8/7/07, Tijnema wrote:
On 8/7/07, Robert Cummings [EMAIL PROTECTED] wrote:
Yeah!! This list is for public apologies and Copyright discussion.
Cheers,
Rob.
--
Oh yeah, Tedd is only the first of thousands of people
On 8/7/07, C.R.Vegelin [EMAIL PROTECTED] wrote:
Are there any rules when to include javascript in head or in body ?
For example,
script type=text/javascript
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
On 8/7/07, C.R.Vegelin [EMAIL PROTECTED] wrote:
Are there any rules when to include javascript in head or in body ?
For example,
script type=text/javascript
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
On Tue, 2007-08-07 at 21:24 +0200, Tijnema wrote:
On 8/7/07, C.R.Vegelin [EMAIL PROTECTED] wrote:
Are there any rules when to include javascript in head or in body ?
For example,
script type=text/javascript
function reload(form)
{ var
On 8/7/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Tue, 2007-08-07 at 21:24 +0200, Tijnema wrote:
On 8/7/07, C.R.Vegelin [EMAIL PROTECTED] wrote:
Are there any rules when to include javascript in head or in body ?
For example,
script type=text/javascript
function reload(form)
C.R.Vegelin wrote:
Are there any rules when to include javascript in head or in body ?
For example,
script type=text/javascript
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
self.location='QueryForm.php?Chapter=' + val ;
}
/script
C.R.Vegelin wrote:
Are there any rules when to include javascript in head or in body ?
For example,
script type=text/javascript
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
self.location='QueryForm.php?Chapter=' + val ;
}
/script
On 8/7/07, Tijnema [EMAIL PROTECTED] wrote:
Uhh, do you know which list this is?
I give up.. Is it the one where I get as many [OT] labeled emails as
I do on-topic ones?
People have been asking basic html questions here for (over?) a
decade, and it probably won't stop anytime soon. Newcomers
On Aug 7, 2007, at 3:29 PM, Tijnema wrote:
On 8/7/07, Robert Cummings [EMAIL PROTECTED] wrote:
On Tue, 2007-08-07 at 21:24 +0200, Tijnema wrote:
On 8/7/07, C.R.Vegelin [EMAIL PROTECTED] wrote:
Are there any rules when to include javascript in head or in
body ?
For example,
script
On Tue, 2007-08-07 at 21:19 +0100, C.R.Vegelin wrote:
Are there any rules when to include javascript in head or in body ?
For example,
script type=text/javascript
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
Check:
http://developer.yahoo.com/performance/rules.html
Satyam
PS: The answer is, put styles at the top, scripts at the bottom., but there
are many other tricks to improve performance. Otherwise, as for the
standards, they can go anywhere.
- Original Message -
From:
On 8/7/07, Richard Heyes [EMAIL PROTECTED] wrote:
C.R.Vegelin wrote:
Are there any rules when to include javascript in head or in body ?
For example,
script type=text/javascript
function reload(form)
{ var val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
On 8/7/07, Greg Donald [EMAIL PROTECTED] wrote:
On 8/7/07, Tijnema [EMAIL PROTECTED] wrote:
Uhh, do you know which list this is?
I give up.. Is it the one where I get as many [OT] labeled emails as
I do on-topic ones?
People have been asking basic html questions here for (over?) a
Ok, you got the obligatory 'wrong list' comments. It is the wrong list, but
for the sake of public completeness... how about an answer to the question.
You can put it anywhere but a couple of considerations:
1. I believe if you put it AFTER where the JS functions defined in that block
are
On 8/7/07, Jason Pruim [EMAIL PROTECTED] wrote:
Later this week on Php-General, witness the revolutionary
confessions of a PHP Programmer stuck in the middle of a lovers
triangle of OOP, and Procedural
That's a re-run. Python wins with Ruby coming in second place. PHP
gets renamed to Java,
On Tue, 2007-08-07 at 15:50 -0400, [EMAIL PROTECTED] wrote:
3. If you're executing JS in order to output something, you're going
to need to put it whereever in your HTML you'll need the output. If
you're just defining functions to be called later, then you can put
it whereever (probably
On Tue, 2007-08-07 at 14:58 -0500, Greg Donald wrote:
On 8/7/07, Jason Pruim [EMAIL PROTECTED] wrote:
Later this week on Php-General, witness the revolutionary
confessions of a PHP Programmer stuck in the middle of a lovers
triangle of OOP, and Procedural
That's a re-run. Python wins
On 8/7/07, Robert Cummings [EMAIL PROTECTED] wrote:
Yeah, the numbers really show Python and Ruby winning... NOT *LOL*.
You mean how both Ruby and Python list serv traffic is way up while
PHP's is way down? Even the PHP dev list is really slowed the past
year or so.. just some guy named Richard
Yes. Just yes.
regards,
boro
Greg Donald schreef:
On 8/7/07, Robert Cummings [EMAIL PROTECTED] wrote:
Yeah, the numbers really show Python and Ruby winning... NOT *LOL*.
You mean how both Ruby and Python list serv traffic is way up while
PHP's is way down? Even the PHP dev list is
On Tue, 2007-08-07 at 15:52 -0500, Greg Donald wrote:
On 8/7/07, Robert Cummings [EMAIL PROTECTED] wrote:
Yeah, the numbers really show Python and Ruby winning... NOT *LOL*.
You mean how both Ruby and Python list serv traffic is way up while
PHP's is way down?
Way up and way down are
Richard Davey wrote:
Tuesday, August 7, 2007, 9:52:28 PM, you wrote:
PHP is the absolute worst language to do any sort of OO programming
in.
Ignoring the digg user mentality of that statement, try ASP if you
want to see OO suck *royally*
ASP is not a language, it's most like a framework. I
On Tue, August 7, 2007 3:19 pm, C.R.Vegelin wrote:
Are there any rules when to include javascript in head or in body
?
For example,
script type=text/javascript
function reload(form)
{ var
val=form.Chapter.options[form.Chapter.options.selectedIndex].value;
On Tue, August 7, 2007 2:48 pm, Tijnema wrote:
On 8/7/07, Greg Donald [EMAIL PROTECTED] wrote:
On 8/7/07, Tijnema [EMAIL PROTECTED] wrote:
Uhh, do you know which list this is?
I give up.. Is it the one where I get as many [OT] labeled emails
as
I do on-topic ones?
People have been
What you *COULD* do is this:
Use .htaccess to force your .css files to *really* be PHP files:
Files ~.css
ForceType application/x-httpd-php
/Files
[NOTE: Depending on your server configuration, the
application/x-httpd-php part could be *ANYTHING* the sysadmin felt was
appropriate...]
Inside
2007. 03. 8, csütörtök keltezéssel 09.14-kor Alain Roger ezt írta:
Hi,
I would like to know if there is a way how PHP code can extract from
ElementID some property values.
for example, i have the following PHP page :
?php
print div class='maindiv' id='id_maindiv'my main div/div;
Okay, I edited my page per some suggestions here. Below is what I now have:
script language=JavaScript
function checkForm() {
// ** START **
if (inputForm.cc_phone_number.value == ) {
alert( Please enter a phone number. );
inputForm.cc_phone_number.focus();
return;
}
**Lots of
On cs, 2007-02-08 at 08:14 -0500, Dan Shirah wrote:
Okay, I edited my page per some suggestions here. Below is what I now have:
script language=JavaScript
function checkForm() {
// ** START **
if (inputForm.cc_phone_number.value == ) {
alert( Please enter a phone number. );
On cs, 2007-02-08 at 08:41 -0500, Dan Shirah wrote:
I should not need an actual Button if my link to checkForm() ends with
document.inputForm.submit(); which tells the form to submit, right?
well, you should be right...
but I remember a year ago or so I had a similar problem and the image
input
On cs, 2007-02-08 at 08:56 -0500, Dan Shirah wrote:
Okay, I'll try your spacer solution. Where do you think I should add
it?
I put it right before the /form tag, but I think you could put it
anywhere between the form and the /form
greets
Zoltán Németh
On 2/8/07, Németh Zoltán [EMAIL
Nope, same result unfortunately.
On 2/8/07, Németh Zoltán [EMAIL PROTECTED] wrote:
On cs, 2007-02-08 at 08:56 -0500, Dan Shirah wrote:
Okay, I'll try your spacer solution. Where do you think I should add
it?
I put it right before the /form tag, but I think you could put it
anywhere
There is nothing wrong with the way you want to submit this form.
Although it's JS :) The sample code you posted was broken in some ways...
missing document. in JS en missing input field to check.
This sample works fine ...
test.html
script language=JavaScript
function checkForm() {
if
On cs, 2007-02-08 at 09:09 -0500, Dan Shirah wrote:
Nope, same result unfortunately.
well, sorry, then my memories were incorrect
maybe I should run a memtest86 on myself ;)
greets
Zoltán Németh
On 2/8/07, Németh Zoltán [EMAIL PROTECTED] wrote:
On cs, 2007-02-08 at 08:56
I'm no JavaScript expert, but I could maybe suggest an alternate method:
use document.getElementById() or document.getElementsByName()
AFAIK, the direct document.xyz doesn't work exactly the same way accross
browsers (if at all).
e.g. (WARNING! TOTALLY UNTESTED CODE!)
function
Jon,
Tried your method and still got:
*Error: Object doesn't support this property or method.
Code: 0*
On 2/8/07, Jon Anderson [EMAIL PROTECTED] wrote:
I'm no JavaScript expert, but I could maybe suggest an alternate method:
use document.getElementById() or document.getElementsByName()
Don't see how this can pass the check without document.
if (inputForm.cc_phone_number.value == ) {
alert( Please enter a phone number. );
inputForm.cc_phone_number.focus();
return;
}
Comming to this check already gives an error.
Maybe ask on some Javascript list.
P.s. reply to the
Dan Shirah wrote:
Jon,
Tried your method and still got:
*Error: Object doesn't support this property or method.
Code: 0*
*I don't know what browser/platform you're using, but the following
works for me on IE7/Windows, FF2/Linux, Opera9/Linux.
jon
html
head
script language=JavaScript
Jon Anderson wrote:
...
item.focus();
}
** alert(onError);
**return(false);*
*}
...
Sorry about the *s everywhere (there aren't supposed to be any). I
pasted the code in, and Thunderbird thought it was supposed to be bold
for some reason, then converted the bold text to text with *s
You guys are going to kill me! I found my problemand it's one of those
What the hell were you thinking issues.
Within my form was a button but I stupidly made it a submit when I created
it and therefore the javascript check for submit was finding my button first
and dumping the error.
So,
On Thu, 2007-02-08 at 10:21 -0500, Dan Shirah wrote:
You guys are going to kill me! I found my problemand it's one of those
What the hell were you thinking issues.
Nah, probably lots of us have been bitten by that. I know I have been in
the past, so now I always name my submit buttons
-Original Message-
From: Dan Shirah [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 07, 2007 4:35 PM
To: php-general
Subject: [PHP] Javascript and $_POST
I have a form that uses Javascript to validate form field entries, and if
they are incorrect it returns an error to the
Dan Shirah wrote:
And this is my Save option at the bottom of my page
form name=Submit action=save.php method=post
enctype=multipart/form-data
table align=center border=0 cellpadding=0 cellspacing=0
width=680
tr
td width=64 align=lefta href=javascript:checkForm()
title=SaveSave/a/td
/tr
/table
At 2/7/2007 01:34 PM, Dan Shirah wrote:
I have a form that uses Javascript to validate form field entries, and if
they are incorrect it returns an error to the user.
After the Javascript processing is complete, it submits the form to my save
page. However it seems that once the processing is
At 9:32 PM -0800 1/11/07, Jürgen Wind wrote:
tedd wrote:
index.php, jstest110.php) , make it one.
ok
---8---
It would be cool if I could send js value via a
POST instead of GET-- can that be done?
have a look http://149.222.235.16/jstest/70112/index.php ( POST version )
tedd
PS: I read
That book is so cool! =P
Anyways, it said that browsers with Javascript, but not a recent
enough Javascript would not display the Noscript.
On 1/13/07, tedd [EMAIL PROTECTED] wrote:
At 9:32 PM -0800 1/11/07, Jürgen Wind wrote:
tedd wrote:
index.php, jstest110.php) , make it one.
ok
---8---
It
Ruben Rubio Rey wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A good way to detect if javascript exists is (cross-browser,
cross-platform):
You try to load javascript_exists.htm.
-
javascript_exists.htm:
Ruben Rubio Rey wrote:
A good way to detect if javascript exists is (cross-browser,
cross-platform):
You try to load javascript_exists.htm.
-
javascript_exists.htm:
noscript
meta http-equiv=refresh content=0;
tedd wrote:
index.php, jstest110.php) , make it one.
ok
---8---
It would be cool if I could send js value via a
POST instead of GET-- can that be done?
have a look http://149.222.235.16/jstest/70112/index.php ( POST version )
tedd
PS: I read somewhere that using noscript is not recommended.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
A good way to detect if javascript exists is (cross-browser,
cross-platform):
You try to load javascript_exists.htm.
-
javascript_exists.htm:
noscript
meta http-equiv=refresh content=0;
Curt Zirzow-2 wrote:
On 1/1/07, Jürgen Wind [EMAIL PROTECTED] wrote:
well,
no cute css, but (hopefully) working - here is my quick dirty version :
http://149.222.235.16/public/
I dont understand the point.
Curt,
sorry, i should have posted the original code (it's merely
At 4:54 AM -0800 1/10/07, Jürgen Wind wrote:
8 [source of index]
noscript
meta http-equiv='refresh' content='0;url=jstest110.php?js=no'
?php /*** or put here your complete page for browsers with js disabled
***/ ?
/noscript
Nice -- now instead of two different pages (i.e.,
index.php, jstest110.php) , make it one.
no, it was just a proof of concept
It would be cool if I could send js value via a
POST instead of GET-- can that be done?
should be possible with some onload/xhtmlrequest
tedd
PS: I read somewhere that using noscript is not recommended.
hmm, any links
At 9:55 PM +0100 1/2/07, Satyam wrote:
- Original Message - From: Robert Cummings [EMAIL PROTECTED]
To: Jürgen Wind [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Tuesday, January 02, 2007 8:57 PM
Subject: Re: [PHP] Javascript detection , working version
On Tue, 2007-01-02 at 11
/07, Satyam wrote:
- Original Message - From: Robert Cummings
[EMAIL PROTECTED]
To: Jürgen Wind [EMAIL PROTECTED]
Cc: php-general@lists.php.net
Sent: Tuesday, January 02, 2007 8:57 PM
Subject: Re: [PHP] Javascript detection , working version
On Tue, 2007-01-02 at 11:32 -0800, Jürgen Wind
On 1/1/07, Jürgen Wind [EMAIL PROTECTED] wrote:
well,
no cute css, but (hopefully) working - here is my quick dirty version :
http://149.222.235.16/public/
I dont understand the point.
Curt,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
tedd, plz no personal mail, i like better to discuss things in the forum and
thus hear other meanings and experiences.
Your solution was very simple and worked very well.
tx, i always try to keep things logical and as simple as possible ;)
this is just a quick example to show how to bring info
On Tue, 2007-01-02 at 10:06 -0800, Jürgen Wind wrote:
tedd, plz no personal mail, i like better to discuss things in the forum and
thus hear other meanings and experiences.
Your solution was very simple and worked very well.
tx, i always try to keep things logical and as simple as possible ;)
Robert Cummings wrote:
Out of curiosity, can you guarantee the Javascript redirect will always
occur before the meta redirect when Javascript is enabled? Otherwise you
have a race condition.
Cheers,
Rob.
i have no idea, it is just a quickdirty hack, i'm no js expert ;)
the js part
1 - 100 of 338 matches
Mail list logo