[PHP] mySQL SQL Conversion

2004-02-16 Thread Logan McKinley
I am using MySQL (4.0.17) and am getting errors with the following SQL statement originally writen for MS products. SELECT survey_questions.Question_ID, First(survey_questions.Question_Text) AS FirstOfQuestion_Text, == this line returns errors i believe it is the AS Avg(survey_responses.Response)

[PHP] compile php

2004-01-12 Thread Logan McKinley
i have a script that checks an email account and records information into a database and want to call it when ever an email hits that account. My ISP uses merak mail server and i see it has an excutables section, so i was hoping to fire my php page whenever an email goes to the account. the

[PHP] open_basedir restriction in effect

2003-06-23 Thread Logan McKinley
I am getting the following error when I am trying to include a file using include(includes\handle_errors.inc); - Warning: open_basedir restriction in effect. File is in wrong directory in /var/hosting/www/www.site.com/http/PHP/compare.php on line 4

[PHP] Berkeley db

2003-06-23 Thread Logan McKinley
I have absolutely no experience with Berkeley db but have been told by my ISP that it is what I need to use. How do I connect to it? Do I use SQL to set up the structure? does it accept standard SQL? If anyone knows of a good resource that would be wonderful as well. Thanks in advance, ~Logan

[PHP] Date problem

2003-06-23 Thread Logan McKinley
I am storing dates in an Access database in a field with a Date/Time Type the date is being generated using date(n/d/Y h:i a). It appears to be stored in Access correctly but when I output it to the page using PHP it seems to be changing. It is being stored in the database as 6/19/2003 1:44:00

[PHP] Cannot modify header information - headers already sent

2003-06-20 Thread Logan McKinley
I am having a problem when i use an include file to include database connectivity, however if i cut and paste the code out of the include and place it directly into the .php file it works. I am not sure how to figure this problem out. === error: Warning: Cannot modify header

Re: [PHP] Strange roblems with sessions

2003-06-18 Thread Logan McKinley
:[EMAIL PROTECTED] At 6/18/2003 02:51 PM, Logan McKinley wrote: -- the code in question I have attached the actual files if that would be of more help, Thanks in advance for any help, The first thing that I noticed is that you're doing error checking

Re: [PHP] Strange roblems with sessions

2003-06-18 Thread Logan McKinley
. Steve Keller [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] At 6/18/2003 03:22 PM, Logan McKinley wrote: the error checking include file just handles php errors, the javascript handles form validation. I believe the problem i am having is with the session not the error handling

[PHP] Strange roblems with sessions

2003-06-18 Thread Logan McKinley
what it is meant to do: take a querystring set it to a session variable (outputs error if neither querystring nor sesison exist) then reloads the page (to remove the querystring) what it (appears) to do: it sets the querysting to the session, reloads the page and outputs an error saying it doesn't

Re: [PHP] Basic Help

2003-06-17 Thread Logan McKinley
as my back end. Thanks in advance, ~Logan Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tuesday 17 June 2003 11:39, Logan McKinley wrote: Use a descriptive subject heading. I am new to PHP but have been using ASP for years. What i am trying to do is: 1) take

[PHP] error with null $HTTP_GET_VARS['field']

2003-06-17 Thread Logan McKinley
right now if a the 'field' key does not exist at all in the querystring it returns the following error: Notice: Undefined index: Register in c:\inetpub\wwwroot\PHP\Register.php on line 3 I think i can use the empty function but i pass in 11 different variables and it seems like there must be a

[PHP] Basic Help

2003-06-16 Thread Logan McKinley
I am new to PHP but have been using ASP for years. What i am trying to do is: 1) take a querystring variable 2) set it as a session variable 3) redirect the page back on itself all of this is done so the user never sees the querystring var so it must change it address bar 4) access the

[PHP] asymmetric encryption with PHP

2003-06-15 Thread Logan McKinley
I am new to PHP and was wondering if there was a way to do asymmetric (public/private key) encryption with PHP? I don't have administrative (ability to install programs) on either the web server or the client machines so it seems that neither pgp nor gnupg will not work. Thanks in advance,