Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #1596 > unrolled thread
| Started by | bruceaj <bruceaj@bellsouth.net> |
|---|---|
| First post | 2011-05-15 17:35 -0700 |
| Last post | 2011-05-16 14:43 -0400 |
| Articles | 16 — 7 participants |
Back to article view | Back to comp.lang.php
functions in a external file bruceaj <bruceaj@bellsouth.net> - 2011-05-15 17:35 -0700
Re: functions in a external file Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-15 20:48 -0400
Re: functions in a external file bruceaj <bruceaj@bellsouth.net> - 2011-05-15 18:18 -0700
Re: functions in a external file Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-15 22:13 -0400
Re: functions in a external file bruceaj <bruceaj@bellsouth.net> - 2011-05-15 20:42 -0700
Re: functions in a external file Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-16 07:00 -0400
Re: functions in a external file Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> - 2011-05-16 22:04 +0200
Re: functions in a external file Jeff North <jnorthau@yahoo.com.au> - 2011-05-16 11:16 +1000
Re: functions in a external file bruceaj <bruceaj@bellsouth.net> - 2011-05-15 18:26 -0700
Re: functions in a external file Michael Fesser <netizen@gmx.de> - 2011-05-16 03:22 +0200
Re: functions in a external file bruceaj <bruceaj@bellsouth.net> - 2011-05-15 18:48 -0700
Re: functions in a external file Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-05-16 08:24 +0000
Re: functions in a external file bruceaj <bruceaj@bellsouth.net> - 2011-05-16 10:36 -0700
Re: functions in a external file The Natural Philosopher <tnp@invalid.invalid> - 2011-05-16 12:49 +0100
Re: functions in a external file bruceaj <bruceaj@bellsouth.net> - 2011-05-16 10:34 -0700
Re: functions in a external file Jerry Stuckle <jstucklex@attglobal.net> - 2011-05-16 14:43 -0400
| From | bruceaj <bruceaj@bellsouth.net> |
|---|---|
| Date | 2011-05-15 17:35 -0700 |
| Subject | functions in a external file |
| Message-ID | <b563cc5a-aff9-4038-b4af-9368abfd65cb@r20g2000yqd.googlegroups.com> |
Is there a maximum number of functions that can be contained in
"require_once" php file?
I have this simple function (for testing this problem).
function GetTelephoneNumber () {
return "123 456-6789";
}
If this function is in my main routine. No problem.
If this function is in it's own file. No problem.
If this function is in my main "function.php" file, I get the php
blank. screen. l am using firefox and don't know how to get errors.
Appreciate help and suggestions....
Thanks...
Bruce
[toc] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2011-05-15 20:48 -0400 |
| Message-ID | <iqps8d$3kl$1@dont-email.me> |
| In reply to | #1596 |
On 5/15/2011 8:35 PM, bruceaj wrote:
> Is there a maximum number of functions that can be contained in
> "require_once" php file?
>
> I have this simple function (for testing this problem).
>
> function GetTelephoneNumber () {
>
> return "123 456-6789";
> }
>
> If this function is in my main routine. No problem.
> If this function is in it's own file. No problem.
> If this function is in my main "function.php" file, I get the php
> blank. screen. l am using firefox and don't know how to get errors.
>
> Appreciate help and suggestions....
>
> Thanks...
>
> Bruce
No limit, other than the amount of code which has to be parsed.
You have another problem. Enable error reporting and see what you get
for an error. You probably are not including the file properly.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[toc] | [prev] | [next] | [standalone]
| From | bruceaj <bruceaj@bellsouth.net> |
|---|---|
| Date | 2011-05-15 18:18 -0700 |
| Message-ID | <88bd92d5-3fca-495e-9a30-6f1ec4f84c28@24g2000yqk.googlegroups.com> |
| In reply to | #1597 |
On May 15, 8:48 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 5/15/2011 8:35 PM, bruceaj wrote:
>
>
>
> > Is there a maximum number of functions that can be contained in
> > "require_once" php file?
>
> > I have this simple function (for testing this problem).
>
> > function GetTelephoneNumber () {
>
> > return "123 456-6789";
> > }
>
> > If this function is in my main routine. No problem.
> > If this function is in it's own file. No problem.
> > If this function is in my main "function.php" file, I get the php
> > blank. screen. l am using firefox and don't know how to get errors.
>
> > Appreciate help and suggestions....
>
> > Thanks...
>
> > Bruce
>
> No limit, other than the amount of code which has to be parsed.
>
> You have another problem. Enable error reporting and see what you get
> for an error. You probably are not including the file properly.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================
Thanks for the response.
I just checked the FIreFox menu items and didn't find where to enable
error reporting. Where do I find the option to enable error
reporting??
My main included file (functions.php} works perfectly when the above
routine NOT in it. So I would think my require_once set up must be
correct???
If I put it in another file, and include that file, the routine works.
What does your statement "No limit, other than the amount of code
which has to be parsed. " mean? Does it mean there is file byte size
limitation??
Thanks..
Bruce
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2011-05-15 22:13 -0400 |
| Message-ID | <iqq18n$5tv$1@dont-email.me> |
| In reply to | #1598 |
On 5/15/2011 9:18 PM, bruceaj wrote:
> On May 15, 8:48 pm, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>> On 5/15/2011 8:35 PM, bruceaj wrote:
>>
>>
>>
>>> Is there a maximum number of functions that can be contained in
>>> "require_once" php file?
>>
>>> I have this simple function (for testing this problem).
>>
>>> function GetTelephoneNumber () {
>>
>>> return "123 456-6789";
>>> }
>>
>>> If this function is in my main routine. No problem.
>>> If this function is in it's own file. No problem.
>>> If this function is in my main "function.php" file, I get the php
>>> blank. screen. l am using firefox and don't know how to get errors.
>>
>>> Appreciate help and suggestions....
>>
>>> Thanks...
>>
>>> Bruce
>>
>> No limit, other than the amount of code which has to be parsed.
>>
>> You have another problem. Enable error reporting and see what you get
>> for an error. You probably are not including the file properly.
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================
>
> Thanks for the response.
>
> I just checked the FIreFox menu items and didn't find where to enable
> error reporting. Where do I find the option to enable error
> reporting??
>
> My main included file (functions.php} works perfectly when the above
> routine NOT in it. So I would think my require_once set up must be
> correct???
> If I put it in another file, and include that file, the routine works.
>
> What does your statement "No limit, other than the amount of code
> which has to be parsed. " mean? Does it mean there is file byte size
> limitation??
>
>
> Thanks..
>
> Bruce
It's in your php.ini file - the browser can't do anything to control
server-side errors.
Ensure they are actually on - set up a file with just:
<?php
phpinfo();
?>
And see if your error reporting and display are really on. They may be
overridden - or you may be using an entirely different php.ini file than
you think.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[toc] | [prev] | [next] | [standalone]
| From | bruceaj <bruceaj@bellsouth.net> |
|---|---|
| Date | 2011-05-15 20:42 -0700 |
| Message-ID | <38792fc4-cae0-43ca-86ea-37f6371998ce@x1g2000yqb.googlegroups.com> |
| In reply to | #1603 |
On May 15, 10:13 pm, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> On 5/15/2011 9:18 PM, bruceaj wrote:
>
>
>
> > On May 15, 8:48 pm, Jerry Stuckle<jstuck...@attglobal.net> wrote:
> >> On 5/15/2011 8:35 PM, bruceaj wrote:
>
> >>> Is there a maximum number of functions that can be contained in
> >>> "require_once" php file?
>
> >>> I have this simple function (for testing this problem).
>
> >>> function GetTelephoneNumber () {
>
> >>> return "123 456-6789";
> >>> }
>
> >>> If this function is in my main routine. No problem.
> >>> If this function is in it's own file. No problem.
> >>> If this function is in my main "function.php" file, I get the php
> >>> blank. screen. l am using firefox and don't know how to get errors.
>
> >>> Appreciate help and suggestions....
>
> >>> Thanks...
>
> >>> Bruce
>
> >> No limit, other than the amount of code which has to be parsed.
>
> >> You have another problem. Enable error reporting and see what you get
> >> for an error. You probably are not including the file properly.
>
> >> --
> >> ==================
> >> Remove the "x" from my email address
> >> Jerry Stuckle
> >> JDS Computer Training Corp.
> >> jstuck...@attglobal.net
> >> ==================
>
> > Thanks for the response.
>
> > I just checked the FIreFox menu items and didn't find where to enable
> > error reporting. Where do I find the option to enable error
> > reporting??
>
> > My main included file (functions.php} works perfectly when the above
> > routine NOT in it. So I would think my require_once set up must be
> > correct???
> > If I put it in another file, and include that file, the routine works.
>
> > What does your statement "No limit, other than the amount of code
> > which has to be parsed. " mean? Does it mean there is file byte size
> > limitation??
>
> > Thanks..
>
> > Bruce
>
> It's in your php.ini file - the browser can't do anything to control
> server-side errors.
>
> Ensure they are actually on - set up a file with just:
>
> <?php
> phpinfo();
> ?>
>
> And see if your error reporting and display are really on. They may be
> overridden - or you may be using an entirely different php.ini file than
> you think.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================
I thought I had changed the values but they didn't take. I had to
restart Windows to make them take effect unless restarting was
overkill..
I had some errors in use date() which I fixed and my original error
went away.
Thanks all for the help...
Bruce
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2011-05-16 07:00 -0400 |
| Message-ID | <iqr03n$obo$1@dont-email.me> |
| In reply to | #1605 |
On 5/15/2011 11:42 PM, bruceaj wrote:
> On May 15, 10:13 pm, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>> On 5/15/2011 9:18 PM, bruceaj wrote:
>>
>>
>>
>>> On May 15, 8:48 pm, Jerry Stuckle<jstuck...@attglobal.net> wrote:
>>>> On 5/15/2011 8:35 PM, bruceaj wrote:
>>
>>>>> Is there a maximum number of functions that can be contained in
>>>>> "require_once" php file?
>>
>>>>> I have this simple function (for testing this problem).
>>
>>>>> function GetTelephoneNumber () {
>>
>>>>> return "123 456-6789";
>>>>> }
>>
>>>>> If this function is in my main routine. No problem.
>>>>> If this function is in it's own file. No problem.
>>>>> If this function is in my main "function.php" file, I get the php
>>>>> blank. screen. l am using firefox and don't know how to get errors.
>>
>>>>> Appreciate help and suggestions....
>>
>>>>> Thanks...
>>
>>>>> Bruce
>>
>>>> No limit, other than the amount of code which has to be parsed.
>>
>>>> You have another problem. Enable error reporting and see what you get
>>>> for an error. You probably are not including the file properly.
>>
>>>> --
>>>> ==================
>>>> Remove the "x" from my email address
>>>> Jerry Stuckle
>>>> JDS Computer Training Corp.
>>>> jstuck...@attglobal.net
>>>> ==================
>>
>>> Thanks for the response.
>>
>>> I just checked the FIreFox menu items and didn't find where to enable
>>> error reporting. Where do I find the option to enable error
>>> reporting??
>>
>>> My main included file (functions.php} works perfectly when the above
>>> routine NOT in it. So I would think my require_once set up must be
>>> correct???
>>> If I put it in another file, and include that file, the routine works.
>>
>>> What does your statement "No limit, other than the amount of code
>>> which has to be parsed. " mean? Does it mean there is file byte size
>>> limitation??
>>
>>> Thanks..
>>
>>> Bruce
>>
>> It's in your php.ini file - the browser can't do anything to control
>> server-side errors.
>>
>> Ensure they are actually on - set up a file with just:
>>
>> <?php
>> phpinfo();
>> ?>
>>
>> And see if your error reporting and display are really on. They may be
>> overridden - or you may be using an entirely different php.ini file than
>> you think.
>>
>
> I thought I had changed the values but they didn't take. I had to
> restart Windows to make them take effect unless restarting was
> overkill..
>
> I had some errors in use date() which I fixed and my original error
> went away.
>
> Thanks all for the help...
>
> Bruce
You don't need to restart Windows, but you do need to restart the web
server. Your php.ini is only read on web server startup, not every request.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[toc] | [prev] | [next] | [standalone]
| From | Thomas Mlynarczyk <thomas@mlynarczyk-webdesign.de> |
|---|---|
| Date | 2011-05-16 22:04 +0200 |
| Message-ID | <iqs012$b6i$2@news.albasani.net> |
| In reply to | #1608 |
Jerry Stuckle schrieb: > You don't need to restart Windows, but you do need to restart the web > server. Your php.ini is only read on web server startup, not every > request. Depends on the setup. If PHP runs as CGI, php.ini is read on every request. Greetings, Thomas -- Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison! (Coluche)
[toc] | [prev] | [next] | [standalone]
| From | Jeff North <jnorthau@yahoo.com.au> |
|---|---|
| Date | 2011-05-16 11:16 +1000 |
| Message-ID | <vju0t69g9h41dd1s510c5rospk32aj4fn4@4ax.com> |
| In reply to | #1596 |
On Sun, 15 May 2011 17:35:41 -0700 (PDT), in comp.lang.php bruceaj
<bruceaj@bellsouth.net>
<b563cc5a-aff9-4038-b4af-9368abfd65cb@r20g2000yqd.googlegroups.com>
wrote:
>| Is there a maximum number of functions that can be contained in
>| "require_once" php file?
>|
>| I have this simple function (for testing this problem).
>|
>| function GetTelephoneNumber () {
>|
>| return "123 456-6789";
>| }
>|
>| If this function is in my main routine. No problem.
>| If this function is in it's own file. No problem.
>| If this function is in my main "function.php" file, I get the php
>| blank. screen. l am using firefox and don't know how to get errors.
>|
>| Appreciate help and suggestions....
>|
>| Thanks...
>|
>| Bruce
You are just returning a value so you might need:
echo GetTelephoneNumber();
or
function GetTelephoneNumber() {
echo "123 456-6789";
}
The supplied code is for guideline purposes only.
[toc] | [prev] | [next] | [standalone]
| From | bruceaj <bruceaj@bellsouth.net> |
|---|---|
| Date | 2011-05-15 18:26 -0700 |
| Message-ID | <c16ab453-115a-449c-a2ec-8847c2ef87eb@n11g2000yqf.googlegroups.com> |
| In reply to | #1599 |
On May 15, 9:16 pm, Jeff North <jnort...@yahoo.com.au> wrote:
> On Sun, 15 May 2011 17:35:41 -0700 (PDT), in comp.lang.php bruceaj
> <bruc...@bellsouth.net>
> <b563cc5a-aff9-4038-b4af-9368abfd6...@r20g2000yqd.googlegroups.com>
> wrote:
>
>
>
> >| Is there a maximum number of functions that can be contained in
> >| "require_once" php file?
> >|
> >| I have this simple function (for testing this problem).
> >|
> >| function GetTelephoneNumber () {
> >|
> >| return "123 456-6789";
> >| }
> >|
> >| If this function is in my main routine. No problem.
> >| If this function is in it's own file. No problem.
> >| If this function is in my main "function.php" file, I get the php
> >| blank. screen. l am using firefox and don't know how to get errors.
> >|
> >| Appreciate help and suggestions....
> >|
> >| Thanks...
> >|
> >| Bruce
>
> You are just returning a value so you might need:
> echo GetTelephoneNumber();
> or
> function GetTelephoneNumber() {
> echo "123 456-6789";}
>
> The supplied code is for guideline purposes only.
This is just a test routine. The final routine has calling arguments
and accesses a mysql database to get the telephone number.
I tested your suggestions. They didn't do what I am trying to. Thanks
for sending them..
Thanks for the response....
Bruce
[toc] | [prev] | [next] | [standalone]
| From | Michael Fesser <netizen@gmx.de> |
|---|---|
| Date | 2011-05-16 03:22 +0200 |
| Message-ID | <esu0t6po19dhaef8g046dqvs8ide5re1pn@mfesser.de> |
| In reply to | #1596 |
.oO(bruceaj)
>Is there a maximum number of functions that can be contained in
>"require_once" php file?
>
>I have this simple function (for testing this problem).
>
>function GetTelephoneNumber () {
>
> return "123 456-6789";
>}
>
>If this function is in my main routine. No problem.
>If this function is in it's own file. No problem.
>If this function is in my main "function.php" file, I get the php
>blank. screen. l am using firefox and don't know how to get errors.
If you get a blank result, it's most likely a parse error. Check if your
error reporting is properly configured in your php.ini:
error_reporting = E_ALL|E_STRICT
display_errors = on
Micha
[toc] | [prev] | [next] | [standalone]
| From | bruceaj <bruceaj@bellsouth.net> |
|---|---|
| Date | 2011-05-15 18:48 -0700 |
| Message-ID | <17a2e150-6ca2-43a0-944f-b13f6b277308@24g2000yqk.googlegroups.com> |
| In reply to | #1600 |
On May 15, 9:22 pm, Michael Fesser <neti...@gmx.de> wrote:
> .oO(bruceaj)
>
> >Is there a maximum number of functions that can be contained in
> >"require_once" php file?
>
> >I have this simple function (for testing this problem).
>
> >function GetTelephoneNumber () {
>
> > return "123 456-6789";
> >}
>
> >If this function is in my main routine. No problem.
> >If this function is in it's own file. No problem.
> >If this function is in my main "function.php" file, I get the php
> >blank. screen. l am using firefox and don't know how to get errors.
>
> If you get a blank result, it's most likely a parse error. Check if your
> error reporting is properly configured in your php.ini:
>
> error_reporting = E_ALL|E_STRICT
> display_errors = on
>
> Micha
I have these values in my php.ini.
Yes, the blank result appears to be a parsing error BUT I can cut the
function from my main include_once("functions.php") file and paste it
into another include_once("functions2.php") file and all work good.
STRANGE to me??
Thanks for the response...
Bruce
[toc] | [prev] | [next] | [standalone]
| From | Denis McMahon <denis.m.f.mcmahon@gmail.com> |
|---|---|
| Date | 2011-05-16 08:24 +0000 |
| Message-ID | <4dd0df51$0$29500$bed64819@gradwell.net> |
| In reply to | #1596 |
On Sun, 15 May 2011 17:35:41 -0700, bruceaj wrote: > If this function is in my main routine. No problem. If this function is > in it's own file. No problem. If this function is in my main > "function.php" file, I get the php blank. screen. l am using firefox and > don't know how to get errors. You've put the function definition inside another function definition because you have a mix of bracketing styles and have become confused about where the braces go? Rgds Denis McMahon
[toc] | [prev] | [next] | [standalone]
| From | bruceaj <bruceaj@bellsouth.net> |
|---|---|
| Date | 2011-05-16 10:36 -0700 |
| Message-ID | <2f513aa3-9bd6-4bf8-b59c-3f9b1ba8a04d@g12g2000yqd.googlegroups.com> |
| In reply to | #1606 |
On May 16, 4:24 am, Denis McMahon <denis.m.f.mcma...@gmail.com> wrote: > On Sun, 15 May 2011 17:35:41 -0700, bruceaj wrote: > > If this function is in my main routine. No problem. If this function is > > in it's own file. No problem. If this function is in my main > > "function.php" file, I get the php blank. screen. l am using firefox and > > don't know how to get errors. > > You've put the function definition inside another function definition > because you have a mix of bracketing styles and have become confused > about where the braces go? > > Rgds > > Denis McMahon No, I didn't do this. Sorry if my explanation led you to think I did.. I have multiple functions defined with the file named "functions.php". Thanks for the response... Bruce
[toc] | [prev] | [next] | [standalone]
| From | The Natural Philosopher <tnp@invalid.invalid> |
|---|---|
| Date | 2011-05-16 12:49 +0100 |
| Message-ID | <iqr2vk$5so$1@news.albasani.net> |
| In reply to | #1596 |
bruceaj wrote:
> Is there a maximum number of functions that can be contained in
> "require_once" php file?
>
> I have this simple function (for testing this problem).
>
> function GetTelephoneNumber () {
>
> return "123 456-6789";
> }
>
> If this function is in my main routine. No problem.
> If this function is in it's own file. No problem.
> If this function is in my main "function.php" file, I get the php
> blank. screen. l am using firefox and don't know how to get errors.
>
> Appreciate help and suggestions....
>
> Thanks...
>
> Bruce
syntax error somewhere.
[toc] | [prev] | [next] | [standalone]
| From | bruceaj <bruceaj@bellsouth.net> |
|---|---|
| Date | 2011-05-16 10:34 -0700 |
| Message-ID | <44041290-ee83-4813-989e-94f078667e25@c41g2000yqm.googlegroups.com> |
| In reply to | #1610 |
On May 16, 7:49 am, The Natural Philosopher <t...@invalid.invalid>
wrote:
> bruceaj wrote:
> > Is there a maximum number of functions that can be contained in
> > "require_once" php file?
>
> > I have this simple function (for testing this problem).
>
> > function GetTelephoneNumber () {
>
> > return "123 456-6789";
> > }
>
> > If this function is in my main routine. No problem.
> > If this function is in it's own file. No problem.
> > If this function is in my main "function.php" file, I get the php
> > blank. screen. l am using firefox and don't know how to get errors.
>
> > Appreciate help and suggestions....
>
> > Thanks...
>
> > Bruce
>
> syntax error somewhere.
It appears that all is good. Turn on error_reporting showed up a
couple of date problems.
1. I was using H in date() and not "H". Fixed.
2. The error_reporting wanted me to use date_default_timezone_set()
and not accept the default time zone. Fixed.
Still seems strange that my test routine, which had nothing within the
function definition brackets but "return '123455'; would stop all the
functions I had defined from working.
Oh, well. All's well that end's well. Thanks to all for the help and
suggestions...
Bruce
[toc] | [prev] | [next] | [standalone]
| From | Jerry Stuckle <jstucklex@attglobal.net> |
|---|---|
| Date | 2011-05-16 14:43 -0400 |
| Message-ID | <iqrr8c$gba$1@dont-email.me> |
| In reply to | #1616 |
On 5/16/2011 1:34 PM, bruceaj wrote:
> On May 16, 7:49 am, The Natural Philosopher<t...@invalid.invalid>
> wrote:
>> bruceaj wrote:
>>> Is there a maximum number of functions that can be contained in
>>> "require_once" php file?
>>
>>> I have this simple function (for testing this problem).
>>
>>> function GetTelephoneNumber () {
>>
>>> return "123 456-6789";
>>> }
>>
>>> If this function is in my main routine. No problem.
>>> If this function is in it's own file. No problem.
>>> If this function is in my main "function.php" file, I get the php
>>> blank. screen. l am using firefox and don't know how to get errors.
>>
>>> Appreciate help and suggestions....
>>
>>> Thanks...
>>
>>> Bruce
>>
>> syntax error somewhere.
>
> It appears that all is good. Turn on error_reporting showed up a
> couple of date problems.
>
> 1. I was using H in date() and not "H". Fixed.
> 2. The error_reporting wanted me to use date_default_timezone_set()
> and not accept the default time zone. Fixed.
>
> Still seems strange that my test routine, which had nothing within the
> function definition brackets but "return '123455'; would stop all the
> functions I had defined from working.
>
> Oh, well. All's well that end's well. Thanks to all for the help and
> suggestions...
>
> Bruce
A parse error is a fatal error. And since everything must be parsed
before any processing takes place, no code will be executed.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.php
csiph-web