Jump to content

dbchristopher

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

dbchristopher's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi everyone, I have a question about best practice for cleaning data in PHP for a postgresql insertion. I was going to use pg_escape_string, but on that page it recommended using pg_escape_literal for insertions instead: http://us3.php.net/manual/en/function.pg-escape-literal.php However, pg_escape_literal doesn't seem to be a part of my PHP installation. It says on the page "(No version information available, might only be in SVN)." How would I go about installing that in PHP? Is it even necessary, or would pg_escape_string be sufficient? I had been using addslashes() for quite some time, I must have missed the memo when that practice was deprecated :-| Thanks!
  2. I had a working installation of ImageMagick going on my server, but in an attempt to troubleshoot on of the features that wasn't working right I reinstalled it. Now I've lost all jpeg and png support, and for some reason the configuration wont recognize that I have those libraries on my server, even when I explicitly state the location of the static library files. I'm totally frustrated and lost with this, please help! Here's the data that the configuration gives me: ImageMagick is configured as follows. Please verify that this configuration matches your expectations. Host system type: i386-unknown-freebsd6.1 Build system type: i386-unknown-freebsd6.1 Option Value ------------------------------------------------------------------------------- Shared libraries --enable-shared=yes yes Static libraries --enable-static=yes yes Module support --with-modules=yes yes GNU ld --with-gnu-ld=yes yes Quantum depth --with-quantum-depth=16 16 High Dynamic Range Imagery --enable-hdri=no no Delegate Configuration: BZLIB --with-bzlib=yes yes Autotrace --with-autotrace=no no DJVU --with-djvu=yes no DPS --with-dps=yes no FlashPIX --with-fpx=yes no FontConfig --with-fontconfig=no no FreeType --with-freetype=yes no GhostPCL None pcl6 (unknown) GhostXPS None gxps (unknown) Ghostscript None gs (unknown) result_ghostscript_font_dir='none' Ghostscript fonts --with-gs-font-dir=default Ghostscript lib --with-gslib=yes no Graphviz --with-gvc=yes no JBIG --with-jbig=yes no JPEG v1 --with-jpeg=yes no JPEG-2000 --with-jp2=yes no LCMS --with-lcms=yes no LQR --with-lqr=yes no Magick++ --with-magick-plus-plus=yes yes OpenEXR --with-openexr=yes no PERL --with-perl=yes /usr/bin/perl PNG --with-png=yes no RSVG --with-rsvg=no no TIFF --with-tiff=yes no result_windows_font_dir='none' Windows fonts --with-windows-font-dir= WMF --with-wmf=yes no X11 --with-x= no XML --with-xml=no no ZLIB --with-zlib=yes yes X11 Configuration: X_CFLAGS = X_PRE_LIBS = X_LIBS = X_EXTRA_LIBS = Options used to compile and link: PREFIX = /usr/local EXEC-PREFIX = /usr/local VERSION = 6.4.3 CC = gcc -std=gnu99 CFLAGS = -g -O2 -Wall -W -D_THREAD_SAFE -pthread MAGICK_CFLAGS = -g -O2 -Wall -W -D_THREAD_SAFE -pthread CPPFLAGS = -I/usr/local/include/ImageMagick PCFLAGS = DEFS = -DHAVE_CONFIG_H LDFLAGS = MAGICK_LDFLAGS = -L/usr/local/lib LIBS = -lMagickCore -lbz2 -lz -lm -lc_r CXX = g++ CXXFLAGS = -g -O2 -Wall -W -D_THREAD_SAFE -pthread
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.