www.webdeveloper.com

Search:

Type: Posts; User: NetMonkey

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    808

    Thanks NogDog. Let's call this one closed.

    Thanks NogDog. Let's call this one closed.
  2. Replies
    3
    Views
    808

    After reading more, I see my path must be like...

    After reading more, I see my path must be like this:

    Location header MUST be absolute uri with scheme, domain, port, path, etc.


    good: header("Location:...
  3. Replies
    3
    Views
    808

    Redirect after php script executes

    Hey all,

    Here's my scenario. User clicks on an Adobe Edge Animation which is only an image, which is coded with a javascript onclick event that calls a php file. The php file executes and does a...
  4. Replies
    4
    Views
    710

    Mark this one solved! The problem was (not) the...

    Mark this one solved! The problem was (not) the post string. The answer was to ensure the user was logged in correctly and merge the two arrays, then output as one!
  5. Replies
    4
    Views
    710

    Thanks NogDog. Nice catch on my failure to...

    Thanks NogDog. Nice catch on my failure to include the $ch at the beginning of the line. I corrected it, but still a fail error. This is what I'm talking about, there doesn't seem to be any posts...
  6. Replies
    4
    Views
    710

    Php cURL postfields failing

    Hey all,

    My server has php ver. 5.3.28. I've been working on this code for some time now and feel I'm really close. Server error logs have helped as much as possible and now I believe it's all...
  7. Replies
    28
    Views
    2,523

    BTW, I meant to post this earlier. I've come to...

    BTW, I meant to post this earlier. I've come to learn in the past few weeks through my experience with this one little 3kb file that's kickin' my butt, that I have some deep respect for you guys that...
  8. Replies
    28
    Views
    2,523

    Would it help for me to re-post (all) of the code?

    Would it help for me to re-post (all) of the code?
  9. Replies
    28
    Views
    2,523

    I'm using the nested foreach's, because I was...

    I'm using the nested foreach's, because I was told if I didn't, that the results of the first array would overwrite the second, or maybe because it would cause a loop, I don't remember. Anyway, after...
  10. Replies
    28
    Views
    2,523

    ShrineDesigns - thanks for the code tip. I...

    ShrineDesigns - thanks for the code tip. I declared my variable and the code ran through the array lines without any errors, hit line 55 which starts my foreach line in in post string section and...
  11. Replies
    28
    Views
    2,523

    ShrineDesigns - What I just read is this: If...

    ShrineDesigns - What I just read is this:

    If you have a variable key or a key with dashes, there are prettier aliases which you can use:

    if ( $current_user->has_prop( 'my-field' ) ) )
    echo...
  12. Replies
    28
    Views
    2,523

    ShrineDesigns - I understand the elseif...

    ShrineDesigns - I understand the elseif statements now, but I believe the format I put the array into now may be correct (minus needing the statements) because it came from the WP codex and the code...
  13. Replies
    28
    Views
    2,523

    Thanks for the direction. My code has undergone...

    Thanks for the direction. My code has undergone several changes in the last three hours. I have the correct array format now to get user data, but my post string is choking because of my inability to...
  14. Replies
    28
    Views
    2,523

    ShrineDesigns, by making my declarations under...

    ShrineDesigns, by making my declarations under the global for wp_get_current_user, now in the code for the custom mepr-fields, why couldn't I lose the if and elseif statements and just do the code...
  15. Replies
    28
    Views
    2,523

    ShrineDesigns, after swapping email with one of...

    ShrineDesigns, after swapping email with one of the developers over at WordPress.org support, I learned that the WP get_currentuserinfo() may not be able to query on custom fields in the WP DB, but...
  16. Replies
    28
    Views
    2,523

    ShrineDesigns, what does this look like for post...

    ShrineDesigns, what does this look like for post string code? Close?


    // Generate the POST string
    $postdata = '';
    $data = get_user_data();
    foreach($query_vals as $key => $value) {
    //...
  17. Replies
    28
    Views
    2,523

    If the simplexml post string is expecting to only...

    If the simplexml post string is expecting to only see $key and $value when doing $postdata and urlencode, it seems this data has to be appended using $key and $value. Or?
  18. Replies
    28
    Views
    2,523

    Thanks ShrineDesigns, now before I can test, I...

    Thanks ShrineDesigns, now before I can test, I have to have a compatible post string. The original post string that posted the static data reads like this:


    // Generate the POST string
    $postdata...
  19. Replies
    28
    Views
    2,523

    Thanks ShrineDesigns, I see your logic after...

    Thanks ShrineDesigns, I see your logic after reading the post I read earlier today. I noticed how you started the array with the standard WP user fields and then called the custom fields. But what is...
  20. Replies
    28
    Views
    2,523

    ShrineDesigns - I've come to think now that the...

    ShrineDesigns - I've come to think now that the code you mentioned:


    $current_user-> $value;
    $n="user_variable_{$type}_name";
    ${$n} = true;


    Is crap. I read a post...
  21. Replies
    28
    Views
    2,523

    Another developr's suggestion

    The code you saw there is a recent change from 4 hours ago that was suggested by another developer who said my (other code) I had was wrong. It seems I keep making code changes based on suggestions,...
  22. Replies
    28
    Views
    2,523

    After many code edits, this is my code now that's...

    After many code edits, this is my code now that's throwing a server 500 error starting at my line 16:


    // Call WordPress function wp_get_current_user_info()
    //Create array

    function...
  23. Replies
    28
    Views
    2,523

    Now I'm getting a server 500 error. This is my...

    Now I'm getting a server 500 error. This is my code after several suggestions in the past hour:


    // Call WordPress function wp_get_current_user_info()
    //Create array

    function...
  24. Replies
    28
    Views
    2,523

    2 arrays with simplexml load string failing

    Hey guys,

    Sorry, php noob here, but can grasp new concepts rather quickly. I've been in IT a long time and this is my first time trying to rewrite this much php code. I've been working on this php...
Results 1 to 24 of 24
HTML5 Development Center



Recent Articles