[PHP-DB] re: PHP4

2003-06-20 Thread Jon Miller
Does anyone know if PHP 4 on the Red Hat distro is only available on RHL8 or better? Thanks Jon L. Miller, MCNE, CNS Director/Sr Systems Consultant MMT Networks Pty Ltd http://www.mmtnetworks.com.au "I don't know the key to success, but the key to failure is trying to please everybody." -Bill C

[PHP-DB] (can't remember my original subject) - php4, apache and mysql????

2003-06-20 Thread JeRRy
Hi, I posted a few hours ago a problem I had with a login function that loaded the form over and over again when trying to login to my site off windows. (locally) I found out what the problem was and have fixed the problem. In the end it had nothing to do with my code but rather incorrect confi

[PHP-DB] Re: Password generator

2003-06-20 Thread Manuel Lemos
Hello, On 06/17/2003 06:45 AM, Davy Obdam wrote: I have to make a password generator, but i have a little problem. You may also want to try any of these classes: http://www.phpclasses.org/password%20generation -- Regards, Manuel Lemos Free ready to use OOP components written in PHP http://www.p

[PHP-DB] Re: apache, mysql, php4 for windows.

2003-06-20 Thread JeRRy
>Are you sure the cookie is set on your machine? What >is your IE setting >about what cookie should accept? Because this is >generaly the problem Okay maybe it's best I post my code here and explain a bit about it. --my login code-- mailto:[EMAIL PROTECTED].\n"; exit; } $lim = mysql_nu

Re: [PHP-DB] Two-column display of data, second method

2003-06-20 Thread Becoming Digital
That was actually my primary point of optimization. Unfortunately, I've been feeling a bit lazy, so I didn't bother going into things. :) Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Se

[PHP-DB] Re: test

2003-06-20 Thread David Robley
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] says... > login test Login/Password mismatch Connection failed -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Renaming all pages to .php

2003-06-20 Thread Steve Cayford
On Friday, June 20, 2003, at 11:55 AM, David Blomstrom wrote: Hm... it would be nice if I could use a search and replace function, but that would be tricky. If I replaced every instance of .htm"> with .php">, then that would also change links to other websites. For example... If /all/ your

Re: [PHP-DB] newby question

2003-06-20 Thread Becoming Digital
include() or require() What does this have to do with databases? Edward Dudlik Becoming Digital www.becomingdigital.com - Original Message - From: "Alvaro Rosales R." <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, 20 June, 2003 18:01 Subject: [PHP-DB] newby question Hi guy

[PHP-DB] newby question

2003-06-20 Thread Alvaro Rosales R.
Hi guys is there a function or a command in php to load an external html or a php page. Sorryb for the stupid question -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] query (sub) select

2003-06-20 Thread OpenSource
Hey guys, I was wondering if this code is possible. I say it is a 4GL code that I am migrating to PHP. +++ $side1Query=ifx_query('select * from line, event' .' where line.e_id=event.e_id ' .' and l_type="'.$s_lt.'" ' .' and l_status in ("O

Re: [PHP-DB] Limit return Size

2003-06-20 Thread CPT John W. Holmes
> I would like to know how I limit my answer from a mysql database query to > display only a limited size? Is this done in the query or the php? > > i.e. Our Performance Results area includes First Quarter 2003 investment > returns for virtually every 529 savings programs. See how your 529 plan >

RE: [PHP-DB] Limit return Size

2003-06-20 Thread Gary . Every
Or $sql = "SELECT concat(LEFT(columnName,255),"...") FROM tableName"; Gary Every Sr. UNIX Administrator Ingram Entertainment (615) 287-4876 "Pay It Forward" mailto:[EMAIL PROTECTED] http://accessingram.com > -Original Message- > From: Hutchins, Richard [mailto:[EMAIL PROTECTED] > Sent:

RE: [PHP-DB] Limit return Size

2003-06-20 Thread Hutchins, Richard
Try: $sql = "SELECT LEFT(columnName,255) FROM tableName"; Using that syntax should return the first 255 characters from the selected column, reading LEFT to right. I tested it in the command line and it worked just fine. Hope that helps. Rich > -Original Message- > From: Marie Osypian

[PHP-DB] Limit return Size

2003-06-20 Thread Marie Osypian
I would like to know how I limit my answer from a mysql database query to display only a limited size? Is this done in the query or the php? i.e. Our Performance Results area includes First Quarter 2003 investment returns for virtually every 529 savings programs. See how your 529 plan performed.

Re: [PHP-DB] Renaming all pages to .php

2003-06-20 Thread Ronan Chilvers
Hi Steve Comments inline... On 20 Jun,2003 at 10:06 Steve B. wrote: > I've heard of a Apache server setting or update that makes for example: > > .com/shoes.html returns page /index.php?site=shoes > or > .com/shoes.html returns page /shoes.php > See my previous post on this thread ... the mo

Re: [PHP-DB] Renaming all pages to .php

2003-06-20 Thread Steve B.
I've heard of a Apache server setting or update that makes for example: .com/shoes.html returns page /index.php?site=shoes or .com/shoes.html returns page /shoes.php Just like you have virtual folders you can have wildcard serach and replaced virtual file names. I believe this would solve your

Re: [PHP-DB] Renaming all pages to .php

2003-06-20 Thread David Blomstrom
At 02:19 PM 6/20/2003 +0200, Thorsten Körner wrote: "This will run, and I think almost without problems. But IMHO it makes no sense. And I don't know, if all the searchengines out there will be able or willing to read *.php files (google works fine)." Are you saying that some search engines might

RE: [PHP-DB] Two-column display of data, second method

2003-06-20 Thread Gary . Every
You could always use the % operand $cols_wanted = 2; if(($faculty_found % $cols_wanted) == 0) { // Then do a echo ''; } else { // Then it's the first column, and don't end the row } This also simplifies it so that you can decide to use three, four or five columns, just by changing the $cols_wa

[PHP-DB] Re: apache, mysql, php4 for windows.

2003-06-20 Thread Cristian MARIN
Are you sure the cookie is set on your machine? What is your IE setting about what cookie should accept? Because this is generaly the problem -- - Cristian MARIN - Developer InterAKT Online (www.interakt.ro) Tel: +4021 312.53.12 Tel/Fax: +4

[PHP-DB] apache, mysql, php4 for windows.

2003-06-20 Thread JeRRy
Hi, I have apache, mysql and php4 for windows installed. I grabbed all my webapages and mysql databases to my pc. But my login cookies/script fails to work at all. It wont let me login. Is anyone aware of a fix for this? I am only using a basic login script/cookie that looks for a username

Re: [PHP-DB] Renaming all pages to .php

2003-06-20 Thread Thorsten Körner
Hi David Am Freitag, 20. Juni 2003 04:13 schrieb David Blomstrom: > I joined this list a few weeks ago because I wanted to learn about php. > Unfortunately, I still haven't found time to study it in any depth. Thus, > my question might be a bit amateurish, but it's fairly urgent, so I'd > appreciat

Re: [PHP-DB] Renaming all pages to .php

2003-06-20 Thread Ronan Chilvers
Hi David Comments inline... On Thu,Jun 19, 2003 at 08:31:40PM -0700, David Blomstrom wrote : > At 09:16 PM 6/19/2003 -0500, Joshua Stein wrote: > > I don't know exactly what you mean, but I just renamed one of my pages > (using Dreamweaver) with a .php extension, previewed it in Mozilla, and

[PHP-DB] test

2003-06-20 Thread fazla
login test -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php