473,473 Members | 2,253 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Script running under Command Prompt or Browser or some otherapplication?

Hi!,

I just out of curiosity want to know how top detect the client side
application under which the script is getting run. I mean to ask the
how to know whether the script is running under Command Prompt or
Browser or some other application?

Ojas.
Nov 28 '07
51 4071
Greetings, Steve.
In reply to Your message dated Tuesday, December 11, 2007, 19:31:24,
>I don't know about you, but I'm here to help people with their problems.
I'm not here to RTFM to someone.
jerry, you've missed his point. it's not about *how* php is executed as cgi,
module, cli or any combination from the command-line or the web server. it's
completely about being *able* to use any combination of the
aforementioned...and being able to tell, as the script writer, what
environment the code is being run under.
Glad to see that someone knowing English better than me can understand what I
wrote.
Thank You, Steve. Your post was very informative... for me, at least.
/embarrassed
--
Sincerely Yours, AnrDaemon <an*******@freemail.ru>

Dec 12 '07 #51

"AnrDaemon" <an*******@freemail.ruwrote in message
news:14**********************@freemail.ru...
Greetings, Steve.
In reply to Your message dated Tuesday, December 11, 2007, 19:31:24,
>>I don't know about you, but I'm here to help people with their problems.
I'm not here to RTFM to someone.
>jerry, you've missed his point. it's not about *how* php is executed as
cgi,
module, cli or any combination from the command-line or the web server.
it's
completely about being *able* to use any combination of the
aforementioned...and being able to tell, as the script writer, what
environment the code is being run under.

Glad to see that someone knowing English better than me can understand
what I
wrote.
yeah, it's just too bad jerry, being a native english speaker, cannot
understand what someone else writes...in english. it's probably that he
reads what he wants, regardless of what you wrote.
Thank You, Steve. Your post was very informative... for me, at least.
cheers.
Dec 12 '07 #52

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: LayneMitch via WebmasterKB.com | last post by:
Hello. I posted this earlier with the full code of the JavaScript file I'm trying to open. I'm posting this again, because the file is not the problem. I seem to be having a 'windows' problem...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.