PHP Programmers, Is this Possible?

Discussion in 'Programming' started by rldowling03, May 5, 2007.

  1. #1
    Hi, I am looking for someone to code me something. I have tried myself but have no idea how to go about it. I have a site which each page such as index.php is made but without the content in it, like it uses PHP includes to get things from an includes directory and put it in. Say I am in sonyps3.php, it will have just the page with a modified title, includes path and nav change, but it will point to includes/sonyps3.php and include it as main content. My site is http://www.ffusite.net and I just want to know if there is a script or someone who can create one for me that gives an admin control panel thingy and It has a simple text box where I can fill in title, file name, text etc, and it will insert it into a new file already made so it will be included and include file placed into the includes directory, If that made any sense to anyone, and if it is possible or allready a script or a script like it, please PM me.

    I know it prob didnt make sense, But it hard to explain. And i know i could prob use a CMS or something similar, but i want it to work with my design cause I like it
     
    rldowling03, May 5, 2007 IP
  2. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    As Seller:
    100% - 0
    As Buyer:
    100% - 3
    #2
    yes. no. maybe.

    Seriously, I'm not sure what you said. I think you said you like the layout and look of your existing site. You would like to keep that same exact look and have diffrent content appear in the main content area. Did I get that part right?

    How many pages do you see yourself adding to the site? And how often?

    If this is going to be a seldom and few type of thing a simple template where you manually add the content and name the page might be the best approach.

    If you think many and often then you may want to consider a CMS. I do know of one that can be formatted to look like anything you want and has a decent backend. Without knowing exactly what you want it is hard to place a price.
     
    Colbyt, May 5, 2007 IP
  3. rldowling03

    rldowling03 Notable Member

    Messages:
    1,763
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    200
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    lol, i know what I want, it is a matter of explaining it, lol. I will try again, but u sort of there.

    Ok, My pages are formatted like this, (ie, go to sonyps3.php)

    
    Top code
    <title>ffuniverse -- Sony PS3</title>
    More stuff
    You are here: <A href="index.php">Index</A> &gt; <A href="sonyps3.php">Sony PS3</A>
    Even More Stuff
    <?php include("/path/htdocs/includes/sonyps3.php");?>
    End Code
    
    Code (markup):
    I removed the ordinary site code and gave most important things to my pages. When I create a new page of content to my site, all I do is copy a file (template.php) and put it into a sub folder or root directory and rename it to sonyps3.php (or whateva the page content is) and just change the values that are up there in the code, to suit my page I am making, so if I made a page xbox360.php

    
    Top code
    <title>ffuniverse -- Xbox 360</title>
    More stuff
    You are here: <A href="index.php">Index</A> &gt; <A href="xbox360.php">Xbox 360</A>
    Even More Stuff
    <?php include("/path/htdocs/includes/xbox360.php");?>
    End Code
    
    Code (markup):
    You get it now?? Basically the includes path goes into a includes/ directory in my root directory of my server and all my files which I just include in the actual content pages that users go to in the root directory or subfolder. Keeping up, lol.

    The include file Is made like below

    
    <div class="mainheading">Title</div><BR>
    
    TEXT<BR><BR>
    
    <div class="subheading">Sub-Title</div>
    
    Some Text<BR><BR>
    
    Code (markup):
    All my include files follow that template and I just add my content into that in that form, and then it will show up in the content page which the general public views.

    Now what I am looking for is if there is a way to make an area where all this is done for me and I just enter in the Page title, file name, and fill in the content, so it is all automatically and I dont have to do it manually??

    I hope you get it this time, lol
     
    rldowling03, May 5, 2007 IP
  4. Zeest

    Zeest Active Member

    Messages:
    337
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    83
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    Can be done, PM me for a quote.
     
    Zeest, May 5, 2007 IP
  5. Colbyt

    Colbyt Notable Member

    Messages:
    3,224
    Likes Received:
    185
    Best Answers:
    0
    Trophy Points:
    210
    As Seller:
    100% - 0
    As Buyer:
    100% - 3
    #5
    What you are currently doing is creating static pages. Many consider that best for SEO purposes.

    Sure you can use a cms to the same thing.
     
    Colbyt, May 5, 2007 IP
  6. Sygon

    Sygon Peon

    Messages:
    439
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #6
    Sygon, May 5, 2007 IP
  7. ottodo

    ottodo Guest

    Messages:
    2,055
    Likes Received:
    70
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #7
    ottodo, May 5, 2007 IP
  8. rldowling03

    rldowling03 Notable Member

    Messages:
    1,763
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    200
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #8
    Ok, i don't want a cms because i just want to integrate it into my site. don't worry i am coding this by myself now
     
    rldowling03, May 5, 2007 IP
  9. fireshark

    fireshark Peon

    Messages:
    190
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #9
    You could use mod_rewrite
     
    fireshark, May 5, 2007 IP
  10. rldowling03

    rldowling03 Notable Member

    Messages:
    1,763
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    200
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #10
    ok, i know nothing about apache things, I only know about php stuff, Im trying to do it through php ftp commands and fput, fopen, but my knowledge is minimal, any directions or suggestions would be nice
     
    rldowling03, May 5, 2007 IP
  11. fireshark

    fireshark Peon

    Messages:
    190
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #11
    You need to create files that don't exist on the fly, trust me mod_rewrite is what you want and it's not that hard
     
    fireshark, May 6, 2007 IP
  12. rldowling03

    rldowling03 Notable Member

    Messages:
    1,763
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    200
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #12
    Do you think you couls create it for me or possibly just help me to understand it so I can work to it myself??
     
    rldowling03, May 6, 2007 IP
  13. serialCoder

    serialCoder Guest

    Best Answers:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #13
    yep, static pages... a simple but well coded cms will do and nice for SEO too :cool:
     
    serialCoder, May 7, 2007 IP