[PHP-DB] RE: Session help...

2003-07-29 Thread Ow Mun Heng
As mentioned previously in this list, $_SESSION and session_register, session_is_register, is not compatible with each other. Anyway, I used your idea as inspiration for my own code.. My code works.. Try to change From: if (!session_is_registered("valid_user")) { To: if ($_SESSION['valid_user'

RE: [PHP-DB] alphabetical sorting... limiting and paginatingonnext set of letter group

2003-07-29 Thread Ramil G. Sagum
> function($char_begin, $char_end) > > { > $q_begin = strtolower($char_begin); > $q_end = chr(ord(strtolower($char_begin))+1); make that $q_end = chr(ord(strtolower($char_end))+1); sorry. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.ne

RE: [PHP-DB] alphabetical sorting... limiting and paginatingonnext set of letter group

2003-07-29 Thread Ramil G. Sagum
On Wed, 2003-07-30 at 11:17, Aaron Wolski wrote: > Hey, > > Thanks. > > Is there anyway this can be performed one function/loop? > yes of course. =) just create a function that takes in two letters as a parameter, then build the query string from it. function($char_begin, $char_end) { $q_

[PHP-DB] alphabetical sorting... limiting and paginating on next set of letter group

2003-07-29 Thread Aaron Wolski
Hi Guys, Rather long topic I know. Sorry if it annoyed anyone. Hopefully someone can help here with the logic on this. I have a query where I am getting one column (designers) in a Table, ordered alphabetically. Right now.. this query is displaying EVERY distinct result (45 in total). This

[PHP-DB] postgres problems, undefined symbol: SortMem

2003-07-29 Thread Ynse
Hi all, I am running Apache and PHP 4.3.2 with pgsql compiled in on RH8.0 (I know, I should choose better system :). When I'm trying to use PostgreSQL from web page scripts, I got this: Warning: Unable to load dynamic library '/usr/lib/php4/pgsql.so' - /usr/lib/php4/pgsql.so: undefined symbol:

[PHP-DB] Image Upload fails after Migration 4.0 --> 4.3...

2003-07-29 Thread lynch
hello everybody, my script fror uploading a number of images to a 777 mode directory worked fine all the time - until i decided to rebuild my machine from scratch with apache 2.0 (running virtual hosts) redhat 9.0 mysql 4.0.12 php 4.3 now when attempting to upload an image i keep getting the "c

[PHP-DB] Form Submitting

2003-07-29 Thread Chris Payne
Hi there everyone, I'm getting my results from the DB, but I need to submit the form using post to 2 iframes, I can get it to submit to 1 iframe, any ideas? I've checked google but can't find anything that seems to work with forms, only links with onclick :-( Not sure whether PHP or JScript wi

Re: RE: [PHP-DB] hi (php-SSH)

2003-07-29 Thread bbonkosk
I *think* I set this to you yesterday... http://www.cs.umd.edu/~arun/misc/ssh.html -Brad - Original Message - From: Suman Aluru <[EMAIL PROTECTED]> Date: Tuesday, July 29, 2003 12:32 pm Subject: RE: [PHP-DB] hi (php-SSH) > could somebody tell me howto Generate the SSH key file to connect

RE: [PHP-DB] hi (php-SSH)

2003-07-29 Thread Suman Aluru
could somebody tell me howto Generate the SSH key file to connect SSH without password from php Suman R Aluru -Original Message- From: David Smith [mailto:[EMAIL PROTECTED] Sent: Monday, July 28, 2003 11:19 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP-DB] hi (php-SSH)

Re: [PHP-DB] hi (php-SSH)

2003-07-29 Thread Roger 'Rocky' Vetterberg
Brad Bonkoski wrote: Well, SSH has a server which woudl answer your requests and a lient to initiate the session, I'm assuming you wish to emulate the client side to initiate the session, of course PHP is a server side language, so it's not adding up. I have seen a JAVA applet that will open in a

Re: [PHP-DB] Bar codes in PHP

2003-07-29 Thread Norma Ramirez - TECNOSOFT
"Later on librarians are using the bar code scanner, which will pick up the unique id and look up in the database for further processing". Hardik this part it´s exactly what I want to know, how by using a php form, read or pick up as you say, the bar code and make an input to the database or somet

[PHP-DB] Session help...

2003-07-29 Thread NIPP, SCOTT V (SBCSI)
Sorry for the slightly off-topic post... I have a couple pages that use a login page. If the user tries to bring up one of these pages without being logged in, then the pages redirects him to the login page. After successful login, the user is directed back to the page they were attempti

Re: [PHP-DB] Bar codes in PHP

2003-07-29 Thread Hardik Doshi
You need the bar code scanner on the client side. PHP has nothing to deal with the bar code. I have implemented the bar code system for the online library management system for one reputed school at Chicago. For every book, system is generating the unique id and later on i am exporting these ids a

[PHP-DB] dbx complains that mssql is not loaded

2003-07-29 Thread Richard Soderberg
Im running Apache 1.3.7 under RedHat 7.2 I've recompiled apache to load PHP as a module I've installed Freedts PHP has been recompiled to include mssql support (--with-mssql=/usr/local where Freedts puts its files) and with dbx support The following call in a php script: $link = dbx_connect (

RE: [PHP-DB] hi (php-SSH)

2003-07-29 Thread Natividad Castro
You can use putty. PuTTY is a free implementation of Telnet and SSH for Win32 platforms, along with an xterm terminal emulator. You can download from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html Good luck Nato -Original Message- From: otherguy [mailto:[EMAIL PROTECTED]

[PHP-DB]-Replication

2003-07-29 Thread ΝΙΚΟΣ ΓΑΤΣΗΣ
Hello. I have MySQL 3.23.41 on a RH-7.2 Linux used as local server. I'm trying to replicate the databases from server (192.168.0.1) to another linux PC (192.168.0.3). Following the manual, i grant to the master a user with file privileges, and edit both my.cnf files. The master starts fine but the

[PHP-DB] Re: Old dbase 2 or 3 conversion

2003-07-29 Thread Nadim Attari
I've got some materials from http://www.gdsoft.com/swag/downloads.html Have a look (in Misc.swg - download the reader too) The examples below are written in Turbo Pascal (7.0

Re: [PHP-DB] PEAR::DB question

2003-07-29 Thread Terry Riley
Jake Dunno if this will help, whether you're using MySQL or whether it works in PEAR. Look up mysql_data_seek() in the php manual. Cheers Terry --Original Message- > Hello- > I'm using the fetch method to get a result set. ie- > > $sql = "select id,name from sr_names or