Results 1 to 3 of 3

Thread: Is there any variable that can replace the url in the script

  1. #1
    Join Date
    Apr 2002
    Posts
    351

    Question Is there any variable that can replace the url in the script

    Is there any variables in the script which can be used to replace the url when it comes to the html tags etc.

    For instance, instead of typing http://www.indexu.com/images/logo.gif it would be possible to type %build_path%/images/logo.gif

    So the script would replace %build_path%/ with the actual URL web site address - in this case http://www.indexu.com

    Thanks,

    Veg

  2. #2
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    211

    Default

    Can you show me the example and in what file? I think what is working now is relative path (images/logo.gif) not absolute path (www.indexu.com/images/logo.gif)

    Sofiah

  3. #3
    Join Date
    Apr 2002
    Posts
    351

    Default

    Originally posted by sofiah
    Can you show me the example and in what file? I think what is working now is relative path (images/logo.gif) not absolute path (www.indexu.com/images/logo.gif)

    Sofiah
    In one of your competitors scripts they have a variable which is called <%build_url%> and that will replace the actual url of the web site in question when it is dynamically build .

    For instance, if a web site which is powered by indexu has the url http://www.mysite.com then it would be possible to use the following structure;

    <%build_url%>/images/logo.gif

    So when a page is dynamically generated then the script would replace <%build_url%>/ with mysite.com.

    This function would simplify things if a person has more than one site which is powered by Indexu.

    As it is now it is necessary to change the absolute path to reflect the actual url of the indexu powered site.

    Thanks,

    Veg

Similar Threads

  1. can the script be purchased through paypal ?
    By ehoneys in forum Pre-Sales Questions
    Replies: 7
    Last Post: 09-13-2005, 06:47 AM
  2. How to Include a poll script into indexu
    By igor1212 in forum v5.x
    Replies: 1
    Last Post: 02-16-2004, 04:37 PM
  3. Looking For A Cheap WebHost To Run Your IndexU Script
    By maddyymitra in forum Website development, hosting and promotion
    Replies: 8
    Last Post: 09-08-2003, 08:13 PM
  4. variables in php script
    By acio in forum v5.x
    Replies: 8
    Last Post: 06-22-2003, 07:24 AM

Posting Permissions

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