php-windows Digest 13 Jun 2002 08:31:36 -0000 Issue 1189
Topics (messages 14197 through 14199):
Re: javascript in php
14197 by: Dash McElroy
14198 by: Tomator
Re: PHP 4.2.1. on PWS...
14199 by: César Monroy
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Sounds like you may have missed a \ on a quote or something. Can you supply
the code?
-Dash
-----Original Message-----
From: prachi shroff [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 12, 2002 12:39 PM
To: php php
Subject: [PHP-WIN] javascript in php
Hi!
I have this HTML form and its validation done in javascript. All this HTML
and Javascript inside echo""; in a PHP code. The Form loads fine and the
validation also works fine when the HTML and javascript are used
independently as an HTML page. But when put in PHP, the form is ok, but the
validation simply does not work....it is totally ignored.
Does someone know why this would happen?
thanks,
Prachi.
---------------------------------
Do You Yahoo!?
Sign-up for Video Highlights of 2002 FIFA World Cup
--- End Message ---
--- Begin Message ---
> I have this HTML form and its validation done in javascript. All this HTML
and Javascript inside echo""; in a PHP code. The Form loads fine and the
validation also works fine when the HTML and javascript are used
independently as an HTML page. But when put in PHP, the form is ok, but the
validation simply does not work....it is totally ignored.
It could be problem with backcslashes before double quotes or other
interferences between echo "" and content of string in quotes. There's no
need to place JScript into echo"" - It's easier to read and maintenance
JavaScript code when it is used independently.
--- End Message ---
--- Begin Message ---
Lucky you... I've still try to figure out how to make it work... After
several tries, following step by step instructions my PWS still can't pase
PHP scripts.
Can anyone give a hand?
"Max Sullivan" <[EMAIL PROTECTED]> escribió en el mensaje
004d01c20bf6$bf074420$1f281142@WILLY">news:004d01c20bf6$bf074420$1f281142@WILLY...
> Hi,
>
> You need to set cgi.force_redirect = 0 in your php.ini file.
>
> -----Original Message-----
> From: Mircea Goia [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 04, 2002 7:37 AM
> To: [EMAIL PROTECTED]
> Subject: PHP 4.2.1. on PWS...
>
>
> Hi,
>
> I've installed PHP 4.2.1 (Windows installer) on Windows 98 which uses
> Personal Web Server 4.
>
> And when I'm trying to access a .php page I get this:
> ~~~~~~~
> Security Alert! The PHP CGI cannot be accessed directly.
> This PHP CGI binary was compiled with force-cgi-redirect enabled. This
> means that a page will only be served up if the REDIRECT_STATUS CGI
> variable is set, e.g. via an Apache Action directive.
>
> For more information as to why this behaviour exists, see the manual
> page for CGI security.
>
> For more information about changing this behaviour or re-enabling this
> webserver, consult the installation file that came with this
> distribution, or visit the manual page. ~~~~~~~~
>
> What this means? I visited those two links but I didn't understand
> too much (my background is ASP/SQL server)
>
> When I used PHP 4.1.1. (also Windows installer) on the same
> configuration all worked well.
>
> What should I do for PHP 4.2.1.to work?
>
> Thanks,
> Mircea
>
> --
> Mircea Goia
> Web Developer and web design team coordinator http://www.deep.ro (DEEP
> Foundation) http://www.jiuvalley.com (Jiu Valley regional web portal)
> ----------------
> Mircea Goia
> Dezvoltator web si coordonator echipa web design http://www.deep.ro
> (Fundatia DEEP) http://www.valeajiului.ro (portalul regional al Vaii
> Jiului)
>
>
>
>
--- End Message ---