www.webdeveloper.com

Search:

Type: Posts; User: bpdp

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    2,830

    weird, found it had to do with SELinux. had to...

    weird, found it had to do with SELinux. had to run:


    sudo /usr/sbin/setsebool -P httpd_can_network_connect=1


    on all my servers. now I back up and running. Have no idea why the settings...
  2. Replies
    5
    Views
    2,830

    Thanks for the reply svidgen. that was a good...

    Thanks for the reply svidgen. that was a good thought, but i ran:


    php --version
    PHP 5.1.6 (cli) (built: Jan 13 2010 17:09:42)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v2.1.0,...
  3. Replies
    5
    Views
    2,830

    php remote mysql connection

    hi everyone,
    sorry if this is posted in the wrong forum, but it's kinda a php and mysql issue. I have a mysql database on a remote server. I setup my servers and mysql users to be able to connect...
  4. Replies
    2
    Views
    811

    wow, actually figured it out. $val(); ...

    wow, actually figured it out.



    $val();


    almost too easy :)
  5. Replies
    2
    Views
    811

    user input function

    Hi All,
    I have a question that might not be all that typical, so I'm not really sure if it is even possible.

    I'm building a little bash application using php that lets users run "simulated" bash...
  6. Replies
    5
    Views
    1,534

    turns out the issue WAS the password. ...

    turns out the issue WAS the password.

    --password="XXXXXX#XXX\$XXXX"

    I was trying to escape both the pound and the dollar sign. turns out I only need to escape the $. things are looking up....
  7. Replies
    5
    Views
    1,534

    Thanks for the reply. I've been doing some...

    Thanks for the reply. I've been doing some thinking and I was able to do GRANTS and FLUSH PRIVILEGES a week ago, but now I'm unable. The only thing that I know has changed is my username to the...
  8. Replies
    5
    Views
    1,534

    [RESOLVED] error: 1045: Access denied for root

    So what should I do if my root account is not allowed to do everything. I'm trying to make a backup of the database but I keep getting access denied.

    code that is failing:


    mysqldump...
  9. Replies
    2
    Views
    1,359

    slice worked great :) Thank you very much!!

    slice worked great :)

    Thank you very much!!
  10. Replies
    2
    Views
    1,359

    IE 6-8 alerting NaN using substr and parseInt

    Hi All,
    I've been racking my brain and have finally given up and decided to ask for some help. I have a very simple snippet that I have over, and over simplified trying to get it to work in ie but...
  11. Replies
    4
    Views
    879

    Right, I was being stupid for some reason I was...

    Right, I was being stupid for some reason I was thinking that the caret would have to be at the beginning of the url... like at the start of the string. (ie: ^http://mydomain.com/news) but yeah this...
  12. Replies
    7
    Views
    827

    check "Yigit's" comment on this page about...

    check "Yigit's" comment on this page about dreamweaver. http://www.wallpaperama.com/disp-post52.html

    If that doesn't work I'd take the blank file that seems to be working. add the closing php tag....
  13. Replies
    7
    Views
    827

    I'm not totally sure but try this:

    I'm not totally sure but try this:


    <?php session_start();


    Place the above in a blank file. note the lack of the closing tag, the function call operator '()' and the full opening tag '<?php'...
  14. Looks like you have semi-colons after all your if...

    Looks like you have semi-colons after all your if statements? I'd delete them all and see where you are at.



    else if ($select2 == 'contain'); // DELETE ALL THESE ';'
    {
    $queres = "SELECT *...
  15. Replies
    7
    Views
    827

    That usually means there is white space before or...

    That usually means there is white space before or after your php tags. I'd double check to make sure there is nothing at the beginning of the file or at the end of the file.
  16. Replies
    4
    Views
    879

    Thanks Weenis, great resource. I managed to get...

    Thanks Weenis, great resource. I managed to get it to work with:



    RewriteEngine On
    RewriteRule news/(.*)$ http://mydomain.com/news.php [r=301]
  17. no problem :)

    no problem :)
  18. replace what you posted in you first post with...

    replace what you posted in you first post with this:


    $sql=("SELECT * FROM `users` WHERE `username`='$_POST[fusername]' LIMIT 1");
    $result3=mysql_query($sql) or die ("Couldn't execute query...
  19. do you have session_start() at the top of the...

    do you have session_start() at the top of the "other" page?


    if I'm reading this right $num3 should also be a number but it looks like you are trying to use it as an array...
  20. Replies
    4
    Views
    879

    [RESOLVED] redirect sub-directory

    Hi everyone,
    I'm not sure where to start here. I'm thinking .htaccess will prolly do what I'm looking for but my my skills in this department are slim to none. I'm trying to redirect any request for...
  21. Thread: port 25 blocked

    by bpdp
    Replies
    4
    Views
    1,069

    okay, I'll try anything. can you point me in the...

    okay, I'll try anything. can you point me in the right direction on how to do that? my ISP told me that I need to use port 587 so I'm not sure that it will work, I'm also still confused on why the...
  22. Thread: port 25 blocked

    by bpdp
    Replies
    4
    Views
    1,069

    port 25 blocked

    Hi All,
    several months ago all my local mail() scripts stopped working here at home. It wasn't a huge deal because I was still able to send locally from work or post them to the web to test. But...
  23. Replies
    2
    Views
    863

    Thanks. found out I forgot to include my config...

    Thanks. found out I forgot to include my config script with all my connection info.
  24. Replies
    2
    Views
    863

    mysqli query not working

    Hi I'm new. I'm having problems with this:


    public function disable_merch($id, $value) {
    $q = "UPDATE merch SET disabled = '$value' WHERE id = '$id'";
    if($result =...
  25. Replies
    0
    Views
    588

    Echo prepared statement

    Hi All,
    I am stumbling my way through mysqli. and I was wondering for debugging if there is a way to see the actually query that gets sent to the DB.

    EX:


    $q = "UPDATE journal_entries SET...
Results 1 to 25 of 47
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles