Search found 54 matches
- Thu Apr 29, 2010 2:29 am
- Forum: UI Design/Usability
- Topic: Reviews on playtech.si
- Replies: 1
- Views: 5229
Reviews on playtech.si
Hi everyone, I've invested quite a bit of time into making my own gaming store. I've done the code and the design from scratch, if one can say so when using CodeIgniter/jQuery. My friends haven't been really helpful with giving constructive opinions, so I kindly ask for opinions on the site UI. You ...
- Sat Apr 17, 2010 1:47 pm
- Forum: HTML, CSS and other UI Design Technologies
- Topic: When you avoid cross-browser comp.
- Replies: 0
- Views: 785
When you avoid cross-browser comp.
This is what's up when you hesitate to test and fix crossbrowser bugs while developing. You end up rushing to put a site in production and on any sane browser it would look like this: http://www.shrani.si/t/3b/bq/3o2ppLVx/ff3.jpg But not on IE6. Sadly, this is what it looks like. http://www.shrani.s...
- Mon Aug 10, 2009 4:14 pm
- Forum: Installation and Configuration
- Topic: Apache URL Rewriting weirdness
- Replies: 4
- Views: 1671
Re: Apache URL Rewriting weirdness
Well, using:
I solved this problem, hope there's nothing wrong with doing so 
Code: Select all
<base href="http:/server/" />- Sun Aug 09, 2009 4:17 pm
- Forum: Installation and Configuration
- Topic: Apache URL Rewriting weirdness
- Replies: 4
- Views: 1671
Re: Apache URL Rewriting weirdness
One more thing.. :( All my relative URLs in the html document don't work with this enabled. E.g.: <img src="images/icons/check_10.png"/> Tries to locate the image at http://server/test/images/icons/check_10.png instead of http://server/images/icons/check_10.png What can I do besides having...
- Sun Aug 09, 2009 2:08 pm
- Forum: Installation and Configuration
- Topic: Apache URL Rewriting weirdness
- Replies: 4
- Views: 1671
Re: Apache URL Rewriting weirdness
Hi, thanks for pointing me in the right direction. I tried adding: <Directory /var/www> Options All </Directory> to apache2.conf, restarted it with no error and it still had multiview enabled, although in the docs it clearly says that this should make MultiView off. http://httpd.apache.org/docs/2....
- Sun Aug 09, 2009 10:35 am
- Forum: Installation and Configuration
- Topic: Apache URL Rewriting weirdness
- Replies: 4
- Views: 1671
Apache URL Rewriting weirdness
Hi, I was wondering, how on Earth does Apache do these rewrites, without them being set in apache2.conf file? My example: foo/ .htaccess test.php I open the browser and type: http://server/foo/test And it shows the test.php page. I want to prevent this. Because, having: RewriteRule ^test/([0-9]{...
- Mon Aug 03, 2009 5:42 pm
- Forum: PHP - Theory and Design
- Topic: Project concept needs some advice
- Replies: 21
- Views: 4915
Re: Project concept needs some advice
You know I just realized it's kind of awkward counting DB queries with PDO. While my database class that extends PDO does... public function query(&$sql){ $this->dbq++; return parent::query($sql); } I have no way of doing this when I prepare statements for uses in loops, ...
- Sun Aug 02, 2009 7:22 am
- Forum: PHP - Code
- Topic: Not understanding variables
- Replies: 12
- Views: 401
Re: Not understanding variables
Sorry for the offtopic; so as you nicely explained it, you are just making sure the form has been submitted from your site, to prevent for example other sites to use your forms and stuff. Basically this is the thing you want to have on search forms.
- Sun Aug 02, 2009 5:39 am
- Forum: PHP - Code
- Topic: Not understanding variables
- Replies: 12
- Views: 401
Re: Not understanding variables
The protection against "crafting" the form is by checking that it is submitted from the same site (using a token) If you can spare a minute or so, could you explain what do you mean with form tokens, and how to practically apply them? I believe you are not reffering to have a list of expe...
- Sat Aug 01, 2009 5:10 pm
- Forum: PHP - Code
- Topic: Not understanding variables
- Replies: 12
- Views: 401
Re: Not understanding variables
I think you want to automatically enter the info that was submitted with the form, even though you have errors there. So you need to assign these values to the controls, for example, textboxes have a proprety named "value": echo '<input type="text" name="foo" value=&quo...
- Thu Jul 30, 2009 4:09 am
- Forum: PHP - Theory and Design
- Topic: XSLTs for a better MVC model?
- Replies: 6
- Views: 1389
Re: XSLTs for a better MVC model?
Thank you all, taking your suggestions into account, I now plan to do something like pytrin explained in his article (nice blog, btw, I subscribed), however I'll try and make some modules with XML/XSL, like frontend news and other clearly structured parts. This would allow easy deployment of RSS sou...
- Wed Jul 29, 2009 1:25 pm
- Forum: PHP - Theory and Design
- Topic: XSLTs for a better MVC model?
- Replies: 6
- Views: 1389
XSLTs for a better MVC model?
Hi, I am not yet too deep into my project and I am starting to like the idea of getting more and more things done with XMLs and XSLTs. Dropping smarty ended up with my view looking quite nasty, so maybe I could do the whole thing with XML sources and XSL transformations. I enjoy doing stuff to the t...
- Tue Jul 28, 2009 7:02 am
- Forum: PHP - Code
- Topic: How to get a table number to auto-increment?
- Replies: 5
- Views: 3001
Re: How to get a table number to auto-increment?
Try doing it like this: while($fetchmenu = mysql_fetch_array($menu)) { $id = $fetchmenu['id']; $title = $fetchmenu['title']; $link = $fetchmenu['weblink']; $module = $fetchmenu['module']; $level = $fetchmenu['level']; $count = 1; echo "<tr align=\"center\"><td class=\"tbl\&qu...
- Tue Jul 28, 2009 4:43 am
- Forum: PHP - Code
- Topic: How to get a table number to auto-increment?
- Replies: 5
- Views: 3001
Re: How to get a table number to auto-increment?
Hm, if I understood you correctly, you want to show a sequential number, not the ID from the database entry. I would simply do that within the loop that you use to show all of the menu entries. As you explained it there's no need to have that in the DB, otherwise you could do that with database trig...
- Mon Jul 27, 2009 5:55 am
- Forum: PHP - Theory and Design
- Topic: Project concept needs some advice
- Replies: 21
- Views: 4915
Re: Project concept needs some advice
arborint,
this is a very good point. But how can a script be broken by something that is read from the DB? I mean, you select the data and assign it to a variable. If you are going to output, you should use htmlentities(). I am missing something, am I? =)
this is a very good point. But how can a script be broken by something that is read from the DB? I mean, you select the data and assign it to a variable. If you are going to output, you should use htmlentities(). I am missing something, am I? =)