[PHP-DB] sessionid

2001-09-11 Thread J-E-N
hello! i have a script below, my question is, will there be a chance that i will get thesame $sessionid. if (!$sessionid) { $sessionid = md5(uniqid(rand())); SetCookie(sessionid,$sessionid,time()+1314000); }

[PHP-DB] access my cgi-bin

2001-09-11 Thread its me
here is my folders tree: (i'm on windows) c:/apache/cgi-bin/test.php c:/apache/htdocs/click.html i want to call test.php from click.html. what is the syntax? is it something like: ../cgi-bin/test.php?

[PHP-DB] mysql driver

2001-09-11 Thread its me
i was told to upload my database to server,i do it in access and then extract it and do so i need ODBC driver for MySql. is that true?did anyone tried this befor..and is there any other way? if anyone used it..from where can i get the driver?

[PHP-DB] getting a details-page

2001-09-11 Thread news.uni-mannheim.de
Hello I have a problem: with a mysql_query I get the results of a table field into a list page. Is it possible to use this result (as link) to open a new page where the detailed results of each row are shown? thx Myro -- PHP Database Mailing List (http://www.php.net/) To unsubscribe,

[PHP-DB] join 2 db

2001-09-11 Thread Sommai Fongnamthip
Hi, I'd like to retrieve data which contain in 2 db. How could I do? db1-table-in-db1-field-in-table-in-db1 db2-table-in-db2-field-in-table-in-db2 I'd not extract data to new table because I'd like to retrieve data only. thanks SF -- PHP Database Mailing List

[PHP-DB] Creating a ODBC variable

2001-09-11 Thread Liris Muller
Hi, I creat the Table (DB2 - sql statment): create table tb_proj (codproj char(12) not null,result long varchar, finali long varchar,primary key (codproj)) in tp_dbsp1 Insert in DB2 (ODBC) in Php: $query = insert into tb_proj

RE: [PHP-DB] ODBC connection problem

2001-09-11 Thread Andrew Hill
Don, Your DSN may be set to exclusive connection mode (check under options). Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software http://www.openlinksw.com Universal Data Access Data Integration Technology Providers -Original Message- From: Don Jackson

RE: [PHP-DB] reading arrays within a field from mysql and separating the values

2001-09-11 Thread Rick Emery
the explode() should have worked on that. Something like: $query = SELECT DCD_Access FROM userdb WHERE ID = $user_ID; $result4 = mysql_query($query) or die(Error); $DCD = mysql_fetch_array($result4); $myarray = explode( ,, $DCD['DCD_Access'] ); foreach ( $myarray as $val ) { print

RE: [PHP-DB] access my cgi-bin

2001-09-11 Thread Rick Emery
yeah, that should have worked. FORM method=post action =../cgi-bin/test.php -Original Message- From: its me [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 11, 2001 3:19 AM To: [EMAIL PROTECTED] Subject: [PHP-DB] access my cgi-bin here is my folders tree: (i'm on windows)

Re: [PHP-DB] reading arrays within a field from mysql and separating the values

2001-09-11 Thread Andrey Hristov
$my_arr= array(.); echo implode(' ',array_keys($my_arr)); Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS - Original Message - From: Rick Emery [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 11, 2001 4:23 PM Subject: RE: [PHP-DB]

Re: [PHP-DB] access my cgi-bin

2001-09-11 Thread Andrey Hristov
I'm not sure that this will work. I think that c:/apache/htdocs is visible to web, so ../cgi-bin/ will return to http://host/cgi-bin/test.php .hmmm this will work because there is mapping ScriptAlias /cgi-bin/ to /apache/cgi-bin/ but this is not clear it is effect. better

Re: [PHP-DB] reading arrays within a field from mysql and separating the values

2001-09-11 Thread Andrey Hristov
, ok, sorry for the disturbance. greets. Andrey Hristov IcyGEN Corporation http://www.icygen.com BALANCED SOLUTIONS - Original Message - From: Rick Emery [EMAIL PROTECTED] To: 'Andrey Hristov' [EMAIL PROTECTED]; Rick Emery [EMAIL PROTECTED] Sent: Tuesday, September 11, 2001 4:39

[PHP-DB] session problem

2001-09-11 Thread its me
here is my code,u only have to care for the session part: this is the login page: ?php session_start(); $adminname = emad; $serverpassword = omda; $servername = localhost; $dbname = mall; $sql = SELECT * FROM registration WHERE username = '$username' and password='$password'; if($username !=

[PHP-DB] session

2001-09-11 Thread its me
Cannot send session cache limiter - headers already sent (output started at C:\apache\htdocs\mall\menu.php:9) in C:\apache\htdocs\mall\menu.php on line 10 this message appear when i make session_start() on a page??

[PHP-DB] order by question

2001-09-11 Thread Andrius Jakutis
Ok, here is the question: I write to order by date Order by date. So, it output's something like this: 2001 08 01 2001 08 02 2001 08 03 What if I want to order by date, but not from the older to newest, but from newest to older ? The same is with numbers - priority I use order by priority.

Re: [PHP-DB] order by question

2001-09-11 Thread Jason Wong
- Original Message - From: Andrius Jakutis [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 12, 2001 12:12 PM Subject: [PHP-DB] order by question Ok, here is the question: I write to order by date Order by date. So, it output's something like this: 2001 08 01

[PHP-DB] Re: session

2001-09-11 Thread Leila
session_start() must be the first line of your script. I hope this help. Leila Its Me [EMAIL PROTECTED] escreveu nas notícias de mensagem:[EMAIL PROTECTED] Cannot send session cache limiter - headers already sent (output started at C:\apache\htdocs\mall\menu.php:9) in

[PHP-DB] collecting a variable value from SQL*Plus

2001-09-11 Thread bona
Hi again. now I´m writing to solve another puzzle of my script... on the SQL*Plus I type the following code to get x value: print x; I trying to do it with PHP this way: ? $conn = OCILogon (SYSTEM,manager); $cursor = OCIParse ($conn, print x;end;); OCIBindByName ($cursor, :x, $x, 10);

[PHP-DB] Shoutout.....

2001-09-11 Thread Brunner, Daniel
This Shoutout goes to the people who have lost their lives today. My heart will be with them forever. May a quick death come for those who are involved We will never forget... All those innocent lives..lost.

[PHP-DB] USA Attacks

2001-09-11 Thread Steve Farmer
Hi, My heart goes out to all our American cousins in their time of tragedy. Steve Farmer -- --- Minds are like parachutes, they work best when open Support free speech; visit http://www.efa.org.au/ Heads Together Systems Pty Ltd

Re: [PHP-DB] USA Attacks

2001-09-11 Thread Anthony Carlos
Hello, Steve. Thank you for your sentiments. As an American who drives past the Pentagon everyday to work, it means a lot. Anthony Carlos From: Steve Farmer [EMAIL PROTECTED] Date: Wed, 12 Sep 2001 12:28:28 +1000 To: [EMAIL PROTECTED] Subject: [PHP-DB] USA Attacks Hi, My heart goes

Re: [PHP-DB] USA Attacks

2001-09-11 Thread Vanessa Haakenson
Hello, I too want say thanks to you. I am still in such shock and dis-belief. And its great to know we have people around the world sharing our outrage. Vanessa - Original Message - From: Anthony Carlos [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 11, 2001 8:06 PM

[PHP-DB] text area handle

2001-09-11 Thread Sommai Fongnamthip
Hi, I know this group for PHP-DB, but I could not find any help from PHP-Manual about Text Area Handle. I'd like to accept input with multi-line text box (use textarea quote). How could I get each row value in text area. If someone have better idea to input multiple row in one time

[PHP-DB] ODBC connection under Win32 + Apache + SQL Server

2001-09-11 Thread Victor Espina
Hi, i'm new using PHP i'm trying to run some basic PHP scripts to retrieve a show data coming from a SQL Server database. The problem is that when i try to run this: $conn=odbc_connect(MQIS,sa,); PHP returns the following warning: Warning: SQL error: [Microsoft][ODBC Driver Manager] Data

Re: [PHP-DB] text area handle

2001-09-11 Thread Timothy Aslat
On 2001.09.12 13:24 Sommai Fongnamthip wrote: I know this group for PHP-DB, but I could not find any help from PHP-Manual about Text Area Handle. I'd like to accept input with multi-line text box (use textarea quote). How could I get each row value in text area. If someone have

Re: [PHP-DB] order by question

2001-09-11 Thread Steve Farmer
Hi Andrius, try order by date desc Steve At 9:12 PM -0700 11/9/01, Andrius Jakutis wrote: Ok, here is the question: I write to order by date Order by date. So, it output's something like this: 2001 08 01 2001 08 02 2001 08 03 What if I want to order by date, but not from the older to

RE: [PHP-DB] USA Attacks

2001-09-11 Thread Beau Lebens
As another Aussie watching in silent disbelief last night as the live media showed me the second plane crashing into the WTC, and someone with family in the US (although thank god nowhere near the recent occurrences) I'd also like to say hang in there and be cool if that's possible, I'm sure

Odp: [PHP-DB] USA Attacks

2001-09-11 Thread Bartek Pawlik
My deepest sympathy to all Americans, It's horrible, I can still believe it. Kill everyone who is involved into these attacks Bartek Pawlik Poland - Original Message - From: Steve Farmer [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 12, 2001 4:28 AM Subject:

RE: [PHP-DB] USA Attacks

2001-09-11 Thread Lars B. Jensen
It is replies like this that makes me understand the terrorism in the world... No doubt, it was a horrible act by cowards, but what comes up must come down. US has been playing with fire once too often and suddenly tasted their medicine - maybe time to rethink the world police strategy again. I