RE: [PHP-DB] Php and ODBC

2001-09-04 Thread Andrew Hill

It's pretty easy.

Compile using --with-iodbc as in the HOWTO at www.iodbc.org.
You will need ODBC drivers as well - you may download free, non-expiring
2-connection ones from OpenLink and we will provide any support needed to
get you running.

Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software  http://www.openlinksw.com
Universal Data Access  Data Integration Technology Providers

 -Original Message-
 From: Sharif Islam [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 31, 2001 11:39 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] Php and ODBC



 How easy is to connect MSSQL server from PHP , running in Linux? I already
 have Php installed but I dont think I complied it --with-odbc(?). Do i
 have to recompile? Is there any way to test it?

 Any help will be great. thanks

 -Sharif


 )
((
   ||-.
   | :|/'
  -`--'-



 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] ODBC Drivers that doesn't support odbc_fetch_row

2001-09-04 Thread Andrew Hill

Erich,

ODBCScan is a tool that can interrogate ODBC drivers to discover properties
they support.
It's available to download from www.openlinksw.com

Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software  http://www.openlinksw.com
Universal Data Access  Data Integration Technology Providers

 -Original Message-
 From: Erich Reimberg N. [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 31, 2001 1:30 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] ODBC Drivers that doesn't support odbc_fetch_row


 Hello,

  I'm building an application that uses odbc_fetch_row with a row
 number (odbc_fetch_row($cx, 0)).

  This works fine in MS-SQL7.0, but the PHP manual explains that
 using odbc_fetch_row with a row number (second argument) might not
 work with some drivers.

  Does anyone of you have an experience with this? I would like to know
 which drivers don't support a row number with odbc_fetch_row, because
 I might probably have to use this application with different DBs.

  Thanks in advance,

 Erich Reimberg N

 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] PHP and ms Access

2001-09-04 Thread Andrew Hill

That's a yes.

Best regards,
Andrew Hill
Director of Technology Evangelism
OpenLink Software  http://www.openlinksw.com
Universal Data Access  Data Integration Technology Providers

 -Original Message-
 From: Andrey Hristov [mailto:[EMAIL PROTECTED]]
 Sent: Friday, August 31, 2001 9:43 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [PHP-DB] PHP and ms Access


 I think that by using ODBC you can connect to the MS Access server.


 Andrey Hristov
 IcyGEN Corporation
 http://www.icygen.com
 BALANCED SOLUTIONS


 - Original Message -
 From: user [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Friday, August 31, 2001 4:33 PM
 Subject: [PHP-DB] PHP and ms Access


  Hello,
 
  I am builing a microsoft access database.
 
  Now wants the compagny I created it for me to use it to make dynamic
  webpages. The problem is that I am new at this.
 
  Can somebody please explain the basics of integrating a MS
 Access databse
  with php into a webpage?
 
  I thank you in advance,
 
  TheB'Oss
 
  file://Could you please mail the answer to [EMAIL PROTECTED]
 
  Thx
 
 
 
  --
  PHP Database Mailing List (http://www.php.net/)
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
  To contact the list administrators, e-mail: [EMAIL PROTECTED]
 
 


 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] Warning: Page has Expired

2001-09-04 Thread Rick Emery

I consistently use the POST method when submitting a form to a PHP script.
I seldom use GET.

-Original Message-
From: olinux o [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 1:34 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Warning: Page has Expired


I have the same troubles. I believe that the only
solution is to use GET rather than POST as your FORM
METHOD. There may be another way, but this may work
fine, as long as you are not working with
passwords/sensitive info.

olinux


--- Mad Nas [EMAIL PROTECTED] wrote:
 Hi All
 
 I'm using PHP 4 and MySQL in W2K .
 
 When i submit a form and call a php file, i get this
 message :
 
 __
 
 Warning: Page has Expired


__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] How can you hide database login passwd in your script?

2001-09-04 Thread Rick Emery

At $2400.00 per license, Zend Encoder is an expensive option

-Original Message-
From: Lars B. Jensen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 02, 2001 1:00 AM
To: rbtree
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] How can you hide database login passwd in your
script?


An option would be using the Zend Encoder

*snip*
The Zend Encoder Unlimited allows code developers to encode their PHP script
before distributing it. By saving the code in a closed Zend Intermediate
Code format, the Encoder allows developers to protect source code from
copyright infringement, enabling companies to create exclusive software
solutions and commercial PHP applications.

Business-oriented developers who want to enjoy the benefits of PHP
scripting, without exposing their source code, will find the Zend Encoder
Unlimited indispensable for all mission critical business applications that
must protect the source code from copyright infringement. This product
provides copyright and intellectual property protection, opening the way for
the widespread acceptance of PHP for business and commercial applications,
where protection of proprietary information is of primary concern.
*snip*


Ref : http://www.zend.com/store/products/zend-encoder.php

/ LJ

-Original Message-
From: rbtree [mailto:[EMAIL PROTECTED]]
Sent: 2. september 2001 14:06
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] How can you hide database login passwd in your
script?


So how can I hide the database password in my PHP script?

-Original Message-
From: Lars B. Jensen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 02, 2001 1:00 AM
To: rbtree
Subject: RE: [PHP-DB] How can you hide database login passwd in your
script?



If someone breaks in, he/she likely have the skills to get into the mySQL as
well . but no reason to make it too easy

/ LJ

-Original Message-
From: rbtree [mailto:[EMAIL PROTECTED]]
Sent: 2. september 2001 14:01
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] How can you hide database login passwd in your
script?


Exactly.. But  if someone breaks in .. I want to lessen the damage. With a C
program it is hidden in the binary code.

-Original Message-
From: Lars B. Jensen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 02, 2001 12:55 AM
To: Michael; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] How can you hide database login passwd in your
script?



a .php file is only viewable on the server if users have access to the site
through eg. FTP, Telnet or alike. When displaying or trying to download a
PHP file, the server will first execute it and return the result being
your HTML output or result of function, without login information nor PHP
content.

/ LJ
LJWeb GmbH

-Original Message-
From: Michael [mailto:[EMAIL PROTECTED]]
Sent: 2. september 2001 13:55
To: [EMAIL PROTECTED]
Subject: [PHP-DB] How can you hide database login passwd in your script?


How can you hide database login passwd in your script?

I hate having to have scripts with passwords in it that can be viewed by
others.




--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com




_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Warning: Page has Expired

2001-09-04 Thread Jonathan Hilgeman

Actually, if you set it to be completely blank, it seems to let the browser
handle the cache. I did that and have never received a page like that since
then. I researched this for about 2-3 days straight, trying everything I
could find. This seems to be the best method. Every once in a while you will
get a cached page if you use your back button - but its extremely seldom.

- Jonathan

Dave Watkinson [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
look in php.ini (or whatever the Linux equivalent is) for
session.cache_limiter and set it to session.cache_limiter = nocache

HTH 8^D

Dave


-Original Message-
From: olinux o [mailto:[EMAIL PROTECTED]]
Sent: 03 September 2001 19:34
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] Warning: Page has Expired


I have the same troubles. I believe that the only
solution is to use GET rather than POST as your FORM
METHOD. There may be another way, but this may work
fine, as long as you are not working with
passwords/sensitive info.

olinux


--- Mad Nas [EMAIL PROTECTED] wrote:
 Hi All

 I'm using PHP 4 and MySQL in W2K .

 When i submit a form and call a php file, i get this
 message :

 __

 Warning: Page has Expired


__
Do You Yahoo!?
Get email alerts  NEW webcam video instant messaging with Yahoo!
Messenger
http://im.yahoo.com

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] html generated web pages

2001-09-04 Thread Rick Emery

I don't understand the phrase html generated web pages.  What are you
trying to do?

rick
-Original Message-
From: RSalomo [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 12:28 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] html generated web pages


hello,

how can i make html generated web pages, and control images and format for
that html page?
(for example like devshed, they have link like this:
.../.../some_folder/page1.html).
where can i learn them? i.m a newbie here.

is this has something to do with phplib7.2?

thanks in advance.

rudy


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Warning: Page has Expired

2001-09-04 Thread Justin Buist

POST is no more secure, realistically, than the GET method.  Both pass
data around in plain-text form.

In a perfect world web browsers wouldn't cache pages which were POSTed to
as the HTTP specification says.  At least, that's my understanding of it.
Browsers -are- free to cache GET'ed pages though, because logically if the
URL is identical to the other one the same data will be returned.  So,
switching to GET makes sense, because so long as the URL is slightly
different each time the browser won't cache the page.

Of course, in the real world not all browsers were made to spec, and some
cache POSTed pages.  So, to the original poster:  It seems like your page
is doing the Right Thing... but your browser isn't.

Justin Buist
Trident Technology, Inc.
4700 60th St. SW, Suite 102
Grand Rapids, MI  49512
Ph. 616.554.2700
Fx. 616.554.3331
Mo. 616.291.2612

On Mon, 3 Sep 2001, olinux o wrote:

 I have the same troubles. I believe that the only
 solution is to use GET rather than POST as your FORM
 METHOD. There may be another way, but this may work
 fine, as long as you are not working with
 passwords/sensitive info.

 olinux


 --- Mad Nas [EMAIL PROTECTED] wrote:
  Hi All
 
  I'm using PHP 4 and MySQL in W2K .
 
  When i submit a form and call a php file, i get this
  message :
 
  __
 
  Warning: Page has Expired


 __
 Do You Yahoo!?
 Get email alerts  NEW webcam video instant messaging with Yahoo! Messenger
 http://im.yahoo.com

 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Stored Procedure

2001-09-04 Thread bona

Hello everyboby!

this is my first time on this list and I writing to ask for help on SP.

I have the following code calling a Procedure:

?


$c=OCILogon(SYSTEM,manager);
$x =0;
$cpf=10001628852;

$sth = OCIParse ($c, begin CPF_ORA(=:$cpf);end; );

OCIBindByName ( $sth, :$cpf, 12);
OCIExecute ($sth );

?

and I having this error message:

Fatal error: Only variables can be passed by reference in c:\program
files\apache group\apache\htdocs\testes\procedure5.php on line 10

can aybody help me?

thanks

Bona

__
Visite http://www.trama.com.br


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Re: Stored Procedure

2001-09-04 Thread John Lim



Change to:

$sth = OCIParse ($c, begin CPF_ORA(=:cpf);end; );
OCIBindByName ( $sth, :cpf, 12);

There could be other bugs but I'm sure you can fix them.

 and I having this error message:

 Fatal error: Only variables can be passed by reference in c:\program
 files\apache group\apache\htdocs\testes\procedure5.php on line 10

 can aybody help me?

 thanks

 Bona

 __
 Visite http://www.trama.com.br




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Re: Stored Procedure

2001-09-04 Thread bona


I changed my code, but, believe me I got the same erro message!

but, anyway, thanks for your help

I´m still trying



   
   
John Lim 
   
jlim@natsoftTo: [EMAIL PROTECTED]  
   
.com.my cc:   
   
 Subject: [PHP-DB] Re: Stored Procedure
   
04/09/2001 
   
09:27  
   
   
   
   
   






Change to:

$sth = OCIParse ($c, begin CPF_ORA(=:cpf);end; );
OCIBindByName ( $sth, :cpf, 12);

There could be other bugs but I'm sure you can fix them.

 and I having this error message:

 Fatal error: Only variables can be passed by reference in c:\program
 files\apache group\apache\htdocs\testes\procedure5.php on line 10

 can aybody help me?

 thanks

 Bona

 __
 Visite http://www.trama.com.br




--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]






--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] bizarre ocilogon problem

2001-09-04 Thread Galvin, Max

Hi,

I have a page that retrieves info from an Oracle database and which works
fine when I view it. When I switch to another PC with the same OS/browser
(NT/IE5) I get an error:

call to unsupported or undefined function ocilogon()

We have the client libs installed but it's only on one or two machines that
this fails. Any ideas why?

Cheers

Max

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP-DB] How can you hide database login passwd in your script?

2001-09-04 Thread Seb Frost

I'm confused.  You password protect a directory so that no one can get to
it.  And then you can just link into a folder in that directory?  Why
doesn't a password dialog box come up?  Surely someone could write a
malicious script and have it link into the same file to get passwords and
stuff needed to ruin your database?

- seb

-Original Message-
From: grant [mailto:[EMAIL PROTECTED]]
Sent: 04 September 2001 17:20
To: Lars B. Jensen
Cc: Rick Emery; rbtree; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] How can you hide database login passwd in your
script?


 The 600$ alternative
 http://www.zend.com/store/products/zend-developer-suite.php

 / LJ

$0 option:
Put your user ID and password in a config file, then give only the
webserver user access to it.  Read the config file to make it work.  This
also allows easy switching between test and production environments.


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.274 / Virus Database: 144 - Release Date: 23/08/2001


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] PHP and Fox Pro (ADODB) question

2001-09-04 Thread Er Galvão Abbott

Greetings

I'm a newbie but I've been doing very nice thing with PHP. Now a
challenge appeared and I'm kinda lost and in need of some help.

I have a project that I have to make search and display routines in a
Fox Pro database. Everything was wonderful because almost all data
I've needed was stored in DBF files and PHP Dbase functions were
handling this very well.

Now I've found that a piece of data that is extremely important to the
application is in a FPT file. I saw a thread here that recommends the
use of the ADODB library for PHP that can be found at
http://php.weblogs.com/ADODB

Well, what I need, hoping that I'm not asking too much is if there is
anyone hre that can give me a practical example - maybe a code snip -
on how to achieve this.

Any help will be gratefully appreciated.

Thanks in advance,

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] PhP_dbm.dll

2001-09-04 Thread Yousuf A Vasanwala

Hi,

I recently installed PHP4 but with it didn't get the php_dbm.dll file.

Basically what i need is the support for Berkeley DB db2 handler.. though
php4 is equipped with db3 handler which i don't need  I am  looking for db2
handler for dab_open()...



Please help.. if some one can forward the php_dbm.dll file would be glad..

Yousuf Vasanwala



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] Accessing fields with the same name in MySQL

2001-09-04 Thread Joe Strano

Don't do a SELECT *.  Instead, list out the columns you want to select.
When you choose the ID columns, alias them.

For example:

SELECT tbl_job.id job_id,
   tbl_name.id name_id,
  .
.
.
.
.
.

A better option, if you have it, is to change your naming conventions in
your database.  Instead of using ID for your primary key fields, have
TABLE_NAME_id instead.  That eliminates this type of problem.

New here so sorry if this has been answered earlier, and I missed the
message.

Joe
Rick Emery [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...

 Since you're matching on id, why does it matter which table it came
from?
 It came from both.

 Perhaps, I do not understand your question.

 rick
 -Original Message-
 From: Trevor Lanyon [mailto:[EMAIL PROTECTED]]
 Sent: Monday, August 27, 2001 1:13 PM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] Accessing fields with the same name in MySQL


 tbl_job
 ---
 id
 name_id
 job

 tbl_name
 
 id
 first
 last

 SQL
 ---
 select * from tbl_name, tbl_job where tbl_name.id = tbl_job.name_id;

 I use mysql_fetch_object to retrieve a row from the above result set.  I
 have two objects, objName and objJob.  The constructor for both objects
 accept a result object.  How do I reference what table the id column
came
 from.  These objects are generic so aliasing is not an option.

 So how to I differentiate what table each column comes from?

 Trevor Lanyon
 ClearOption Technologies
 204.889.1906 - Office
 204.831.7243 - Fax
 204.229.2625 - Cellular
 http://www.clearoption.com


 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] html generated web pages

2001-09-04 Thread Joe Strano

I think I understand your question.  If I do, the answer is:

use PHP :-)

Seriously though, that's what PHP is all about.  Anywhere in your HTML code,
if you need to programatically set something, put your ? tag, your PHP
code, then ? to close it out.

Example:

input type=hidden name=league_id value=?php echo $league_id;?

This sets the field called league_id to the variable league_id.  If
$league_id was equal to 10, the HTML code you would see when you viewed the
source is:

input type=hidden name=league_id value=10

HTH

Joe

Rick Emery [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 I don't understand the phrase html generated web pages.  What are you
 trying to do?

 rick
 -Original Message-
 From: RSalomo [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 03, 2001 12:28 AM
 To: [EMAIL PROTECTED]
 Subject: [PHP-DB] html generated web pages


 hello,

 how can i make html generated web pages, and control images and format for
 that html page?
 (for example like devshed, they have link like this:
 .../.../some_folder/page1.html).
 where can i learn them? i.m a newbie here.

 is this has something to do with phplib7.2?

 thanks in advance.

 rudy


 --
 PHP Database Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Searching a table

2001-09-04 Thread Devon

I have a database in mysql that only has one table, that table has approx 25
fields . I need to be able to search for data under each of these
fields.

Field examples:  Company, TechContact, AdminContact, Mobile etc etc

I need I guess a pull down menu that would select a field (c above) then be
able to search under each field, as in search for company name, or mobile
number etc etc.

As of yet I cant get my search working ... does any one have any sample code
or any suggestion?  Any help would be amazing . if you have an answer
post on here or write to me at work [EMAIL PROTECTED]





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DB] html generated web pages

2001-09-04 Thread RSalomo

what i'm trying to do is how to control images and page format, color,
fonts.
so if i go to page a.html have image a.jpg and bgcolor red, if page b.html i
have image b.jpg and bgcolor blue.
and i can give to some users privileges, so they can change the image and
the color easily through a userfriendly admin form.

about the html generated web pages,
i mean how php generates html-extension web pages (with image, contents and
page format)?

sorry my english is not very good.

rudy

- Original Message -
From: Rick Emery [EMAIL PROTECTED]
Sent: Tuesday, September 04, 2001 21:57


 I don't understand the phrase html generated web pages.  What are you
 trying to do?

 rick
 -Original Message-
 From: RSalomo [mailto:[EMAIL PROTECTED]]
 Sent: Monday, September 03, 2001 12:28 AM
 hello,

 how can i make html generated web pages, and control images and format for
 that html page?
 (for example like devshed, they have link like this:
 .../.../some_folder/page1.html).
 where can i learn them? i.m a newbie here.

 is this has something to do with phplib7.2?

 thanks in advance.

 rudy



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]