Ryan A wrote:
1) Is it possible to detect JavaScript via php... and yes I do know that JS
is client side while PHP is server...but how else to do it?
The reason I ask is before serving an AJAX page I would like to make sure JS
is enabled, if not, serve the other normal page... I am sure I am not
Hello,
We're having some trouble with upgrading our webserver from apache 2.0 to
apache 2.2. Everything is working fine except one thing:
We have created one alias (outside the web root folder). On this folder
nobody from the internet should have access to it. Only the webserver should
have
On 4/15/06, Dennis Neetix [EMAIL PROTECTED] wrote:
Hello,
We're having some trouble with upgrading our webserver from apache 2.0 to
apache 2.2. Everything is working fine except one thing:
Ask the apache mailing list: http://httpd.apache.org/lists.html
They will be able to give you a much
On 4/14/06, Bing Du [EMAIL PROTECTED] wrote:
While all the data-munging in PHP is very interesting...
Might I suggest that you just use MySQL's date_format() function to
ask MySQL to give you the data you want in the first place?
Some purists would claim that the database is not the
Hi,
Sorry to look like stupid for some of you, but i'm still not able to link to
link (a /a) or to a button via onclick event) the refresh of my page.
i've check META tag and also $PHP_SELF variable, but it does not work.
here is what i would like to do.
i have 1 PHP page on which i have 3
On 4/15/06, Alain Roger [EMAIL PROTECTED] wrote:
Hi,
Sorry to look like stupid for some of you, but i'm still not able to link to
link (a /a) or to a button via onclick event) the refresh of my page.
i've check META tag and also $PHP_SELF variable, but it does not work.
What happens when
but i do not want to add some variable at the end of link...
when user click on the flag, it should first store language into a $_SESSION
variable and after redirect/refresh page.
On 4/15/06, chris smith [EMAIL PROTECTED] wrote:
On 4/15/06, Alain Roger [EMAIL PROTECTED] wrote:
Hi,
Sorry
On 15 Apr 2006, at 12:51, Alain Roger wrote:
but i do not want to add some variable at the end of link...
when user click on the flag, it should first store language into a
$_SESSION
variable and after redirect/refresh page.
Not possible. Web pages don't work like that.
You need the flags
Or, use form and images as button and you will not get variables at the
end of the link:
form method=post action=?= $_SERVER['PHP_SELF'] ?
input type=images src=engFlag.jpg name=lang value=en
input type=images src=fraFlag.jpg name=lang value=fr
/form
and on the top of the page (php file)
Hey Stut,
Thanks for replying.
---
The way I do this is to serve the 'notmal page' first, but with the
following snippet of JS in it...
script language=javascript
!--
location.href = '/url/for/ajax/page.php';
--
/script--Makes sense and pretty easy,
At 1:40 PM +0200 4/15/06, Alain Roger wrote:
Hi,
Sorry to look like stupid for some of you, but i'm still not able to link to
link (a /a) or to a button via onclick event) the refresh of my page.
i've check META tag and also $PHP_SELF variable, but it does not work.
here is what i would like
(20060415) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Something to consider might be:
noscript
Sorry! This page requires Javascript to function properly! Please enable it
or get a decent browser
/noscript
!-- Normal page functions --
I haven't tested it so there is a chance it's fiction :)
Of course, if web standards aren't a concern it makes no
--
http://sperling.com
__ NOD32 1.1490 (20060415) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In your script, $js will be false false!
Chrome wrote:
How about
?php $js = true; ?
noscript
?php $js = false; ?
/noscript
?php
if ($js) {
// whizzy Ajax code (or file include)
} else {
// generic warning (or include non-JS base file)
}
?
I know that
Am 2006-04-03 11:58:39, schrieb Wolf:
I tend to stick /nav/header.php in for my includes, since I control
the server.
As long as the site translates root to the main directory of your
website and not somewhere else, you can always have your links be
/menu.php as server-speak / means rootme.
To bad that php within those tags is read regardless or we would have
an easy way to detect js.
tedd
__ NOD32 1.1490 (20060415) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net
js is client-side, php server side...
it can't work
fabien
Chrome wrote:
How about
?php $js = true; ?
noscript
?php $js = false; ?
/noscript
?php
if ($js) {
// whizzy Ajax code (or file include)
} else {
// generic warning (or include non-JS base
for js detection, you can use that in a previous page :
script type=text/javascript
document.write('a href=ajax-page.htmlpage/a');
/script
noscripta href=simple-page.htmlpage/a/noscript
it is simple, and work fine.
no need to have cookies enable
--
PHP General Mailing List
Hey,
Thanks for replying.
for js detection, you can use that in a previous page :
script type=text/javascript
document.write('a href=ajax-page.htmlpage/a');
/script
noscripta href=simple-page.htmlpage/a/noscript
it is simple, and work fine.
no need to have
Ryan A wrote:
Hi,
Like the subject says; I have two questions:
1) Is it possible to detect JavaScript via php... and yes I do know that JS
is client side while PHP is server...but how else to do it?
The reason I ask is before serving an AJAX page I would like to make sure JS
is enabled, if not,
Hi,
I am having problems with an include statement, i am using the following
statement in an effort to include a footer file on my page:
include(/cms/templates/footer.php);
However I get the following error:
Warning: main(/cms/templates/footer.php): failed to open stream: No such
file or
Hi,
I am having problems with an include statement, i am using the following
statement in an effort to include a footer file on my page:
include(/cms/templates/footer.php);
However I get the following error:
Warning: main(/cms/templates/footer.php): failed to open stream: No such
file or
__ NOD32 1.1490 (20060415) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shaun wrote:
Warning: main(/cms/templates/footer.php): failed to open stream: No such
file or directory in /home/m/y/mysite/public_html/cms/news/index.php on line
38
Most assuredly the file isn't there (do you have the include path set?)
or the permissions are not sufficient to open the
On 4/14/06, Ryan A [EMAIL PROTECTED] wrote:
The reason I ask is before serving an AJAX page I would like to make sure JS
is enabled, if not, serve the other normal page... I am sure I am not the
first person to come accross this little problem, how did you solve it?
Dan eluded to a big problem
Hello,
I am trying to connect to a webservice with a wsdl. After creating a
new SoapClient, I tried calling one of the methods. It returned this
exception.
Uncaught SoapFault exception: [SOAP-ENV:Server] SoapMapper:Converting
data for SoapMapper failed inside the typemapper
in
Mark Charette [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Shaun wrote:
Warning: main(/cms/templates/footer.php): failed to open stream: No such
file or directory in /home/m/y/mysite/public_html/cms/news/index.php on
line
38
Most assuredly the file isn't there (do you have
to be picking
it
up, has anyone else had this problem?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
__ NOD32 1.1490 (20060415) Information __
This message was checked by NOD32 antivirus system.
http://www.eset.com
Check the file's permissions with your ftp utility
Shaun wrote:
Hi,
I am having problems with an include statement, i am using the following
statement in an effort to include a footer file on my page:
include(/cms/templates/footer.php);
However I get the following error:
Warning:
Hi,
We have a dedicated UNIX server running FreeBSD, is it possible to set a
directory where we can place a set of common files that can be used by all
of our web sites?
Thanks for your advice
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
At 8:03 PM +0100 4/15/06, Shaun wrote:
Hi,
I am having problems with an include statement, i am using the following
statement in an effort to include a footer file on my page:
include(/cms/templates/footer.php);
However I get the following error:
Warning: main(/cms/templates/footer.php):
We have a dedicated UNIX server running FreeBSD, is it possible to set a
directory where we can place a set of common files that can be used by all
of our web sites?
Sure. Chuck them where-ever you want and then change your include path:
http://www.php.net/manual/en/ini.core.php
33 matches
Mail list logo