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

RE: [PHP] Ob_start question

2003-09-03 Thread Beauford.2005
m: Ford, 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() [func

[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 ob_end_flush(

RE: [PHP] Values from forms

2003-08-04 Thread Beauford.2005
st 4, 2003 7:11 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'

[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. // $number gets inputted from another form (this works) input type=text name="team" SIZE="10"> This is teams-write.php: The problem I am having is getting the values inputted in th

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. -

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: It appears this line was corrupt somehow. After I rewrote the line from scratch it solved the problem of my paths being screwed up - why

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

2003-07-23 Thread Beauford.2005
nter [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? Or other web server? 3. What is your configuration for php? check ph

[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 another

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

2003-07-23 Thread Beauford.2005
e to soon) 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 numb

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

2003-07-22 Thread Beauford.2005
']); If I echo $_SESSION['goto'] right after session_start() it shows exactly what it should be. So I am at a loss. Ideas?? -Original Message- From: Ray Hunter [mailto:[EMAIL PROTECTED] Sent: July 22, 2003 10:47 PM To: Beauford.2005 Subject: Re: [PHP] Re: Redirectio

RE: [PHP] Redirection Question

2003-07-22 Thread Beauford.2005
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] Redirection Question

2003-07-22 Thread Beauford.2005
4:16 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

[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
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 P

[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 header(:Locatio

RE: [PHP] Still problem with files

2003-07-20 Thread Beauford.2005
files 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 usi

RE: [PHP] Still problem with files

2003-07-19 Thread Beauford.2005
d all 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.

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

2003-07-19 Thread Beauford.2005
e other 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...

[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: Alfredsson Arnott Aucoin Audette Etc... Bates Battag

[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 it

RE: [PHP] Still problem with files

2003-07-18 Thread Beauford.2005
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: &

RE: [PHP] Still problem with files

2003-07-18 Thread Beauford.2005
n PHP. i.e. Roy, P Theodore ThibaultWorrel -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 PROTECTED]> wrote: >

[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 Alfredsson 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 matter what I try I

[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] Reading files question

2003-07-17 Thread Beauford.2005
I have a file that has the 130 lines which follows the example below. Barnaby 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 else. I am assuming

RE: [PHP] Re: MySQL query problems

2003-07-16 Thread Beauford.2005
u're using 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 g

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) { >

[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 sen

[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 that

[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. The part that confuses me is how I run the code for the search. Currently I have it in a function and at the top of the

[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 parti