Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 13 matches
Smarty Forum Index
Author Message
  Topic: smartyValidate and safeSQL issue with phone number
enirp

Replies: 0
Views: 3209

PostForum: General   Posted: Sat Dec 04, 2004 9:00 pm   Subject: smartyValidate and safeSQL issue with phone number
For some reason, and it could just be me looking something simple over, but I can't get a phone number of the form (555) 555-5555 to validate using the validation tag of


{validate form=&quo ...
  Topic: html_table populated from database
enirp

Replies: 0
Views: 3276

PostForum: General   Posted: Wed Nov 17, 2004 4:51 am   Subject: html_table populated from database
I have a database query which is stored into $result, using ocifetchinto();

I have an sql statement along the lines of "SELECT UNIQUE name, teacher FROM school;"

My goal is to format the tabl ...
  Topic: isRegExp issue, how to format expression
enirp

Replies: 4
Views: 8122

PostForum: General   Posted: Wed Nov 10, 2004 5:01 am   Subject: isRegExp issue, how to format expression
Thanks for the notice, and yes I am familiar with attacks.

I won't type it, but it starts with a ' something ; and has a delete ending with a ; Yucky, nasty. SCARY, yes.

I use smartyValidate ...
  Topic: isRegExp issue, how to format expression
enirp

Replies: 4
Views: 8122

PostForum: General   Posted: Wed Nov 10, 2004 4:20 am   Subject: isRegExp issue, how to format expression
Right now I'm reading up on SafeSQL.

The database I'm using is Oracle8i *shiver*

So I assume I'd use SafeSQL_ANSI ?

What I have now:
<?php
$teachername="{$_POST

Using that I'm ...
  Topic: isRegExp issue, how to format expression
enirp

Replies: 4
Views: 8122

PostForum: General   Posted: Tue Nov 09, 2004 10:50 pm   Subject: isRegExp issue, how to format expression
I'm having an issue with regular expression's.

I have gotten my form to validate ok, inserts into the database ok - BUT - There is the problem of user error.

If someone types a ' or " on start ...
  Topic: Maximum array size for {html_options}?
enirp

Replies: 4
Views: 7892

PostForum: General   Posted: Mon Nov 08, 2004 10:13 am   Subject: Maximum array size for {html_options}?
Thanks..... btw, if I wasn't already *learning* php I wouldn't be asking questins on the forum, I'd be answering.
  Topic: Maximum array size for {html_options}?
enirp

Replies: 4
Views: 7892

PostForum: General   Posted: Mon Nov 08, 2004 9:58 am   Subject: Maximum array size for {html_options}?
But only 14 objects in the array? I need 19.

Is there a way around this?
  Topic: Maximum array size for {html_options}?
enirp

Replies: 4
Views: 7892

PostForum: General   Posted: Mon Nov 08, 2004 1:53 am   Subject: Maximum array size for {html_options}?
Is there a maximum array size for {html_options} ?

When I try to go over 14, it truncates everything between my 13th and 14th position.

<?php
$smarty->assign('grade_options', array(K =& ...
  Topic: Success.tpl won't display in Mozilla, will in IE
enirp

Replies: 4
Views: 8087

PostForum: General   Posted: Sun Nov 07, 2004 9:48 pm   Subject: Success.tpl won't display in Mozilla, will in IE
Rebooted my stupid computer, works fine..... Four hours down the drain
  Topic: Success.tpl won't display in Mozilla, will in IE
enirp

Replies: 4
Views: 8087

PostForum: General   Posted: Sun Nov 07, 2004 8:56 pm   Subject: Success.tpl won't display in Mozilla, will in IE
I also checked it in Safari, works fine there. So far just not working in mozilla.

I'm starting to think that there is a goof somewhere in the html that upsets mozilla? But it seems that it would ...
  Topic: Success.tpl won't display in Mozilla, will in IE
enirp

Replies: 4
Views: 8087

PostForum: General   Posted: Sun Nov 07, 2004 7:59 pm   Subject: Success.tpl won't display in Mozilla, will in IE
It's simple a line of text

"Success" no Html formatting at all.
  Topic: Success.tpl won't display in Mozilla, will in IE
enirp

Replies: 4
Views: 8087

PostForum: General   Posted: Sun Nov 07, 2004 9:26 am   Subject: Success.tpl won't display in Mozilla, will in IE
Ok, I could really use some help... I'm lost. The wonders of why in one and not in another have passed me finally. This is my first site using the smartyValidate (pretty nifty btw), I'm going by the e ...
  Topic: smartyValidate criteria usuage {if} {else}
enirp

Replies: 1
Views: 9653

PostForum: Add-ons   Posted: Sat Nov 06, 2004 10:44 pm   Subject: smartyValidate criteria usuage {if} {else}
First off, just like to say, great system. Takes a huge load off of my current project load. Now, to just figure out some basics to get me going.

1. The below code I'm wondering about criteria, c ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP