Jump to content

PrateekSaxena

Members
  • Posts

    584
  • Joined

  • Last visited

Posts posted by PrateekSaxena

  1. This would be more W3C complliant

    <html><head><style>p.center{    align:center;}</style></head><body><p class="center"><a href="whatever_you_want_to_link_to.ext"><img src="image1"></a><a href="whatever_you_want_to_link_to.ext"><img src="image2"></a><a href="whatever_you_want_to_link_to.ext"><img src="image3"></a><a href="whatever_you_want_to_link_to.ext"><img src="image4"></a></p></body></html>

  2. Wont the following work - HTML File

    <body><div id="y" style="display:none;"><a href="popups.php" id="hi"onclick="MM_openBrWindow('popups.php','','width=500,height=400')"></body>

    PHP File

    echo "<script> var b=getElementById("hi"); b.clicked;</SCRIPT>

  3. Ah! so you mean encrypt the password by the username. It is not necessary that we use TEA. We can use some Private key encryption algorithm for PHP. I am sure there are many of them!!The dark side is brighter than the bright one :)

  4. I read the XSLT tutorial on W3Schools. It seems that is is very very very very very useful. I mean it can even kind of query the XML file that is given to it, as it seen in this example. We are definitely using XML and XSLT. But the security issue still remains.I found this really nice encryption code for JavaScript and it is called TEA. It is based on a password, and we can ask the user to keep the password that should not be disclosed to anyone(obviously) in the PHP file during installation. We will encrypt only the user and password XML file and rest we will leave like they are cause they dont need any protection. We dont care if some crazy user sees the posts in that XML file. Or should we??

  5. Cell phone on is a good idea. Cant it be converted to PDF using dompdf?I have told MrAdam to start work on XSLT and stuff. I am right now making the raw and basic layout of everything

  6. So MySQL it is. Maybe what we can do is that all the data can be kept in MySQL...then every time there is a request to the server, an XML file would be generated that would be given to the JS, who will search it parse it do whatever with it and then display it with XSLT.Or we could save XML tagged text in MySQLwhat do you have to say about that?

  7. But how will one keep XML file secured??I do plan to make it revolutionary that is if I do get some good ideas..In the end I am sure that it will be a good learning experience for me!It does make sense to keep the HTML away from everything else for the template thing you pointed out, I was thinking about that as well!

×
×
  • Create New...