Jump to content
xisto Community

Hercco

Members
  • Content Count

    586
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Hercco

  1. EditPlus2, the best text editor for windows.I started web designing/programming when the WYSIWYG editors were absolutely useless so coding HTML by hand was the only option. And I've never have seen any reason to abandon this. I think it would be quite hard for me to learn to use a tool like DreamWeaver or Frontpage. But I've never really used Notepad for HTML designing. Simply because I demand a little more from a text editor than that. Mainly its the code highlighting, I really hate reading un-highlighted code, be it HTML or some programming language.
  2. You mean a modelling tool in which you can drag and drop UMl elements and then it generates the code? If so, check out ArgoUML. The latest versions of it contain PHP support, and if I'm not teriibly mistaken, it also can generate php5 code.
  3. You mean PEAR. Its the most famous one and for sure is quality stuff. To be honest I don't actually know any other frameworks than it.
  4. I just thoght to inform that this issue has apparently been solved since there is no more error messages. Thanks admins, we love you.
  5. I tested and there is no problem using php mkdir at panda, so its definitely your file permissions.
  6. May I ask you why? You are hosted here at asta, it says so under your name. So you have mySQL databases to use. Even if your not running the blog software at asta server you can use asta's database. Oh and Wordpress is the best blogging software out there.
  7. Quick addition: also add margin-bottom: XXpx; to the leftbar.
  8. Hey Abhiram. I downloaded your codes and tested. This should work: Add the following to div#footer clear: left;margin-top: 10px; It always starts from the left edge of the screen and always leaves atleast 10px margin to top of the div from the closest element (the content or the menu box). Hopefully this was what you were looking for and helped. -Hercco
  9. Do you mean like the one these "free url" services like dot.tk use? It is simply a page which has one minimal size frame. What you need to have in your index file is a frameset code which sets two frames, one really small (donä't know if width or height 0 is allowed, if not then 1) and one full window sized frame. For the first page set some blank html file and for the latter, the page you want to "redirect". Links indide the big frame should open neatly inside it, as long as there is no target value specified. Unfortunately I can't recall the exact syntax for a frameset, but you should be able to find it with google or some other member will post it here.
  10. How do you transfer the session id? Do you use cookies, have cookies as optional or rely completely on GET variable? And do you save the session id into database and check it from there? Oh and your code would be helpful too. Just explain it or have it properly commented.
  11. I get this error at subdomains page. And I can't setup, remove redirections or delete subdomains. All the pull-down menus below "Add" form are empty. Thanks in advance.
  12. Dammit my eyes hurt now... I actually played some pong over thrre. Pretty cool site though.
  13. I think you cannot do subdomains with PHP here at asta. Simple the script creasting the subdomains requires authentication and thus is only available through cpanel. But for subdirectories its actually bloody easy. You just need to create a frontend for the users. They enter url and desired directory name and the the data is submitted to a PHP script that creates appropriate directory and a index.php file in it. All that need to be in the file is: <?phpheader('location: http://astahost.com; And it does the job! I hope this was what you mean.
  14. When you mentioned big sites (like microsoft.com) spreading the traffic to different servers, you are right, but like guys kind of pointed out it has nothing to do with DNS. DNS just translates the literal address to whenever the entry point to the microsoft's network of webserver is (an IP address), Then, the first server receiving the traffic does what you talked about, distributes the traffic between different servers, to balance load.It is infact rather interesting topic. While it may sound rather trivial task to do, it actually has lot of different ways to do it, and none perfect. The type of traffic defines what method is the best and because of this predicting and monitoring traffic is extremely imporatant if your looking for getting the best out of your servers (and who wouldn't).A typical, and most obvious way to do it is by handing the first task (a http request for example) to server 1. When the next task arrives we check if server 1 is busy, if so, give th task to server 2 and so on until you run out of servers and you have to start queuing the tasks. This works and is in use with many big services. However, an alternative method can prove to be highly more effective...How it works is that it has a certain time limit for a server. A time limit that its tasks (combined) may not ever go over. The system starts bu queuing all tasks to server 1. If it turns out that it cannot do it withing the time limit, the task is cancelled and started from scratch at server 2. If it cannot be done there, then start from scratch with server 3 and so on.It sounds like a real bad idea. You're doing lot of processing in vain.. But what the idea is that it doesn't make short processes (requests) to wait for the long ones to visit. With the conventional system you can easily have all servers running a long process, and short processes taking only fraction of the time that the longer ones would would have to wait. With the latter system, you'd pretty much always have server one reserved for short processes. Ain't traffic engineering fantastic
  15. The worst ones to debug. It's a coding convention, I've seen that in few other places too. I don't quite get the point, but that's not the first time...
  16. Yep, blogger should have RSS built in. At least the blog I have followed all had feeds available (otherwise I wouldn't have even followed them)
  17. Yeah. It was an ad shown in America at the Super Bowl and some people didn't like it. Might have had something to do with what happened year earlier... I gotta say that I first suspected godaddy.com. Their front page is packed full with information and I don't know about you but for me gave an impression of humbug... But then I asked on few forums (including asta) and everyone had just good things to say about them, so I went and registered my domain there. And now, I think they're a good company. Their prices are probably one of the lowest in the web and services work well. They'd just really have to do something for their front page...
  18. So you have three different CSS files, three different sets of images and content that is meant to be displayed with all these different styles.Unless you absolutely need to change the style on the fly, ie. on client-side, don't use javascript! I'd suggest doing a template system. It is really lot easier than you might think. You just need a way to save the preference of the user (if you let the visitors to select the style), that could be either cookie or a session. Then HTML templates, with the content (and possibly menus and such) replaced with keywords. You should be able to use your current files, with just removing the content and replacing it with something like [CONTENT]. Then have PHP change the keyword into the content, that you have stored only once, with function like strtr() (string translate). You could naturally also use CGI or ASP or whatever you feel most comfortable with.I'd say that's just as easy if not easier to do than the kind of javascript stuff. The difference is that this will work on everyone's browser without requiring any specific browser settings.
  19. No problem. And you're not stupid, it isn't the easierst thing to find on the cPanel.
  20. But how that differs from ASP? What you are saying is that you like server side scripting and dynamic webpages. ASP doesn pretty much the same, the code is just different. The both languages do the stuff that they were created for really well. The differences can be found on more specialized stuff. I think that wheter PHP or ASP is easier to leard depends greatly on your programming history. If you have done C, you can write PHP just by learning how variables work in it (which is about as easy as it gets). But if you've done stuff like MS (visual) basic you probably feel more home with ASP.
  21. I think I saw some topics regarding this kind of system at the simple machines forums. Try looking for a mod or requesing one. I believe it would be quite easy to do by modifying the karma system a bit. Well basically so that you get karma when you post, based on the number or letters or words in the post. The automatic suspending/unsuspending should be easy to do privided that you have suspend and unsuspend scripts at hand.
  22. Put that function in a separate file, then require (=include) it to your every php file and then just call "changelocation()" where ever you want the 'iframe' to appear. Other option would be to make the 'iframe' a separate file and then include it to everyplace where you want it. The contents of the file would be what's inside the function scoop.
  23. You need to set the connecting server as allowed access host. First log in to cPanel. Go to MySQL Databases (something like http://forums.xisto.com/no_longer_exists/) Scroll down to the bottom of the page, type in the host address to the form field and click "Add Access Host". Now it should be working.
  24. Great site! Thanks for sharing the link.Sites like this come in handy when you're looking for new inspiration in designing. And by just browsing you'lll find out new things that you didn't know can be done. I personalyl liked the Phoshop tutorials the most. I've never really bothered learning Photoshop, I've just tried out stuff and prpobably missed more than 90% of the features it offers. AT least there seems to be something new in every tutorial.
  25. My guess is that sendmail has been disabled but somehow mail() is allowed in PHP. So php tries to call sendmail but there's no reply (hence the timeout). If this is the case your host could disable mail() in PHP aswell. Other option is that sendmail isn't just working, because of heavy spamming or something.
×
×
  • 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.