www.webdeveloper.com

Search:

Type: Posts; User: bustya

Page 1 of 10 1 2 3 4

Search: Search took 0.03 seconds.

  1. HTTP status codes 302, 303, 307 for upcoming page?

    see: http://en.wikipedia.org/wiki/List_of_HTTP_status_codes#3xx_Redirection

    I'm unsure of which to use, I have a events calendar which uses the GET method, if a user manipulates the url to...
  2. nevermind, typo, long hours

    nevermind, typo, long hours
  3. [RESOLVED] xpath array empty when only one node?

    <items>
    <item>
    <id>6</id>
    <title>Super Fudge</title>
    <type>Cupcakes</type>
    <image>superfudge001.jpeg</image>
    <description>Fudge cupcake with a hot fudge center...
  4. Replies
    1
    Views
    1,677

    Still no luck. I'm looking for an xml option to...

    Still no luck. I'm looking for an xml option to do this...

    SELECT * FROM `items` WHERE `id` IN ($itemids)
  5. Replies
    1
    Views
    1,677

    array_intersect_key() on sub array value?

    I have two xml files, "events.xml" and "items.xml"...


    <events>
    <event>
    <title>First Event</title>
    <itemids>1,2</itemids>
    </event>
    </events>
  6. Nevermind, I found this in the manual.... ...

    Nevermind, I found this in the manual....



    function array_value_intersect_keys( $array_haystack, $array_needle ){
    $intersected = array_intersect( $array_haystack, $array_needle );
    ...
  7. [RESOLVED] array, match value and return the key

    $list = array('1'=>'item1','2'=>'item2','3'=>'item3');

    $items = array('item2','item7','item9');





    How do I match $items to $list and return the keys for each match? Ive tried several...
  8. Thank you sir, I wish I would have asked...

    Thank you sir, I wish I would have asked yesterday...

    Now I can access each object like so:



    $fbwallURL = 'http://localhost/fullpath/sample_json.php';
    $ch = curl_init($fbwallURL);...
  9. [RESOLVED] cURL: Trouble parsing stdClass objects

    I've been trying to parse this for a couple of days now. I'm trying to access a series of objects from facebook using the ids URL parameter.

    sample of actual url for use in cURL

    ...
  10. Replies
    0
    Views
    1,348

    htaccess redirect & pass all params?

    something like:




    RewriteRule ^oldpage.php?(.*)$ /newpage.php?$1 [L,R=301]
  11. sweet, thanks

    sweet, thanks
  12. [RESOLVED] clean links with regular expression

    Using PHP5

    I'm trying to clean the garbage out of links like the ones below with regular expression. Everything I've tried either removes too much or not enough. Some links have empty...
  13. Replies
    3
    Views
    689

    Awesome, thanks.

    Awesome, thanks.
  14. Replies
    3
    Views
    689

    Thanks for the reply, I'm going to give that a...

    Thanks for the reply, I'm going to give that a shot, but here's a bigger part of the picture.

    I'm grabbing facebook graph data, so in most cases I need to fix & entities not remove them. Here's...
  15. Replies
    3
    Views
    689

    [RESOLVED] str_repace + reg.ex. after &

    I'm trying to remove everything from "&" to the end of a url.

    example:



    http://www.youtube.com/watch?v=8fyr0zbaFyE&feature=related
    or
    http://www.youtube.com/watch?v=8fyr0zbaFyE&start=30
  16. Or, if you don't want your images to have uniform...

    Or, if you don't want your images to have uniform widths you could always clip anything bigger than the parent.


    #content{
    width:80&#37;; //you must define a width
    overflow-x:hidden;
    }
  17. I think he's reaching for an end that could be...

    I think he's reaching for an end that could be met with the right CSS. Try something like:




    img{
    -ms-interpolation-mode: bicubic;
    }

    .comment img{
  18. Replies
    0
    Views
    1,189

    htaccess LIMIT reg express help please

    I'm attempting (with limited success) to block google ads in embedded youtube videos. The regular expression needs to deny several urls like:

    r16.ord12s02.c.youtube.com


    ...see below....

    ...
  19. Replies
    2
    Views
    824

    Nice. I have several files to search...

    Nice. I have several files to search simultaneously. Would it be more efficient to put the files in an array before looping (once) or loop through each file separately?
  20. Replies
    2
    Views
    824

    regular expression help, please

    I suck at this.



    $regexp = "<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>(.*)<\/a>";


    I need something a little more specific than this. I need to match the domain and first part of the...
  21. Ah ha! I got it, this was merely a date format...

    Ah ha! I got it, this was merely a date format issue. I replaced


    DATE_FORMAT(event_date,'%Y-%m-%D')

    with

    DATE_FORMAT(event_date,'%Y-%m-%d')

    And all is well. Thanks anyway
  22. [RESOLVED] calendar bug in query or foreach loop

    I found a calendar tutorial online and I've been trying to follow it. The original script is very cool but buggy. I indented everything and debugged most of it. The only bug left (I believe) is in...
  23. Replies
    8
    Views
    891

    Array disfunction

    I've read through array functions for a few days now and I'm hitting a brick wall. I'd like to match a passed variable to an array value and set the pointer to it, shift or slice all values before...
  24. Replies
    5
    Views
    1,595

    Thanks for the replies. Yes Windows, Vista at...

    Thanks for the replies. Yes Windows, Vista at home and XP Pro at work. I'm running those four on Vista now. I want to run PHP on my boss's computer.

    But now this,...
  25. Replies
    5
    Views
    1,595

    To be clear, I mean... install Apache, PHP, MySQL...

    To be clear, I mean... install Apache, PHP, MySQL & PHPmyAdmin on an external drive so I can run PHP/MySQL (locally) from any computer I connect it to (via USB).... oh, and I mean without...
Results 1 to 25 of 228
Page 1 of 10 1 2 3 4
HTML5 Development Center



Recent Articles