www.webdeveloper.com

Search:

Type: Posts; User: tishetsky

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    3,292

    The only thing you need to know about client is...

    The only thing you need to know about client is his cookie ID. This ID should be present in the record which is put into temporary project table. Why bother running whole session handling mechanism...
  2. Replies
    3
    Views
    3,292

    PHP session is based on cookies, so you only need...

    PHP session is based on cookies, so you only need to set a cookie that will not expire on browser close but will have a long lifetime, like 1 year or 10 years. Of course cookies will only work if a...
  3. You do not have to keep separate scripts for each...

    You do not have to keep separate scripts for each language if the only difference is in select conditions. In most general case you need one script and mod_rewrites that will pass language code as an...
  4. Also you may call clearstatcache() function...

    Also you may call clearstatcache() function before is_file() so that it checked the file on filesystem itself instead of filesystem cache.
  5. In your WP .htaccess in the line RewriteRule ....

    In your WP .htaccess in the line
    RewriteRule . /index.php [L] change [L] to [L,QSA] which means QueryStringAppend and should tell apache to pass get parameters to the script as well.

    In case of...
  6. Replies
    6
    Views
    1,690

    At this moment I would like you to show teh codez...

    At this moment I would like you to show teh codez and the phpMyAdmin output for your query. In particlar I need to see how do you fetch data from the result set. The Manual says:
    $result =...
  7. The logic is quite simple: every time the WP...

    The logic is quite simple: every time the WP script is called it grabs a piece of rendered output into buffer before sending it to client. After that it checks for some condition and if that...
  8. Replies
    6
    Views
    4,379

    Google Adsense

    Google Adsense
  9. It is not recommended to do this in mod_rewrite....

    It is not recommended to do this in mod_rewrite. Processing lots of rewrite rules on each request will have significant impact on server performance. You should pass the whole request to a script and...
  10. Replies
    6
    Views
    1,690

    I also suppose this is not direct copy-paste...

    I also suppose this is not direct copy-paste because there is a typo in your query and thus it will not work at all.
  11. Replies
    6
    Views
    1,690

    To clear this out you need to run this query...

    To clear this out you need to run this query either in console sql client or in some phpMyAdmin. If you do not have any of them, print each row right after fetching it from result set to check if the...
  12. Hello again, yes I did receive your money, thank...

    Hello again, yes I did receive your money, thank you.

    Checking the file existance is pretty straightforward. Add the following around file_put_contents():

    $ipb_txt_file =...
  13. I would like to, but I do not see a PM button...

    I would like to, but I do not see a PM button anywhere. Maybe that's because I am recently registered and cannot send PMs yet. PM me if you can, I will reply.
  14. I know nothing about IPB inner working, but from...

    I know nothing about IPB inner working, but from this piece of documentation the "parse include" looks acceptable.

    Considering security, I didn't quite understand the question, but if you mean...
  15. Okay, there under stars was the word "o d e s k"...

    Okay, there under stars was the word "o d e s k" without spaces
  16. *****, elance, freelance, plenty of them. This...

    *****, elance, freelance, plenty of them.

    This forum also has some job offer section.
  17. Replies
    1
    Views
    2,348

    Show the code. Both the config and the script.

    Show the code. Both the config and the script.
  18. What is the error? I guess you cannot insert to...

    What is the error? I guess you cannot insert to the same table you are selecting from.
  19. Replies
    6
    Views
    750

    There is the way, but doing it solely by means of...

    There is the way, but doing it solely by means of php is totally wrong, because you will have to pass each file through a script.

    The correct way to do this is to tell your webserver to send...
  20. You may consider dumping a part of WP output to...

    You may consider dumping a part of WP output to separate static file and include it as plain text. You will have to modify WP template to grab a part of rendered output and write it to a file

    <?...
  21. You may put the desired WP code into separate...

    You may put the desired WP code into separate files, put include statement to the place the code was before, and then include these files from your IPB. In case you want to include rendered output...
  22. Haha, very funny. This is serious work, I guess...

    Haha, very funny. This is serious work, I guess you must ask for it on some freelancer site and be ready to pay for it.
  23. Replies
    6
    Views
    750

    Well, in your case it would be $info['filename']...

    Well, in your case it would be $info['filename'] instead of $file['name']

    The idea is that you should print HTML code for link on each iteration, not just once before the loop.
  24. Replies
    6
    Views
    750

    while (...) { echo "

    while (...) {
    echo "<a href=\"/uploads/{$file['name']}\">{$file['name']}</a><br />";
    }
  25. Thread: Friend Query

    by tishetsky
    Replies
    1
    Views
    892

    Lets assume that 'friends' table has two columns:...

    Lets assume that 'friends' table has two columns: p1 and p2, both of same data type (unsigned integer) and both represent user ID. If we have a record in this table which contains p1 = 10 and p2 = 11...
Results 1 to 25 of 29
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles