Search results

  1. xav0989

    PHP 5 OOP Destructors (yuck)

    Anyways, it's always a pleasure to share knowledge, and thanks for the credits
  2. xav0989

    last question, i promise, lol

    matzomeal, what do you mean by not working? If you mean not executing, then try as leafypiggy said. If you mean that you get a php error stating that a variable is not defined, then define all you variables, as lemon-tree said. If you are getting a false result from mysql_query, then do a...
  3. xav0989

    How to....

    @blueforpink You are not entitled to post to a topic just for the sake of it. This is called off-topic, or even spam. There is a category for that purpose here at x10. So if you don't want to add useful information to a topic, please refrain from posting.
  4. xav0989

    PHP 5 OOP Destructors (yuck)

    when you call the __destruct function, you simply execute the code inside, but you are not actually removing the class. However, when you do the unset, the __destruct code is executed automagically, so no need to be called before, then the object is removed from the memory. So if not in a...
  5. xav0989

    Would you give up cPanel for better uptime?

    I have a little improvement concerning the 2 server idea. Why not have an application that is bound to the 80 port, and redirects traffic internally to 1 of the 2 servers, which broadcast to another port, while the other one restarts. This way, there will be no problem of apache bound to the 80...
  6. xav0989

    Trouble getting a Javascript to wrok

    If it works on your computer but not on the server, my first guess is that the image files are not where they are supposed to be. Check their location on the server to make sure. Could you also provide a link to the page, as this would help us diagnose the problem.
  7. xav0989

    SQL moving a field within a table

    As garret said, location is unsignificant. If you need your fields in a special order when you fetch data, well then, after the SELECT part, put the name of the fields in the order you want them. For instance: SELECT field_1, field_6, field_2, field_8 ... When inserting data, proceed in the same...
  8. xav0989

    another php/sql question!

    FYI, matzomeal, there is a nice little feature to include PHP/HTML/regular code into a website. You simply wrap the php code with [ PHP ] [ /PHP ].
  9. xav0989

    phpBB3.0- No problems, it's just... (Wait, move this topic)

    make sure you are using the right directories. phpBB has a tendency to package files in a phpbb3 folder.
  10. xav0989

    No knowledge of web design

    You can also download and set up a cms such as Joomla or Drupal that offer a e-commerce plugin.
  11. xav0989

    how to send sms using gmail

    Well I was able to send and receive sms through normal email messages a long time ago... in Canada.
  12. xav0989

    MySQL Export to csv

    I found out about the deprecation when I looked it up. I've never used the mysql_list_fields functions. I always use SQL...
  13. xav0989

    lghtbox and xml

    Could you clearly state what is your problem... It`s kinda hard to guess...
  14. xav0989

    CGI script error logfile

    Sorry for the misunderstanding. Well, in that case, I wouldn't be surprised if you are not allowed to play with that setting.
  15. xav0989

    extracting from a string

    Nice one there, mission!
  16. xav0989

    Is IE, even 8, just effin broken?

    Actually, the only program you need is a web server such as Apache or IIS. There is a webserver bundled in Expression Studio called IIS development, or something like that, which handles php files and send them to the parser.
  17. xav0989

    Oophp

    Well I find that the OOP in PHP5.3 is somewhat similar to some OOP in Java. If you have some experience there... I also found some tutorials on google. Check http://nicetutz.blogspot.com/2008/02/php-tutorials.html it seems good.
  18. xav0989

    MySQL Export to csv

    just a reminder, mysql_list_fields() is deprecated. Which means that it is now only kept for background compability, and for lazy coders. You should be better off switching to mysql_query("SHOW COLUMNS FROM sometable").
  19. xav0989

    extracting from a string

    Well in this case, the hard way, regular expressions, is also the best way!
  20. xav0989

    file upload trouble

    BTW, xadrieth, posting publicly those test scripts is not such a good idea. Very often, scripts that you are asked to write in beginner/intermediate tutorials and books are not prepared for the real world. There is very little security on those scripts. I would recommend that you setup a...
Top