Forum: PHP Jun 29th, 2008 |
| Replies: 2 Views: 600 I need to find the fastest way to sort an array where one value is id and one is a parent_id. The result should be same array but with additional value of depth(level).
See the example in first... |
Forum: PHP Jun 29th, 2008 |
| Replies: 10 Views: 2,293 Well, yes, sessions, but is there way to save user identification for long time? (except session in database/files/cookies)
Maybe some new clever way? I know the ordinary one's. |
Forum: PHP Jun 29th, 2008 |
| Replies: 10 Views: 2,293 May I ask related question in here?
I was just reading around, found this thread and remembered that I always wanted to know if it's possible to query database only once, at first visit, to confirm... |
Forum: PHP Jun 29th, 2008 |
| Replies: 2 Views: 600 Run this...:
<?php
function recrusion($array, $return, $pid=0, $level=0)
{
foreach($array as $id=>$parent)
{
if( $parent===$pid )
{
$return[$id]= $level; |
Forum: C Apr 8th, 2008 |
| Replies: 3 Views: 584 I wasn't sure where to put this topic, web or software development...
The questions is this: is there a way to build a website with C? (not PHP calling C application)
I read the web for a couple... |
Forum: PHP Jan 9th, 2008 |
| Replies: 10 Views: 2,477 Hello again :) and Happy New Year everybody!
After quite nice holiday I released a new beta (version 0.1.1), you can get it here http://skysimple.com/cms-download.html
Would be great if you... |
Forum: PHP Dec 5th, 2007 |
| Replies: 10 Views: 2,477 I think I got it. I will read more and test the system more on this matter, thanks for explaining!
A new version (0.2) is coming soon, what's interesting is that I added lots of new features, and... |
Forum: PHP Dec 2nd, 2007 |
| Replies: 10 Views: 2,477 digital-ether I'm not really sure about multibyte charsets, but I know for sure that the CMS don't have any problems with at least 4 languages I checked (english, russian, hebrew(right to left!) and... |
Forum: PHP Dec 2nd, 2007 |
| Replies: 10 Views: 2,477 I'll answer from the end:
There's no license as I'm totally confused with those and not sure with one to use/choose, but yes, it open source.
You are absolutely right about installation script,... |
Forum: PHP Dec 1st, 2007 |
| Replies: 10 Views: 2,477 Wow! Thanks a lot for your reply!
About the flat db (SkyDB class), actually it's very limited, but the main idea is fixed size data, so we can access any entry by id without actually looking for... |
Forum: PHP Dec 1st, 2007 |
| Replies: 10 Views: 2,477 Hello everybody,
Yesterday I finished testing a new CMS I developed for a while, and now I'd like to ask for your help. Could you please help test this system under different PHP version/settings?... |
Forum: Site Layout and Usability May 23rd, 2007 |
| Replies: 16 Views: 5,060 Check those two lines from the code I posted above:
.sm_box .a,.sm_box .b,.sm_box .c,.sm_box .d,.sm_box .content{background:#7fdcff;overflow:hidden;border:0 solid #7fdcff;border-width:0 1px}... |
Forum: Site Layout and Usability May 23rd, 2007 |
| Replies: 16 Views: 5,060 There's another way to do it, pure css.
Try this:
<html>
<head>
<title>Round Corners</title>
<style>
*{margin:0}
body{font:105% arial;text-align:center;padding-top:4em} |
Forum: PHP May 23rd, 2007 |
| Replies: 7 Views: 3,388 Here's a function I'm using right now:
function hl($c,$q){
$q=explode(' ',str_replace(array('','\\','+','*','?','[','^',']','$','(',')','{','}','=','!','<','>','|',':','#','-','_'),'',$q));
... |