Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. how to get data when using header('location:'. $url) ? help me

how to get data when using header('location:'. $url) ? help me

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
helptutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aa_zz
    wrote on last edited by
    #1

    hi all. I want get data form url when use header('location:'.$url) then it rederect to another url. how to get data when using header('location:'.$url) ??? thanks

    nothing

    K K 2 Replies Last reply
    0
    • A aa_zz

      hi all. I want get data form url when use header('location:'.$url) then it rederect to another url. how to get data when using header('location:'.$url) ??? thanks

      nothing

      K Offline
      K Offline
      Killzone DeathMan
      wrote on last edited by
      #2

      In one page you use: header('Location: ' . $url); Suppose $url = 'www.example.com/abcd.php?action=register'; And in the "abcd.php" page just do a $_GET['action'] to get the action! And then you do something, in this case you show a div to register! Hope I can help, KZ

      1 Reply Last reply
      0
      • A aa_zz

        hi all. I want get data form url when use header('location:'.$url) then it rederect to another url. how to get data when using header('location:'.$url) ??? thanks

        nothing

        K Offline
        K Offline
        Keanu L
        wrote on last edited by
        #3

        what about using :

        $content = include '${url}';header("location:antoher url");

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups