Jump to content

dpc

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

dpc's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm a relative novice in PHP so was just looking for some pointers really. I had the idea originally of domain.com/file.php?url=base64encoded but couldn't seem to figure it out I will investigate cURL and file_get_contents() some more. Thankyou very much for your input everybody. Basically, I have a number of websites, and I would like to display the contents of one through another, but I don't want the two websites to seem to be affiliated for commercial reasons. I could always copy everything from one site to another but I wondered if there was another way as the sites are frequently updated independently of each other. Long-term we are looking to use the same database with different 'white-label' front-end sites but that's not feasible in the short term
  2. Hi, I want to be able to hide the address the browser shows for a web site. For example, I want a domain such as domain.com to display in the browser but then load up in the page (in frames or similar) mydomain.com. I've looked at frames but they still show you the address in the status bar and the properties of the page will still be of mydomain.com. I've also looked at mod_rewrite but it still shows mydomain.com after clicking a link or visiting an address. Am I able to accomplish this using PHP? I've looked at base64 encode and decode functions but I'm unsure as to how to use these best. Any ideas/links would be appreciated. Thanks
  3. Hi, I'm searching through a database I have for keywords and can get the correct search results to display in a table and highlight the results, but the method I am using replaces any upper/lower case letters with whatever the search term was. (In my case $trimmed). Could anybody help me find a better solution than using eregi_replace ? Example below:- <? echo eregi_replace( $trimmed, "<span class=\"searchresults\">".$trimmed."</span>", $EntryID ) ?>
×
×
  • 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.