RE: [PHP] Redirection Question

2003-07-22 Thread Beauford.2005
Nope. What if it's b.php, or c.php. They could come from many pages. I wish it was that easy. -Original Message- From: Chris W. Parker [mailto:[EMAIL PROTECTED] Sent: July 22, 2003 4:02 PM To: Beauford.2005 Subject: RE: [PHP] Redirection Question Beauford.2005 mailto:[EMAIL PROTECTED

[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] Redirection Question

2003-07-22 Thread Beauford.2005
PM To: PHP Subject: Re: [PHP] Redirection Question * Thus wrote Beauford.2005 ([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

RE: [PHP] Redirection Question

2003-07-22 Thread Beauford.2005
). This makes it a real pain. Oh well, back to my debugging. -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: July 22, 2003 7:04 PM To: PHP Subject: Re: [PHP] Redirection Question * Thus wrote Beauford.2005 ([EMAIL PROTECTED]): Maybe I didn't explain enough. What

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-23 Thread Beauford.2005
) 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

[PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Beauford.2005
Yes, I'm still screwing around with this stupid redirection thing, and either I'm just a total idiot or there are some serious problems with PHP. I have now tried to do it another way and - yes - you guessed it. It does not work. I mean really, it can not be this hard to redirect a user to

RE: [PHP] I'm really getting annoyed with PHP

2003-07-23 Thread Beauford.2005
$_SESSION['goto']; ?; // End -- /script -Original Message- From: Ray Hunter [mailto:[EMAIL PROTECTED] Sent: July 23, 2003 5:44 PM To: Beauford.2005 Subject: Re: [PHP] I'm really getting annoyed with PHP Questions: 1. What verion of php are you running? 2. What version of apache are you running

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] I'm really getting annoyed with PHP

2003-07-23 Thread Beauford.2005
It's obvious though that PHP can not handle it. This is why I am forced to use javascript. I have already spent a week on this and am not going to waste any further time. I have posted all my code and if someone can see a problem I'll look at it, but it just ain't worth the effort at this point.

[PHP] Values from forms

2003-08-04 Thread Beauford.2005
Small brain cramp here. I have the following form and having problems retrieving the values from it. FORM ACTION=teams-write.php action=post name=inputs input type=hidden name=count value=? echo $number; ? // $number gets inputted from another form (this works) ? for($i = 1; $i $number + 1;

RE: [PHP] Values from forms

2003-08-04 Thread Beauford.2005
PM To: Beauford.2005 Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Values from forms Hello, This is a reply to an e-mail that you wrote on Tue, 5 Aug 2003 at 00:05, lines prefixed by '' were originally written by you. $team2, etc. they are there, I just can't figure out how to get the values

[PHP] Ob_start question

2003-09-02 Thread Beauford.2005
I am getting this error: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/local/apache/php/includes/2004server.inc:24) in /usr/local/apache/php/includes/restricted.inc on line 5 I have ob_start(); and

RE: [PHP] Ob_start question

2003-09-03 Thread Beauford.2005
, Mike [LSS] [mailto:[EMAIL PROTECTED] Sent: September 3, 2003 5:20 AM To: 'Beauford.2005'; PHP Subject: RE: [PHP] Ob_start question On 03 September 2003 03:11, Beauford.2005 contributed these pearls of wisdom: I am getting this error: Warning: session_start() [function.session-start]: Cannot

RE: [PHP] Ob_start question

2003-09-03 Thread Beauford.2005
Yep, that's it. I thought I had this as it was working at one time, but obviously some spaces got added. Thanks. -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: September 3, 2003 11:13 AM To: PHP Subject: Re: [PHP] Ob_start question * Thus wrote Beauford.2005

[PHP] Here we go with PATHS - again!!

2003-06-28 Thread Beauford.2005
I hope someone can put this to rest for good, cause this is just bullshit. Every time I try to do something using any thing other than the root directory of my website - I get these stupid path problems. Here is the problem this time. First off I am not using frames (if it matters) and this

[PHP] Forms and PHP_SELF

2003-07-05 Thread Beauford.2005
Hi, I have a very simple form that searches a MySQL database and I want to be able to have the search appear on the same page as the search. FORM NAME=search METHOD=post ACTION=? $PHP_SELF; ? INPUT type=text size=30 name=player INPUT TYPE=image src=../images/submit.gif

[PHP] FW: Forms and PHP_SELF

2003-07-05 Thread Beauford.2005
I just figured it out, so I guess I was on the right track - I just forgot to make the variable name in the form global. -Original Message- From: Beauford.2005 [mailto:[EMAIL PROTECTED] Sent: July 5, 2003 7:43 PM To: PHP Subject: Forms and PHP_SELF Hi, I have a very simple form

[PHP] MySQL query problems

2003-07-16 Thread Beauford.2005
Hi, Not sure if the problem here is PHP or MySQL, but here we go. I am trying to do two queries on a database - one after the other, but the second one never seems to get executed. The two queries are identical except for two variables. I have checked my form and they are correct and are being

RE: [PHP] MySQL query problems

2003-07-16 Thread Beauford.2005
[mailto:[EMAIL PROTECTED] Sent: July 16, 2003 1:18 PM To: Beauford.2005 Cc: PHP Subject: Re: [PHP] MySQL query problems Change $email_error to $mysqlerror and hopefully some error message will appear. Beauford.2005 wrote: if ($mysqlerror) { $error

RE: [PHP] Re: MySQL query problems

2003-07-16 Thread Beauford.2005
mysql_fetch_array and mysql_fetch_row, be sure that you are not treating the result in the same way ;-) Beauford.2005 [EMAIL PROTECTED] a écrit dans le message de news: [EMAIL PROTECTED] Hi, Not sure if the problem here is PHP or MySQL, but here we go. I am trying to do two queries on a database

[PHP] Reading files question

2003-07-17 Thread Beauford.2005
I have a file that has the 130 lines which follows the example below. Option Value=146Barnaby What I need to do is read this file, remove one line, add another line, and then resave it. I have tried the different fget functions etc. to read the file, but all I get is the name part and nothing

[PHP] Re: Reading files question

2003-07-17 Thread Beauford.2005
I found the answer. I was looking through the PHP manual and found htmlspecialchars() which did the trick. B -Original Message- From: Beauford.2005 [mailto:[EMAIL PROTECTED] Sent: July 16, 2003 8:50 PM To: PHP Subject: Reading files question I have a file that has the 130 lines which

[PHP] Still problem with files

2003-07-17 Thread Beauford.2005
Hi, Sorry for the extra emails, but I thought I had this licked, but now other problem pop up. As I said, I have a file with many lines like Option Value=3Alfredsson in it. I have been able to read the file into an array and display it, but I am trying to do a comparison IF statement and no

RE: [PHP] Still problem with files

2003-07-18 Thread Beauford.2005
=155Roy, P Option Value=77Theodore Option Value=26ThibaultOption Value=68Worrel -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: July 18, 2003 1:50 AM To: PHP Subject: Re: [PHP] Still problem with files Curt Zirzow [EMAIL PROTECTED] wrote: Beauford.2005 [EMAIL

RE: [PHP] Still problem with files

2003-07-18 Thread Beauford.2005
-Original Message- From: skate [mailto:[EMAIL PROTECTED] Sent: July 18, 2003 11:18 AM To: Beauford.2005; 'Curt Zirzow'; 'PHP' Subject: Re: [PHP] Still problem with files have you tried \r\n ? - Original Message - From: Beauford.2005 [EMAIL PROTECTED] To: 'Curt Zirzow' [EMAIL PROTECTED

[PHP] File problems

2003-07-18 Thread Beauford.2005
Hi, I am having a hell of a time with this. Whenever I think it's working, something else screws up. There obviously has to be a better way to do this than I am doing it. To reiterate, I am trying to open a file, remove one entry, add another entry, and resave the file. The way I currently have

[PHP] Enough is Enough.......

2003-07-18 Thread Beauford.2005
Hi, I apologize for all the emails on this, but I'm truly at a loss here and really need some input as to what I need to do to get this working. I have a FORM with two drop down menus and have the entries saved in two separate .inc files i.e: Option Value=3Alfredsson Option Value=39Arnott

RE: [PHP] Enough is Enough.......

2003-07-19 Thread Beauford.2005
is didn't work though. I know my logic is correct, but maybe what I was trying to do just wasn't feasible. Thanks for the input. -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: July 19, 2003 2:33 AM To: PHP Subject: Re: [PHP] Enough is Enough... Beauford.2005 [EMAIL

RE: [PHP] Still problem with files

2003-07-19 Thread Beauford.2005
my other info. I'd still be curious though as to why the other way did not work. -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED] Sent: July 19, 2003 1:34 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Still problem with files On Saturday 19 July 2003 04:58, Beauford.2005 wrote

RE: [PHP] Still problem with files

2003-07-20 Thread Beauford.2005
On Monday 21 July 2003 00:23, Beauford.2005 wrote: These files were already done from last year, so I figured I would just carry on with them. Last year they did not have to be manipulated - so it wasn't a big deal. I have since changed the whole thing and am now using a database (took me

[PHP] Redirection Question

2003-07-22 Thread Beauford.2005
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 are logged in or not. If not, they are sent to login.php using