[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

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: snip 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,

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 appreciate

[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

[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:

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

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

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] 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 Ronan Chilvers
Hi Steve Comments inline... On 20 Jun,2003 at 10:06 Steve B. wrote: snip 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 /snip See my previous post on this thread ...

[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

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

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: Friday,

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

[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] 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] 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] Sent:

[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-- ?php error_reporting (E_ALL ^ E_NOTICE); //Put in your own

[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

[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