Welcome Guest, Not a member yet? Register   Sign In
How to redirect localhost php file from webserver php file
#1

[eluser]JasmineFlower[/eluser]
Hi,

I have wen-demo-fence.html file in my localhost.when i submit the form it call fenceServer.php it located in webserver,the values are posted to this fenceserver.php. after finish the database insert process(it works correctly), i need redirect to localhost php file (fence.php)

how can i redirect to the localhost php file from web server php file

I use header('Location: http://192.168.1.3/skycad/fence.php' ); function in fenceServer.php file, but it display the below error

Warning: Cannot modify header information - headers already sent by (output started at /home/content/m/a/y/mayisthree3/html/skycad/fenceServer.php:5) in /home/content/m/a/y/mayisthree3/html/skycad/fenceServer.php on line 6


Messages In This Thread
How to redirect localhost php file from webserver php file - by El Forum - 05-04-2011, 12:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB