944,082 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 1330
  • PHP RSS
Jun 21st, 2007
0

CMS - I don't quite get it???

Expand Post »
I know what CMS stands for, but what does it really do? I mean, I don't quite get what is happening when I see someone's CMS.

Can anyone break it down to me. Thanks.
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
MKIII is offline Offline
20 posts
since Mar 2007
Jun 22nd, 2007
0

Re: CMS - I don't quite get it???

Preferred code conversion date to AD Hijra only the language of Java Script



PHP Syntax (Toggle Plain Text)
  1. function formatTimestamp($time) {
  2. global $datetime, $locale;
  3. ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})", $time, $datetime);
  4. $time = mktime($datetime[4],$datetime[5],$datetime[6],$datetime[2],$datetime[3],$datetime[1]);
  5. // COPYRIGHT 2002 BY Ahmed-Samara www.daniweb.com/forums/member173926.html //
  6. $TDays=round($time/(60*60*24));
  7. $HYear=round($TDays/354.37419);
  8. $Remain=$TDays-($HYear*354.37419);
  9. $HMonths=round($Remain/29.531182);
  10. $HDays=$Remain-($HMonths*29.531182);
  11. $HYear=$HYear+1389;
  12. $HMonths=$HMonths+10;$HDays=$HDays+23;
  13. if ($HDays>29.531188 and round($HDays)!=30){
  14. $HMonths=$HMonths+1;$HDays=Round($HDays-29.531182);
  15. }else{
  16. $HDays=Round($HDays);
  17. }
  18. // COPYRIGHT 2002 BY Ahmed-Samara www.daniweb.com/forums/member173926.html //
  19. if ($HMonths>12) {
  20. $HMonths=$HMonths-12;
  21. $HYear = $HYear+1;
  22. }
  23.  
  24. $datetime = "$HDays-$HMonths-$HYear åÜ";
  25. return($datetime);
  26. }

But the problem in line code PHP, in directional mkTime did not get Vankhn reservists in the asp. Even Get the appropriate number ...

PHP Syntax (Toggle Plain Text)
  1. function formatTimestamp(xtime)
  2. ' global $datetime, $locale;
  3. 'ereg ("([0-9]{4})-([0-9]{1,2})-([0-9]{1,2}) ([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2})", $time, $datetime);
  4. '$time = mktime($datetime[4],$datetime[5],$datetime[6],$datetime[2],$datetime[3],$datetime[1]);
  5. '// COPYRIGHT 2002 BY Ahmed-Samara www.daniweb.com/forums/member173926.html //
  6.  
  7. TDays=round(xtime/(60*60*24))
  8. HYear=round(TDays/354.37419)
  9. Remain=TDays-(HYear*354.37419)
  10. HMonths=round(Remain/29.531182)
  11. HDays=Remain-(HMonths*29.531182)
  12. HYear=HYear+1389
  13. HMonths=HMonths+10
  14. HDays=HDays+23
  15. if (HDays>29.531188 and round(HDays)<>30) then
  16. HMonths=HMonths+1
  17. HDays=Round(HDays-29.531182)
  18. else
  19. HDays=Round(HDays)
  20. end if
  21. '// COPYRIGHT 2002 BY Ahmed-Samara www.daniweb.com/forums/member173926.html //
  22. if (HMonths>12) then
  23. HMonths=HMonths-12
  24. HYear = HYear+1
  25. end if
  26.  
  27. datetime = HDays & "-" & HMonths & "-" & HYear & " &aring;&Uuml;"
  28. Response.Write(datetime)
  29. end function
  30.  

But the problem in line code PHP, in directional mkTime did not get Vankhn reservists in the asp. Even Get the appropriate number ...
Reputation Points: 10
Solved Threads: 0
Newbie Poster
ahmed-samara is offline Offline
1 posts
since Jun 2007
Jun 22nd, 2007
0

Re: CMS - I don't quite get it???

What ?

Ignore that last post.

A CMS is an easy way to put information on a website

e.g if it was a news website you dont want to have to make a whole page every time you want to add an article so you use a content management system. A CMS has a database where the content is stored, and it is entered through a nice user interface.
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,528 posts
since Apr 2005
Jun 22nd, 2007
0

Re: CMS - I don't quite get it???

Ok, so what you're saying is it like a 'template' if you will, to control this? Am I understanding you correctly?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
MKIII is offline Offline
20 posts
since Mar 2007
Jun 22nd, 2007
0

Re: CMS - I don't quite get it???

Its a dynamic site. A CMS is kind of like daniweb in a way, in that each thread is not a seperate pag but one page where the content is loaded from a database.
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,528 posts
since Apr 2005
Jun 22nd, 2007
0

Re: CMS - I don't quite get it???

Ok, great. Got it.

I should try one to see how it works.
Last edited by MKIII; Jun 22nd, 2007 at 5:33 pm.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
MKIII is offline Offline
20 posts
since Mar 2007
Jun 22nd, 2007
0

Re: CMS - I don't quite get it???

a popular PHP / Mysql Based CMS is Joomla
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,528 posts
since Apr 2005
Jun 25th, 2007
0

Re: CMS - I don't quite get it???

Ok, will check that out.

Can I add now: explain what/how RSS feeds work? Don't quite get that one either. OF shall I start a new thread?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
MKIII is offline Offline
20 posts
since Mar 2007
Jun 25th, 2007
0

Re: CMS - I don't quite get it???

RSS allow users to 'subscribe' to your site. Basically, if you create an RSS feed for your site, I can go to your site, click on the RSS link, and add it to Google Reader or some other feed reader and then I don't have to come back to your site to check and see if it has been updated. You can update the rss file, which will show up in Google Reader, and then I know that there is something new and I can go to your site to check it out.

I'm probably not explaining this very well, but here is a link to wikipedia, which has a lot of info on the subject.
http://en.wikipedia.org/wiki/RSS_(file_format)
Thanks,

Nick
Reputation Points: 18
Solved Threads: 4
Junior Poster
stupidenator is offline Offline
192 posts
since Mar 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: search engine
Next Thread in PHP Forum Timeline: Date Field in MySQL with PHP /add/edit/delete





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC