Jump to content
xisto Community

whistle

Members
  • Content Count

    98
  • Joined

  • Last visited

Everything posted by whistle

  1. CODE <?php header('location: astahost.com'); ?> This is a script for url forwarding given by someone in a thread of the forum "PHP". You said you need the code in PHP. I hope this can help you.
  2. It does help! This is a standard url forwarding. How about the cloked url forward? It is also called url framing. May you give me an example too? It will be very helpful.
  3. I think that I did not say it clearly. I mean that I hope to build a site for url forwarding on demand. Control panel does give a good functionality for url forwarding, but only the owner can handle it. A site which can give anyone the url forwarding service is what I desire.
  4. Ok, thank very much. That is a solution also. I will do it.
  5. I used file manager in windows 2000. When I link to their FTP server, a panel requesting the ID/password is launghed. I tried ID or ID@lycos.co.uk with my password, I always failed to login. I really hope to know what ID should I fill in? It could be a problem of my ftp program? I will try it later, but file manager worked well before.
  6. Thanks for your help. It surprises me, there are so many detail information about the server and my browser. I think that I have a good beginning to study PHP.
  7. Actually, this thread was on other forum and moved to here by Buffalohelp. Thanks for your help. Your scripts are simple and easy to be understood. It is really another way to reach the same target. If I can't find the scripts related to the country IP, it must be the best way. For the script, I have a question. If I query and get a response in Polish version because the language setting in my browser is Polish. Will my browser be changed to english version when I change the language setting to English?
  8. Dear moonwitch: I am confused your advise of following: I have set the nameserver of "4av1.net" to ns1.astahost.com and ns2.astahost.com for days, although I didn't got approved at that time. Do you mean that I should change the nameservers to other place before I create my account. Or the error message could mean that a DNS entry of "4av1.net" exists in Xisto's dns server, so it needs to be deleted from the Xisto's dns server first. If I am wrong, please correct me.
  9. When I install a package with appache+mysql+php, I found a subdirectior with the program "sendmail.exe". My OS is windows 2000. The readme said that the program is support for mail() function in php code. If you can configured it properly, I think you could use php to support you need.P.S. I failed to configure it. After I tried, no mail sent actually.
  10. I was excited when I got approved this morning. I went to the https://support.xisto.com/ and tired to register. I waited and waited, but there is no response. So I backed to the previous page and refilled the application. The the error message showed up, the problem is: I own 4av1.net. I don't know where to ask for deleting the DNS entry, so I post here for seeking some help. Give me another chance, I won't do the stupid thing again.
  11. I considered that wildcard is used for modified or update dns. I am wrong. That wildcard is an A name specified by "*" for pointing to a host ip. Of course the host ip should be where the website hosted.But how do it work? Please correct me if I am wrong. I guess that wildcard is a catch all function. As the email, when you set a catch all email account for you domain, every mail sent to the domain will forward a copy to the catch all email account. The dns wildcard seems so, every query will forward to the ip where the website hosted. Therefore the website will response the query according to the information of the query.For example, this could be used for url forwarding. When the query arrives to the website, the website can forward the query to a predefined url according the url of the query. The url could be a subdomain. Maybe it can be a url with a subdomain, I am not sure.Of course, it can also support multi-domain. For the purpose, the httpd must be modified for a plurality of domains. I don't know how to do it, I think that is called virtual hosts.I longer for more details about the wildcard in dns. Hope some experts can share your knowledge here.
  12. URL forwarding is also called shot url. That is, use a short url to represent a long url. Thus less alphabats will be typed for go to a target website. If you got a web hosting with the cpanel, you may find the url forwarding. There are two popular ways to make a url forwarding. One uses a subdirectory, and the other uses a subdirectory. When I first time knew the url forwarding, I was interested in how it works. I think there are a lot of people who may be interested in to as me, so I try to discuss that in the thread. When you have a cpanel, you may create a subdomain and forward it to a target url. May anyone provide his experience about how to use scripts, such as php, to implement a automatic service for others? Using url forwarding by a directory could be much easier than the sundomain. A set of PHP scripts could implement such a service. Whenever a name is registered, a directory named as the registered name and a redirection file for forwarding, i.e. index.html or index.php, will be copy into said directory. Thus, when someone use a url such as http://forums.xisto.com/no_longer_exists/, the redirection file will be responsed. May anyone share some experience about this or related scripts here?
  13. I got an account of Lycos's free web hosting. They provides mysql, php and ftp. They gave me a mail comprising my ftp id and password. When I use them to login, all failed. Can anyone tell me the correct way to login Lycos FTP?
  14. It's package 2. After I got more than 30 credits and retried to create the account, everything was done. Ah~~ I do really not understand what's wrong. I ask package 1 but get package 2. All I could say, thank you. The thread is closed.
  15. There are lots of web hosting provider and some of them are free. How can you know what problem your PHP scripts would involved in when you get a web hosting which supports PHP.I have found 2 problems. One is about the function mail(), the other is about safe mode. Of course, there may be others problems, I hope someone can adds the problem in this thread for more detail discussion.The first question is how I can know the function mail() work properly. If you use function mail() in your PHP scripts, error message may be shown if the server does not support sendmail. The mail() may do nothing if the configuration of the sendmail is not correct. Can anyone provide some simple PHP scripts for testing function mail()?The second question is how I can know whether the server is in safe mode or not? If the server is in safe mode, it will limit the functionalities of your PHP scripts to operate the file system, i.e. directory creation or file creation. Can anyone provide some simple PHP scripts for testing the safe mode?
  16. I've just got approved. When I create my hosting account according to https://support.xisto.com/ step by step, the following message showed up: I asked for a start plan which cost 10 credits. I won 24.98 credits now. Besides, I got approved in case I have enough credits. What's the matter with that? Did I do anything wrong? If I post it in the wrong forum, I am sorry because I really don't know which forum it should be. I will try to get some credits to reach 30 credits to see if I was set for package 2. If so, I will come back to close the thread, but I do ask pachage 1 (starter plan). Notice from snlildude87: Inserted quote tags where required
  17. I think you are looking for a free web hosting. The web hosting you are looking for should support PHP and sendmail, thus your mail() function can work.I seeks this too. I only find the Lycos.co.uk suuports this. Besides Lycos also provides a mysql usage for each account. I have tested the mail() function in somes PHP scripts, it works. Is Lycos good? I don't think so. Maybe I am stupid, I never success to login its FTP server, although Lycos claims that it support FTP server and it gives me the account id and password. All I can do is to use the webftp to upload my scripts by handmade. If you can image that, you will know it's terrible nightmare if you are building a website with a lot of files. No matter you upload files or backup them. Moreover, the advertise sucks. Their advertises holds you action on the browser until they vanish. The advertises also overlap some portion of your page. Anyway, if your request is not too high, I think that it can satisfy you. At least that's the only one which supports PHP, MySql, mail() I've found. The most importance is that it is not in the safe mode, thus you can create directories or files in PHP scripts. You cannot except when or whether you will use it.Therefore I think a good free web hosting site should be php supported, mysql supported, sandmail supported, and not in safe mode. If you find another, please tell me!
  18. Do you ever see that a website support multiple language, and the website will forward you to a homepage written by one of the language according to your ip address. That is, the website has multiple sets of pages. Each set of pages is writted by a specific language. When you link to the website, it can determine your ip and country you live accord to the ip. Thus the language where you live could be determined, and a preferred set of pages can be assign to response to you.It seems that this kind of webside must know which ip is correspondent to which country, corresponding to a specific language. Or some website prove a service for determining the country according to a IP, thus the forgoing website can get the response from the service for forwarding you to the preferred set of pages.Could anyone share useful information about this or useful tools to do it? PHP scripts is preferred. Thank you for reading my post.
  19. I met that problem already. When I sumited "NS1.TRAP17.COM & NS2.TRAP17.COM", it said that NS2.TRAP17.COM was not avaliable. Not avaliable, what does it means? Isn't it a real domain name? Or it's down? All I could do is to sumit it over and over. Finally, it's done.Did I resolve it? No. Why does it happen? No advise. I Just can say you must be lucky.
  20. Yes, its us dollar. domainsarefree.com gives the cheap price only the first year. The price raises to $9 next year and the third year. I post it for who wants to try his or her first domain. I think a cheapest test will be a good test.
  21. Yes, if you buy a domain that somebody used, the same problem araises. You may think that your are lucky, some people or bot know your domain before you advertise it.
  22. Free services are preferred, but cheap services can also be considered. The most important thing is how much you would pay. Your own domains won't be free without any expense. So cheapest price is the best. The following is the cheapest price I've ever found. http://www.domainsarefree.com/rg-erdr.php?_rpo=t : The cheapest fee of the first year : $3.99 for ".com", ".net", ".org", ".bix", ".info", ".us". http://www.registerfly.com/ 1. $5.50 .net domain promotion For the next 72 hours register any .net domain for the low price of $5.50 /year. (I don't know which day is the first day, but it does work since I registered one today) Make sure you are logged into your RegisterFly account You must have at least one .net domain name purchase in your cart Enter the code "NETSPECIAL". 2. $1.99 .info domain promotion For the next 48 hours register any .info for the low price of $1.99 /ea (It must be work untill tomorrrow) Make sure you are logged into your RegisterFly account You must have at least one .info domain name purchase in your cart Enter the code "INFOSPECIAL" https://de.godaddy.com/ 1. .us : $6.95 2. .biz : $5.95 https://www.1and1.com/ $5.99 : .com, .net, .org, .info, .us, .name Please note: The services at 1and1.com are only available to residents of the U.S. and Canada. Residents of the U.K. can join at https://www.1and1.co.uk/.
  23. There is another interesting thing. I bought a ".to" domain and chosen the DNSpark.com for DNS hosting. I was very satified about their service. It seems everything goes fine.The DNSpark.com has a tool to show your queries every day. I noticed it at the third day. After executing the too, it showed 7000(1st day), 12000(2nd day), and 11000(3rd day), and it showed I had used 15% of my usage.Wow...My domain is so popular! Even I did not start to use it, it got so many queries. I was a newbie, and so excited. But suddenly I found something was wrong. About 10000 queries arrived every day. It means it costs me 5% usage everyday. That is, I will run out all my usage in 20 days, and the rest days of the month I will get a silent domain.I am so surprised. What's the matter with it? No one could give me a answer. After I created a catch-all email account to forward my used e-mail. Another things surprised me, too. My email account received over 50 email in 10 minutes. That's why, spam e-mail causes the problem. What could I do for it? Nothing, I just accepted it sadly.Then another search for the next home of my domain started. The Zoneedit.com is found by. The situation did not change, but my domain could work, at least a longer while. Because it affords 1,000,000 queries, but in one year. I can use it for 3 monthes.The third search for my domain started again. Finally, the mydomain.com is discoveried by me. No one knows how much efforts I spent. But it is not important, finally I can settle down my domain on a good dns hosting. Oh! DDNS is not supported by mydomain.com. It won't cause any problem. All I need is create a subdomain and host my it on dnspark.com or zoneedit. That is, dreams come true.
  24. Except the free web space and the free email, free dns hosting is rarely discussed. When you have a domain, you can share it to multiple hosts if you have a domain name server (dns). If you don't have, it's ok. The DNS hosting server can serve you as you own it. Another benefit of the dns hosting is that you can update it anytime and anywhere. Building up a dns is not easy, but using a dns hosting isn't. Of course, if the a dns hosting is free, it is wonderful.What kinds of services would a free dns hosting provides? The management of basic DNS hosting functionalites of A name (subdomain to an IP), C name (subdomain to a domain), MX record(email server) is necessary. Moreover, other services will be optional, like mail forwarding, domain parking, url forwarding or ddns (dynamic dns).The following is some free DNS hosting I've ever found. dnspark.com provides the following free services: DNS Hosting Mail Guiding (mail forwarding) web camping (domain parking) web guiding (url forwarding or url framing; short url) Dynamic DNS limitation: 2 domain hosting only, and 200,000 dns query per month.ZoneEdit.com provides the following free services: DNS Hosting mail forwarding domain parking web forwarding (url forwarding or url framing; short url) Dynamic DNS limitation: 5 domain hosting only, and 1,000,000 dns query per year.Mydomain.com (my favorit) provides the following free services: DNS Hosting mail forwarding domain parking web forwarding (url forwarding or url framing; short url) limitation: no limitation PS. The DNS hosting of mydomain.com can assign dns server of the subdomain.You can be a domain from a domain register. But a lot of domain register just provids very simple domain managemant, comprising A name, MX record or simple url forwarding. That is, you can't tough the subdomain. Better registers provide dns hosting as dnspark.com or zoneedit.com without limitation. The mydomain.com is a amazing one, you can consider it as a full function execpt the DDNS. You can create one or more subdomain, and also make the dns hosting of the subdomains. With mydomain.com, you can share the subdomain to your friends. Of course, they can update the subdomain you shared on their own as long as they host the subdomain on a dns hosting.
  25. I tried the above scripts and got Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/freehost/t35.com/u/r/url/config.php on line 22 . After I tried "echo $_SERVER['DOCUMENT_ROOT'];", I got /usr/local/apache2/htdocs . Then I changed above scripts as following: <?php $credir = "/usr/local/apache2/htdocs"; $new_dir = 'new_directory'; echo "$credir/$new_dir"; echo $_SERVER['DOCUMENT_ROOT']; if(!is_dir($new_dir)) mkdir("$credir/$new_dir", 0755); else echo 'Directory already exists'; ?> I got as following: Warning: mkdir(): SAFE MODE Restriction in effect. The script whose uid/gid is 500/500 is not allowed to access /usr/local/apache2/htdocs owned by uid/gid 0/0 in /home/freehost/t35.com/u/r/url/config.php on line 22 I finally know why the directory can't be created, because it is in safe mode. But I still have a question. What is the exact absolute path is? Is it "/usr/local/apache2/htdocs" or "/home/freehost/t35.com/u/r/url"? which one?
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | 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.