Re: [PHP] Surpressing a 'foreach' Error Message

2004-02-06 Thread Chris Edwards
The is_array will still give a warning is the variable array does not exist. Use isset() - Original Message - From: craig [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, February 06, 2004 5:35 PM Subject: RE: [PHP] Surpressing a 'foreach' Error Message craig mailto:[EMAIL

Re: [PHP] The PHP Problem

2004-01-30 Thread Chris Edwards
I have several web sites that I use PHP/mySQL with. I pay approximately $9 per month for a gigabyte of space and unlimited data transfer. I use CodeWright from Starbase as my editor. It detects PHP code and colorizes the code as you type i.e. reserved words are blue, comments are green, literals

Re: [PHP] Exectution Time?

2004-01-30 Thread Chris Edwards
Either echo out the start and end time to either the page or write it to a file. Go to www.php.net and do a search on time. The first example will give you probably all you need. - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: Mike Mapsnac [EMAIL PROTECTED]; [EMAIL

[PHP] Upload file size limits

2004-01-25 Thread Chris Edwards
I would like to give the users of my web site the ability to upload video type files, up to 12 megs in size. I notice in my PHI.INI there is a memory_limit =8M ; Maximum amount of memory a script may consume (8MB) does this include temporary such as a file being transferred? Also I

Re: [PHP] Error Reporting help

2004-01-20 Thread Chris Edwards
Thanks to all who responded, my ISP must have restarted my web server late night, as this morning I'm now getting those old familiar error messages. - Original Message - From: John W. Holmes [EMAIL PROTECTED] To: Chris Edwards [EMAIL PROTECTED] Cc: Sent: Monday, January 19, 2004 2

Re: [PHP] thumbnail

2004-01-20 Thread Chris Edwards
This works like a charm on JPG, haven't tried it on other files types. This came from the www.php.net function image_createThumb($src,$dest,$maxWidth,$maxHeight,$quality=100) { if (file_exists($src) isset($dest)) { // path info $destInfo = pathInfo($dest); // image

Re: [PHP] Error Reporting help

2004-01-19 Thread Chris Edwards
:[EMAIL PROTECTED] On Monday 19 January 2004 07:30, Chris Edwards wrote: It's almost like it parses it before it tries to execute any lines and if a syntax error occurs, it doesn't execute any of the script. That's right. The prior version would run up until the syntax error and then give you

Re: [PHP] Error Reporting help

2004-01-19 Thread Chris Edwards
PROTECTED] wrote in message news:[EMAIL PROTECTED] On Monday 19 January 2004 22:34, Chris Edwards wrote: I retried most of the combinations and still cannot get it to report syntax errors. If I have errors, from say undefined variables, the error handler catches those just fine. Again

[PHP] Error Reporting help

2004-01-18 Thread Chris Edwards
for any kind person that can help, I can respond with their values quickly. Thanks Chris Edwards -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Error Reporting help

2004-01-18 Thread Chris Edwards
was on the previous line. Adam I Agnieszka Gasiorowski Fnord [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Chris Edwards wrote: [cut] For example if I code echo This is a syntax error because of the double quote start and the single quote end '; I just get a blank screen

[PHP] reading files through ssl protocal

2003-09-23 Thread Chris Edwards
observed this behaviour and fixed it? Thanks. -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] global array, can't assign values from variables

2003-09-05 Thread Chris Edwards
; } } echo pre\n; print_r($criteria); echo /pre\n; OUTPUT: 9/6/2003 Array ( [maxstartdate] = junk [minstay] = [maxstay] = [minrent] = [maxrent] = [rentinc] = [minbeds] = [maxbeds] = [propcount] = ) Thanks.-- Chris Edwards Web Application

Re: [PHP] global array, can't assign values from variables SOLVED

2003-09-05 Thread Chris Edwards
Hi $data is not empty. It's obvious from the : OUTPUT: 9/6/2003 Anyways, it is overwriting itself because of begin and start tags. I didn't realize that. Thanks. -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http

[PHP] a good read about posting to lists.

2003-08-10 Thread Chris Edwards
I know there is alot of heated debate. Maybe this will help. http://www.catb.org/~esr/faqs/smart-questions.html I think a link to this document should be on the php mailing list sign-up page. -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED

Re: [PHP] Determine memory used from script

2003-06-06 Thread Chris Edwards
If your using an array, how big is it, what's it's dimensions? -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com - Original Message - From: Shawn McKenzie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

Re: [PHP] PHP Email Attachment problem

2003-04-03 Thread Chris Edwards
make sure your form tag has enctype=multipart/form-data in it -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com - Original Message - From: Steve Jackson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent

[PHP] whats this!!!!

2003-04-01 Thread Chris Edwards
read: http://php.weblogs.com/ -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how to abort script execution at a certain point?

2003-03-07 Thread Chris Edwards
How would I abort a scripts execution at a certain point in the script. Say, if stuff doesn't look good about halfway through execution, kill it. I thought there was this function. abort() but I don't see it in the function reference. Any ideas? Thanks. -- Chris Edwards Web Application

Re: [PHP] PHP Project for a newbie (me) or for hire?

2003-02-28 Thread Chris Edwards
you should check out www.x-cart.com its sweet. another is www.oscommerce.com if you need something for reference, www.php.net -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com - Original Message

[PHP] good database design tool?

2003-02-28 Thread Chris Edwards
Hi Anyone have any suggestions on a good and cheap database design tool. I'm looking at something that has the features of MS Visio but thats way cheaper. I want it to be able to help me build entity-relationship diagrams and stuff. Thanks. -- Chris Edwards Web Application Developer Outer

Re: [PHP] array question

2003-02-24 Thread Chris Edwards
); $i++) { echo site . $i . : . $group[$i]['pass'] . : . $group[$i]['id'] . :; $temp = explode( ,, $group[$i]['list'] ) foreach ($temp as $k = $v) echo $v; } -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http

[PHP] apache on w2k

2002-12-03 Thread Chris Edwards
Anyone having/had stability and performance problems running Apache 1.3 on Windows 2000 Server? -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com -- PHP General Mailing List (http://www.php.net

[PHP] IIS 5

2002-12-02 Thread Chris Edwards
I'm getting You are not authorized to view this page when trying to run .php files. How do I fix this? I'm running php isapi on iis 5 on w2k server. thanks. -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com

[PHP] running php on apache 2 on windows??

2002-11-21 Thread Chris Edwards
Anyone got it working? I'm getting this: C:\Program Files\Apache Group\Apache2\binApache.exe Syntax error on line 183 of C:/Program Files/Apache Group/Apache2/conf/httpd.conf: Cannot load C:/php/sapi/php4apache2.dll into server: The specified procedure could not be found. -- Chris Edwards Web

[PHP] PHP SAPI modules

2002-11-19 Thread Chris Edwards
Does anyone know if the PHP SAPI modules are better in the newer releases? Are they currently stable enough for production websites? -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com -- PHP General Mailing

[PHP] isapi mod on iis

2002-11-19 Thread Chris Edwards
is anyone running the isapi mod on iis? why does it ask for authenitcation when I run a script? -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com -- PHP General Mailing List (http://www.php.net

[PHP] speed comparison

2002-11-18 Thread Chris Edwards
the php tags around stuff, so I just include it all. -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698 [EMAIL PROTECTED] http://www.OuterBanksInternet.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] stores / ecommerce

2002-07-22 Thread Chris Edwards
What are some good e-commerce stores written out there for PHP and mySQL?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php