Jump to content

wildteen88

Staff Alumni
  • Posts

    10,480
  • Joined

  • Last visited

    Never

Everything posted by wildteen88

  1. Yes it is possible and can come in handy come to think of it, I have a few ideas that spring to mind. However as previously stated the Admins do not wish to install multiple modifications as this is will require more maintenance, especially when upgrading. You could suggest this feature to the developers of SMF.
  2. Not used phpBB for a while but isn't there a setting for this in the Admin Control Panel for this?
  3. There error is still there. How are you testing the file? I Think the best bet is for the script to be recoded/cleaned up.
  4. Looking at your code, I'm not surprised you're getting the error. Also if statements do not always need to have an ending else statement, example if ($thetype > 2 ) { echo "selected"; } else { echo ""; } Drop the else statement if you're not going to do anything. The above can written as a one liner using a ternary operator echo ($thetype > 2) ? 'selected' : null; Come to think of it the majority of your if/else statements can be changed to this.
  5. This error is usually caused by a mismatch with your opening '{' and closing braces '}'
  6. As you are running this on a local install edit your php.ini and make sure erroir_reporting is set to E_ALL and display_errors is set to On. Make sure you restart your HTTP server (eg Apache, IIS etc) after modifying the php.ini. If there is any errors in your code they should be displayed during runtime. You may want to post your code in full too.
  7. Also note that superglobal variables are case-sensitive, $_FILES is not the the same as $_files I do not see the purpose of your is_uploaded_file2 function either.
  8. No need for that. Just do <?php header('Content-Type: text/css'); ?> /* your styles here */ Then do <link rel="stylesheet" type="text/css" href="stylesheet.php"> stylesheet.php will be parsed by PHP, which will return the CSS for your browser.
  9. The overflow is applied using CSS, check out the following. It includes examples.
  10. Use the HTML <link /> tag, eg <link rel="stylesheet" type="text/css" href="stylesheet.css">
  11. Set a the height for your table, then apply an overflow.
  12. What about vista? From the linked site
  13. To achieve the design you post in your message here. You'd do this <table border="0" cellspacing="1" cellpadding="5"> <?php // All Messages will go here $result = mysql_query("SELECT * FROM Messages ") or die(mysql_error()); while ($row = mysql_fetch_array($result)) { echo <<<HTML <tr> <td><b>Name:</b> {$row['Name']}</td> <td><b>Date:</b> {$row['Date']}</td> </tr> <tr> <td colspan="2">{$row['Message']}</td> </tr> HTML; } ?> </table>
  14. Can you post an example of what you're trying to do. Not sure what you mean by Yahoo. Also you do not need to do "".$var."" when echoing a variabl. Just echo $var will do fine.
  15. I presume your uid column is set as auto_increment, then what you're tying to do is not possible. What is the purpose for this?
  16. You can not style parts of text within a textarea with CSS. Why you are you displaying results from a query in a textarea?
  17. Not sure but you have a html/css issue, highlighted below CSS attributes are assigned with a colon ( : ) not an equals sign. As for why the message is not being displayed there is most probably a bug in your Javascript. You may want to try FireBug (a Firefox extension) a try to debug your JavaScript. Also do not bump your post ever couple of hours, allow up to 12 hours for a reply. It also helps if you posted your problem in the correct forum, posting in the forum with the "most traffic" will not get your question answered quicker.
  18. Don't design your site around Dreamweavers Design view. It will not render your design as a browser would. Always preview your design through an actual browser. Whenever I create a new site design I always test with 3 - 4 browsers which are IE, FF, Safari and Opera. Normally I dont have to do anything with FF, Safari and Opera. Its IE which is normally the problem.
  19. Open WAMPs taskbar menu and open phpMyAdmin. Now click the Privileges link and find the following entry in the "User overview" table: root localhost No ALL PRIVILEGES Yes and click the edit icon (looks like a pencil). Now scroll down to the "Change password" subsection and enter a password in the password boxes provided. Afterwards click the Go button. You have now changed the MySQL password. You may find now PMA may be displaying a error message such as "Wrong username/password. Access denied." You now need to configure PMA to use the new password you just set in order for it connect to MySQL. To do so open the config.inc.php file in "C:\wamp\www\phpmyadmin" (I think thats the path to PMA it may be different). Once open find the first instance of $cfg['Servers'][$i]['password'] = ''; Add your new MySQL password between the quotes. Save the config.inc.php you should now be able to use PMA again.
  20. I find that hard to believe. All my page layouts work flawlessly on FF3, even though they was designed/tested using FF2. Maybe you should make sure you're following the HTML/CSS standards, you can check this by using the HTML/CSS validators provided by w3c.org
  21. What are you doing in the .htaccesss applying mod_rewrite rules? In order to understand why you're getting a 500 Internal Server error message you should check your sites error log.
  22. You've just answered your own question!
  23. They are two different requests. A form allows you to submit two different types of data - GET and POST. Whereas an anchor tag can only send GET data.
  24. PHPMyAdmin is configured incorrectly. PHPMyadmin is trying to connect to your MySQL server via port 8080. Port 8080 is only for your HTTP server (Apache). MySQL runs on port 3306, this is the port PHPMyAdmin should use for connecting to MySQL. I know earlier I suggested you to change the port WAMP uses to 8080 as you have IIS installed. But did you make any further changes other than what I told you? Can you post your PMA configuration here.
  25. Agreed with lemmin, use $_SERVER['DOCUMENT_ROOT'] before using includes, eg define('INC', $_SERVER['DOCUMENT_ROOT'] . '/Includes/'); Then when ever you want to include a file from your includes folder, just do include INC . 'file.php'; You do not to to configure your the include_path.
×
×
  • 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.