Jump to content
xisto Community

sanjulian

Members
  • Content Count

    15
  • Joined

  • Last visited

Posts posted by sanjulian


  1. Hi guys.
    While I'm waiting for my startin' pack in Xisto, I've got an account in 100WebSpace. They sent me the dns adress to configure my domain, however my registrar company asked for an IP number asociated with that dns. None IP number was provided to me by the hosting company with such purpose, only one corresponding to the ftp server. I used this IP in my registrar and it works.
    My question is: is always neccesary to provide an IP number beside the dns?


  2. Like r3d, I use it to provide my site with dynamic content, like change a picture every day, to create a guestbook, to allow my visitors to post news and comments, to process forms with style and so on. Lastly I'm using it for customizing CMS applications. It's a very powerful language and very easy to learn.


  3. May be you can use your wysiwyg to make the structure of your web page but, and I sign it, you will evolutionate (or involutionate?) into code to improve something, to clean something, to fix something which you can't with the editor or just to see how the code looks. Try to use an editor wich don't insert their own code or alter the existing one: Dreamweaver is my favorite. Never use an editor who needs add-ons to run the pages in the webservers. Did you hear about Front Page extensions?


  4. I don't thing that users who receives this emails sometime reports them as spam, because the origin of the messages -depending of the script- is usually well specified: "someone who you knows". In addition, you allways can modify the script in order to specify any email adress as the origin of the message, ¿or can they to determine the original server anyway?


  5. I was interested in HTML when I realized that the text autowrap in function of the width of the screen, and I found that very interesting and useful. I made my first page with WYSIWYG but soon I changed to the code. That with tools available offline, because I hadn't a internet connection. However, actually there is a tendence to not programming at all. People is using pre-made sites like phpNuke and Mambo, wich is good, because it saves a lot of work and we, who know about scripting, can modify and enhance the sites to satisfy our particular needs.


  6. Like SinisterMinister X said, the only way to obtain what you want is using php or other server languaje. Continuing with his second suggestion: In the header we normally need that at least the page title change, so you need to include a variable wich defines it, something like this:

     

    File: header.php

    <?phpif !isset ($page_title){ // If is $page_title is not set, then a default title is assigned$page_tile="Default Title";}?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><title> <?php echo $page_title; ?> </title></head>

    The value of $page_title can be defined in the template, like this:

    File: template.php

     

    <?php$page_title="Put your title here"; // Don't forget to edit when adding a new pageinclude "header.php";?><body>HERE GOES YOUR BODY</body><?php include "footer.php"; ?>

    As an alternative, you can define the $page_title value in the link to your page and even you can use only your template.php (in your server) to display all the pages of your site. To do this you need especify a new variable for the file name of the body, like $body. Assuming that you put all your bodies in a folder named bodies/, the link in your menu should be something like this: http://yourdomain.com/template.php?page_title=Your Title&body=bodies/anyname.txt

     

    The template must be something like this:

     

    File: template.php

    <?phpinclude "header.php";include $body; // the <body></body> tags in this case must be in anyname.txtinclude "footer.php"; ?>

    Aditional tip:Avoid using FONT and similar tags, use the css
×
×
  • 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.