[PHP] Re: Redirection after login with security

2005-04-11 Thread Raj Shekhar
Adam Hubscher [EMAIL PROTECTED] writes: Problem: I would like to possibly utilize a login system (created on the remote server), that would then check their username and password against the CMS database located there, then redirect with that information (encrypted of course), to the local

[PHP] Re: redirection with PHP and closing windows?

2004-04-20 Thread Jason Barnett
Andre wrote: I want to be able to process a PHP script and then if successful redirect to another page. Is there a good way to do this with PHP or do I need to stick to Javascript? You should check out the header() function. http://www.php.net/header There are some common pitfalls with this, most

[PHP] Re: Redirection to a named frame

2004-01-05 Thread Geoffrey Thompson
I would prefer not having to use script - is there not a way to handle this by modifying the header? Something similar to the example I found in the O'Reilly book - except which works? :) Martin Helie [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] How about simply: echo SCRIPT

[PHP] Re: Redirection to a named frame

2004-01-05 Thread Geoffrey Thompson
BTW - I misquoted - the example below was in the PHP Cookbook (page 173) - not in the MySQL Cookbook - my apologies... Geoffrey Thompson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I would prefer not having to use script - is there not a way to handle this by modifying the header?

[PHP] Re: Redirection to a named frame

2004-01-03 Thread Martin Helie
How about simply: echo SCRIPT window.top.main.location= 'http://localhost/phase1/report.php''; /SCRIPT; ? Geoffrey Thompson [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I was only able to find one reference to targeting a named frame on a redirection, in the MySQL Cookbook

Re: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-25 Thread Joel Rees
Finally, Thanks to all that tried to help, but I found part of the problem - sort of. In the file that I am trying to redirect to I have a form with the line: FORM onSubmit=return checkrequired(this) ACTION=season-write.php action=post name=testing It appears this line was corrupt

Re: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-24 Thread Brian Tully
on 7/24/03 8:13 PM, Beauford.2005 at [EMAIL PROTECTED] wrote: FORM onSubmit=return checkrequired(this) ACTION=season-write.php action=post name=testing someone else already raised this issue and it doesn't look like you caught it: you have two actions in your form (the second should

RE: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Ow Mun Heng
:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 12:20 PM To: PHP Subject: Re: [PHP] Re: Redirection Question (I spoke to soon) * Thus wrote Beauford.2005 ([EMAIL PROTECTED]): Sorry all, apparently this doesn't work on either Windows or Linux. Again, I thought it was working and once I got

RE: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Ford, Mike [LSS]
-Original Message- From: Ow Mun Heng [mailto:[EMAIL PROTECTED] Sent: 23 July 2003 11:37 I'm confused.. quote With $_SESSION, there is no need to use the session_register(), session_unregister(), session_is_registered() functions. Session variables are accessible like

Re: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Curt Zirzow
* Thus wrote Ow Mun Heng ([EMAIL PROTECTED]): Hi Curt, I'm confused.. I'll try to clear this up for you. I'm going to see if I can get the documentation on the web site fixed also. It is rather confusing. There appears to be two ways to do sessions: '--- Style

Re: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Jason Wong
On Thursday 24 July 2003 11:37, Beauford.2005 wrote: I found one of my problems and also implemented your suggestions, and still the same thing. It will not redirect. The problem I found is that $_SERVER['SERVER_NAME'] does not include the port number. On my Win PC I am using port 800. So I

RE: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Beauford.2005
Errors are on and I get nothing, it won't even direct if I hard code header(Location: www.microsoft.com); -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: July 23, 2003 12:48 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Re: Redirection Question (I spoke to soon

Re: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Grant Rutherford
You need the http://; ie. http://www.microsoft.com; Beauford.2005 wrote: Errors are on and I get nothing, it won't even direct if I hard code header(Location: www.microsoft.com); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Beauford.2005
Finally, Thanks to all that tried to help, but I found part of the problem - sort of. In the file that I am trying to redirect to I have a form with the line: FORM onSubmit=return checkrequired(this) ACTION=season-write.php action=post name=testing It appears this line was corrupt somehow.

RE: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Ow Mun Heng
Thanks Mike.. You've been a GREAT help.. Cheers, Mun Heng, Ow H/M Engineering Western Digital M'sia DID : 03-7870 5168 -Original Message- From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 7:01 PM To: Ow Mun Heng; PHP Subject: RE: [PHP] Re: Redirection

RE: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-23 Thread Ow Mun Heng
[mailto:[EMAIL PROTECTED] Sent: Friday, July 25, 2003 3:06 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Re: Redirection Question (I spoke to soon) Errors are on and I get nothing, it won't even direct if I hard code header(Location: www.microsoft.com); -Original Message- From: Jason Wong

[PHP] Re: Redirection Question (I spoke to soon)

2003-07-22 Thread Beauford.2005
Sorry all, apparently this doesn't work on either Windows or Linux. Again, I thought it was working and once I got farther along I see that it really wasn't. Basically what I get after I login is an empty screen. Here is what I have : This is the script that runs to see if the user is logged in.

Re: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-22 Thread John W. Holmes
Beauford.2005 wrote: Sorry all, apparently this doesn't work on either Windows or Linux. Again, I thought it was working and once I got farther along I see that it really wasn't. Basically what I get after I login is an empty screen. Here is what I have : This is the script that runs to see if

RE: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-22 Thread Beauford.2005
?? -Original Message- From: Ray Hunter [mailto:[EMAIL PROTECTED] Sent: July 22, 2003 10:47 PM To: Beauford.2005 Subject: Re: [PHP] Re: Redirection Question (I spoke to soon) Try doing: session_start(); $_SESSION['logged'] = True; $_SESSION['user'] = $row['user']; // you cant do

Re: [PHP] Re: Redirection Question (I spoke to soon)

2003-07-22 Thread Curt Zirzow
* Thus wrote Beauford.2005 ([EMAIL PROTECTED]): Sorry all, apparently this doesn't work on either Windows or Linux. Again, I thought it was working and once I got farther along I see that it really wasn't. Basically what I get after I login is an empty screen. Here is what I have : This is

[PHP] Re: Redirection Question

2003-07-22 Thread Kevin Stone
Beauford.2005 [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I am trying to figure out how to redirect a user back to a page but not having much luck. For example: I click on a menu item on my site which goes to a.php. This file includes another file that determines if they

[PHP] Re: redirection

2002-06-05 Thread John Taylor-Johnston
Renaldo, Of course, I use: ?php header('Location: http://www.whereIWantToGo.com'); ? A less simple way is to creatre an .htaccess file (Apache server) redirect /MyCurrentWebDirectory http://www.whereIWantToGo.com There is no slash at the end of that line. Careful, John Renaldo De Silva

[PHP] Re: redirection rather than include()

2002-01-31 Thread Oliver Cronk
use the: ? header(Location: http://www.whatever.com/whatever.php); ? MAKE SURE header is used before any code that outputs anything, other wise it won't work (as header sends additional HTTP header commands). Alternatively the frameset could just be sent back to browser (i.e. make your

[PHP] Re: redirection rather than include()

2002-01-31 Thread David Robley
In article [EMAIL PROTECTED], [EMAIL PROTECTED] says... This is a PHP newbie trying to figure something out. I am creating a web-app which begins with a login page and goes through the typical user/pass validation and upon success moves to a frameset where the application will run. The

Re: [PHP] Re: Redirection and Passing Data (arrays)

2002-01-19 Thread m. ali
how do you mean it echo in the login script here is what I mean do{ $product_type= $db-f(Product_Type); $part_number = $db-f(Part_Search); $make = $db-f(Make); $model = $db-f(Model); $model_year = $db-f(Model_Year); $engine = $db-f(Engine);

[PHP] Re: Redirection and Passing Data (arrays)

2002-01-15 Thread Julio Nobrega Trabalhando
session_register('array_of_selected_checkboxes'); Just use sessions! ;-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 M. Ali [EMAIL PROTECTED] wrote in

Re: [PHP] Re: Redirection and Passing Data (arrays)

2002-01-15 Thread Bogdan Stancescu
...or echo some hidden inputs in the login form? Julio Nobrega Trabalhando wrote: session_register('array_of_selected_checkboxes'); Just use sessions! ;-) -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho?