dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: Mindzai

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds; generated 59 minute(s) ago.

  1. Replies
    15
    Views
    4,704

    Criterion's solution is the one I use. I just...

    Criterion's solution is the one I use. I just replicate the search data to a MyISAM table on save. Why do you say it's a bad solution? It's fairly standard to store fulltext search data in a MyISAM...
  2. Replies
    1
    Views
    762

    It's just a simple parse error so it should be...

    It's just a simple parse error so it should be showing - I assume your error_reporting lines are before the broken code? It could be that your host has ini_set disabled, but then you say you are...
  3. Replies
    3
    Views
    1,893

    Also fileowner() returns an int not an array...

    Also fileowner() returns an int not an array (which isn't the cause of your issue but it won't do what you want if NogDog's suggestion works)
  4. Replies
    21
    Views
    8,192

    Lucky guess :) Re the encrypted transfer, you...

    Lucky guess :)

    Re the encrypted transfer, you can use SSL/TLS with cURL if the server has a valid CA certificate. The process is explained well here.
  5. $location =...

    $location = "../checkout/cart/add?product=$id&qty=1&options[$dropdown_id]=$dropdown_selection_id";
    foreach($options_array as $key => $value) {
    $location .= "&options[$key]=$value";
    }...
  6. Replies
    4
    Views
    6,954

    Also note that when you "install" pear classes,...

    Also note that when you "install" pear classes, you are just copying them to a location accessible via the PHP's include path. However they are just regular PHP files, there's nothing to stop you...
  7. Replies
    3
    Views
    4,894

    NB: PHP4 does support inheritance.

    NB: PHP4 does support inheritance.
  8. Replies
    21
    Views
    8,192

    Glad you got it sorted! It just goes to show what...

    Glad you got it sorted! It just goes to show what a pointless "security" technique user agent checks are!





    Those two phrases together fill me with dread! :p Make sure you are validating and...
  9. Replies
    21
    Views
    8,192

    I wondered that, but I go the impression the form...

    I wondered that, but I go the impression the form that posted to server2 was hosted on server1 - can you clarify acestuff? If that's not the case you may be SOL here.
  10. Replies
    21
    Views
    8,192

    It's possible the server is doing something like...

    It's possible the server is doing something like checking the user agent string but that's easy to work around if so.


    curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/4.0 (compatible; MSIE 5.01;...
  11. Replies
    21
    Views
    8,192

    All POST requests end up being sent the same way...

    All POST requests end up being sent the same way regardless of how you make them, ie by opening a socket to the webserver and transmitting the data. This is the same if it's your browser, php's fopen...
  12. Replies
    21
    Views
    8,192

    Nope it will work :)

    Nope it will work :)
  13. Replies
    21
    Views
    8,192

    cURL would be the best way if you have it...

    cURL would be the best way if you have it available on the server.
  14. Replies
    12
    Views
    3,255

    Where I work, the "designer" creates both the...

    Where I work, the "designer" creates both the markup and the css, and this seems to be the case in most places. The "developer" (me where I work) pretty much only works on programming and the deeper...
  15. Replies
    12
    Views
    3,255

    In general I'd agree with that, but a design can...

    In general I'd agree with that, but a design can have a negative impact on your HTML source unless you're careful with how you code the markup, and that can affect your google ranking. You just need...
  16. Replies
    4
    Views
    856

    If you use the above as is, note that you will...

    If you use the above as is, note that you will still be generating notice level errors (even if you do not have error_reporting set to an adequate level to display them).
  17. Replies
    4
    Views
    856

    $friendAddedBy is a string not an array and when...

    $friendAddedBy is a string not an array and when you use array notation on a string it retrieves the character at the designated position. You are also overwriting $friendAddedBy in your while loop...
  18. Why not install a webserver and PHP on your...

    Why not install a webserver and PHP on your development machine? Then you just need to upload once you are done. Developing directly on a production server is pretty unusual for the reason you...
  19. Replies
    2
    Views
    1,156

    $xml = simplexml_load_file('inventory.xml'); ...

    $xml = simplexml_load_file('inventory.xml');

    foreach($xml->entry as $entry) {
    echo '<p>' . $entry->title . '</p>';
    echo '<img src="/photos/' . $entry->img_txt . '" alt="" />';
    echo...
  20. Replies
    1
    Views
    704

    preg_match...

    preg_match.
  21. Replies
    3
    Views
    1,308

    PHP only executes on the server side so you will...

    PHP only executes on the server side so you will need to use a javascript timer to end the quiz sooner - however as I said above this should be secondary to the server-side validation as a javascript...
  22. Replies
    4
    Views
    1,280

    I don't really understand your issue. What is the...

    I don't really understand your issue. What is the problem you are having?
  23. Replies
    3
    Views
    1,308

    You can set the start time in the $_SESSION...

    You can set the start time in the $_SESSION superglobal and check this on every request. If the current time minus the start time is greater than your allocated time, you can ignore any answer sent...
  24. Replies
    6
    Views
    1,320

    Just because you don't provide form elements...

    Just because you don't provide form elements doesn't mean that a manual post request can't be made to your script. Not having database write permissions is good, but you are still open to other...
  25. Replies
    5
    Views
    2,007

    The best way would be to use the DomDocument...

    The best way would be to use the DomDocument class.
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4
HTML5 Development Center



Recent Articles