4 Replies - 883 Views - Last Post: 17 February 2010 - 07:13 AM Rate Topic: -----

#1 Crunch  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 139
  • View blog
  • Posts: 1,222
  • Joined: 28-July 09

Call PHP page

Posted 17 February 2010 - 04:14 AM

How can i call a php page without the user having to click on a link that points to that page?
Is This A Good Question/Topic? 0
  • +

Replies To: Call PHP page

#2 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 5951
  • View blog
  • Posts: 23,215
  • Joined: 23-August 08

Re: Call PHP page

Posted 17 February 2010 - 06:04 AM

More info needed. You can type it in the address bar of the browser, call it from Javascript, a button on a form...
Was This Post Helpful? 0
  • +
  • -

#3 Crunch  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 139
  • View blog
  • Posts: 1,222
  • Joined: 28-July 09

Re: Call PHP page

Posted 17 February 2010 - 06:19 AM


<?php

// lines of code

// finished executing the script so call another script automatically

?>



Was This Post Helpful? 0
  • +
  • -

#4 JackOfAllTrades  Icon User is offline

  • Saucy!
  • member icon

Reputation: 5951
  • View blog
  • Posts: 23,215
  • Joined: 23-August 08

Re: Call PHP page

Posted 17 February 2010 - 06:29 AM

header("Location: new_url"); provided you did not output anything to the browser within the page.
Was This Post Helpful? 0
  • +
  • -

#5 Crunch  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 139
  • View blog
  • Posts: 1,222
  • Joined: 28-July 09

Re: Call PHP page

Posted 17 February 2010 - 07:13 AM

sorry i forgot to mention that i need to pass get values as well :rolleyes:

index.php?value1="ABC"


This post has been edited by snowflakes: 17 February 2010 - 07:14 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1