Search results

  1. marshian

    Displaying image using php mysql

    A string in php is defined between "" or ''. eg. "text" = 'text' If you want to use the character " or ' in a string, that's not a problem if you're using the other quotes for your string definition. eg. "-->'<--" (-->'<--) or '-->"<--' (-->"<--) are not a problem If you want to use the same...
  2. marshian

    java and the time

    I'm trying to make a thread which shows the time that had been required for a executing a command... In other words: it stores the starttime, executes a command, and compares the start time to the current time. But somewhere, something is going wrong, and the start time is always equal to the...
  3. marshian

    PHP MySQL HTML generating tables... after..fetching recods

    if you don't specify a height (which makes the box), the y will never overflow, since the table can be as high as he wants
  4. marshian

    PHP MySQL HTML generating tables... after..fetching recods

    add "overflow-y: scroll;" to the css of the table and it will make a scrollbar if the table is too long to fit in the defined box. (a html page's length doesn't have to be enlarged if that's what you're asking)
  5. marshian

    PHP MySQL HTML generating tables... after..fetching recods

    Each time you call mysql_fetch_array($result), the cursor is moved to the next row. An alternative is using mysql_data_seek()
  6. marshian

    PHP MySQL HTML generating tables... after..fetching recods

    Possible errors: - mysql_fetch_rowsarr: not found on php.net - dateDiff: not found on php.net Tips: - processing each row of a result is easier with while($row = mysql_fetch_array($result)) - use the forum code instead of [code] Try this code: [php] while($onerow =...
  7. marshian

    Why PHP hosting is preferred over java hosting?

    <param>'s are for passing information to the applet, but they have to be in the html page when it loads... <applet> <param> </applet> and then the browser has nothing more to do with it, since the virtual machine runs the applet in a sandbox (if he's not allowed to go out, of course). and...
  8. marshian

    How To Update Mysql If the scenario is this..

    what are you trying to do? do you have the cp? do you have a login script? do you have a database? i don't think the database has to update if the user logs in and sees his control panel...
  9. marshian

    How do u configure sendmail -t??

    as far as i know, there's one php.ini file on a server, and be certain, you can't edit x10's!
  10. marshian

    Php/Msql

    WarriorH, with taekwandokid42's script, you'll lose your database structure too. (Not only data, but also your tables will be gone.) You'll need this for your cron job: 3 seperate jobs, all executing the same command. (CPanel - cron jobs - standard) 1: Minutes: 0, Hours: every hour, Days...
  11. marshian

    How do I open a file and overwrite contents?

    Or you could try reading line by line, storing each line in an array and then look for the index that has to be chaged, change the contents of that index and finally write the array down again. But as Twinkie says, you'll go mad in no time. Use databases!
  12. marshian

    php, cookies, and IE7

    Check wether you have disabled cookies in IE7 settings. Another thing is that cookies from FF don't get passed on to IE or the oter way around.
  13. marshian

    How do u configure sendmail -t??

    Don't you have to set the mail configuration in php.ini? http://www.php.net/manual/en/mail.configuration.php
  14. marshian

    Why PHP hosting is preferred over java hosting?

    Let me explain the same thing once more: PHP runs on the server and outputs a file to the browser. JSP (which is a form of Java) runs on the server and outputs a file to the browser as well. Java applets run on the client. JavaScript has nothing to do with Java and runs on the client.
  15. marshian

    html tags - help anyone?

    It can take weeks for your site to be added to google. If you want better support use the webmaster tools: https://www.google.com/webmasters/tools/siteoverview?pli=1
  16. marshian

    .htaccess

    You don't have to mess around with the .htaccess for making your default pages in each directory "index.php" (or .html, etc) By default, if you try to access any directory without specifieing a page, you always get redirected to the index page. Unless you want to use a page other then...
  17. marshian

    enctype not working....

    I did, but did you? I made the first response :p But if you buy your own server, you can mess around with as much settings as you like, so no settings will ever be unchangable by yourself. As long as you can find them, of course...
  18. marshian

    enctype not working....

    If you would hire a hacker to check it out, why wouldn't you just pay for your own server then? In my opinion, it's best to ask x10 staff.
  19. marshian

    integrate pdf reader in my site

    Just give them the link to http://www.adobe.com/go/EN_US-H-GET-READER for adobe reader http://www.adobe.com/go/EN_US-H-GET-FLASH for adobe flash player
  20. marshian

    The Curve of Levy

    "The Curve of Levy" (I have no idea wether that's the right name, it's translated literally from dutch: "De Kromme van Levy") I made a java program that shows it step by step =D It's .jar, so you need java, go to www.java.com to download the latest version. What do you think of it...
Top