Web Analytics Made Easy -
StatCounter Search Result - CodingForum

Announcement

Collapse
No announcement yet.

Search Result

Collapse
500 results in 0.1889 seconds.
Keywords
Members
Tags
  •  

  • just a missing apostrophe

    should be '{$form_data['hometown']}')";
    See more | Go to post

    Leave a comment:


  • ضkii
    replied to Sharpening Images (PHP 5.1; No Bump)
    For those not yet onto version 5.1, you might like to try out this unsharp mask from a fiend called Torstein.
    It is quite process intense, though works wonders.
    See more | Go to post

    Leave a comment:


  • ضkii
    replied to Dynamic Image Resizing
    A few notes here.

    The GD libraries use a proprietary format for manipulating the pixel colours which is quite bulky (basically about 9 times the size of a 80% quality jpeg - eg if you put a 20kb jpeg into GD the processor would be working on roughly 180kb of data during the resizing / transformation)....
    See more | Go to post
    Last edited by ضkii; Nov 11, 2005, 08:58 AM.

    Leave a comment:


  • ضkii
    replied to Parse error: parse error, unexpected $
    in PHP
    try removing the } on the last line
    See more | Go to post

    Leave a comment:


  • ضkii
    replied to php & gd...outputting image problem
    in PHP
    To do this without crontabs I would tend toward using the clientside as the only calling process and then use a script to systematically attempt to get the most modern data. eg

    Code:
    <img src="strip.php" id="strip" />
    <script type="text/javasccript">
    ...
    See more | Go to post

    Leave a comment:


  • ضkii
    replied to Displaying PJPEGs from a DB
    in PHP
    Have you tried just calling the page alone in a browser with a known image id=NN?

    Have you tried just running the query alone?

    Personally I'm with Spookster on the issue of using the file system rather than database for storing images.
    See more | Go to post

    Leave a comment:


  • ضkii
    replied to PHP - Detecting installed modules
    in PHP
    either

    if( function_exists("openSSL_func") )

    or

    if( in_array("openSSL", get_loaded_extensions())

    or

    if( extension_loaded("openSSL") )
    See more | Go to post

    Leave a comment:


  • No syntax error there as the variable will be extrapolated due to being within a double quoted string.

    You error is the line after...

    if ( !($result = $db->sql_query($sql)) )

    which invokes the function sql_query() of the class $db

    So, check...
    See more | Go to post

    Leave a comment:


  • ضkii
    replied to Does anyone know how to use e107
    in PHP
    Downloads fine for me trying the .617 Full distro from e107.org

    Which files were you testing for content?
    See more | Go to post

    Leave a comment:


  • ضkii
    replied to How I can take de photos back from my table?
    in PHP
    You need to call the script inside an <img src=" tag as the 'Content-type: image/nnn' header needs to be interpreted.

    That particular header tells the browser how to display the content and can ONLY be sent once per script (as soon as any other output is sent, no other headers...
    See more | Go to post

    Leave a comment:


  • ضkii
    replied to Is it safe to walk an object as if it is an array?
    in PHP
    Teh main issues I can see would be recursion within relational classes...

    $foo = new FOO;
    $foo->bar[ $foo->i ] = new BAR;
    $foo->bar[ $foo->i ]->prefix =& $foo; // recursion

    Other than that, it should be fine, as all you are doing effectively...
    See more | Go to post

    Leave a comment:


  • ضkii
    replied to user state variables
    in PHP
    Personally I would attempt to combine the SQLs and let the programming determine the output (they are so similar after all). Something along the lines of...
    PHP Code:
    // check pending friends
    $sql "SELECT `userid_1`,`userid_2`
            FROM `friends` 
            WHERE     (
                `userid_1` 
    ...
    See more | Go to post

    Leave a comment:


  • ضkii
    replied to A variable inside a variable
    in PHP
    To use an array naming convention, you would need to increment the values passed (a non checked checkbox is never posted, only checked ones are) so...

    <input type="checkbox" name="binary[]" value="1" />
    <input type="checkbox" name="binary[]"...
    See more | Go to post

    Leave a comment:


  • ضkii
    replied to Get Last value of an Array
    in PHP
    can you show your actual code as the function end() should do exactly what you want?
    See more | Go to post

    Leave a comment:


  • ضkii
    replied to Please specify a non zero numeric value
    in PHP
    do not add the dollar symbol to the fields value "$3.48" is NAN so the (and this is javascript not php) if conditional always fails.

    You might also want to update your javascript to access the value through the DOM using something like

    form.elements['amount'].value...
    See more | Go to post

    Leave a comment:

Working...
X