php-windows Digest 26 Oct 2002 05:48:39 -0000 Issue 1407

2002-10-25 Thread php-windows-digest-help
php-windows Digest 26 Oct 2002 05:48:39 - Issue 1407 Topics (messages 16558 through 16565): writing pdf files... 16558 by: Brian McGarvie 16560 by: Brian McGarvie Re: Problem with set_time_limit() and uploading large f iles 16559 by: Michael Hazelden 16561 by

Re: [PHP-WIN] spam protection boxes

2002-10-25 Thread Dash McElroy
I actually just got back from the PHPCon convention in Milbrae (South San Francisco), Ca. I honestly forget who suggested the idea, it may have been Rasmus himself (my short term memory is shot), but the idea mentioned was to have some random text pushed into a GD call to automatically generate the

[PHP-WIN] undefined function: mime_content_type() ??

2002-10-25 Thread Bob Bruce
Hi: when I try implementing a tutorial program for learning how to store images in a database and try to call the function mime_content_type I get the following error message: Fatal error: Call to undefined function: mime_content_type() in G:\Program Files\Apache Group\Apache2\htdocs\BruceGang\in

[PHP-WIN] text file parsing

2002-10-25 Thread Max Graham
There are a couple of ways to do this, depending on what you're looking to accomplish. One involves treating the contents of the text file as literal text, not as HTML. This comes directly from the manual, under the get_html_translation_table() function. Here's a quick copy & paste: $trans = get_h

[PHP-WIN] appending text to start of file

2002-10-25 Thread Richard West
Hey, was wondering if someone could help me out. I am trying to append a string of text to the start of a file. I know you can easily append information to the end of a file easily when you open the file by setting the mode to "a". The only way I can think of doing this is by making a temp copy of

Re: [PHP-WIN] Problem with set_time_limit() and uploading large f iles

2002-10-25 Thread derek fong
The site.php file is just for configuration and initialization. Here's the file in its entirety, with excess comments removed for clarity: /* $Id: site.php,v 1.7 2002/10/16 07:05:08 fong Exp $ */ // define full filesystem path to includes directory for IIS compatibility // with virtual hostin

[PHP-WIN] Re: writing pdf files...

2002-10-25 Thread Brian McGarvie
yes it does... /me answered myself again ;) "Brian McGarvie" <[EMAIL PROTECTED]> wrote in message news:20021025145601.71683.qmail@;pb1.pair.com... > I presently generate pdf files as required... > > I use FPDF for writing PDF... > > I require to save these to file... is it a simple case of: > > w

RE: [PHP-WIN] Problem with set_time_limit() and uploading large f iles

2002-10-25 Thread Michael Hazelden
What happens when you execute the site.php seperately? Does it give you a better error as to where in the file the execution fails? Michael. -Original Message- From: derek fong [mailto:php-win@;subtitled.com] Sent: 25 October 2002 15:54 To: Michael Hazelden Cc: [EMAIL PROTECTED] Subject:

[PHP-WIN] writing pdf files...

2002-10-25 Thread Brian McGarvie
I presently generate pdf files as required... I use FPDF for writing PDF... I require to save these to file... is it a simple case of: where the script: generate_stats_view_table_pdf.php generates the PDF... http://www.domain.com/autoreport/generate_stats_view_table_pdf.php'); while (list (

php-windows Digest 25 Oct 2002 14:54:12 -0000 Issue 1406

2002-10-25 Thread php-windows-digest-help
php-windows Digest 25 Oct 2002 14:54:12 - Issue 1406 Topics (messages 16542 through 16557): Re: Notice: Undefined variable: 16542 by: Thoenen, Peter Mr. EPS 16544 by: Hornig at NOSPAM artshock2d dot de 16545 by: neil smith Problem with set_time_limit() and uploadin

Re: [PHP-WIN] Problem with set_time_limit() and uploading large f iles

2002-10-25 Thread derek fong
Hi Michael, Unfortunately, that is not the case. The site is using custom-built code and functions from the PEAR repository, and this is the only occurrence of a set_time_limit() function call. :( I don't think PEAR uses set_time_limit() anywhere either, but I'll do a grep for that and see

[PHP-WIN] Re: Print data

2002-10-25 Thread Dan Koken
We faced this problem, and decided if we couldn't get a good solution to eliminate the printer. Turns out the users liked it better, and we eliminated a lot of paper. - First we wrote a report writer. - All reports go to the database. - We wrote a report file system. - The report output title sho

RE: [PHP-WIN] COM gurus... please help

2002-10-25 Thread Scott Carr
Sorry, you already stated that in your first email. What user is IIS running as? You need to set it to a user of the system, the system user will not work. Also, you may need to look into the DCOM config settings to make sure all users have access to COM on the system. Most of my problems with

RE: [PHP-WIN] COM gurus... please help

2002-10-25 Thread Scott Carr
What OS are you running this on? -- Scott Carr OpenOffice.org Documentation Maintainer http://documentation.openoffice.org/ Quoting "Asendorf, John" <[EMAIL PROTECTED]>: > UPDATE > > Well, I've got it working now, KINDA. Here's the problem, when I call the > script the first time, it runs fi

Re: [PHP-WIN] MySQL Query

2002-10-25 Thread Ignatius Reilly
select * from category_table where catid not in ('2','4') You have an excellent function index in the MySQL manual. I would recommend to reading it thoroughly. HTH Ignatius - Original Message - From: "James Meers" <[EMAIL PROTECTED]> To: "Ignat

RE: [PHP-WIN] COM gurus... please help

2002-10-25 Thread Asendorf, John
UPDATE Well, I've got it working now, KINDA. Here's the problem, when I call the script the first time, it runs fine and displays the map properly. BUT, if I call the script again, it won't run. If I wait for the $objMapSvr object to timeout, it will run again, or if I stop and start the Map Se

RE: [PHP-WIN] MySQL Query

2002-10-25 Thread James Meers
Ok, solved that problem, can anyone help me on my last query, i need to select categories that are not the following id's, this is what i have: select * from category_table where catid ! in ('2','4') Can anyone help me? James -Original Message- From: Ignati

[PHP-WIN] Login from another page

2002-10-25 Thread Douglas F. Keim
I installed php, mysql and phpbb on my web site. The bbs is great and a wonderful way to communicate with clients and family. However, there is an area on my web that I have password protected earlier with a MS Access database. Now I have two databases to maintain and two areas that I have to se

Re: [PHP-WIN] MySQL Query

2002-10-25 Thread Ignatius Reilly
arrays are not a datatype for MySQL. You have to serialize your array into a string. You must choose a suitable delimitor that will not conflict with your data. Taking as an example ",": $to_feed = implode( "," , my_array ) ; $query = " update user_table set categories in '({$to_feed})' where us

[PHP-WIN] MySQL Query

2002-10-25 Thread James Meers
i want to update a field and add an array, this is what i have so far, however it doesnt work, can anyone help? update user_table set categories in ('5','6') where userid='1' James

[PHP-WIN] MS Access

2002-10-25 Thread Douglas F. Keim
I have been kicking around using MS Access for the BBS, is there a way to do this? Through ODBC? -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-WIN] Session timeOut

2002-10-25 Thread Sichta Daniel
Hi, cfg: w2k prof, apache 1.3, php 4.2.3 Is there any way to set %subject% ? I need to take some action when client do not touch keyboard for specific amount of time THX Dan

[PHP-WIN] Re: Notice: Undefined variable:

2002-10-25 Thread neil smith
Yeah sure - there is a setting called 'register_globals' which is available to acquire variables from post or get vars but its off by default for security reasons. You can set this to On in php.ini file The better way though is to explicitly state where you want to acquire user iinput : in your