Jump to content

gvanto

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

gvanto's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. OK kool thanks will look into it. Gerry
  2. I was wondering how one can query a (search) script from within my own php script. For example, if I want to check whether www.mydomain.com is available, can I somehow query namecheap.com (or godaddy or whatever) 's  /search.php form, and get the result? (and parse it to get an either yes/no answer) I am fairly sure this is possible as I've seen it done but cant remember where - would like to know how though  ;D Any help much appreciated! Gerry php-newbie
  3. Dear Kear, Thanks for your reply, but i just read up to here: if (isset($id)) and immediately I sense that you have the INVERSE of the function that I want, fully explained. In your code, you're expecting the user to enter: url.com/index.php?id=somenumber into the address bar, then call the .html file depending what this id is. I'm looking for a way of: entering the .html file: url.com/myrandom.html which THEN calls url.com/index.php?contentid=something Basically, a way of running a php file but which somehow has a .html extension (after which you can retrieve the current URL string, then FIND ID depending on the url location, ie. the inverse of what your code does) Hope this makes more sense now. Any help much appreciated! Gerry
  4. Umm, OK thought it was quite clear but here goes: I have content in a database, and depending on the value of ‘id’ depends which content is shown. BUT, for each ‘page’ (ie. Page with different content, in reality still index.php), I want an HTML page as follows (ie. The html page is called / linked to / whatever): url.com/myPage.html calls-> url.com/Index.php?id=4&someother=true url.com/myRandomlyNamedOtherPage.html calls-> url.com/index.php?id=39&someother=blah Hope this makes more sense, Thanks, Gerry Umm, OK thought it was quite clear but here goes: I have content in a database, and depending on the value of ‘id’ depends which content is shown. BUT, for each ‘page’ (ie. Page with different content, in reality still index.php), I want an HTML page as follows (ie. The html page is called / linked to / whatever): url.com/myPage.html calls-> url.com/Index.php?id=4&someother=true url.com/myRandomlyNamedOtherPage.html calls-> url.com/index.php?id=39&someother=blah Hope this makes more sense, Thanks, Gerry
  5. I would very much like to find out the implementation of: www.myurl.com/myfile.html where this URL actually calls the location (and shows content) www.myurl.com/content.php?id=4 I have seen this done somewhere just cant remember where :-) Any help much appreciated! Gerry
×
×
  • 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.