Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 199908

Re: [PHP3] Grrrr From: Haydn Haines - Sun Microsystems Middle East (Haydn.Haines <email protected>)
Date: 08/25/99

That sounds good, but I can't find the HTTP_REFERER anywhere on
php3.org where is it? Also is there similar that I can use for the
forward button?

Regards,

Haydn.

|From: Markus Schulte <markus <email protected>>
|X-Accept-Language: en
|To: Haydn Haines - Sun Microsystems Middle East
<Haydn.Haines <email protected>>
|CC: php3 <email protected>
|Subject: Re: [PHP3] Grrrr
|
|something like this is possible within php if you have something like
a
|session.
|you'll need a session cause of that:
|
|> <?
|> if ($exists="1") {
|> <a href="javascript:history.back()"><img src="back.gif"
border=0></a>
|
|that means you want to check if a client side object for the document
|you are just handing out exists. but that is ojnly possible when you
|have handed out the document already.
|
|with a session you could know the referrer of you document.
|
|ahh.. why don't you use the referrer?! it is available via:
|$HTTP_REFERER under php.
|
|markus
|
|
|Haydn Haines - Sun Microsystems Middle East wrote:
|>
|> Ok, I've almost got it...
|>
|> I want to check to see if "javascript:history.back()" exists and do
|> the following:
|>
|> <?
|> if ($exists="1") {
|> <a href="javascript:history.back()"><img src="back.gif"
border=0></a>
|>
|> } else {
|> <img src="noback.gif">
|> }
|> ?>
|>
|> how can I check something in javascript and assign it to a php3
|> variable? Is there an easier way?
|>
|> Regards,
|>
|> Haydn.
|>
|> _________________________________________________________________
|> __
|> / \ , ,
|> _._ _ |oo| _ / \__/ \ Haydn Haines.
|> _|||| ((/ () \)) / \ PSG Engineer (Associate Level).
|> |||||/| ( ==== ) |oo| _______________________________
|> \____/ _`\ /'_ / \ Sun Microsystems.
|> / /.-' /\<>/\ `\.( () )_._ SEAME Region.
|> | ` / \/ \ /`'--'////) 2nd Floor, Hermitage Bldg,
|> \__,-'`| |. |\/ |/\/\|"\"` Karama, Dubai, U.A.E.
|> | |. | \___/\___/ _______________________________
|> | |. | | | Tel (Direct): (971) 4 3060137
|>
|> _________________________________________________________________
|>
|> Despite the cost of living, have you noticed how
|> it remains so popular?
|> _________________________________________________________________
|>
|> --
|> PHP 3 Mailing List <http://www.php.net/>
|> To unsubscribe, send an empty message to
php3-unsubscribe <email protected>
|> To subscribe to the digest, e-mail:
php3-digest-subscribe <email protected>
|> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
|> To contact the list administrators, e-mail:
php-list-admin <email protected>
|
|--
|Digital Online Media GmbH
|(we like to be called DOM)
|
|http://www.dom.de
|mailto: markus <email protected>
|phone: +49 221 951680
|fax: +49 221 951688

_________________________________________________________________
              __
             / \ , ,
   _._ _ |oo| _ / \__/ \ Haydn Haines.
  _|||| ((/ () \)) / \ PSG Engineer (Associate Level).
  |||||/| ( ==== ) |oo| _______________________________
   \____/ _`\ /'_ / \ Sun Microsystems.
   / /.-' /\<>/\ `\.( () )_._ SEAME Region.
   | ` / \/ \ /`'--'////) 2nd Floor, Hermitage Bldg,
    \__,-'`| |. |\/ |/\/\|"\"` Karama, Dubai, U.A.E.
           | |. | \___/\___/ _______________________________
           | |. | | | Tel (Direct): (971) 4 3060137

_________________________________________________________________

       Despite the cost of living, have you noticed how
                   it remains so popular?
_________________________________________________________________

-- 
PHP 3 Mailing List <http://www.php.net/>
To unsubscribe, send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest, e-mail: php3-digest-subscribe <email protected>
To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
To contact the list administrators, e-mail: php-list-admin <email protected>