Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 17

Discussione: $_SERVER ... non vā!

  1. #1

    $_SERVER ... non vā!

    č possibile che su un hosting linux non funzioni il $_SERVER['HTTP_REFERER']??

  2. #2
    se devi fare una query scrivilo cosė:
    '".$_SERVER["HTTP_REFERRER"]."'

    per quanto riguarda linux, beh non saprei...
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  3. #3
    no,no ... č proprio che non funziona!!

    <?
    echo $_SERVER['HTTP_REFERER'];
    ?>

    ... output = Non stampa niente

  4. #4
    ..allora non so!
    http://codecanyon.net/category/all?ref=Manuelandro
    And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
    memories to be made

  5. #5
    Utente di HTML.it L'avatar di pixer
    Registrato dal
    Oct 2000
    Messaggi
    614
    Originariamente inviato da powerflash
    no,no ... č proprio che non funziona!!

    <?
    echo $_SERVER['HTTP_REFERER'];
    ?>

    ... output = Non stampa niente
    hai provato ad accedere alla pagina da un link? perchč altrimenti č NORMALE che il referrer sia vuoto.

    comunque č $_SERVER['HTTP_REFERRER']
    MySQL Worker - The OpenSource Multiplatform MySQL database Administrator (C++ powered)
    .:[ It resumes the development !! ]:.


  6. #6
    .. per che mi prendi? VVoVe:


    ho provato anche con la vecchia modalitā:

    $HTTP_SERVER_VARS['HTTP_REFERER']

    ma non funziona ugualmente.

  7. #7
    no...


    'HTTP_REFERER'
    The address of the page (if any) which referred the user agent to the current page. This is set by the user agent. Not all user agents will set this, and some provide the ability to modify HTTP_REFERER as a feature. In short, it cannot really be trusted.

  8. #8
    Utente di HTML.it L'avatar di pixer
    Registrato dal
    Oct 2000
    Messaggi
    614
    Originariamente inviato da powerflash
    no...
    hai ragione, ho toppato.

    comunque con che browser stai testando ?

    hai provato a fare un print_r di tutto l'array $_SERVER ?
    MySQL Worker - The OpenSource Multiplatform MySQL database Administrator (C++ powered)
    .:[ It resumes the development !! ]:.


  9. #9
    prova a fare

    codice:
    <?php
      print_r($_SERVER);
    ?>

  10. #10
    Utente di HTML.it L'avatar di pixer
    Registrato dal
    Oct 2000
    Messaggi
    614
    Originariamente inviato da daniele_dll
    prova a fare

    codice:
    <?php
      print_r($_SERVER);
    ?>
    arrivi tardi bombolō
    MySQL Worker - The OpenSource Multiplatform MySQL database Administrator (C++ powered)
    .:[ It resumes the development !! ]:.


Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.