[PHP-DB] escape characters

2004-03-21 Thread matthew perry
I am trying to allow my users to enter quotes in their strings. For instance instead of writing:2 inch rod, they can write 2 " rod. The problem is, of course, that " ends the string and all that is saved is any value before the ". How do I get around this without using textarea? -- PHP D

[PHP-DB] escape chars continued

2004-03-22 Thread matthew perry
l_escape_string(). http://phundamentals.nyphp.org/PH_storingretrieving.php Regards, Filip de Waard Jimmy Brock "Matthew Perry" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I am trying to allow my users to enter quotes in their strings. For instance instead of w

[PHP-DB] exporting data to excel

2004-03-24 Thread matthew perry
I am looking for the easiest way to export data to an excel file. Is the easiest way to use PHP's file handling functions? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] checkboxes and loops

2004-03-28 Thread matthew perry
OK lets see if I can figure out how to ask this: I am setting up a system for my company to filter through employee applications. Most of the applications do not fit the criteria and I want to allow my bosses a checkbox to the right of them which they can check or uncheck to remove an applican

[PHP-DB] to many files!

2004-03-31 Thread matthew perry
I am accumulating way to many PHP files in my home directory. It is very difficult to sift through all the files. I use a lot of "includes" and "requires" so it is difficult to organize them in folders even if I change back a directory with my requires using "..\". Does anyone know of a bette

[PHP-DB] password input type

2004-04-05 Thread matthew perry
Does using a pasword input type make the transfer more secure from someone "sniffing" my connection or does it only shield an onlooker from seeing what the user enters? - Matt -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DB] Graphing - bar charts

2004-04-06 Thread matthew perry
Bar graphs are very easy to use with PHP. It's just a table columns of varying height. I wrote this a long time ago. To be honest it isn't very good code and I think I got the ideas from someone else. Regardless it should give you an idea. You basically pass in an array of dollar amounts and

[PHP-DB] pdf editor

2004-04-07 Thread matthew perry
Does anyone know a free pdf editor? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] pdf editor

2004-04-07 Thread matthew perry
I use Windows XP. Really all I need to do is remove a single line in a pdf file and I can't convince myself to spend $749 for Acrobat Pro to do it. - Matt On 7 Apr 2004, at 16:34, matthew perry wrote: Does anyone know a free pdf editor? what platform do you require it for? -- Mike Karth

[PHP-DB] headers already sent

2004-04-14 Thread matthew perry
When I insert the following header: header ("Content-type: application/vnd.ms-excel"); header ("Content-Disposition: attachment" ); I get the messages: *Warning*: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache Group\Apache2\htdocs\

[PHP-DB] links to maps

2004-04-14 Thread matthew perry
Anyone know a quick and easy way to fill in the address on a yahoo maps form? I want a link from my page to fill in all the details I already know so my users don't have to enter it. - Matt -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Macs and sessions

2004-04-20 Thread matthew perry
Macintosh users can't log in on my web site. I don't require anything unusual for log ins - simply a form with a user id and password that queries a MySQL database. The form is not encripted and I don't even use any security precautions for the data transfer (users can't do much anyway). After th

[PHP-DB] macs and sessions

2004-04-20 Thread matthew perry
I think the problem isn't session data specifically. The log in fails before the session begins. Strangely this ONLY happens with macs. I have never had a problem with PCs. Maybe mac computers have a different default setting that could be causing this problem? Matt -- PHP Database Mailing

[PHP-DB] move_uploaded_file

2004-04-24 Thread matthew perry
I have a file uploading function that works well on my local server. It finds a picture and uploads it into a defined directory. Unfortunately this function does not work when I try to upload to my web host. It says I do not have the proper permissions. I believe this has to do with the fact that

[PHP-DB] First letter

2004-04-27 Thread matthew perry
What PHP function returns just the first letter of a string? - Matt -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Cursor in text box.

2004-04-27 Thread matthew perry
My users complain about everything. The most common is "Why do I have to move the mouse over to this box every time? Wh!" How do I get the cursor to que into the first input area of my form? -Matt -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

[PHP-DB] Scrolling drop down menu

2004-04-27 Thread matthew perry
When my users choose an option in the drop down menu, they sometimes accidentally change what they have chosen when the move the center scrolling button of their mouse. I was giving a presentation in front of my company's owner and did this myself. 5 or so index fingers instantly pointed at me

[PHP-DB] scrolling drop down menu

2004-04-27 Thread matthew perry
Then I withdraw the question. Thank you for your time. John W. Holmes wrote: matthew perry wrote: When my users choose an option in the drop down menu, they sometimes accidentally change what they have chosen when the move the center scrolling button of their mouse. I was giving a presentation

[PHP-DB] Page cannot be displayed problems

2004-04-28 Thread matthew perry
I SOMETIMES get the "cannot be displayed" message. SOMETIMES it works even on her computer! Anyone know why? - Matthew Perry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Page cannot be displayed continues

2004-04-29 Thread matthew perry
Everyone, Thank you very much for your advice about not using "PUT". I will use GET or POST from now on. I am, however, failing to understand how to use headers to change pages instead of meta tags. After checking if the user has logged in correctly I do this: if ($loginGood){ echo ''; }

[PHP-DB] headers and if statements

2004-04-30 Thread matthew perry
Why does this direct me to loginError.php even when $logIn = 1? - Matt -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] ER diagram class

2004-10-11 Thread Matthew Perry
Does anyone know a good class or program that automatically generates an ER diagram from all tables in a MySQL database? -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] MySQL nested subqueries

2004-10-16 Thread Matthew Perry
Anyone know when there will be a version of MySQL that can handle nested subqueries? -Matt -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] PHP functions independant executions

2004-10-16 Thread Matthew Perry
How do I get my PHP funcitons to execute independantly based on what time of day it is and not on the user? This may not be how PHP was designed but I would like to do things like send out an email to someone based on suchandsuch criteria, backup DB on regular schedule etc. - Matt -- PHP Datab

[PHP-DB] microsoft access

2004-09-30 Thread Matthew Perry
Does anyone know of a good online source for using php and microsoft access. I don't want to have to use asp. Thank you for your time. Matthew Perry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] which DB to use?

2004-10-01 Thread Matthew Perry
"Error while executing command"; // Print results while(odbc_fetch_row($result)) print odbc_result($result, 1) . " " . odbc_result($result, 2) . " " . odbc_result($result, 3) . " " . odbc_result($result, 4) . " " . odbc_result($res

Re: [PHP-DB] which DB to use?

2004-10-01 Thread Matthew Perry
The latest version is still only alfa. Miles Thompson wrote: Check the MySQL docs - I *think* subqueries are supported in the latest version, but not triggers or stored procedures. But as I say, check. Alternatives? PostgreSQL or Firebird. HTH - Miles Thompson At 11:07 AM 10/1/2004, Matthew

[PHP-DB] Importing Excel and Access data to MySQL

2004-10-07 Thread Matthew Perry
Simple question, How does one import excel and access data to MySQL? -- Matthew Perry -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] backing up off of web host

2004-10-17 Thread Matthew Perry
The MySQL database on my web host has only non-sensitive information. How bad an idea is it to have a backup copy emailed to me at a designated time so I don't have to depend on myself and the host for backups? I am worried this cheep web host will go out of business and take my backups with hi

[PHP-DB] save as you type

2004-12-11 Thread Matthew Perry
Is there a way to make an input box save data into a database as users type? My users keep forgetting to press my "apply changes" buttons. Matthew -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] forgetting to close db connection

2004-12-12 Thread Matthew Perry
disconnecting on every page going to cause any problems? Are there any other concerns I should consider? Matthew Peter Lovatt wrote: You could use JavaScript onblur executes when the user leaves the box, and will submit the form HTH Peter -Original Message- From: Matthew Perry