Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

phpObjectForms

Status
Not open for further replies.

arlequin

Programmer
Joined
Sep 21, 1999
Messages
232
Location
UY
I am looking for a script library or something like that in order to emphasize the task of generating web forms to populate a DB.

I tried phpObjectForms


When trying to run the sample scripts provided by the library phpObjectForms, my PHP 4.3.3 parser told me the following:

[blue]Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of [runtime function name](). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in c:\appserv\ on line 112[/blue]

I set allow_call_time_pass_reference in my php.ini file (Apache 1.3.28 + PHP 4.3.3 under Windows XP) to True but the problem persists.

I wonder... If this PHP feature is deprecated and future versions won't support it, why is the last version of phpObjectForms using it?

Arlequín
arlequin_AT_internet_DOT_com_DOT_uy
 
Probably because the developers have standardized on an older version of PHP which still does. It's pretty rare for project developement teams to set their standard to "the latest version of...".

Did you restart Apache after making the changes to php.ini?

Want the best answers? Ask the best questions: TANSTAAFL!!
 
sleipnir214

Thanks for replying so fast.

I understand that [tt]it's pretty rare for project developement teams to set their standard to "the latest version of..."[/tt] but if a project has a normal vitality rate, it's supposed to be patched or something like that.

Yeah.. :-) I know I know... The patch isn't outta there 'cause I didn't code it...

Anyway... restarting the Apache service in my windows box didn't solve the problem

Arlequín
arlequin_AT_internet_DOT_com_DOT_uy
 
If you run a script consisting of

<? phpinfo(); ?>

Does the output show the configuration option the way you want it to be?

Also, check which php.ini file PHP is reading and make sure that's the one you edited. I once had problems getting PHP to take configuration changes until I realized I was editing the wrong php.ini on my filesystem.

Want the best answers? Ask the best questions: TANSTAAFL!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top