Jump to content
xisto Community

midnitesun

Members
  • Content Count

    182
  • Joined

  • Last visited

Posts posted by midnitesun


  1. login script: with email verification, registration verification with randomly generated number, user information, and access to private areas of a website.

    i assume you want it in php ? if so i can provide you with one which is fully validated and tested for security like sql injection but i'll need to add email verification to it

    Maybe only adding a few lines of code but maybe changing a lot of things so you'd have to be prepared to make a few changes!


    yea in my code you just have to include an external file to all pages you want to restrict but you need not change much or any of your code , just include the file and thats all

  2. yea thanks mike , made some changes and put a demo link too

    <body onload="hide('xx')"><script language="JavaScript" type="text/javascript">function hide(obj){document.getElementById(obj).style.visibility="hidden";}function show(obj){document.getElementById(obj).style.visibility="visible";}</script><div id="ss" align="center"><a href="gg" class="main" onclick="hide('ss');show('xx');return false;">change div</a><p>this is the div displayed when page loads</div><div id="xx" align="center"><a href="gg" class="main" onclick="hide('xx');show('ss');return false;">show previous div</a><p>now this div is shown because you clicked on the link</div>

    demo

  3. so here is a simple tutorial of a code i wrote today and thought it may prove useful to someone out here too
    what it does is show a div when the page loads and then when user clicks on a link the div is hidden another div is shown ,you can do a lot based on this code

    <body onload="hide('xx')"><script language="JavaScript" type="text/javascript">function hide(obj){document.getElementById(obj).style.visibility="hidden";}function show(obj){document.getElementById(obj).style.visibility="visible";}</script><a href="gg" class="main" onclick="hide('ss');show('xx');return false;">change div</a><div id="ss" align="center">this is the div displayed when page loads</div><div id="xx" align="center">now this div is shown because you clicked on the link</div>


  4. you can hide the table and its contents without even using div tags

    <table style="display:none" border="1" width="100%" id="table1" cellspacing="0" cellpadding="0">	<tr>		<td> </td>	</tr></table>

    same can be applied to tr and td tags too , pretty useful when you dont need a particular peice of for the time being but will need later, so you dont have to go through your code again just when you need it simply remove display:none

  5. now i am really confused , from where is $row coming ? you have given $row1 as the mysql fetch array so the code should i believe be $row1['logins'] instead of $row['logins'] , it seems you are trying to display all logins as an array , so if i am correct you can use

    while $row1 = mysql_fetch_array($result1) {$new = $row1['logins'];echo $new;}

    also try avoiding numbers in your code, it can be confusing both for you and your code

  6. well i believe saint-michael had been making tutorials on how to design in css, which i am sure will be indeed very good for you to start with .

    You know we?ve learn to design with tables and now it?s gonna be hard to change our mind and I suppose that doing the same with css will be much more difficult.

    yea it is always hard to leave somthing we are familiar and jump onto unfamiliar territory , but it's not going to be more difficult, infact it is more easy ... i should have been more comprehensive on my original post :lol:

  7. am i missing a point here ??i totally agree it will take ages for browsers to stop supporting tables ... not only because 90% of the current web sites may be using it , but we cant deny the fact that the tables that were never intended for layout purposes (tables are for data - layout grids are an abuse of the mark-up, an abuse that we?ve come to live with and accept a bit land now it ceems we cant live wthout it too) wont be used in webpage designing in the near future and its not just big sites like hotmail that have switched to pure css , but you would see that many have resorted to css if not before


  8. since tables are deprecated and not intended to be used for website layouts and future browsers may not support tables i thought of listing a few advantages of using tableless designs for web pages

    the first and obviously the most important reason is faster loading time
    ofcourse yo all will i think know the fundamental truth - tables load slowly
    one way to counter this problem itself becomes a bigger problem, that is to set the width and height of all your table elements , now think how many td open tags you'll be having in a average table based layout ? tons , so having to set all the values explicitly only adds to the page size and thus loading time

    There are many experiments that have been done on this topic, I'll point you toward this one that StopDesign did on a remake of the Microsoft website from a tablebased site to a tableless layout. That remake showed a 62% file size reduction of the site, and using their average hits per month for the Microsoft site, calculated that Microsoft would be saving 924 GIGS in bandwidth per day, and 329 Terabytes of bandwidth per year. For any company that pays for bandwidth, these things are important.

    search engine optimization

    the fact that you can put your most important content at the top of your page without affecting you page layout makes your page better optimized for search engines. for example lets say i have a navigation bar at the left with links that are actually great keywords too, i can move the navigation bar higher up my code wiothut having any affect on my layout because i will be using css to position my navigation bar ,that way search enignes can more clearly find common words throughout your document without having to filter through code, search engines tend to prioritize that have higher content to code ratio , putting all your style elements into an external css stylesheet makes your site highly content based to a search engine.Tableless layouts, as previously mentioned, decrease page size and loading time - another bonus to search engines.

    hopefully this article may have helped in getting started on understanding why to use a tableless layout and the benifits so read as much about css as you can here and elsewhere and jumping to tableless design will be just a matter of time

  9. so i am redesigning my homepage ( since i am going to take a new domain ) , i made 3 deisgns which i like very much , so here i am breakin my head over which one to choose from , then i decided it is time to get your opinion, each design is unique in its own way even though demo-final-a and demo-final-b look very much similar the impact each one can create is very different :rolleyes: , you may also think the page is very satatic but the middle banner with the girl will be in flash to provide dynamacy , also the grey box next to it will be displaying random videos and the menu too if the page dont get too heavy i may do in flash , so i am very much looking forward to your opinion here, let me know which design you like most :)

    link 1 demo a
    link 2 demo b
    link 3 demo c

    ------- edited -------

    first of all let me thank you all for your kind comments , i am glad most people said they like the first design because thats the one i like too , i totally agree that the third one is looking out of place because of the blue and the second one because of the header's color proximity with the menu , i wanted to make a clean but visually appealing and professional looking design so according to the feedback i got and my own imaginations here is the final one i came up with but before i will start htmlazing it ( which i will start tonight) i am still open to your ideas and comments on the final one but now not on the others :rolleyes: ,

    so here's the link final design

    also please note that the text where the girl is will change , if you ask me the placement is looking a bit odd but since i am going to do it in flash i just put some dummy text and the icons too aren't necessarily final especially the third one.


  10. so i believe you already have an image you want to use as the favicon, if you do not then make an image one with the dimensions 16/16 and its extension should be .ico instead of gif or jpeg , once you have the image upload it your server and copy and paste the following line of code in the head section of the your page

    <link rel="shortcut icon" href="images/favicon.ico" />

    make sure you change the path correctly, thats it and you are done :) if you need any further help feel free to post back

  11. i wonder what on earth i was thinking but here is song i wrote for a friend of mine , and i am in noway a songwriter or a musician and i dont even know the rules of the game but please give me your reviews and let me know what you think about it singing to myselfwhen nobody's watchin mememories i dare only tell myselfbut is out there for you to seeshe came on a night so shytook my heart outrightnever knew it'd go this highbut then it began to shine so brightcame back the days i thought had escaped meforgotten by the heart but i let it see seemed like everything we wanted is hereand the waves they left nothing more to tearsometimes things just seem so easyat times reasons dont matter so crazystill singing to myself with nobody aroundbut it's getting much too lateforgot that the storm was risingcould have said that i never needed youwell i jumped into the river too many timeshoping to make it homeagain i'm out on my own, drifting all aloneand the waves they are getting so highseems like everynight we spent are herewhy must it drift away and dieshe left on a night so shyleft me searching for the reasonsshould have never wanted to flybut i never wanted it to drift away and dieif i make it through the river this time maybe I'll find another wayfind another daybut i'll never find another youguess I'll have to make it throughthis time oh this timeWithout youstill singing to myself without even myself aroundcame to this world alone now it dont feel so bad i left alone(so bye bye)


  12. to tell honestly i dont like having numeric number in the domain, a lot of people ask me what why it is Xisto and because numbers are diicult to remember than letters a lot of people i came across find themselves not being able to remember the url too , if it is going to change it should be a unique as Xisto and should not contain any reference to hosting according to my ideas, but without numbers please :)


  13. well i just happened to be curently working on a php shopping cart script for one of my projects, i am using mysql as database, sessions and paypal as mode of payment, the bulk of the script is finished but i have to start on the admin part of the script now, once finished i am willing to give the files to anyone interested here, you may contact me if you want


  14. the name itself isn't very attractive, name itself plays a very important role in the success or failure of a product or service, i suppose a small icon or button at the bottom of your page like the pay with paypal or simply paypal button would be more attractive then having a banner or icon saying pay with google checkout, but then again they are great thinkers and good business men as they have shown again and again in this highly volatile industry, but i would have rather like some unique name like the name google itself , maybe they dont want any one forgetting it is a google service :rolleyes: , i still laugh how google bought you tube for a billion plus , a company which was already facing enormous copyright infringements just because it was pushing google video out of business , but i am a great admirer of google too and google search engine is my best net friend who never fails me :)


  15. as a hosted member i would like to add something to your post , first of all i did not find it annoying that i needed to get a minimum 10 credits to get hosted when i first came here , first i read the available services and when i am happy with it i went to the forums and took sometime to familiarise with it by reading rules and help topics and normal topics too, then i registered my self and started posting, even though anybody will want to get hosted immeadiately i can understand that everything cannot be free , we too need to contribute something in someway to the other party so they can keep you hosted ,i would say if you are here long enough for you to get hosted you wont be leaving it for another free hosting, and it wikk not take long enough for you to get hosted too as long as you follow the rules and not try to spam your way through


  16. war makes sense when it is not my cousin, my brother or my parents who are getting killed everyday, it makes sense when it is not me who have to stay up on a roof top whole night armed with a AK-47 to protect my loved ones from meeting the same fate as did my neighbor the other night met, it makes sense when i am happy it was my neighbor who got hit last and not me. the list is endless but it certainly makes no sense when humans like us suffer everyday because of a few psychotic minds who happened to be given too much power than their brains can handle.

×
×
  • 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.