19 Discussion / Question Topics
Remove Filter Here's how this one works. I'll start by posting one line of PHP script. The next person to post will add another line and copy the script into their post. You will simply add a line of PHP code to the script everyone wrote above you. Also don't forget to … | |
Hi Everyone, I was just coding a small mockup example from someone on the PHP forum and it just occurred to be that DaniWeb's code tags will only highlight in one language (To my knowledge). This is somewhat annoying since most PHP files can contain HTML and only one can … | |
Hi, I've been designing a web application that scales to fit the available window space in the web browser so that there is no need to use the scroll bar (and the whole point of the application is to fit the window). I've already figured out how to catch resizes … | |
Hello everyone....I've been working on the design for my forum on my website and while everything else has gone to plan...one thing hasn't. On my [URL="http://www.phpmycoder.net/forum/topic.html"]topic page[/URL], the DIV with class greybox and id navigationbox that displays the text Home, New Posts, Members, Stats, Rules, etc. just wont align to … | |
I currently have TrendMicro Pc-Cillin Internet Security 14 as protection for my computer. After reading some more, I have found that BitDefender might be a better (and free!) alternative. Do you think I should switch from Pc-Cillin Internet Security 14 to BitDefender? Why or why not? If not, can you … | |
Hey Everyone! I have come across a very interesting problem that seems to be impossible to solve. Basically a web application that I am working on relies on a JavaScript function called go to change the input named view to the page name and submit the form. This form's type … | |
Hey Everyone! I have a question about oop. I am trying to write a MySQL class for managing my MySQL db's and calls. So far I have almost completed it, but I am missing lots of functions. These are the result functions (ie. mysql_fetch_array() or mysql_num_rows() etc.). Instead of creating … | |
I am working on a project that requires a MySQL database to store important information (So a little security would be nice). I realize that some users can't find or don't have MySQL databases with their hosting accounts. I would like to provide users with the ability to get a … | |
MySQL is great, especially for storing large amounts of data such as users, event logs, and tables for forms or CMS systems. There is one big problem though that faces PHP/MySQL developers: MySQL injection. Hackers usually try something like a username and password of ' a='a'. This is a MySQLer's … | |
Hello, I am working on a login script for a personal site. The problem is though, I need to have the best and most secure protection there is for the login system I am creating (I will not go into specifics but the users will have access to very sensitive … | |
Hello, I am currently having a problem with .htaccess. I am trying to use mod_rewrite to rewrite: [url]http://www.example.com/test/test?word=test[/url] to [url]http://www.example.com/test/test.php?word=test[/url]. The only problem is the GET vars can have different names. So another example url could be [url]http://www.example.com/test/test?test=true&form=1[/url] or even [url]http://www.example.com/test/test?search=Google&type=Web[/url] etc. For this I wrote a simple PHP script … | |
Hello, I have a question about PHP. I realized that you can use the POST variable to get data from a form submitted with the type post, but does the order of the fields matter. Example: index.html: [code=HTML]<HTML> <HEAD> <TITLE>Form</TITLE> </HEAD> <BODY> <FORM name='test' action='submit.php' method='post'> Name: <INPUT type='text' name='name' … | |
Hello, I was browsing DaniWeb and found a code snippet that allows PHP files to be static and more search-able by browsers. I notice that certain pages of DaniWeb are PHP (such as this new thread page), yet most are html files. I know this may seem nosy, but I … | |
Hello, If you have ever looked at the URL of a Google search (I'm sure we all have!) you will notice that the script called is called search. So a search could be [icode]http://www.google.com/search?q=Dani+Web[/icode]. I notice that the search script file has no extension such as PHP or JSP. Does … | |
Hello, I installed the Vista Transformation pack a few weeks ago and I have decided to remove it and replace it with a nicer looking theme that Lifehacker wrote about. I restored my computer back to before the installation, but for some reason there are still parks of the pack … | |
Hello, I am creating a feature for a site, that when you click a button changes specified text to a textbox that lets you edit the text. When the user presses enter, the textbox will dissapear and the text typed will be in it's place. This is so I don't … | |
Hello Everyone, I have a little problem with my PHP script. I have created a very detailed system using PHP and wish to upload it to a computer running XAMPP on my network. Because the file will be uploaded to a normal computer all of my PHP files will be … | |
Hello, I have a problem with my form validator. For some reason it will always return true when it should return false and display and error message (either about a blank username or password). Here is my javascript: [code=JavaScript] <script type='text/javascript'> function ValidateLogin(form) { var error=false; document.getElementById('userError').style.display = 'none'; document.getElementById('passError').style.display … | |
Hello Everyone, I was browsing the web today and I cam across a site that had a file called script.do. I have never seen this .do extension and I was wondering the language that it referred to. If anyone knows what the .do programming language is, please tell me. Also, … |
The End.