FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » How to Hide browser status bar Message from client
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
How to Hide browser status bar Message from client [message #170118] Mon, 11 October 2010 09:14 Go to next message
DG is currently offline  DG
Messages: 4
Registered: October 2010
Karma: 0
Junior Member
Hi,

I am using iframe with url of some other domain,the snippet is as
follows:

name of the page is : test.php
domain : www.domain.com
url : http://www.domain.com/test.php

Here test.php page contains the following code

<html>
<head>
</head>
<body>
<iframe src="http://www.testdomain.com/index.php" height="500px;"
width="900px;"></iframe>
</body>
</html>

when i call test.php from domain "www.domain.com" in the status bar i
found " waiting/tranfering from www.testdoamin.com...." message,please
guide me how can i hide this message from visitor,because we want our
client never know the files are executing from testdomain.com.So
please guide how can hide the message so that our client do not know
that they are using testdomain.com, i tried to hide status bar using
javascript and i failed,then i tried using url rewrite , i am unable
to hide or alias the existing url with some other url.Please guide me
how can i hide url OR alias the existing url with some other domain
name so that visitors can see some dummy alias url in status bar
whereas the site is executing from testdoamin.com..Please give
solution..i am in great need..Please help
Re: How to Hide browser status bar Message from client [message #170121 is a reply to message #170118] Mon, 11 October 2010 10:48 Go to previous messageGo to next message
Geoff Berrow is currently offline  Geoff Berrow
Messages: 16
Registered: September 2010
Karma: 0
Junior Member
On Mon, 11 Oct 2010 02:14:50 -0700 (PDT), DG <cool(dot)dipak83(at)gmail(dot)com>
wrote:

> <iframe src="http://www.testdomain.com/index.php" height="500px;"
> width="900px;"></iframe>
> </body>
> </html>
>
> when i call test.php from domain "www.domain.com" in the status bar i
> found " waiting/tranfering from www.testdoamin.com...." message,please
> guide me how can i hide this message from visitor,because we want our
> client never know the files are executing from testdomain.com.So
> please guide how can hide the message so that our client do not know
> that they are using testdomain.com, i tried to hide status bar using
> javascript and i failed,then i tried using url rewrite , i am unable
> to hide or alias the existing url with some other url.Please guide me
> how can i hide url OR alias the existing url with some other domain
> name so that visitors can see some dummy alias url in status bar
> whereas the site is executing from testdoamin.com..Please give
> solution..i am in great need..Please help

Write a script that gets the content from
http://www.testdomain.com/index.php and use that as the src of your
iframe.
--
Geoff Berrow (Put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs www.4theweb.co.uk/rfdmaker
Re: How to Hide browser status bar Message from client [message #170122 is a reply to message #170121] Mon, 11 October 2010 10:59 Go to previous messageGo to next message
DG is currently offline  DG
Messages: 4
Registered: October 2010
Karma: 0
Junior Member
On Oct 11, 3:48 pm, Geoff Berrow <blthe...@ckdog.co.uk> wrote:
> On Mon, 11 Oct 2010 02:14:50 -0700 (PDT), DG <cool.dipa...@gmail.com>
> wrote:
>
>
>
>> <iframe src="http://www.testdomain.com/index.php"   height="500px;"
>> width="900px;"></iframe>
>> </body>
>> </html>
>
>> when i call test.php from domain "www.domain.com" in the status bar i
>> found " waiting/tranfering fromwww.testdoamin.com...." message,please
>> guide me how can i hide this message from visitor,because we want our
>> client never know the files are executing from testdomain.com.So
>> please guide how can hide the message so that our client do not know
>> that they are using testdomain.com, i tried to hide status bar using
>> javascript and i failed,then i tried using url rewrite , i am unable
>> to hide or alias the existing url with some other url.Please guide me
>> how can i hide url OR alias the existing url with some other domain
>> name so that visitors can see some dummy alias url in status bar
>> whereas the site is executing from testdoamin.com..Please give
>> solution..i am in great need..Please help
>
> Write a script that gets the content fromhttp://www.testdomain.com/index.phpand use that as the src of your
> iframe.
> --
> Geoff Berrow (Put thecat out to email)
> It's only Usenet, no one dies.
> My opinions, not the committee's, mine.
> Simple RFDswww.4theweb.co.uk/rfdmaker

Hi,

Shall i use "ScriptAlias" Directive to map url http://www.testdomain.com/index.php
that must show as http://www.domain.com/index.php,please reply.....
Re: How to Hide browser status bar Message from client [message #170124 is a reply to message #170122] Mon, 11 October 2010 11:06 Go to previous messageGo to next message
Geoff Berrow is currently offline  Geoff Berrow
Messages: 16
Registered: September 2010
Karma: 0
Junior Member
On Mon, 11 Oct 2010 03:59:20 -0700 (PDT), DG <cool(dot)dipak83(at)gmail(dot)com>
wrote:

>> Write a script that gets the content fromhttp://www.testdomain.com/index.phpand use that as the src of your
>> iframe.
>
> Shall i use "ScriptAlias" Directive to map url http://www.testdomain.com/index.php
> that must show as http://www.domain.com/index.php,please reply.....

No I'm suggesting using something like
http://php.net/manual/en/function.file-get-contents.php to get the
content of the file.


--
Geoff Berrow (Put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs www.4theweb.co.uk/rfdmaker
Re: How to Hide browser status bar Message from client [message #170125 is a reply to message #170124] Mon, 11 October 2010 11:36 Go to previous messageGo to next message
DG is currently offline  DG
Messages: 4
Registered: October 2010
Karma: 0
Junior Member
On Oct 11, 4:06 pm, Geoff Berrow <blthe...@ckdog.co.uk> wrote:
> On Mon, 11 Oct 2010 03:59:20 -0700 (PDT), DG <cool.dipa...@gmail.com>
> wrote:
>
>>> Write a script that gets the content fromhttp://www.testdomain.com/index.phpanduse that as the src of your
>>> iframe.
>
>> Shall i use "ScriptAlias" Directive to map url http://www.testdomain.com/index.php
>> that must show ashttp://www.domain.com/index.php,pleasereply.....
>
> No I'm suggesting using something likehttp://php.net/manual/en/function.file-get-contents.phpto get the
> content of the file.
>
> --
> Geoff Berrow (Put thecat out to email)
> It's only Usenet, no one dies.
> My opinions, not the committee's, mine.
> Simple RFDswww.4theweb.co.uk/rfdmaker

Hi,
i have used function file_get_contents(),but will u please tell me how
can i make content obtained use in iframe so that it works as if a url
is given in src of iframe...please reply
Re: How to Hide browser status bar Message from client [message #170126 is a reply to message #170125] Mon, 11 October 2010 11:48 Go to previous messageGo to next message
Geoff Berrow is currently offline  Geoff Berrow
Messages: 16
Registered: September 2010
Karma: 0
Junior Member
On Mon, 11 Oct 2010 04:36:28 -0700 (PDT), DG <cool(dot)dipak83(at)gmail(dot)com>
wrote:

> Hi,
> i have used function file_get_contents(),but will u please tell me how
> can i make content obtained use in iframe so that it works as if a url
> is given in src of iframe...please reply

Make the source of the iframe the script that calls
file_get_contents()
--
Geoff Berrow (Put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs www.4theweb.co.uk/rfdmaker
Re: How to Hide browser status bar Message from client [message #170127 is a reply to message #170126] Mon, 11 October 2010 12:07 Go to previous messageGo to next message
DG is currently offline  DG
Messages: 4
Registered: October 2010
Karma: 0
Junior Member
On Oct 11, 4:48 pm, Geoff Berrow <blthe...@ckdog.co.uk> wrote:
> On Mon, 11 Oct 2010 04:36:28 -0700 (PDT), DG <cool.dipa...@gmail.com>
> wrote:
>
>> Hi,
>> i have used function file_get_contents(),but will u please tell me how
>> can i make content obtained use in iframe so that it works as if a url
>> is given in src of iframe...please reply
>
> Make the source of the iframe the script that calls
> file_get_contents()
> --
> Geoff Berrow (Put thecat out to email)
> It's only Usenet, no one dies.
> My opinions, not the committee's, mine.
> Simple RFDswww.4theweb.co.uk/rfdmaker

sry,
i am not able run the page properly when i include
file_get_contents() code in src of iframe.
It is showing ' " function CONTENT " height="500px;" width="900px;">
' like this output,please can u suggest any other approach....bcoz i
am unable to run the page doing so...
Re: How to Hide browser status bar Message from client [message #170129 is a reply to message #170127] Mon, 11 October 2010 13:07 Go to previous messageGo to next message
Geoff Berrow is currently offline  Geoff Berrow
Messages: 16
Registered: September 2010
Karma: 0
Junior Member
On Mon, 11 Oct 2010 05:07:34 -0700 (PDT), DG <cool(dot)dipak83(at)gmail(dot)com>
wrote:

> sry,
> i am not able run the page properly when i include
> file_get_contents() code in src of iframe.
> It is showing ' " function CONTENT " height="500px;" width="900px;">
> ' like this output,please can u suggest any other approach....bcoz i
> am unable to run the page doing so...

Normally, people who post here have some knowledge of PHP. I suggest
you at least learn the rudiments before asking questions, this group
will help you write code, but won't normally write it for you.

Anyway,

Create a text file including just the following:


<?php
$iframe = file_get_contents('http://www.testdomain.com/index.php');
echo $iframe;
?>

Save that file as iframe.php on http://www.domain.com such that your
iframe is called with

<html>
<head>
</head>
<body>
<iframe src="http://www.domain.com/iframe.php" height="500px;"
width="900px;"></iframe>
</body>
</html>

Obviously replace domain and testdomain with actual domains.
--
Geoff Berrow (Put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs www.4theweb.co.uk/rfdmaker
Re: How to Hide browser status bar Message from client [message #170130 is a reply to message #170129] Mon, 11 October 2010 13:25 Go to previous messageGo to next message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma: 0
Senior Member
On 10/11/2010 3:07 PM, Geoff Berrow wrote:
> On Mon, 11 Oct 2010 05:07:34 -0700 (PDT), DG<cool(dot)dipak83(at)gmail(dot)com>
> wrote:
>
>> sry,
>> i am not able run the page properly when i include
>> file_get_contents() code in src of iframe.
>> It is showing ' " function CONTENT " height="500px;" width="900px;">
>> ' like this output,please can u suggest any other approach....bcoz i
>> am unable to run the page doing so...
>
> Normally, people who post here have some knowledge of PHP. I suggest
> you at least learn the rudiments before asking questions, this group
> will help you write code, but won't normally write it for you.
>
> Anyway,
>
> Create a text file including just the following:
>
>
> <?php
> $iframe = file_get_contents('http://www.testdomain.com/index.php');
> echo $iframe;
> ?>
>
> Save that file as iframe.php on http://www.domain.com such that your
> iframe is called with
>
> <html>
> <head>
> </head>
> <body>
> <iframe src="http://www.domain.com/iframe.php" height="500px;"
> width="900px;"></iframe>
> </body>
> </html>
>
> Obviously replace domain and testdomain with actual domains.

You are a heck of a patient guy, Geoff. ;-)

Erwin Moller

--
"There are two ways of constructing a software design: One way is to
make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult."
-- C.A.R. Hoare
Re: How to Hide browser status bar Message from client [message #170134 is a reply to message #170130] Mon, 11 October 2010 23:03 Go to previous messageGo to next message
Geoff Berrow is currently offline  Geoff Berrow
Messages: 16
Registered: September 2010
Karma: 0
Junior Member
On Mon, 11 Oct 2010 15:25:56 +0200, Erwin Moller
<Since_humans_read_this_I_am_spammed_too_much(at)spamyourself(dot)com> wrote:

> You are a heck of a patient guy, Geoff. ;-)

Thanks Erwin! I used to be a college lecturer :-)
--
Geoff Berrow (Put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs www.4theweb.co.uk/rfdmaker
Re: How to Hide browser status bar Message from client [message #170155 is a reply to message #170118] Wed, 13 October 2010 07:09 Go to previous messageGo to next message
gordon is currently offline  gordon   
Messages: 2
Registered: June 2007
Karma: 0
Junior Member
> I am using iframe with url of some other domain,the snippet is as
> follows:
>
> name of the page is : test.php
> domain : www.domain.com
> url : http://www.domain.com/test.php
>
> Here test.php page contains the following code
>
> <html>
> <head>
> </head>
> <body>
> <iframe src="http://www.testdomain.com/index.php" height="500px;"
> width="900px;"></iframe>
> </body>
> </html>
>
> when i call test.php from domain "www.domain.com" in the status bar i
> found " waiting/tranfering from www.testdoamin.com...." message,please
> guide me how can i hide this message from visitor,because we want our
> client never know the files are executing from testdomain.com.So

I'd like to suggest that you're going to have a very hard time
hiding the message from a visitor as long as you *are* transferring
data from www.testdoamin.com, because that message shows up before
you've even connected, which is before any URL rewrite or Javascript
runs.

The way out, as one poster has suggested, is to *NOT* ask the user's
browser to transfer any data whatever from that domain.


Gordon
Re: How to Hide browser status bar Message from client [message #170157 is a reply to message #170130] Wed, 13 October 2010 09:55 Go to previous messageGo to next message
Geoff Berrow is currently offline  Geoff Berrow
Messages: 16
Registered: September 2010
Karma: 0
Junior Member
On Mon, 11 Oct 2010 15:25:56 +0200, Erwin Moller
<Since_humans_read_this_I_am_spammed_too_much(at)spamyourself(dot)com> wrote:

>> Obviously replace domain and testdomain with actual domains.
>
> You are a heck of a patient guy, Geoff. ;-)

And not even a thank you... :(
--
Geoff Berrow (Put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs www.4theweb.co.uk/rfdmaker
Re: How to Hide browser status bar Message from client [message #170158 is a reply to message #170157] Wed, 13 October 2010 10:59 Go to previous messageGo to next message
Erwin Moller is currently offline  Erwin Moller
Messages: 228
Registered: September 2010
Karma: 0
Senior Member
On 10/13/2010 11:55 AM, Geoff Berrow wrote:
> On Mon, 11 Oct 2010 15:25:56 +0200, Erwin Moller
> <Since_humans_read_this_I_am_spammed_too_much(at)spamyourself(dot)com> wrote:
>
>>> Obviously replace domain and testdomain with actual domains.
>>
>> You are a heck of a patient guy, Geoff. ;-)
>
> And not even a thank you... :(

Indeed.
DG must think: "Problem solved. Thank you anonymous guy on usenet."

Or, in his case, it will probably be more like: "HELP? No mre hlP! Sry.
i fineszed problm! yes!, bcoz boss happy now! i go hom now hurry! Bus?
help! what tme? sry. pleaz."

or something equally incomprehensible. ;-)


I mean, what is comp.lang.php? A bunch of professional PHP coders
helping others out for no pay at all.
We ARE a friendly bunch! And we deserve a 'thank you' once in a while. :-)

Regards,
Erwin Moller


--
"There are two ways of constructing a software design: One way is to
make it so simple that there are obviously no deficiencies, and the
other way is to make it so complicated that there are no obvious
deficiencies. The first method is far more difficult."
-- C.A.R. Hoare
Re: How to Hide browser status bar Message from client [message #170159 is a reply to message #170158] Wed, 13 October 2010 11:36 Go to previous messageGo to next message
Geoff Berrow is currently offline  Geoff Berrow
Messages: 16
Registered: September 2010
Karma: 0
Junior Member
On Wed, 13 Oct 2010 12:59:27 +0200, Erwin Moller
<Since_humans_read_this_I_am_spammed_too_much(at)spamyourself(dot)com> wrote:

>> And not even a thank you... :(
>
> Indeed.
> DG must think: "Problem solved. Thank you anonymous guy on usenet."
>
> Or, in his case, it will probably be more like: "HELP? No mre hlP! Sry.
> i fineszed problm! yes!, bcoz boss happy now! i go hom now hurry! Bus?
> help! what tme? sry. pleaz."
>
> or something equally incomprehensible. ;-)

LOL, you've parody that far to well Erwin. :)
>
>
> I mean, what is comp.lang.php? A bunch of professional PHP coders
> helping others out for no pay at all.
> We ARE a friendly bunch! And we deserve a 'thank you' once in a while. :-)

Well, maybe he will. (ever the optimist, me)

I'm happy to help people out as part payment for the help I get.
But yes, a 'thank you' is always welcome.
--
Geoff Berrow (Put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs www.4theweb.co.uk/rfdmaker
Re: How to Hide browser status bar Message from client [message #170162 is a reply to message #170155] Wed, 13 October 2010 15:54 Go to previous message
Twayne is currently offline  Twayne
Messages: 135
Registered: September 2010
Karma: 0
Senior Member
In news:MYydna0_iqPdxijRnZ2dnUVZ_gKdnZ2d(at)posted(dot)internetamerica,
Gordon Burditt <gordon(at)hammy(dot)burditt(dot)org> typed:
>> I am using iframe with url of some other domain,the
>> snippet is as follows:
>>
>> name of the page is : test.php
>> domain : www.domain.com
>> url :
>> http://www.domain.com/test.php
>>
>> Here test.php page contains the following code
>>
>> <html>
>> <head>
>> </head>
>> <body>
>> <iframe src="http://www.testdomain.com/index.php"
>> height="500px;" width="900px;"></iframe>
>> </body>
>> </html>
>>
>> when i call test.php from domain "www.domain.com" in the
>> status bar i found " waiting/tranfering from
>> www.testdoamin.com...." message,please guide me how can i
>> hide this message from visitor,because we want our client
>> never know the files are executing from testdomain.com.So
>
> I'd like to suggest that you're going to have a very hard
> time hiding the message from a visitor as long as you *are*
> transferring data from www.testdoamin.com, because that
> message shows up before you've even connected, which is
> before any URL rewrite or Javascript runs.
>
> The way out, as one poster has suggested, is to *NOT* ask
> the user's browser to transfer any data whatever from that
> domain.

Fear not, that's a self-fixing problem in a lot of cases. In my case, as
soon as I notice soemthing like that, the site goes to my "never visit"
list. Voila! Fixed! Many try that and other variations on it; few avoid my
"never visit" list, a section in my Hosts file. Just like with people, NO
web site is indispensible.

HTH,

Twayne`
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Interpret SimpleXMLElement Object
Next Topic: Going back to a previous line in a CSV file
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 17:35:53 GMT 2024

Total time taken to generate the page: 0.02315 seconds