Jump to content

EagerWolf

Members
  • Posts

    132
  • Joined

  • Last visited

    Never

Everything posted by EagerWolf

  1. So basically it is all about optimization?
  2. I would like my site to be visible as on image below. Please help! [attachment deleted by admin]
  3. Hi there! I was searching trough the net and didn't even now the keywords to search to get the proper result. What I want to do is: URL: smth.com/index.php?action=a&subAction=b And URL after styling should be: smth.com/a/b Thanks for your answers! Best regards, Matija Volk
  4. No idea? Is there any other way to validate XML on schema?
  5. Hehe .. sorry I wrote wrong in forum, but in source code is OK ... any other ideas?
  6. Hello! I've been trying to create XML on schema validation. PHP by itself should supports this option with (Document Object Model - http://si2.php.net/manual/en/book.dom.php) I have XML in string XMLData $vXML = DOMDocument; $vXML->loadXML("$XMLData"); With this code I should be able to load XML from string, but no matter what I try, I always get the following error: Fatal error: Call to undefined method domdocument::loadxml() I've tried with following code as well and the result was the same: DOMDocument::loadXML("$XMLData"); Anybody knows the solution? Thanks for your help!
  7. Hi, I'm running CVS on Linux configured server and looking for CVS server .. Any ideas? Thanks!
  8. Nice thanks for the answer. But the provided URL is accessible only with user name and password.
  9. Hello! I've surfed the internet and find a nice content switcher on www.mimovrste.com. If you go to this web site and wait a moment you will see that the content switcher in the middle will change the current special offers with a nice transition. I've googled to find a script like this with no success. Does anyone know a script like this? Thanks!
  10. So query would be: SELECT * FROM table ORDER by price=0, price
  11. Hi! I am looking for salvation for my complex data ordering in MySQL. I have options: price (price in EURos) and price_1 (ENUM - 0, 1) Example: case1: price = 1400 price_1 = 0 case2: price = 1400 price_1 = 1 case3: price = NULL price_1 = 1 If is price_1 = 0 and price = 1400, than it is printed: 1400 $ The point is if is set price_1 = 1 and is set price (1400), than it is shown like this: Call for price (cca 1400). If price_1 = 1 and price = NULL, than it is printed just Call for price. And what I want to set is that values with price 0 or NULL are listed in the end of results. Let us say we have table like this: ID price price_1 1 1400 1 2 0 1 3 1200 1 4 1300 0 5 800 0 I want output to list me records in order by price with price = 0 in the end. So the proper order would be (by IDs): 5, 3, 4, 1, 2 And records must be stored in the same query... I don't want to make two queries for this. Thanks for your help!
  12. Hehe .. Yup i know there are some silly questions, but I we were all beginners once Ok .. the point is I've tried this as well ... And in all cases I got empty array ... which is confusing...
  13. obviously I am using mysql_fetch_array..
  14. Here is query: mysql_query("SELECT * FROM usertable WHERE s1='skupina' AND a='1' ORDER BY var1 DESC, var2 ASC LIMIT 42, 4") When query is executed no results is outputed... I have tried different options: mysql_query("SELECT * FROM usertable WHERE s1='skupina' AND a='1' ORDER BY var1 DESC LIMIT 42, 4") AND mysql_query("SELECT * FROM usertable WHERE s1='skupina' AND a='1' ORDER BY var2 ASC LIMIT 42, 4") works fine... The problem is when I add two or more variables in ORDER BY I get empty results... I found on google that it is something about indexig.. But didn't find any helpful... Thanks for your help! Matija Volk
  15. Hello! I have got random image generator in php .. and it works perfectly.. But when I upload it on server in doesn't open due to php.ini configuration. I guess in is some headers problems .. Where can I set this in php.ini?
  16. Hello! I have tried to restrict access using PHP.ini - openbase_dir... I have archived, that php was executed only in certain directory. So let's say we have got index.php with path: "C:/Web/www/"... I set openbase_dir = "C:/Web/www/" Fine index.php was accessible and worked fine. I tried to run another file in "C:/Web/www/dir1/" and file didn't execute. Perfect! But when I tried to include file in dir1 into index.php I got error... Thanks for your help! Matija
  17. OK .. I ll try to I have a file on server's disk. Let say in directory c:\files ... In this directories I have got sub directories: c:\files\dir1 c:\files\dir2 etc. Here are stored files which are updated hourly (by mail) and needed to be accessed to all employees. By now we are resending mails and this can get confusing. My solution is to post new files on forum. It can be a file browser or anything like this... The point is that files are archived and always avalible to all employees over forum.
  18. Hello! I've been looking trough the internet and did not find solution to my problem. I receive a lot of data on mail every day .. and data needs to be accessible to quite a lot of people. We are already running a PHPBB forum (v 3). What I want to do is to auto announce new files on forum. Files are stored on server in different directories. Thanks for your help!
  19. OK ... Pretty strange thing occurs seldom on my server... I am working on software department, which is providing data to some customers. We offer different solutions (XML, mail, files accessible on internet etc.)... But that is just a background.. Export of data works perfectly for thousands of exports, but than because of unknown error MSSQL crushes. And in returns unknown sql error. I assume that this error is because of amount of data stored in a table. Is this possible? If this is it.. How can I check? What could be a solution? Best regards!
  20. OK the point is that I need to write files on my local server .. Everything works fine... The problem is when writing new multiple files PHP freezes. It just stop executing and freez. I assume the problem is while file is still being written and another command come to write new file ... I tried to check with the function file_exists(), but the problem is that file exists, but it is now jet written... I thought if there is any command to wait for let's say 4 seconds and than continue... But I didn't find anything. Any suggestions?
  21. I thought it is only for files! Thank you very much guys!
  22. The problem is I don't know how to download content... Example URL: http://example.com/index.php?content=412091248921958912
  23. I want to store data from one webpage and store data in MySQL... I want to run script on my server once a day with crontab... Any suggestions?
×
×
  • 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.