PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
hi
i am having a problem with redirect. the page which works fine with my localhost, when copied to a different server doesnt work. the code is below
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
1. You shouldn't use header( 'Location: showrec.php' ); after output as header are sent
2. Use '<?php' + '?>' instead of '<?' + '?>' (PHP5 required '<?php' tag)
tried even that approach. the whole bunch of files are having problem with redirect. its able to redirect it back , but not to front. the scripts running on my local machine/local server are fine.. but on remote getting all kind of redirect problems.