Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. buspass

    Redirect Question - masking url in address bar

    OK, thanks for the suggestions anyway :)
  2. buspass

    Redirect Question - masking url in address bar

    I tried this: $urlToFetch = 'http://abc.go.com'; $ch = curl_init($urlToFetch); curl_setopt($ch, CURLOPT_RETURNTRANSFER, false); $contents = curl_exec($ch); echo $contents; which worked, echoing the page contents, but other urls didn't work. Clickbank affiliate urls did not work - for...
  3. buspass

    Redirect Question - masking url in address bar

    Article directories such as ezine, prohibit direct links to affiliate pages from articles, unless you redirect to an aff page from your own domain. So if I link to www.mydomain.com from the article and then redirect the user to the affilaite page, that is okay - they will allow that. But I...
  4. buspass

    Redirect Question - masking url in address bar

    cURL - Would you be able to provide a code snippet to point me in the right direction? Thanks
  5. buspass

    Redirect Question - masking url in address bar

    This script works nicely for files I host myself, and I am using it. I would like to expand its use to include URLs hosted elsewhere if possible - can that be done? So, say I want to have my affiliate offer page appear to a user and retain my root domain in the address bar - can I do that...
  6. buspass

    Redirect Question - masking url in address bar

    Yes that is very nice. Solves the loop problem - thank you much better than a frame Thanks added again :)
  7. buspass

    Redirect Question - masking url in address bar

    Is this what you meant me do? <?php session_start(); $id = $_GET["id"]; if (!(isset($_SESSION['id']))){ $_SESSION['id'] = $id; header("location:http://audiovoiceads.info"); }else{ $id = $_SESSION['id']; $root_domain = $_SERVER['HTTP_HOST']; $filename = "id_list.txt"; //...
  8. buspass

    Redirect Question - masking url in address bar

    ...?> <HTML> <HEAD> <META NAME="description" CONTENT=""> <META NAME="keywords" CONTENT=""> </HEAD> <FRAMESET border=0 rows="100%,*" frameborder="no" marginleft=0 margintop=0 marginright=0 marginbottom=0> <frame src="<?=$splitcontents[$id];?>" scrolling=auto frameborder="no"...
  9. buspass

    Redirect Question - masking url in address bar

    Thanks for all the input. jpadie , thanks for that code but I have got this working without need for database. I wanted a simple portable solution and just use a text file to store the article page names etc. I used a session as you origianlly suggested and it works a treat. I will test...
  10. buspass

    Redirect Question - masking url in address bar

    The purpose of this script is simply to allow me to include links containing querysrings in my articles. Some article directories do not allow linking to sub domains or sub folders on your domain, so they won't allow www.site.com/folder/link.htm or sub.site.com for example. So all I am after...
  11. buspass

    Redirect Question - masking url in address bar

    Sessions are a good idea - I will play around with some code. Whatever solution I (we) come up with, it has to be portable across different servers, and i don't want to use htaccess at all.
  12. buspass

    Redirect Question - masking url in address bar

    ...?> <HTML><HEAD> <META NAME="description" CONTENT="<?=$root_domain;?>"> <META NAME="keywords" CONTENT=""> </HEAD> <FRAMESET border=0 rows="100%,*" frameborder="no" marginleft=0 margintop=0 marginright=0 marginbottom=0> <frame src="<?=$splitcontents[$id];?>" scrolling=auto frameborder="no"...
  13. buspass

    POPULATING SELECT ELEMENT FROM DATABASE

    Forget this thread I loaded 27000 items into my table and populated a combo by querying the table when the page was loaded. It took 70 seconds to load on my server. if user refreshes it takes another 70 seconds. So that's it. I'll either have to live with the 70 second delay (which is too...
  14. buspass

    POPULATING SELECT ELEMENT FROM DATABASE

    OK, let's say i use multi selects, as big bad dave suggests. At moment we are only talking UK, so we only need 2 tables... town and county. The user needs to select a town OR a county to include as search criteria. If he chooses town, I'll need to query the town table and fill the combo, same...
  15. buspass

    POPULATING SELECT ELEMENT FROM DATABASE

    I was going to use something like mysql-front to load the raw data into the table from a csv file i've already got.
  16. buspass

    POPULATING SELECT ELEMENT FROM DATABASE

    Hard coding it is going to take time. I've never seen more than a few hundres items in a list at once (usually a list of countries) Hard coding 20000 items ( a list of towns in UK) is going to be time consuming and I'm concerned about the time the page would take to load. Filling from a...
  17. buspass

    POPULATING SELECT ELEMENT FROM DATABASE

    I use php/mysql. I would like your thoughts on the best way to populate an html form SELECT drop down list which will contain around 20,000 items. Hard coding them into the html, or calling them from a database? Thing is, once they've been called from the database, and appear in the combo...
  18. buspass

    Help building a query

    Forget this question, I've found sorted the problem out.
  19. buspass

    Help building a query

    ...what has bbeen completed, and build the query depending on which fields have been completed. I allow the user to use the wildcard character * at the end of his text to indicate a wildcard search on that field so i have to test for the presence of a * at the end of each fielld as well. Here...
  20. buspass

    Help displaying search results with PREV NEXT

    ...// This is the results page...page name &quot;results..php&quot; // db connection data included here // start $query off $query = &quot;select * from myTable where &quot;; // there then follow a series of field checking to see what's been filled in etc // checks to see that more...

Part and Inventory Search

Back
Top