Re: [PHP-WIN] Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
? or when the php libary was built? Frank --- Frank Tudor <[EMAIL PROTECTED]> wrote: > Thanks for the response. > > Ok with php.ini in the ect directory I get a > > Call to undefined function: mysql_connect() > > Without the php.ini file all my functions fail, b

[PHP-WIN] Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
e the php.ini and frankly I'm not sure where the php stuff is defined in apache), because before the php.ini files ended up in the etc directory I had to modify it from the php.ini-dist from the common lib directory. does this help? Frank --- John Nichel <[EMAIL PROTECTED]> wrote: >

[PHP-WIN] Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
t failes when i restart my web seerver in the httpd-perl.conf file Frank --- John Nichel <[EMAIL PROTECTED]> wrote: > Frank Tudor wrote: > > >>It worked like a charmbut guess what. I can't create a > >>connection string to my database. Now I have

[PHP-WIN] Re: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
ing in php.ini > > Frank Tudor wrote: > > > I can run mysql from a command line. > > > > What I create a connection string using my php.ini file I > get > > > > failure. mysql_connect() errors > > > > My connection string code is very simple: &g

[PHP-WIN] RE: [PHP] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I can run mysql from a command line. What I create a connection string using my php.ini file I get failure. mysql_connect() errors My connection string code is very simple: "; $result2 = mysql_list_tables($db_data[0]); $num_rows2 = mysql_num_rows($result2);

[PHP-WIN] PHP Apache (GLOBALS) question

2003-09-19 Thread Frank Tudor
I have installed Mandrake Linux and it comes standard with Apache PHP and MySQL. You can install all these rpms through the server selectionAnyway. In my test environment it is function city and of course register globals were on. Now I have Taked my PHP.INI-DIST set the globals to on and c

[PHP-WIN] PHP and MYSQL don't shake hands

2003-09-18 Thread Frank Tudor
Guys, I have moved from a foxserv(apache, php, mysql, all in one install tool) windows test environment to a Linux apache php mysql setup specifically mandrake linux production server. The problem I am having is that when I try to pass values to the database the php fails. I think I have singled

[PHP-WIN] globals on globals off (ACK!!)

2003-09-16 Thread Frank Tudor
This is more for a linux group post but I know someone can provide enlightenment on this issue. I have the latest version of apache and php I have created my entire sie in a foxserv environment on windows but my production environment is on mandrake linux 9.1 The globals are set to off but i'll b

[PHP-WIN] Form Handling

2003-08-14 Thread Frank Tudor
Hi all! I am looking for a way to handle emply form fields on one page instead of catching it on the response page. I have seen some good handling where the same page comes back with a colored field or a red aterik. Also, if I do the form handling on one page can I still have my database conn

[PHP-WIN] PHP My first function (help)!!!!

2003-08-14 Thread Frank Tudor
Guys I need help! I think I am on the right track with my logic but my code fails. Can someone help? (my coding is weak no formal training). Thanks, Frank $TotalString = "$total"; function Price($total) { if "$total" <= "24" then "$total" * "3200" else if "$total" >= "25" and "$total"

[PHP-WIN] Windows 2K (workstation)

2003-07-30 Thread Frank Tudor
What server components do I need to get PHP running on Windows Workstation 2000? __ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP-WIN] copying a mysql table within a database

2003-02-12 Thread Frank Tudor
I know this is not the right group but the mysql group is very quite. how do I copy a table and rename it inside a database Like if database = microlight table = microlight copy table microlight to table called sportlaser Please help. Frank __

[PHP-WIN] mysql running sql from txt file

2002-11-11 Thread Frank Tudor
How do I run a sql statement from a txt file for mysql on win2k? I know it starts with source and my file is like C:\my_file.txt do I have to move this to bin or data before I can run it? Please help I know I'm close. Frank __ Do you Yahoo!? U2

[PHP-WIN] query problem

2002-11-06 Thread Frank Tudor
I am using php on unix and have moved my pages and database over from a win 2k server. I rebuilt the databases and figured the pages would work right. I have an mediumint set to null in my mysql database the code issues a null value and on windows it increments properly. on unix it increment

[PHP-WIN] PHP WIN2K MYSQL Authentication

2002-07-24 Thread Frank Tudor
I am trying to authenticate to my site. I have had no success. All I get is the pop-up window reutrning over and over again. Like it is not even looking at the code. Please help. This seems like standard stuff floating around various php sits so why it doesn't work is a mystery. Here is my co

[PHP-WIN] Method get for Windows ME and PWS w/PHP-4.1.1

2002-02-26 Thread Frank Tudor
Newby question: I am just trying to pass a value from one page to the next, nothing complicated. In the the addess bar I see the string pass, but on the page it is blank? Any Ideas? Oh, everything is in lower case. My code is like this for page test.html: then for the test.php page I ha