Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff
Author Message
FiLiUsEvAe
Hangin' Around


Joined: Nov 24, 2005
Posts: 36
Location: Netherlands

PostPosted: Sun Mar 26, 2006 4:45 pm Reply with quote

Well here I am again still alive and kicking Smile. Raven and those all who worked on the latest full distro .... THANKS!!! like bunches you guys do great work Very Happy

And of course ... here is my nag ...
Like ever and always I want my site perfect and it top condition. So still and again I'm working on the W3C validation. It's going pretty well actually and this fisubice theme taught me a lot on how to work around the things W3C is nagging about. I'm making my own theme now.

Now my question ... finally you'd say:

W3C doesn't like empty values and stuff. So to get the login page W3C ok I figured I'd change a thingy. All I did was put a dot extra in the value. I also tried it with a number which works too. So it seems anyways.

Before
snippet from the Your Account module index

Code:
       echo "</table><input type=\"hidden\" name=\"redirect\" value=\"$redirect\">\n"


      ."<input type=\"hidden\" name=\"mode\" value=.$mode>\n"

      ."<input type=\"hidden\" name=\"f\" value=$f>\n"

      ."<input type=\"hidden\" name=\"t\" value=$t>\n"


After ... and yes I know the dot is hard to see it's merely a dot isn't it

Code:
."<input type=\"hidden\" name=\"f\" value=.$f>\n"


      ."<input type=\"hidden\" name=\"t\" value=.$t>\n"


Just as example and if you can't find the dot ... I put a number in it

Code:
."<input type=\"hidden\" name=\"f\" value=1$f>\n"


      ."<input type=\"hidden\" name=\"t\" value=1$t>\n"



Now the login still works fine and is happy with or without dot .... BUT does it do anything invisble ... like something to the security or anything ... something I'd never think about?

thanks Smile
 
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Sun Mar 26, 2006 8:35 pm Reply with quote

Did you try putting the value in quotes?

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
FiLiUsEvAe
PostPosted: Mon Mar 27, 2006 12:46 am Reply with quote

hihihi yes yes that works too Very Happy ... duh on me that I didn't think about that! Shocked

Thanks kguske Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> General/Other Stuff

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©