Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jun 2006
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Arrow header() php function "Content-Type"

    Can someone please explain to me how to use header("Content-Type: text/javascript")? I want to have code on another page that has <script src="" /> and I want to be able to access variables defined in the php.

  • #2
    New Coder
    Join Date
    Jun 2006
    Posts
    54
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Nevermind! I found out what it means!
    Last edited by shane.carr; 06-16-2006 at 08:38 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •