Re: Redirec, MS SQL 7

From: Date: Fri, 21 Jul 2000 05:47:03 +0000
Subject: Re: Redirec, MS SQL 7
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-7520@lists.php.net to get a copy of this message
You might need to put quotes around the whole string, ie: Header("Location: /destination.php"); Which works for me in both PHP3 and PHP4 Hope this helps Philip Murray ----- Original Message ----- From: "Benny Hidayat" <frans_benny@lovemail.com> To: <php-general@lists.php.net> Sent: Friday, July 21, 2000 5:26 PM Subject: [PHP] Redirec, MS SQL 7 > Hi, > Here I have a problem, Hope somebody can help. > > I'm using PHP4 for Windows w/ apache webserver and SQL 7 database server. I have a problem w/ redirecting. When I use PHP 3 I can use : > > header(Location: "destination.php"); > > to redirect my page, but with PHP 4 I have to include my URL : > > header(Location: "http://mysite/destination.php"); > > is it any option I should change to use the PHP 3 style, or is there any other way to redirect my page ? > > I also have problem w/ my MSSQL function, til now I use ODBC to connect to database server cause every time I use MSSQL function (ex. mssql_connect()), it never work, error message said that mssql_connect function doesn't exist. I've uncomment the extension for php_mssql.dll at php.ini, but still don't work. > > > Regards, > > Benny H > > _____________________________________________________________ > Signup for your FREE email account at http://www.lovemail.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#7520) next »