Jump to content
xisto Community

Hercco

Members
  • Content Count

    586
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Hercco

  1. Although I'm a bit of a table-hater, tables actually work really well in these. Better than full CSS positioning in my opinion. CSS positioning would be great but as the compliency with different browsers varies so much it is a real pain in the *bottom* to do when you must have everything at right place. So for sliced image maps, tables are okay, but use CSS to position the elements inside the cells and to get rid of unneccessary paddings and borders and such.
  2. If the dial tone sound went off automatically it might be a sign of a war-dialer. A malicious program that uses your modem to call expensive foreign numbers. They tend to turn off the sounds so that you won't hear when its making its calls.So if it happened automatically, do a full system virus scan with a up-to-date scanner. Or better yet few different scanners. My friends computer got attacked by one of these and it happened while he was still living with his parents. You guessed it, his dad wasn't overly joyed. In fact he went without internet at home for couple of months.
  3. I don't know if anyone else has noticed, but recently there has been lot of malware in torrents. It is usually quete easy to avoid by just reading the other users comments on the torrent. So read the comments, scan your downloaded files and post info if you noticed malware in the torrent. And one more tip, be extra careful with zipper/rarred files. If a release is put into a archive although there would be no need for one (like encoded audio album) at least my suspicions rise. It is much nicer to see before hand what you are getting. Well at least the file names right...
  4. I just coded a "tell a friend" utility for my site. Idea is that if a person feels his friend might like the article, he can send him a message through the site. Well you've all seen this kind of things. Anyways since the idea is that people send their friends the message it would be nice if the message could be in their own language. I can do english, finnish and swedish myself but my I don't quite trust my french and german skills enough. Not to mention languages that I do not speak at all, like spanish, italian, etc. So I'd like translations to these in as many languages as possible. It's more important it sounds natural than it's an exact translation. Here's the sentences: "[user] thought this article might interest you." "[user] recommends you this site." "If this message cause any inconvenience, please forward it to [admin email]" Then I'd like a typical greeting that you would use in beginning of an email. A casual one.
  5. Hercco

    phpBB

    Just so that you know... PhpBB is a real pain in the *bottom* to upgrade if you have several mods installed. Especially if they're big mods. And phpBB needs to be regularly upgraded since there's quite a lot of security issues. So if you go forth and install phpBB and mod it heavily (with categories hierarchy for example) you should also be prepared to reinstall the whole system when a new version comes out. Oh and one more thing... when you use heavy mods, you are also dependent on the mod coder to say up to date with the main forum software. For many mods you need to get the up top date version in order it to work 100%. So my advice to you, as an old phpBB admin, install mods only if they are absolutely neccessary! And TAKE FREQUENT back-ups!!! Personally, I would start a new board with phpBB system. The main code is very old (for an web application) and the forum in itself has very poor features compared to modern systems. The old code has had tons of patches and changes and that must hurt the performance too. If you're not passionate about open-source, but just looking for a free forums software turn to SMF. It has way more features, much nicer upgrade system and good and growing number of mods and themes. But if you're hardcore open-source guy, phpBB is currently the best option.
  6. If you are using a commonly known decent torrent program (like BitComet, Azureus or BitTornado) it is far more likely that programs like Internet Explorer will leak data than it. Bitttorrent in itself isn't any more dangarous than some other network traffic.What has given p2p programs a bad name security wise is that often people try to use them to spread malicious software and that some programmers have bumdled spyware with the clientsoftware. But like I said, as long as you stick to programs that are known to be spyware free and otherwise secure as well AND pay attention what you download and what trackers you use you should be safe. By the way, you can tell your dad that the only way that he can absolutely safely protect his files from not getting to Internet is taking a pair of clippers to the network cable.
  7. Coolness! I had my Series60 Opera registered before but not my Windows one.
  8. Do you mean that the content box would have a higher height than the menu but the menu would still stay at the top?
  9. Thanks for the replies. I actually changed my plans a bit. Iäm no longer using a separate (my own) login system for my gallery, but instead using SMFs system through SSI.php. It is working like a charm and is lot more user friedly too, since users don't need to log in separately for the gallery and the forums.Now only if I got my blog (Wordpress) to use the same logins as SMF I'd have everything under one system.
  10. You can't do it with just HTML, you need something for the mail sending. Well actually you can do it, but its real clumsy and awful method. The form itself is easy to do, just plain HTML. It could look something like this: <form action="[mailing script]" method="post"><label for="firstname">First name</label><input type="text" id="firstname" name="firstname"/>(and so on..)<input type="submit" value="Send"/> </form> [/code] <label>s are a modern and stylish way to do this, and to make them look good you need to do some CSS. Other way, the typical one, is to build a table with the form elements inside the cells. For the dates and the amazon thing you could use select elements: <select name="amazon"><option value="com">Amazon.com</option><option value="de">Amazon.de</option>and so on</select> So far pretty straight forward. Next you need to do some programming. [/code] You need to have a program in the server to send the mail. Probably easiest way to do it is PHP. Basically all you need to send email in PHP is to call function called mail(). As parameters it takes email address (where the message is to be sent), subject, the message itself and headers. You can access the data from the form with $_POST['variable'], provided that you used post as method instead of get. For mailing, post is recommended. Before calling mail, you need to do some processing with your data. You can do checks wether the fields are filled correctly and so on. Then you need to compile the information into the message format. I'd also recommend adding some headers to make the mail a little neater and easier for the recipient (ie. you) to reply. The very basic script could look something like this: <?php$message = 'Firstname: '.$_POST['firstname']. "\n"..'Lastname: '.$_POST['lastname']."\n";and so on...$headers = "Reply-To: ". $_POST['email']."\n";$headers .= "X-Mailer: PHP/" . phpversion();mail('your@email.com', 'Subject', $message, $headers);?> You can of course format the message in anyways you see best, even use HTML if you like HTML mail. For the header, you can do lot of things, if your interested google or visit php.net. The above script should work, but its recommeded to at least check that the mailing works and then print out a message for the user. Mail returns true if the message was sent, false if not. So to check and print the message: if ( mail( ----stuff inside----) ){[tab][/tab]echo "Mail was sent";}else{[tab][/tab]echo "Mail was not sent";}; Hopefully this helped to get you started.
  11. You can use a databse here at asta from your Polish server. You just need to set the Polish server's address as an allowed host in mySQL setting in cPanel. Only problem is that it might end up being a bit slow, with the webserver and sql-server physically so far away from each other. At least you should try to minimize the database traffic.
  12. You don't neccessarily need a serverside scripting support, just some sort of possibility to run programs on the server, ie. CGI will do. Although it is highly likely that they won't support CGI if they don't support PHP, PHP being more server friendly.
  13. The image hosting business is relatively new and will surely be gathering lot of these dishonest companies. If its not spam, then its adtracking cookies or something else. Just too bad people tend to jump into these before they find out how they finance their services...
  14. I have a gallery system that has a user system using the logins of a phpbb database. However, since I have changed to SMF a while ago, I'd like to convert the system to use my SMF database. I checked and the hashes of the passwords are different in SMF that in phpbb. So does anyone know what kind of function is used to hash the passwords? Would save me lot of time if I didn't need to go digging the SMF sources.
  15. By the way, can't you compile ASP scripts? That'd be a nice option for PHP too, in case you have lot of includes. Come to think about it, you could write a software that'd process PHP code so that includes would be replaced with the file contents. Could be one run on thr server after you have uploaded the files.
  16. I will never ever again sign up for a "free messageboard" account. They all simply suck. And I realyl rarely bother even posting on such forums. They tend to be slowing and rarely have good discussion going on.
  17. I too would feel more comfortable with images stored as images in the disk and databse containing the url's to them. In case you lose the database you don't lose the images.But then again BLOBs would be a more elegant and neat way to do it. And not any more insecure if you keep frequent back-ups.Oh, forgot this. Getting the images from the database (ie. the BLOB method), of course increases the database traffic more. So it might be in place to monitor how much traffic can the database server take compared to the web server.
  18. I got my first PHP/MySQL hosting account from Lycos. But the server had so much problems and the admins never responeded to mine or anyone elses questions in the forums I thought its better to give up. And yeah the ads are horrible there.
  19. It depends on how far you want or have to go with the compatibility. If you want to keep your site similar to browser that do not have or have very poor CSS support you just have to stick to very basic designs or, like you said, have separate versions. Personally I assume my visitors have CSS enabled browsers. The language has been around for enough time. So the problems I usualyl face is with Internet Explorer, and sometimes with Opera. Geckos (Mozillas, Netscape) have best CSS support of the majotr browsers so I usually start the designing to them, do the pages ready and then take measures if the page can't be viewed correctly with IE or sometimes with Opera. As I do positioning without tables, I often have to face the problems IE and Opera have in CSS positioning. With IE, you can center stuff very poorly... unless you go against XHTMl standard and use the <center> tags. But since IE is the only browser that can't do CSS centering properly, there is no need to use <center> with all browsers. So what I do is check (with PHP) if the browser is IE and if so I add the center tags aroung the element to be centered. Opera screws up only with floats, but it can be fixed by doing the things a bit differently, usually just changing the order the elements are in the HTML file. So far I have never needed to use a browser checking for Opera. Sometimes you just have to make compromises. Or leave the people using IE with page that works but doesn't look as good. One example is the CSS inherit, for a background or border colour for example. With IE it just doesn't work so the borders/backgrounds are displayed grey.
  20. I understand there is some setting in php.ini which makies php to keep the included pages in memory and not reading it everytime from the disk. I don't know what the setting is, because I don't have own server and don't thus really get to tinker with them all that lot. So yeah, better wait thill MasterComputers sees this thread
  21. This is the way to do it. Some browsers and firewalls block META refreshes and some people don't have javascript turned on, but a redirect done by HTTP document moved works always. Its the professional, stylish and also easiest way to do it.
  22. Filters? W3C standards? Filters are not in the standard, and most likely won't be in CSS3. No matter what Microsoft says.
  23. In case your interested knowing what was the issue, you could take the back up and post the text it generated (ie. SQL code) here so we can analyze it.
  24. A PHP page can know from which page th euser came into it, ie. in which page the link was located when the user clicked it. Browsers send the pages address in the HTTP request, it is labeled HTTP referer and you can read it from the HTTP_REFERER global variable. ($_SERVER['HTTP_REFERER'] There is a slight problem however... As the information is dependent on the browser, it is not always reliable, someone can easily send fake HTTP requests with bogus referers and some browsers and firewalls block the referer sending. So be careful when using HTTP_REFERER.
×
×
  • 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.