Re: [PHP] Question on mysql_fetch_object()

2004-10-23 Thread Jason Wong
On Saturday 23 October 2004 13:05, Walter Wojcik wrote: I am trying to write a script that checks a table for a value in MySQL. It opens the table and queries it fine but if my query returns nothing i have no way of testing to see if it returned anything. I have tried testing for false and

Re: [PHP] compileproblem gd into php4.3.9 under gentoo[solved]

2004-10-23 Thread Patrick Fehr
It was php_mod that had to be emerged as well (with USEvar 'gd' enabled). Now it works thanks and cu -- Patrick Fehr Swiss Federal Institute Of Technology -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Form madness maybe OT

2004-10-23 Thread Stuart Felenstein
I've tried about everything and have analyzed every bit of code but I can't seem to resolve this issue. It might be off topic since I can't say for sure if this is a php problem. The issue - I have a multi page form. One page seems to throw a wrench in the whole process every time I make a simple

Re: [PHP] Form madness maybe OT

2004-10-23 Thread Andre Dubuc
Stuart, I'm no expert, but did you flush your browser? Hth, Andre On Saturday 23 October 2004 06:46 am, Stuart Felenstein wrote: I've tried about everything and have analyzed every bit of code but I can't seem to resolve this issue. It might be off topic since I can't say for sure if this

Re: [PHP] Form madness maybe OT

2004-10-23 Thread Stuart Felenstein
--- Andre Dubuc [EMAIL PROTECTED] wrote: Stuart, I'm no expert, but did you flush your browser? Hth, Andre Andre, thank you for the response. I'm not sure what you mean by flush the browser ? Here is what I've been doing. First, I have denied cookies from the site. Second, I've

Re: [PHP] Form madness maybe OT

2004-10-23 Thread Andre Dubuc
On Saturday 23 October 2004 07:11 am, you wrote: --- Andre Dubuc [EMAIL PROTECTED] wrote: Stuart, I'm no expert, but did you flush your browser? Hth, Andre Andre, thank you for the response. I'm not sure what you mean by flush the browser ? Here is what I've been doing. First,

Re: [PHP] Form madness maybe OT

2004-10-23 Thread Stuart Felenstein
--- Andre Dubuc [EMAIL PROTECTED] wrote: Stuart, Go to your browser settings, under 'Cache' (or something similar) then clear the cache. I struggled with a similar problem for days . . . Andre I did that, and didn't change the situation. Also I think the fact that using the

[PHP] allow set_time_limit on safe mode

2004-10-23 Thread Nenillo
Hi, I want to allow the use of set_time_limit on any script but setting safe mode to ON, how can i do that? Is there any php.ini directive like allowed_functions or similar? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Form madness maybe OT

2004-10-23 Thread Stuart Felenstein
Call off the troops. I reconstructed the form, step by step checking each step. All seems to be working. Stuart --- Stuart Felenstein [EMAIL PROTECTED] wrote: --- Andre Dubuc [EMAIL PROTECTED] wrote: Stuart, Go to your browser settings, under 'Cache' (or something similar) then

[PHP] Form containing 2 menus not returning anything

2004-10-23 Thread Ken Tozier
I created an html form comprised of two menus but when the action method for the form calls my handler.php script, neither of the menu variables contain anything. Could someone point out what I'm doing wrong? Thanks, Ken Here's the relevant html: form

Re: [PHP] Form containing 2 menus not returning anything

2004-10-23 Thread John Holmes
Ken Tozier wrote: if ($view) { echo $publication.\n.$view; } if(isset($_POST['view'])) { echo $_POST['publication'] . 'br /' . $_POST['view']; } -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP

Re: [PHP] Form containing 2 menus not returning anything

2004-10-23 Thread Ken Tozier
Thanks John, that did the trick. I'm curious though, the PHP book I'm reading (PHP and PostgeSQL, Advanced web programming) specifically states that it's not necessary to grab form variables in this way, claiming PHP extracts all form variables behind the scenes for you. Was my original syntax

Re: [PHP] Form containing 2 menus not returning anything

2004-10-23 Thread Marek Kilimajer
Ken Tozier wrote: Thanks John, that did the trick. I'm curious though, the PHP book I'm reading (PHP and PostgeSQL, Advanced web programming) specifically states that it's not necessary to grab form variables in this way, claiming PHP extracts all form variables behind the scenes for you. Was

[PHP] How to parse this?

2004-10-23 Thread Jerry Swanson
I have huge html file. I want to parse the data and get everything between b class=class1 and !-- Comments -- What function is good for this purpose? TH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cant use MYSQLi with Zend Performance Suit 4.0.2

2004-10-23 Thread Unreal HSHH
I am trying Zend Performance Suit,and using php5.0.2 w/ MySQL 4.1.6 on my FreeBSD 4.10 box. But it doesn't seem working,it make php core dump forever. When the php script is calling MYSQLi functions , php core dump. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Form containing 2 menus not returning anything

2004-10-23 Thread Robby Russell
On Sat, 2004-10-23 at 10:01 -0400, Ken Tozier wrote: I created an html form comprised of two menus but when the action method for the form calls my handler.php script, neither of the menu variables contain anything. Could someone point out what I'm doing wrong? Thanks, Ken

[PHP] Parsing

2004-10-23 Thread Jerry Swanson
I have huge html file. I want to parse the data and get everything between b class=class1 and !-- Comments -- What function is good for this purpose? TH -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to parse this?

2004-10-23 Thread Marek Kilimajer
Jerry Swanson wrote: I have huge html file. I want to parse the data and get everything between b class=class1 and !-- Comments -- What function is good for this purpose? preg_match() -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Best Functions for Checking Remote File last modified?

2004-10-23 Thread Nick Wilson
Hello, I need to connect to a remote http server and pick up a file *only* if it has been modified since i last did this. The file is in csv format (not tht i think that matters?) and is http password protected. Which functions should I look at for acheiving this please? Thanks very much! --

Re: [PHP] Best Functions for Checking Remote File last modified?

2004-10-23 Thread Matthew Fonda
You could try using filectime http://us2.php.net/manual/en/function.filectime.php On Sat, 2004-10-23 at 09:45, Nick Wilson wrote: Hello, I need to connect to a remote http server and pick up a file *only* if it has been modified since i last did this. The file is in csv format (not tht

[PHP] GD support on PHP 4.3.8

2004-10-23 Thread E SA
Hi, I am trying to compile PHP with GD support. My config line is: ./configure --prefix=/data/PHP\ --with-config-file=/etc/php.ini\ --disable-debug --enable-safe-mode\ --with-mysql=/data/MySQL_4.0.21\ --with-openssl=/data/OpenSSL\ --with-apxs2=/data/Apache/bin/apxs\ --with-gd\

[PHP] PHP5 Tutorials...?

2004-10-23 Thread Michael Lauzon
Where can I find detailed PHP5 tutorials, but written for the beginner...they must be online tutorials as I cannot afford any computer books at the moment?! -- Michael Lauzon http://phantasyrpg.com/main.php?view=9898 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] PHP framework

2004-10-23 Thread Igor
I need to develop an PHP/MySql application (about 20 db tables and 70 screens). I was wandering if there is a solid framework out there that could help development. Also, I would appreciate any recommendations for books/docs on good development practices and php app. architecture. Thanks!

[PHP] Good PHP framewok

2004-10-23 Thread Igor
Im starting to develop a PHP/MySql application that is going to have about 20 db tables and about 70 screens. I am wondering if there is a solid general PHP framework out there that would be a good starting point. I would also apreciate any document/book recomendations on good development

[PHP] Serial Communication

2004-10-23 Thread Ulrik Witschass
Hello List, I have managed to communicate with the serial device with the following code: 'mode com1: BAUD=9600 PARITY=N data=8 stop=1 xon=n';//the config the device needs $fp = fopen(COM1:, rb+);//also tried only r+ here if(!$fp) die(); $query =

Re: [PHP] PHP framework

2004-10-23 Thread Bruno B B Magalhães
Igor, the problem on using a framework is that you have to learn it before you take advantage of its features, I mean you must consider the learning curve in your time schedule. There are pretty good frameworks out there, but each one with your pros and cons, and with your own goals, I mean, a

Re: [PHP] Serial Communication

2004-10-23 Thread M. Sokolewicz
Ulrik Witschass wrote: Hello List, I have managed to communicate with the serial device with the following code: 'mode com1: BAUD=9600 PARITY=N data=8 stop=1 xon=n';//the config the device needs $fp = fopen(COM1:, rb+);//also tried only r+ here if(!$fp) die(); $query =

AW: [PHP] Serial Communication

2004-10-23 Thread Ulrik Witschass
Thanks for the help, when communicating to it via hyperterminal (or other software) it responds immidiately. I will try it on different machines within the next few days...hopefully it is just a hardware/software problem with my dev-system... best regards Ulrik //You could try the same thing

[PHP] enterprise php application automated testing

2004-10-23 Thread blackwater dev
Hello all, I know I can use simpletest to test my application at the class level but I need a tool to test it at a much higher level. I need something to enter data in forms, click links, etc. I have played some with simpletest's web tester without much luck. I am just curious how others are

[PHP] Inconsistent file_exists()

2004-10-23 Thread Allen Watson
On Mac OS X, I have two directories: /Documents /Databases When I use the file_exists() function, it fails to find files in my Documents directory, but works fine in Databases (and others). Both reside in the same parent folder. I've tried it with several different files in each directory.

Re: [PHP] enterprise php application automated testing

2004-10-23 Thread Bruno B B Magalhães
Well, we call it pre-testing, the only way, and the better one, is doing it with the future users of your system! Regards, Bruno B B Magalhães On Oct 23, 2004, at 10:00 PM, blackwater dev wrote: Hello all, I know I can use simpletest to test my application at the class level but I need a tool

Re: [PHP] enterprise php application automated testing

2004-10-23 Thread Ramil Sagum
On Sat, 23 Oct 2004 20:00:48 -0400, blackwater dev [EMAIL PROTECTED] wrote: Hello all, I know I can use simpletest to test my application at the class level but I need a tool to test it at a much higher level. I need something to enter data in forms, click links, etc. I have played some

[PHP] PHP Online Appointment Scheduler?

2004-10-23 Thread Galen
Hi PHP people, I'm working on a web project involving a small medical office. One of the things that has been discussed is online appointment scheduling. Before I go out and gut myself on anything, is there any online appointment scheduling software that complies with HIPAA privacy

[PHP] PHP Online Appointment Scheduler?

2004-10-23 Thread Galen
Hi PHP people, I'm working on a web project involving a small medical office. One of the things that has been discussed is online appointment scheduling. Before I go out and gut myself on anything, is there any online appointment scheduling software that complies with HIPAA privacy

[PHP] special request for windows 98 users to help develop PEAR's pear.bat

2004-10-23 Thread Greg Beaver
Hi, In the effort to improve pear.bat for windows users, I would like to ask any windows 98 users that are still left to try this simple test: open a MS-DOS prompt and type: C:\ mkdir C:\test C:\ mkdir C:\test\me C:\ echo echo %~d0%~p0 C:\test\me\test.bat C:\ \test\me\test.bat C:\ cd \test\me

[PHP] Re: [PEAR-DEV] windows 98 support?

2004-10-23 Thread Helgi Þormar
Hi Look at http://www.php.net/windows like that page says as of 4.3.0 windows 95 isn't supported, so I guess win98 is still supported ;) and for 4.2.0 windows 95 should work (which of course is the current version PEAR needs at least, or did you higher that number up in 1.4 ?) Here's my personal