Page 4 of 5 FirstFirst 12345 LastLast
Results 31 to 40 of 49

Thread: .php headers?

  1. #31
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    well that says "Error: service not started [-1]" in the XAMPP window thing.

    seriously is there any alternatives to this that can just be done in Notepad and doesn't require downloading programmes? Iframes I suppose? Although I'm sure I acomplished this when I coded my own layout from scratch about 6 months ago and I know I used divs, and I didn't have to download anything.

  2. #32
    Join Date
    May 2005
    Location
    San Francisco, CA
    Posts
    7,160
    Tokens
    2,331

    Latest Awards:

    Default

    Quote Originally Posted by Robald View Post
    well that says "Error: service not started [-1]" in the XAMPP window thing.

    seriously is there any alternatives to this that can just be done in Notepad and doesn't require downloading programmes? Iframes I suppose? Although I'm sure I acomplished this when I coded my own layout from scratch about 6 months ago and I know I used divs, and I didn't have to download anything.
    Not if you want to do it using PHP - which needs a http server (e.g. Apache). Setting up XAMPP is pretty easy, you must be doing something very wrong, lol.

    Try this to fix your error: http://www.developersnippets.com/200...-xampp-server/
    Last edited by Invent; 19-07-2009 at 05:11 PM.

  3. #33
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Invent View Post
    Not if you want to do it using PHP - which needs a http server (e.g. Apache). Setting up XAMPP is pretty easy, you must be doing something very wrong, lol.

    Try this to fix your error: http://www.developersnippets.com/200...-xampp-server/

    Ohhhh you click "start" not the tick box kkkkkkkk lol.

    I'm doing that now and I'll let you know if it helps . +rep

  4. #34
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    Ok Apache is running. But it's made no difference.


    Right is this 100% correct for an include?

    <?php include("main.php"); ?>


    And does the document 'main.php' have to contain anything in particular or is there anything it can not contain?

    For example, it beins with:

    <div class="image1"></div>

    ...and then it's just text.

  5. #35
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    You need PHP GD?
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  6. #36
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by TomSpit View Post
    You need PHP GD?
    Someone asked me that before. I don't know what it is but I'll see if I can find it to download...

    (edit) oh it sounds like that's to do with images? might help my original problem but I'm more concerned about displaying the actual content for now.

    edit again. I have an idea. Could somebody download the zip I posted in an earlier post (previous page I think). Then open index.php in Notepad, scroll to the very bottom and you'll see the 'enter content here' part. It has that weird coding I also posted earlier rather than a php include. That might be the best way for someone to spot a problem?
    Last edited by Black_Apalachi; 19-07-2009 at 05:48 PM.

  7. #37
    Join Date
    Nov 2005
    Posts
    4,486
    Tokens
    921

    Latest Awards:

    Default

    The headers use Php GD to generate the text that is on them. It's not a normal div with a background image and text on top. The image has been generated to have whatever text you want on it.
    "RETIRED" FROM HABBO(X)

    :¬:

    TOMSPIT / COWLY05


  8. #38
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by TomSpit View Post
    The headers use Php GD to generate the text that is on them. It's not a normal div with a background image and text on top. The image has been generated to have whatever text you want on it.
    Ok thanks, I'll d/l that then +rep

    Once downloaded, will any action be required? i.e. will it have to be d/l to somewhere around file:///C:/xampp/htdocs/site/ for instance?
    Last edited by Black_Apalachi; 19-07-2009 at 05:54 PM.

  9. #39
    Join Date
    Mar 2008
    Posts
    5,108
    Tokens
    3,780

    Latest Awards:

    Default

    I can't be arsed to read through all of that. But is the problem right now; not being able to display the headers?

    If so.. go to header.php?t=blah and see what comes up.. in your browser.. then tell us what happens.

  10. #40
    Join Date
    Oct 2006
    Posts
    12,405
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Dentafrice View Post
    I can't be arsed to read through all of that. But is the problem right now; not being able to display the headers?

    If so.. go to header.php?t=blah and see what comes up.. in your browser.. then tell us what happens.
    That was my initial problem, but when I work out where exactly to download this Php GD from, it should be OK .

    I have a seperate problem though where by my php include won't work so I can't see any of my content.

Page 4 of 5 FirstFirst 12345 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •