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

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]>; <[EMA

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 a

[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] 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 s

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]

Re: [PHP] Error Reporting help

2004-01-19 Thread Chris Edwards
i.e. some kind of refresh Thanks "Jason Wong" <[EMAIL 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

Re: [PHP] Error Reporting help

2004-01-19 Thread Chris Edwards
> wrote in message news:[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

Re: [PHP] Error Reporting help

2004-01-18 Thread Chris Edwards
error 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 doub

[PHP] Error Reporting help

2004-01-18 Thread Chris Edwards
printed out, so 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

[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

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

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

2003-09-05 Thread Chris Edwards
#x27;rentinc'] = $data; break; case "MINBEDS" : $GLOBALS['criteria']['minbeds'] = $data; break; case "MAXBEDS" : $GLOBALS['criteria']['maxbeds'] = $data; break; case "PROPCOUNT" : $GLOBALS['criteria']['

[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-05 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]

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]

[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 A

[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

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

Re: [PHP] array question

2003-02-24 Thread Chris Edwards
list'] = $temp[3]; } for( $i = 0; $i < count( $group ); $i++) { echo "site" . $i . ":" . $group[$i]['pass'] . ":" . $group[$i]['id'] . ":"; $temp = explode( ",", $group[$i]['list'] ) foreach ($temp

[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/) To

[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.Ou

[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\bin>Apache.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 Edw

[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/) To

[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] speed comparison

2002-11-18 Thread Chris Edwards
Which would run faster and generate less load on the server, or does it matter: -- OR - ... .. I find it sucks to try and put all the php tags around stuff, so I just include it all. -- Chris Edwards Web Application Developer Outer Banks Internet, Inc. 252-441-6698

[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