Jump to content

Little Goat

Members
  • Posts

    733
  • Joined

  • Last visited

Posts posted by Little Goat

  1. Hi, I have a script I wrote to log information about people when they come to my site. it writes these logs to a file. I have tried making a new line with \n and \n\r and when I open the text file with both methods, it just shows a little box instead of a new line. how would I fix this?LGEdit: also, do you think it would be better to use SQL, or just a text file? I have to access the files later so a file might have advantages.

  2. hey justsomeguy, thanks for putting that script on here! I adapted it to make an image of the output of a counter script:

    <?php$text=include("hits.php");$im = @imagecreatetruecolor(10*strlen($text)+10,25);    /*or die("Cannot Initialize new GD image stream");*/$text_color = imagecolorallocate($im, 233, 14, 91);imagestring($im, 5, 5, 5,  $text, $text_color);header ("Content-type: image/png");imagepng($im);imagedestroy($im);?>

    XAMPP

    hi, I just downloaded XAMPP to see if it worked better than EasyPHP.one problem, which folder is the root folder? I mean easyPHP hs the www folder, but I can't find that on XAMPP. Can anyone help me?thnx, LG

  3. Oh man...I never replied to your PM, did I. I feel guilty now. So sorry! Server side is a very important topic if you ever want to get down to serious web building. Classes, functions, databases, all important things to do if you ever want to code something like, lets say, an admin panel. It adds a bit of ease to your site too---you don't have to edit HTML for, lets say, a news system. You just make a new PHP or ASP or whatever page, and put a form, and then just fill out the form and submit.I'm sure someone else will be able to explain this better, but I hope you get the gist of it. :)Choco

    I don't remember that, what PM? :) well, anyway, I know a little about the server side languages, I just was wondering if there was any advantage of learning more than one.
    The only reason to learn more than one server-side language is to increase your own marketability. If you are only doing things for yourself, then you probably don't need more than one, unless it's something you're just interested in. If you are trying to get contract jobs with clients, then the more you know, the more jobs you are going to be qualified for. If someone has a requirement that you use ASP or JSP instead of PHP, then the only way to get the contract is if you know it. The good jobs are where the client lets you choose those types of things, but some of them have their own server they want it on, and they dictate what software you can use.
    thanx, both of you, I don't think there are an abundance of people who wan't JSP, so maybe I'll just stick to the PHP. anyway thnx again.LG
  4. well I for one think it is worth it. Q. why not just use a site builder or something? A. a site builder can't tell you what's wrong if your site doesn't look right, or if there is an error.that takes care of the site builder competition...probably the next thing you should do is learn Javascript, sharpen up on your CSS, and upgrade from HTML to XHTML.LG

  5. is there any reason for me to learn multiple server side languages?I pretty much know PHP, and I am learning java.(not javascript) is there any reason for me to do JSP?LG

×
×
  • Create New...