Re: [PHP] Redirects in PHP

2003-06-13 Thread Zak Johnson
On 2003-06-13 10:54-0600, Kevin Stone wrote: Carl, you can avoid these issues by using output buffering allowing you to call header() whever you want in your script. This will not solve the OP's problem; the header will still be output first, and the client will be immediately redirected. I am

Re: [PHP] Redirects in PHP

2003-06-13 Thread Zak Johnson
On 2003-06-13 10:34-0600, Michael wrote: Search engines frown on using meta refresh because of abuse problems. Some engines won't index the page period and all of them penalize you at the very least. While it will work as you described, you're sacrificing search engine positioning to

[PHP] Patch: No input file specified

2003-06-13 Thread Zak Johnson
I run PHP via a simple-minded webserver which sets up some environment variables and then calls my php scripts (which begin with a #!/usr/local/bin/php line). My scripts must handle all the headers, including the HTTP status header. My standard included file contains

Re: [PHP] Stumped @ MySql insert query

2003-06-13 Thread Zak Johnson
On 2003-06-13 14:15-0400, Pushpinder Singh Garcha wrote: I am trying to execute a simple query using $_POST variables, so that variable poisoning is not possible. note: I have register_globals ON on my site. I am getting the error shown below . Please advise ... as I can't seem to

Re: [PHP] Stumped @ MySql insert query

2003-06-13 Thread Zak Johnson
On 2003-06-13 14:42-0400, Pushpinder Singh Garcha wrote: How is variable poisoning possible when using $_POST ?? I always felt that the php compiler should check to see if the variable was part of the POST Global array. At least this is is what I thought about the $_POST global array. It