[PHP] Forms

2002-12-10 Thread Beauford.2002
Hi, I'm sending this to both lists as I'm not sure where the problem is, but I believe it is an issue with my HTML form. Here's the problem: I have a drop-down menu form on my webpage with employee names in it. When I choose a name and click submit it gets passed to a php page which accesses a

[PHP] Displaying output from MySQL

2002-12-10 Thread Beauford.2002
Hi, Not sure if this is a PHP of a MySQL question, so I am sending it to both groups. Basically I have a list of numbers with two decimal places in the MySQL database, but I only want to display some of them with the decimal points. i.e. 70 (not 70.00) 87 51.5 46.75 12 29 5.5 -1 45 I know it's

Re: [PHP] Displaying output from MySQL

2002-12-11 Thread Beauford.2002
Yep, pretty close to what I needed. Had to do a bit of tweaking, but basically was able to get the results I needed. Thanks - Original Message - From: Chris Hewitt [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, December 11, 2002 5:11 AM

[PHP] Variables - Help

2002-12-16 Thread Beauford.2002
Hi, I have a webpage where users input information. This gets sent to a PHP page to use this input. The first time the user inputs information it works correctly, but the second, third, forth, etc. times does not. It appears the information from the first time is still stored in the variables I

[PHP] PHP and MySQL queries

2002-12-18 Thread Beauford.2002
Hi, I am having a real problem with variables in PHP and trying to query my MySQL database. I have a form that a user inputs information and then that info is used to query my database, but it's not working. I don't get any errorrs and it appears every thing worked, but nothing gets displayed

[PHP] Question about the exit() command

2002-12-19 Thread Beauford.2002
Hi, Could someone clarify this for me. I want to be able to exit out of a PHP webpage and return to the calling page if certain conditions are not met. It appears using exit() will do this, but I am unclear exactly how to use it. any info is appreciated. TIA -- PHP General Mailing List

Re: [PHP] Question about the exit() command

2002-12-19 Thread Beauford.2002
(true) { case ($fname == Select): $errormessage = $error; include (other.html); exit; } echo Other Code; - Original Message - From: Philip Olson [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Thursday, December

[PHP] Another problem with conditional statements

2002-12-19 Thread Beauford.2002
Hi, This should be as simple as breathing, but not today. I have two variables $a and $b which I need to compare in a switch statement in several different ways, but no matter what I do it's wrong. This is what I have tried, can someone tell me how it should be. TIA switch (true): case

Re: [PHP] Another problem with conditional statements

2002-12-19 Thread Beauford.2002
[EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED]; PHP General [EMAIL PROTECTED] Sent: Thursday, December 19, 2002 7:33 PM Subject: Re: [PHP] Another problem with conditional statements switch() does not work that way. Switch uses the value in the parentheses and selects a CASE based upon

[PHP] Fw: Fatal error: Call to undefined function: allerrors() in............

2002-12-19 Thread Beauford.2002
At the beginning of my page I have some code which calls a function I have created, at the bottom of the page is the function, but I keep getting the error Fatal error: Call to undefined function: gotofunction() in .. no matter what I do. Any info on what's happening is appreciated.

Re: [PHP] Another problem with conditional statements

2002-12-19 Thread Beauford.2002
) { case 'help': showHelp(); break; default : showDefault(); } not $action = $_POST['action'] switch (true) { case ($action == 'help'): showHelp(); break; default : showDefault(); } -Original Message- From: Beauford.2002 [mailto:[EMAIL PROTECTED]] Sent

[PHP] Problem with functions

2002-12-20 Thread Beauford.2002
Hi, I keep getting errors in my script that says 'x' function is undefined or 'y' function is undefined. I defined it as 'function test ($a, $b)' and call it using 'test($a, $b)' From my knowledge this is correct, but it just simply doesn't work. Anyone have any ideas on this? TIA -- PHP

Re: [PHP] Problem with functions

2002-12-20 Thread Beauford.2002
($date, $name, $email, $comment) { code ...; } duplicatemessage() { code ...; } ? - Original Message - From: Jon Haworth [EMAIL PROTECTED] To: 'Beauford.2002' [EMAIL PROTECTED]; PHP General [EMAIL PROTECTED] Sent: Friday, December 20, 2002 11:05 AM Subject: RE: [PHP] Problem

[PHP] Forms and PHP variables

2002-12-21 Thread Beauford.2002
Hi, First off, thanks to all those that helped out with my other questions. Not all my problems were solved, but I'm certainly closer. Still working on the same project I need to do the following. I have a form where users input numbers only, is there a way I can have php check to make sure a

Re: [PHP] Forms and PHP variables

2002-12-21 Thread Beauford.2002
[EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Saturday, December 21, 2002 9:50 PM Subject: Re: [PHP] Forms and PHP variables Use is_numeric() http://www.php.net/is_numeric See also the ctype functions which can be read about here: http

[PHP] Undefined Functions

2002-12-22 Thread Beauford.2002
Hi, I previously asked a question about getting undefined function errors in my script and someone mentioned that it may be that I am calling it from within an if or else statement. This turned out to be the case. Now the question - is there a way around this? What I need to do resolves around

Re: [PHP] Undefined Functions

2002-12-23 Thread Beauford.2002
() - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Sunday, December 22, 2002 11:16 PM Subject: Re: [PHP] Undefined Functions An undefined function error has nothing to do with where you are calling the function

Re: [PHP] Undefined Functions

2002-12-23 Thread Beauford.2002
but where it is being called from. Your saying this doesn't matter, but have not given any reasons for my problems. If you could elaborate on this it would be appreciated. Beauford - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General

Re: [PHP] Undefined Functions

2002-12-23 Thread Beauford.2002
see where the old one failed. In any event, I appreciate the help from all who responded. Beauford - Original Message - From: Rasmus Lerdorf [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Monday, December 23, 2002 2:40 PM Subject: Re: [PHP

[PHP] Nested Arrays

2002-12-26 Thread Beauford.2002
Hi, Is there anyway to do a nested array, I have looked at the various array functions and can't figure this out (if possible). I want to be able to put each field of a row into an array, and then put that entire row and into another array. so when I display it, I would have: row1 - col1

Re: [PHP] Nested Arrays

2002-12-26 Thread Beauford.2002
PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Thursday, December 26, 2002 6:19 PM Subject: Re: [PHP] Nested Arrays Sure... for the longwinded approach, just do this: $row1 = array(col1, col2, col3, ...); $row2 = array(col1, col2, col3, ...); $row3

Re: [PHP] Nested Arrays

2002-12-27 Thread Beauford.2002
Great. now can you explain why this works. I'm confused at how PHP knows this is a multidimensional array. I was trying something like $tmp[][]=???. TIA - Original Message - From: Marek Kilimajer [EMAIL PROTECTED] Cc: Beauford.2002 [EMAIL PROTECTED]; PHP General [EMAIL PROTECTED] Sent

Re: [PHP] Nested Arrays

2002-12-27 Thread Beauford.2002
OK, little bit of a brain cramp here. I wasn't clueing in that $tmp=mysql_fetch_array($res) was an array and was trying to do something again that was already there. Thanks for the help. Beauford - Original Message - From: Marek Kilimajer [EMAIL PROTECTED] To: Beauford.2002 [EMAIL

[PHP] Windows vs Linux

2003-01-14 Thread Beauford.2002
Hi I just installed MySQL and PHP on Windows, and I have found that I am getting all sorts of errors (in both) when I try to use some of the same commands I use in the Linux versions. Are their a lot of differences in the two, and where can I find out what these are - I just got used to using

Re: [PHP] Windows vs Linux

2003-01-14 Thread Beauford.2002
The php.ini in both are whatever the default settings for these files are. If the defaults are different, then maybe - but I have no idea about these files, and really don't want to get into it. If the default doesn't work on Windows I will just scrap it. Not worth the head aches. Same with

[PHP] Windows PHP vs Linux PHP

2003-01-15 Thread Beauford.2002
Hi, I asked previously about the differences between the two and the concensus was any differences are in the operating systems themselves and not with PHP. Knowing this, how do I get rid of these errors that keep coming up in Windows, that don't in Linux. One specific one is Notice: Undefined

Re: [PHP] Windows vs Linux

2003-01-15 Thread Beauford.2002
Notice: I have given up on PHP and MySQL on Windows in E:\IIS Webs\beauford as it is a total pain in the butt. The simplest of things I try and do are inundated with errors - I fix one and 5 more come up. I have changed settings in php.ini as suggested and put the @ in front of variables and

[PHP] Apache 2.0.43 and PHP 4.3.0 on Windows - Problems

2003-01-16 Thread Beauford.2002
Here we go again. I installed Apache and it works fine, I then installed PHP and all tests show it works fine - but when I try to get the PHP modules loaded for Apache in httpd.conf, the Apache server won't start again. The only error I get is a Windows error box that says The requested operation

[PHP] Passing Variables

2003-02-01 Thread Beauford.2002
Hi, Is there a way to pass a variable to a PHP script without using a form? I want to put several links on my main page that when clicked on goes to a PHP script - depending on what link was selected, will determine what part of the PHP script gets executed. TIA, Beauford -- PHP General

Re: [PHP] Passing Variables

2003-02-01 Thread Beauford.2002
Perfect. Thanks. - Original Message - From: Philip Olson [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Saturday, February 01, 2003 2:22 PM Subject: Re: [PHP] Passing Variables On Sat, 1 Feb 2003, Beauford.2002 wrote: Hi

[PHP] Forms Question

2003-02-15 Thread Beauford.2002
Hi, Im trying to figure out the best way to do the following. I need to have a series of forms that when the user finishes the first part of the form he is sent to another page where a second form is filled out, and then a third. Making the forms etc. is no problem, what I'm not sure of is how

Re: [PHP] Forms Question

2003-02-15 Thread Beauford.2002
doesn't get run up on every refresh, and I am sure this is similar, but I would need some further help on how to pass the information from one page to the next. Any help is appreciated.. - Original Message - From: Chris McCluskey [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED]; PHP

[PHP] Forms Help (continued)

2003-02-15 Thread Beauford.2002
Has anyone seen or used this script? It looks fairly straight forward, but I can't get it to work. It is however, exactly what I need. Any help is appreciated. http://codewalkers.com/tutorials.php?show=28page=1 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Forms Help (continued)

2003-02-15 Thread Beauford.2002
, 2003 11:34 PM Subject: Re: [PHP] Forms Help (continued) This one time, at band camp, Beauford.2002 [EMAIL PROTECTED] wrote: Has anyone seen or used this script? It looks fairly straight forward, but I can't get it to work. It is however, exactly what I need. Any help is appreciated

Re: [PHP] Forms Help (continued)

2003-02-16 Thread Beauford.2002
Globals are turned on - Original Message - From: Ray Hunter [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Sunday, February 16, 2003 12:15 AM Subject: Re: [PHP] Forms Help (continued) Do you have globals turned on or off? Ray

[PHP] List problem

2003-02-16 Thread Beauford.2002
Does anyone else get bounced messages saying they can't send email to [EMAIL PROTECTED] when sending email to the list? Every email I send to the list I get this. I don't get this when sending email to anyone else or any other list. TIA -- PHP General Mailing List (http://www.php.net/) To

[PHP] Creating a file to write to?

2003-02-19 Thread Beauford.2002
Hi, I want to be able to check to see if a file exists and if so I want to be able to overwrite it. If it doesn't exist I want to be able to create it and then make sure it is writable. A lot of this I have found in the PHP manual, but I can't find anywhere on how to just create the file or

[PHP] Sorting a file

2003-02-28 Thread Beauford.2002
I have the file below which I need to sort by player and then rewrite it, this file will then be used as part of another part of my input process on my site. A couple of things. I am able to read the file into an array using 'file', I think, but I am not able to sort it. I have tried different

Re: [PHP] Sorting a file

2003-02-28 Thread Beauford.2002
Yep, that did it. Thanks. - Original Message - From: Ernest E Vogelsinger [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:50 AM Subject: Re: [PHP] Sorting a file At 16:41 28.02.2003, Beauford.2002 spoke out

[PHP] Arrays and MySQL

2003-03-02 Thread Beauford.2002
Hi, I have an array which I am trying to total but having some problems. Any help is appreciated. Example: This is a hockey team and there are 20 players - I am selecting the goals, assists, and points from each player and then want to have a grand total of all goals, assists, and points.

Re: [PHP] Arrays and MySQL

2003-03-02 Thread Beauford.2002
[EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Sunday, March 02, 2003 11:10 AM Subject: Re: [PHP] Arrays and MySQL Cannot you just make MaSQL count it? $query = select sum(goals), sum(assists), sum(points) from roster; Beauford.2002 wrote: Hi

Re: [PHP] Arrays and MySQL

2003-03-02 Thread Beauford.2002
, Beauford.2002 wrote: Hi, I have an array which I am trying to total but having some problems. Any help is appreciated. Example: This is a hockey team and there are 20 players - I am selecting the goals, assists, and points from each player and then want to have a grand total of all

[PHP] Code Validator

2003-03-03 Thread Beauford.2002
Hi, Is there a code validater for HTML/PHP. I have one for just HTML, but once you introduce PHP it doesn't work. TIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] A NAME= question

2003-03-04 Thread Beauford.2002
Not sure if this is a PHP or HTML problem, so I have posted it to both lists. I have a table with with 5 itmes in which I want to click on and go to a different part of the page. TDA HREF=#1Click 1/A/TD TDA HREF=#2Click 2/A/TD TDA HREF=#3Click 3/A/TD TDA HREF=#4Click 4/A/TD TDA HREF=#5Click

Re: [PHP] A NAME= question

2003-03-04 Thread Beauford.2002
the # sign. Cheers! Rick Happiness is not a destination. It is a method of life. - Burton Hills From: Beauford.2002 [EMAIL PROTECTED] Date: Tue, 4 Mar 2003 17:21:20 -0500 To: HWG Basics [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Subject: [PHP] A NAME= question Not sure

[PHP] Part PHP part MySQL question

2003-03-08 Thread Beauford.2002
Hi, I have a hockey database with players names in it and I want to be able to update their stats one after the other. To be more clear - when the page is first entered I want the first players name to automatically appear showing his current stats (this will be in a form). Then you can update

[PHP] Can someone explain this? include problem.....?

2003-03-09 Thread Beauford.2002
Hi, I have a php script which does some stuff and at the end of the file I have it include a file which has a form in it. The problem I am having is that it is missing code. If you go down to the second input - it has a value=0 field - this does not show up when I view the source from my

Re: [PHP] Can someone explain this? include problem.....?

2003-03-09 Thread Beauford.2002
Sorry, the line I was actually referring to is the one below. I forgot the hidden one was even there and serves no purpose and does not resolve the problem by removing it. This works: input type=text name=player SIZE=10 value=? echo $line['player']; ? It also works if I just hardcode a value

[PHP] array_sum help

2003-03-12 Thread Beauford.2002
Hi, I have a mysql database in which some values are loaded into an array - the problem is that some fields may contain zeros. The problem is the following. If there happens to be zeros in certain column's (which there will be from time to time) then I get this error. How do I get around this?

[PHP] Redirect to a new page?

2003-03-13 Thread Beauford.2002
Hi, I have searched around for hours on this and nothing seems to work. I want simply to do this if yes - goto thispage.php if no - goto thatpage.php Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Redirect to a new page?

2003-03-13 Thread Beauford.2002
Figured it out echo Script Lang=javascript; echo window.location.href = 'viewpostats.php'; echo /script; - Original Message - From: Leif K-Brooks [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 2:20 PM Subject: Re: [PHP

[PHP] Authentication

2003-03-18 Thread Beauford.2002
Hi, I am looking for a simple authentication script that uses MySQL. I have downloaded about 10 of them (most with no instructions on it's use), but even at that they are not what I need. When you go to the main page of my site it will ask you to login or signup. So I want to be able to

[PHP] PHP and IIS 5.0

2003-03-19 Thread Beauford.2002
Hi, I am putting together a website for a customer who insists on using IIS running on Windows XP and I'm running into some problems. It appears that no matter what PHP script I run, I'm getting tons of errors saying this variable or that variable is undefined. I have global variables turned on

[PHP] PHP and IIS - More info

2003-03-19 Thread Beauford.2002
These are some of the errors I am getting Notice: Undefined index: login in C:\Inetpub\wwwroot\..\login\checklogin.php on line 74 and 75, and other similar errors. Line 74 is: $login = $HTTP_SESSION_VARS['login']; Line 75 is: $password = $HTTP_SESSION_VARS['password']; Another one

Re: [PHP] PHP and IIS 5.0

2003-03-19 Thread Beauford.2002
- From: CPT John W. Holmes [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED]; PHP General [EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 11:21 AM Subject: Re: [PHP] PHP and IIS 5.0 I am putting together a website for a customer who insists on using IIS running on Windows XP and I'm running

Re: [PHP] PHP and IIS - More info

2003-03-19 Thread Beauford.2002
Further note that it is not just this script, but many PHP scripts that I run on IIS - they all work perfectly on Apache (on Windows and Linux).. - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: 'Beauford.2002' [EMAIL PROTECTED]; 'PHP General' [EMAIL PROTECTED] Sent

Re: [PHP] PHP and IIS - More info

2003-03-19 Thread Beauford.2002
: Wednesday, March 19, 2003 2:40 PM Subject: Re: [PHP] PHP and IIS - More info Beauford.2002 wrote: Further note that it is not just this script, but many PHP scripts that I run on IIS - they all work perfectly on Apache (on Windows and Linux).. As well as configuration differences it could

Re: [PHP] - IIS - More info

2003-03-19 Thread Beauford.2002
to anyone, I also apologize as this was out of frustration. B. - Original Message - From: Diego Fulgueira [EMAIL PROTECTED] To: PHP Windows [EMAIL PROTECTED]; PHP General [EMAIL PROTECTED]; Beauford.2002 [EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 2:22 PM Subject: [PHP] - IIS - More

[PHP] PHP and file extensions

2003-03-19 Thread Beauford.2002
Still working on this authentication script and have a small question. Each page on the site needs to have one line of code on it so it can't be accessed unless you log in - is there a way to have this line in an html file without changing the extension to .php? On the same note, there is a small

Re: [PHP] PHP and file extensions

2003-03-20 Thread Beauford.2002
What about IIS. This is what the customer is usingand I know d*** about IIS. I would assume that there is a similar thing for IIS, but have no idea where to even look. - Original Message - From: Chris Hewitt [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General [EMAIL

[PHP] Sessions question

2003-03-20 Thread Beauford.2002
I have read some posts to this list on sessions and have read as much as I can find on them, but one problem still exists which I can't figure out. How do I kill the session when the user leaves my site. So if a user is on www.mine.com and logs in successfully, then goes to www.hers.com - the

Re: [PHP] Sessions question

2003-03-20 Thread Beauford.2002
, 2003 1:34 AM Subject: Re: [PHP] Sessions question On Friday 21 March 2003 13:57, Beauford.2002 wrote: I have read some posts to this list on sessions and have read as much as I can find on them, but one problem still exists which I can't figure out. How do I kill the session when the user

Re: [PHP] Sessions question

2003-03-21 Thread Beauford.2002
What about cookies - someone said if you put no time limit on a cookie it dies when you leave the site - I'm not sure about this, but any help is appreciated. - Original Message - From: Justin French [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED]; PHP General [EMAIL PROTECTED

Re: [PHP] Sessions question

2003-03-21 Thread Beauford.2002
So is there anyway to do this - perl, javascript, voodo? - Original Message - From: Ford, Mike [LSS] [EMAIL PROTECTED] To: 'Justin French' [EMAIL PROTECTED]; Beauford.2002 [EMAIL PROTECTED]; PHP General [EMAIL PROTECTED] Sent: Friday, March 21, 2003 11:04 AM Subject: RE: [PHP] Sessions

Re: [PHP] Sessions question

2003-03-21 Thread Beauford.2002
is not active then go here. Voodoo. *LOL* - Kevin - Original Message - From: Beauford.2002 [EMAIL PROTECTED] To: Ford, Mike [LSS] [EMAIL PROTECTED]; 'Justin French' [EMAIL PROTECTED]; PHP General [EMAIL PROTECTED] Sent: Friday, March 21, 2003 12:56 PM Subject: Re: [PHP] Sessions

Re: [PHP] Sessions question

2003-03-22 Thread Beauford.2002
, Beauford.2002 wrote: I don't quite understand this. If a user is on my site and then decides to go into his favourites and go to yahoo.com - this won't work. I think you are assuming the user is going to click on something I have set up - I want this to be invisible - however this user

[PHP] PHP and IIS

2003-03-22 Thread Beauford.2002
I just installed Win2k server and IIS (need it for a project I am doing) and get the following error after installing PHP. All permissions are set correctly. This appears to be a common problem as a search comes up with hundreds of the same problem - funny though - no answers. Any help is

Re: [PHP] PHP and IIS

2003-03-22 Thread Beauford.2002
I'm an Apache user - I had runscripts on for the main server, but I had a virtual host which did not - I assumed incorrectly that the virtual would inherit the other settings. I was wrong. B. - Original Message - From: Burhan Khalid [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED

[PHP] reloading a page..

2003-03-23 Thread Beauford.2002
Not sure why things like this are so difficult. I have an authentication script which allows users access to certain pages based on their user level. If they click on a link to go to a page their not allowed to, I want to be able to just reload the page their on and display a message saying they

Re: [PHP] reloading a page..

2003-03-23 Thread Beauford.2002
PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: PHP General [EMAIL PROTECTED] Sent: Sunday, March 23, 2003 12:37 PM Subject: Re: [PHP] reloading a page.. On Sun, 23 Mar 2003 12:15:25 -0500, you wrote: Not sure why things like this are so difficult. I have an authentication script which

Re: [PHP] reloading a page..

2003-03-23 Thread Beauford.2002
:22 am, Beauford.2002 wrote: One other problem is that I need to know the page the came from in order to reload it. i.e. if they try to access a restricted page from six.html I want to reload six.html - if they try from eight.html then eight.html needs to be reloaded. Firstly, as David

[PHP] PHP has encountered a Stack overflow

2003-03-27 Thread Beauford.2002
Where can I find information on this (all my searches come up in non-English). This script was working fine until I changed the directory it was in - since I moved it I get this error. TIA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Include Question

2003-03-27 Thread Beauford.2002
Hi, First, I fixed my other problem of the stack overflow by moving the files back to the root directory (although I would rather have them in a login directory). Anyway, I have a question regarding the include function. I have a login script in a file called login.php - in this file it includes

Re: [PHP] Include Question

2003-03-27 Thread Beauford.2002
) - but now the paths are all screwed up. If I click on the same link again I get file not found. Hope I am explaining this right as this is really getting on my nerves. TIA - Original Message - From: James E Hicks III [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Sent: Thursday, March 27

Re: [PHP] Session Theft

2003-03-28 Thread Beauford.2002
Can someone explain how this works as I am in the process of doing a login/authentication page and want to make it as secure as possible B. - Original Message - From: Haseeb Iqbal [EMAIL PROTECTED] To: PHP General list [EMAIL PROTECTED] Sent: Friday, March 28, 2003 11:48 PM Subject:

[PHP] Is there a PHP for Dummies?

2003-03-28 Thread Beauford.2002
I'm really tired of trying to figure out the PHP manual and need something that explains things in plain straight forward English. Like get_magic_quotes_gpc() for example - the manual says how to use it and what it returns - but nowhere can I find out what it's for. Does it count sheep, do a quote

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Beauford.2002
PROTECTED] To: Beauford.2002 [EMAIL PROTECTED]; PHP General [EMAIL PROTECTED] Sent: Friday, March 28, 2003 5:07 PM Subject: RE: [PHP] Is there a PHP for Dummies? That is a really, really, really poor example. Tha name says it all. It gets the magic quotes setting for gpc(get, post, cookie

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Beauford.2002
Thanks to all that responded on this. There are some great examples here that I will definitely look into. BE. - Original Message - From: Kenn Murrah [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED]; PHP General [EMAIL PROTECTED] Sent: Friday, March 28, 2003 5:03 PM Subject: Re

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Beauford.2002
[EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, March 28, 2003 9:49 PM Subject: Re: [PHP] Is there a PHP for Dummies? After a quick search of the php manual, I came upon http://www.php.net/manual/en/ref.info.php#ini.magic-quotes-gpc, which says: Sets

Re: [PHP] Session Theft

2003-03-29 Thread Beauford.2002
Aside from SSL (which I wouldn't even know where to begin at this point). Is there not a way to determine what gets sent with the headers or to block the referring address from another site? B. - Original Message - From: Haseeb Iqbal [EMAIL PROTECTED] To: Beauford.2002 [EMAIL PROTECTED

[PHP] Help with functions()

2002-11-19 Thread Beauford 2002
Hi, I have form that a user would input information and that info is sent to a function, but I need to be able to return a result of this function and is where I am having a problem. For example: testfunction($var1, $var2, $var3, $var4); //the form fills these values. echo $meat; function

[PHP] mail() question!

2002-11-25 Thread Beauford.2002
Hi, I have a form where a user enters an email address. The contents of the form are then sent to myself, which works fine. The problem is that the from field says it is from nobody - how can I get it to say it is from the email address the user inputted - or is this possible? TIA -- PHP

[PHP] More mail() questions.

2002-11-25 Thread Beauford.2002
Hi, Thanks to all who replied to my previous email. One more small problem. I am trying to get the message portion of the email to have line breaks, but whatever I do it displays on one line. This is what I have. $message = First Line\n; $message = First Line\n; -- PHP General Mailing List

[PHP] More mail() questions.

2002-11-25 Thread Beauford.2002
Hi, Sorry, my last email got sent by mistake. I am trying to get the message portion of the email to have line breaks, but whatever I do it displays on one line. This is what I have. $message = 1st Line\n; $message .= 2nd Line\n; $message .= \n; $message .= 3rd Line\n; $message .= \n;

Re: [PHP] Re: More mail() questions.

2002-11-26 Thread Beauford.2002
Thanks for the reply, however, that will not work. The only line breaks you may get with that are those layed out in a text box or from your mail client. What if I have other variables that need to be put in the body of the email. i.e. Age: 16 Height: 168 Weight: 120 etc etc etc. These are

Re: [PHP] Re: More mail() questions.

2002-11-26 Thread Beauford.2002
- From: Beauford.2002 [EMAIL PROTECTED] To: [EMAIL PROTECTED]; Kyle Gibson [EMAIL PROTECTED] Sent: Tuesday, November 26, 2002 10:17 AM Subject: Re: [PHP] Re: More mail() questions. Thanks for the reply, however, that will not work. The only line breaks you may get with that are those layed out