Jump to content

ColdH4x

New Members
  • Posts

    6
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ColdH4x's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. When opening a html file with include() my page does not show special characters, instead it shows something like "?" I've already saw a document about this and I got to the conclusion that is some charset problem... but when reviewing my html code I noticed the following line: <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> So I guess it's not this charset problem... or is it? What's wrong? :S
  2. Thanks that solved my problem!
  3. I'm creating the following code to use in a menu: <?php include("home.php"); if ($_GET['c']=="test") { include("test.php"); } ?> I want it to include "home.php" when the file is loaded... no problem in here. The problem is when "c==test". This will include "test.php" in the bottom of the page... leaving the "home.php" in the browser as well... when I only wanted to show the "test.php" Using header() solved my problem, but another appeared. If using header() to load the pages insted of showing in the URL ".php?c=teste" it shows "/test.php", and I want it to show the ".php?c=test" thing. Using fopen() doesn't works as well as it retrieves me a blank page...
  4. How can I "des-include" everything that I have included using include() ?
  5. Thanks! The header() kinda solved my problem... Now the only thing is... I'm using that method of linking pages with "www.example.com/example?variable=something" but when I link to a page using header() instead of showing in the URL "?example=something", it shows the full path to the file, like "/home.html"... Can I make it only show that "?example=something" instead of the full path to the file? Thanks!
  6. Hi! I'm new to this forum... and after a couple of days trying and searching, I think I just can't solve my problem... What I need is very simple. I just need to retrieve a page when a menu is clicked. So, i got the code, but I got sort of 3 problems. 1 - When using fopen() it returns a blank page... 2 - When using include() it includes me the new page at the bottom of the actual opened page... i don't want that 3 - When using cURL (and thought i had the problem solved) it gave me the same problem that i got when using include(), the new page appears at the bottom of the current opened page... I just want the page to be retrieved and to be the only showed... nothing more nothing less... Hope I can get some help! (And sorry my bad English) Thanks in advance!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.