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
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
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
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
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
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
:[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
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
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
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
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
;
}
}
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
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
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
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
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
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
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
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
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
); $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
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
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
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
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
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
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
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
28 matches
Mail list logo