Jump to content

ferdi

Members
  • Posts

    30
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Male

ferdi's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. The line "values TEXT NOT NULL,". It's actually not being treated as a column name. Try this... query = 'CREATE TABLE `profiles` ( `profileID` INT UNSIGNED NOT NULL AUTO_INCREMENT, `day_of_birth` INT NOT NULL, `month_of_birth` INT NOT NULL, `year_of_birth` INT NOT NULL, `gender` VARCHAR (6) NOT NULL, `education` VARCHAR (16) NOT NULL, `country` VARCHAR (16) NOT NULL, `state` TEXT NOT NULL, `name` TEXT NOT NULL, `things` TEXT NOT NULL, `books` TEXT NOT NULL, `songs` TEXT NOT NULL, `movies` TEXT NOT NULL, `people` TEXT NOT NULL, `beliefs` TEXT NOT NULL, `values` TEXT NOT NULL, `live` TEXT NOT NULL, `sad` TEXT NOT NULL, `change` TEXT NOT NULL, `date_entered` DATETIME NOT NULL, PRIMARY KEY (`profileID`) )';
  2. Try putting the form outside the table, it sometimes works for me. But it really should matter though. <html> <body> <br><br> <form method='post' action='test.php'> <table align="center" cellpadding="0" cellspacing="0" width="780" valign="top"> <tr> <td bgcolor='#cccccc' align='right'> <input type='text' size='15' name='searchtext'> <select name='cat'> <option value='1'>Test1</option> <option value='2'>Test2</option> <option value='3'>Test3</option> </select> <input type='submit' value=Submit> </td> </tr> </table> </form> </body> </html>
  3. I really don't know what could be wrong then. Just make sure the files are there, it has to work. About cwd(), read up on it at php.net/cwd
  4. Try using the absolute path(exact path on your HDD). require('C:\Program Files (x86)\Apache Software Foundation\Apache2.2\htdocs\Book DVD Life\_base/elements.php'); Just, also as a side note, make a script that echo's the "cwd()" function, might be something wrong with your PHP configuration.
  5. I'd suggest you use Javascrpipt. The onclick event would do the trick for this. <div onclick="document.location='page.html'"> <!-- .... --> </div> Very messy though, would rather use a proper method, but you get the idea.
  6. a { text-decoration: none; text-decoration: blink; } That's supposed to work.
  7. Just make everything in the stylesheet where the border-radius is, perfect. It should work, I personally use it.
  8. Thank you both. In PHP SVN they have their mailing list there, it seems custom created. I think I'd do with mailman, it seems quite efficient.
  9. That's correct, you can do it like that. The readfile() function doesn't interact with the header, it's a function that just outputs the files content to the page. "Reads a file and writes it to the output buffer." - php.net/readfile
  10. Use the readfile() function, and then set a header stating it's a pdf document.
  11. Hi everyone, I'm currently trying to think of a mailing list, or rather how to make one. I don't really know exactly how it's done, but from what I figure is that it uses emails, and makes a type of forum of it. The reason I'm wanting to make a mailing list is for a group of people that needs means to communicate other than a forum(like this one), and email has already become so popular these days. So basically what I though of was to do something very similar(or exactly like) http://php.net/mailing-lists.php has done, but I can't really seem to grasp the whole concept of a mailing list. All I can think of is to take the emails received by people, and use different email addresses to which they send, and then just read the emails subject and categorize them under their subjects(eg. Re: Topic Once). Can anybody show me a better way, or how it's actually supposed to be done? Would be much appreciated, since I can't seem to find anything about this.
  12. Did you remember too use session_start() at the the if the script?
  13. Well, those are really unusual ports for any browser. Browsers ports are usually very high in range value.
  14. I've tried my best to validate the header and footer parts, to some avail. I had to change the doctype to HTML Traditional so that I get a 100% validation. The CSS validation can fail, I've tried my best with it, but some thins in the style sheet is required for cross-browser compatibility. And about the bar extending further than it's supposed to, I don't see anything that could be causing that. I don't really have the time to rewrite the whole template, again. But it doesn't really bother me, as long as it's generally the same in all browsers, I'm quite ok with it. Edit: thinking of it now, I've tested the site with Chrome, IE and Firefox under Windows and Chrome and Firefox under Ubuntu and everything is fine. What are you using to get that result of the bar extending over the set width? Thanks for the help so var.
  15. Not while using fsockopen, it actually has to try and connect to that certain port, and... wait. But as I said, just validate each IP once, and store it.
×
×
  • Create New...

Important Information

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.