Re: [PHP-DB] problems connecting to remote oracle database

2001-07-01 Thread Rouvas Stathis
>From Oracle manual : ORA-01017: invalid username/password; logon denied Cause: An invalid username or password was entered in an attempt to log on to Oracle. The username and password must be the same as was specified in a GRANT CONNECT statement. If the username and password are entered togeth

Re: [PHP-DB] RE: Storing Code in a db?

2001-07-01 Thread Saul Diaz Carrillo
- Original Message - From: "Mikusch, Rita" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 28, 2001 12:16 PM Subject: [PHP-DB] RE: Storing Code in a db? > Yes! I'd be interested in this as well! > Hi! Me too. I think about this a lot. > It would be very convenient to

RE: [PHP-DB] RE: Storing Code in a db?

2001-07-01 Thread olinux
Couldn't you just store the php commands as a txt file and then use a SSI [server side include]? olinux > It would be very convenient to be able to store PHP (or any other server > side code) in a database, then retrieve and execute it. > > I store a lot of website content with embedded HTML co

[PHP-DB] php + informix : howto connect to dbserver on different host ?

2001-07-01 Thread Jens Schwepe
hi, I'm using linux, apache, php and informix ids.2000. it works quite well for now, but I want to move the ids.2000 to a different machine for security and performance reasons. the ifx_connect (dbname@dbservername,user,pass) I guess wants the dbservername to reside on the same computer ? if so,

[PHP-DB] define variable by querying MySQL

2001-07-01 Thread Matt Nigh
hello list. i have a problem that is relatively simple, but I can't seem to figure it out. is there any way to define a variable by querying a MySQL database? here's an example of code I tried using: my_name"; } mysql_close($link);

[PHP-DB] working with files

2001-07-01 Thread Jesse S. Williams
Alright... What I'm trying to do is get a list of all .PHP, .HTM and .HTML files in a directory (recursively) and substitute a specific string from every file (if the string exists). The code I'm using follows. It doesn't work. When I put it into the array, it only stores 80 objects... not sur

[PHP-DB] Formatting Strings in MySQL

2001-07-01 Thread Jesse S. Williams
Is there a certain format you always need the string in? Such as 3 digits followed by a space followed by 3 digits followed by a space followed by 3 digits? Will there ALWAYS be 9 numbers? If this is the case, your ereg() to parse the string and then create a new varible using $regs[x]... so, i

RE: [PHP-DB] most efficient weighting system? URGENT

2001-07-01 Thread Jesse S. Williams
Well, while this isn't the most efficient way to do it, you could always add the id or link or whatever to the database x times based on the weight you want to give it. Otherwise, you'd have to probably add all weights together, get a total and rand() that total, then count from there using ints.

[PHP-DB] Metabase for sessions

2001-07-01 Thread Aral Balkan
Has anyone been able to create a custom sessions handler using Manuel Lemos' excellent Metabase database abstraction library? The reason I'm asking is because I've tried a fairly straightforward implementation of this and it randomly crashes my web server (Apache on WinMe). Manuel has been able t