Using the following method, I correct pass when $key has one of the
values
if(regex match("/(required|sort|Recipient|
subject|Subject|submit)/";$key))
Using this method never returns true so it never entered this section:
if ( $key = "/(required|sort|Recipient|
subject|Subject|submit)/" )
I made a mistake in the second one, it should be:
if ( $key =~ "/(required|sort|Recipient|subject|Subject|submit)/" )
=~ is the regex match operator.
Regards,
Aparajita
www.aparajitaworld.com
"If you dare to fail, you are bound to succeed."
- Sri Chinmoy | www.srichinmoylibrary.com
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/