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'
> 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
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_
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
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:
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
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
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
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)
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
"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
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
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
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 (
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]
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
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
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
18 matches
Mail list logo