[PHP-DB] Re: please help!

2002-04-23 Thread Ray Hunter
Also try using the exec command with an array and that will provide the result for you so you can verify if the command was successful using php... Check here: http://www.php.net/manual/en/function.exec.php BigDog "Josh Evans" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL

[PHP-DB] Re: php-db Digest 23 Apr 2002 18:14:40 -0000 Issue 1168

2002-04-23 Thread Frank Flynn
Achilles, Do mean that a particular user should only be able to view certain records in the database? Or just that person must log in with a valid user name and password before they have access to the database, after they login they have access to the whole thing? The second case is simple and

Re: [PHP-DB] User getting superuser access. ack!

2002-04-23 Thread szii
Well, that looks like a problem within the findLoginType() call. Since it's not been included, it's hard to help you. :) 'Luck -Szii - Original Message - From: "J. Wharton" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, April 23, 2002 11:09 AM Subject: [PHP-DB] User getti

[PHP-DB] Re: [PHP-WIN] Update 4.1.2 > 4.2 : MSSQL Error S1000 (Parallel Requests)

2002-04-23 Thread John Lim
I am having problems too. My ADOdb regression tests for msaccess/odbc and vfp/odbc fail every time. No data is being retrieved :-( Uggh. "Christoph Grottolo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > > "Lars Schwarz" <[EMAIL PROTECTED]> schrieb im Newsbeitrag > news:[EM

[PHP-DB] User getting superuser access. ack!

2002-04-23 Thread J. Wharton
I am having a problem where from certain browsers, a user gets the superuser access, but from mine, she gets normal access. Help! Here is a snippet of my code: //findLoginType returns a single character code stored in the user table for each user. //variable $username=$REMOTE_USER as previously

Re: [PHP-DB] auto-increment question

2002-04-23 Thread Dan Brunner
Hello!! ALTER TABLE table1 AUTO_INCREMENT = 1000; That should do it... You can use that anytime.. Dan On Tuesday, April 23, 2002, at 12:21 AM, [EMAIL PROTECTED] wrote: > Hi all, > > I'm wondering if there is a way to start an auto-increment field at a > number > other than 1. I'm working on

Re: [PHP-DB] please help!

2002-04-23 Thread szii
You're not evaluating the variable correctly... Instead of... $site = ".row['site']."; It should be... $site = $row["site"]; Or $site = "$row['site']" I'm not sure why you have leading and trailing periods, either. Looks like you were trying to do string appends, but they're not

[PHP-DB] please help!

2002-04-23 Thread Evans, Josh
Database: sites I have to columns: "id" and "site". I will have approx 800 entries in the db when I am finished and what I want it to do and start with 1st entry and ping the site and display in a table on the screen if it was able to ping site or not. This is what I have so far. My problem is I

Re: [PHP-DB] auto-increment question

2002-04-23 Thread szii
This is more of a MySQL question, but you can set the column default for the auto_increment column to something other than 1. Look up the "SET DEFAULT" clause of the table create / alter table calls. -Szii - Original Message - From: "Dan Swensen" <[EMAIL PROTECTED]> To: "php" <[EMAIL P

[PHP-DB] auto-increment question

2002-04-23 Thread Dan Swensen
Hi all, I'm wondering if there is a way to start an auto-increment field at a number other than 1. I'm working on a table meant to store large amounts of users, each with their own unique ID, but my employer wants the UIDs to be a four- digit number, rather than starting at 1 -- but they still

Re: [PHP-DB] Problem

2002-04-23 Thread Thomas \"omega\" Henning
well sorry 2 say but it was just an incompability between php and mysql php 4.1.2 fixed it :) "David Robley" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] > (Thomas \"Omega\" Henning) says... > > no everything

Re: [PHP-DB] Re: Mail Again

2002-04-23 Thread Alex Francis
Got it at Last Thank you -- Alex Francis Cameron Design 35, Drumillan Hill Greenock PA16 0XD Tel 01475 798106 [EMAIL PROTECTED] http://www.camerondesign.co.uk This message is sent in confidence for the addressee only. It may contain legally privileged information. Unauthorised recipients are re

RE: [PHP-DB] Passwords

2002-04-23 Thread Peter Lovatt
Basically you need first to authorise the user. Check the username and password against an entry in a user table in the database. If you are using sessions set a variable that makes the session authorised, you are not using sessions then you need some sort of session management. (I have the code,

Re: [PHP-DB] Re: Mail Again

2002-04-23 Thread Lisi
You can also add the following line to your code: $header = "From: Your Name <[EMAIL PROTECTED]>\n"; and write your mail statement like this: mail($email, $title, $comments, $header); You can just stick the variable $emailaddress into whichever variable is relevant - what was that for if not t

[PHP-DB] Re: Mail Again

2002-04-23 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > Problem is!!! PHP.INI is at my ISP. Is there a way to make it think it > has been changed. > > -- > Alex Francis > Cameron Design > 35, Drumillan Hill > Greenock PA16 0XD > > Tel 01475 798106 > [EMAIL PROTECTED] > http://www.camero

Re: [PHP-DB] Passwords

2002-04-23 Thread Achilles Maroulis
Thanx guys!! -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Re: PHP with DB2 and Oracle

2002-04-23 Thread John Lim
Yes, you create two independant connections to db2 (using odbc) and another using oci8. Regards, John "Luis Silva" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi all > > I am a beginner with PHP, so sorry if my question is to much basic for you. > > > Is p

[PHP-DB] Re: Mail Again

2002-04-23 Thread Alex Francis
Problem is!!! PHP.INI is at my ISP. Is there a way to make it think it has been changed. -- Alex Francis Cameron Design 35, Drumillan Hill Greenock PA16 0XD Tel 01475 798106 [EMAIL PROTECTED] http://www.camerondesign.co.uk This message is sent in confidence for the addressee only. It may co