Jump to content

timmah1

Members
  • Posts

    1,170
  • Joined

  • Last visited

About timmah1

  • Birthday 10/21/1971

Profile Information

  • Gender
    Male
  • Location
    Ohio

timmah1's Achievements

Advanced Member

Advanced Member (4/5)

0

Reputation

  1. Alright, I noticed mixing the 2, that was a screw up. I fixed that, but still get nothing. So your only solution is using PDO? I don't want to use PDO, But thank you for your suggestion. Now, would anybody else be able to help me out?
  2. I followed a tutorial on doing a contact form, works great. But, I want the information to be submitted in to my database to access later. The posted values are put into an array $fieldss = array('name' => 'First Name', 'surname' => 'Last Name', 'phone' => 'Phone', 'email' => 'Email', 'venue' => 'Venue', 'vname' => 'Contact', 'vaddress1' => 'Address', 'vaddress2' => 'Addresss', 'vcity' => 'City', 'vstate' => 'State', 'vzip' => 'Zip', 'vphone' => 'Phone', 'eventdate' => 'Event Date', 'eventtime' => 'Event Time', 'eventname' => 'Event Name', 'message' => 'Message'); Then the values are sent to my email. How can I take these values, and put them into my database? I've tried numerous different things, searched, and followed tutorials, but nothing is working. Here is the code I tried, but nothing gets inserted except my date fieild, but this is the first time something was inserted into the database if(is_array($fieldss)){ foreach ($_POST as $keys => $row) { $book_first = mysql_real_escape_string($fieldss[$row][0]); $book_last = mysql_real_escape_string($fieldss[$row][1]); $book_email = mysql_real_escape_string($fieldss[$row][2]); $query ="INSERT INTO booking (book_first, book_last, book_email) VALUES ( '". $book_first."','".$book_last."','".$book_email."' )"; mysqli_query($conn, $query); } if ($conn->query($query) === TRUE) { $okMessage = 'Form successfully submitted.<br>'; } else { $errorMessage = 'There was an error while submitting. '; } } Can somebody help me out here? Thank you in advance
  3. Your right, it says Warning: Cannot modify header information - headers already sent by (output started at index.php:1) in /index.php on line 9 Line 9 is the redirect. I don't understand what else to do
  4. ok, I have this now I get on error on Line 9 that headers were already sent (which is header('Location:admin-login.php') Nothing is output before my session_start() session_start(); include 'assets/config.php'; error_reporting(E_ALL); ini_set('display_errors', '1'); if(empty($_SESSION['user'])) { header('Location: admin-login.php'); exit; }
  5. Can anybody tell me why this is not working? session_start(); if (!isset($_SESSION['user'])) { header('Location: admin-login.php'); } No session is set, yet I can still view the page. I get no errors or anything. I'm at a loss because I've used this same thing for a lot of sites, and all of those work
  6. I understand that, but how would I incorporate that into this for($i=0; $i < count($_POST['element']); $i++){ $vars = ($_POST['element'][$i] . "<br> "); $mailbody .= $vars; //jQuery results here// echo $mailbody; } Isn't an alert mean it's like a popup and shows me what it has? Like I said, I have no idea how jQuery works, and I'm reading up on the docs, and I'm still lost.
  7. Thank you AyKay47. To be honest, I have no idea how to use that. How would I know what it's grabbing? Can you echo out what it grabbed? I know I sound like a moron, but I haven't the first clue with jQuery
  8. The form is saved like this in the database <div class="element"> <div class="option-container"> <span class="title " style="color:#26ADE4;font-family:Arial;font-size:2.2em;font-weight:bold;">Contact us</span></div> </div> <div class="element"> <div class="option-container"><div class="paragraph " name="element[]" id="element[]" style="color:#000000;font-family:Verdana;font-size:0.8em;font-weight:normal;width:300px;">To contact us, use the form below.<br>We will get back to you as soon as possible.</div></div> </div> <div class="element"> <label id="label-element-3" class="label" style="color:#4DBCE9;font-family:Trebuchet MS;font-size:1.2em;font-weight:normal;"> <span class="labelelementvalue">Email</span> <span class="required">*</span></label> <div class="errormessage" id="errormessage-element-3"></div> <div class="option-container"> <input class="af-inputtext af-email af-formvalue " type="text" name="element[]" id="element[]" value="" style="color:#000000;font-family:Verdana;font-size:0.8em;font-weight:normal;width:260px;border-style:solid; border-color:#dcdcdc;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;border-width:1px;padding:5px;"></div> </div> <div class="element"> <label id="label-element-4" class="label" style="color:#4DBCE9;font-family:Trebuchet MS;font-size:1.2em;font-weight:normal;"> <span class="labelelementvalue">Textarea</span></label> <div class="errormessage" id="errormessage-element-4"></div> <div class="option-container"> <textarea class="af-textarea af-formvalue " name="element[]" id="element[]" style="color:#000000;font-family:Verdana;font-size:0.8em;font-weight:normal;width:300px;border-style:solid; border-color:#dcdcdc;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;border-width:1px;padding:5px;" rows="6"></textarea></div></div> We did not build the way this works, just trying to modify it. Everything works the way we need it to except that part with the span class
  9. The information gets put into the span class when they make the form. So if they put a text field for email, Email will be put into the span class Same thing if they put a textarea and label it Comments, comments will be in the span class This can be done with jquery, or with anything that will pull the info out. I really appreciate any help you can give me
  10. Here's what the send function is if that helps $query = "SELECT recipients,formname FROM appforms WHERE id='$formid'"; $result = mysql_query($query); if($result == false) { user_error("Query failed: " . mysql_error() . "<br />\n$query"); } $row = mysql_fetch_assoc($result); $recpt = $row['recipients']; $formn = $row['formname']; $surname = 'Mobile App Form'; $email = 'noreply@lfa.co'; $header = "From: ". $surname ." <" . $email . ">"; $ip = $_SERVER['REMOTE_ADDR']; $httpref = $_SERVER['HTTP_REFERER']; $httpagent = $_SERVER['HTTP_USER_AGENT']; $today = date("F j, Y, g:i a"); $recipient = $recpt; $subject = $formn; for($i=0; $i < count($_POST['element']); $i++){ $vars = ($_POST['element'][$i] . "\r\n "); $mailbody .= $vars; }
  11. This is an actual form echo "<form id=\"myForm\" action=\"\" method=\"post\" data-ajax=\"false\">"; echo "<input type=\"hidden\" name=\"formid\" value=\"$formid\">"; echo stripslashes(html_entity_decode($formget->sources)); echo "<input type=\"submit\" value=\"Submit Form\" name=\"submitButton\" />"; echo "</form>"; These are custom built forms, that any of our customers can build themselves, then input into a database. Then when they are pulled out of the db, if puts whatever labels they created, and now I just need to be able to get the span class name once it's submitted
  12. We have a form <div class="element"> <div class="option-container"> <span class="title " style="color:#26ADE4;font-family:Arial;font-size:2.2em;font-weight:bold;">Contact us</span></div> </div> <div class="element"> <div class="option-container"><div class="paragraph " name="element[]" id="element[]" style="color:#000000;font-family:Verdana;font-size:0.8em;font-weight:normal;width:300px;">To contact us, use the form below.<br>We will get back to you as soon as possible.</div></div> </div> <div class="element"> <label id="label-element-7" class="label" style="color:#4DBCE9;font-family:Trebuchet MS;font-size:1.2em;font-weight:normal;"> <span class="labelelementvalue">Email</span> <span class="required">*</span></label> <div class="errormessage" id="errormessage-element-7"></div> <div class="option-container"> <input class="af-inputtext af-email af-formvalue " type="text" name="element[]" id="element[]" value="" style="color:#000000;font-family:Verdana;font-size:0.8em;font-weight:normal;width:260px;border-style:solid; border-color:#dcdcdc;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;border-width:1px;padding:5px;"></div> </div> <div class="element"> <label id="label-element-8" class="label" style="color:#4DBCE9;font-family:Trebuchet MS;font-size:1.2em;font-weight:normal;"> <span class="labelelementvalue">Textarea</span></label> <div class="errormessage" id="errormessage-element-8"></div> <div class="option-container"> <textarea class="af-textarea af-formvalue " name="element[]" id="element[]" style="color:#000000;font-family:Verdana;font-size:0.8em;font-weight:normal;width:300px;border-style:solid; border-color:#dcdcdc;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;border-width:1px;padding:5px;" rows="6"></textarea></div></div> Now, when this is submitted, our script grabs the values and sends the values through an email What we need to do, is grab every value that is in the <span class> This form is built dynamically, and then pulled from the database, so each <span class> value will be different. Each span class will have the name "labelelementvalue". What I need to accomplish is that when the form is submitted, how do I go about grabbing everything that is between <span class="labelelementvalue"></span> and displaying it? I know this has to deal with javascript and php, so I'm not sure where to post this. Thanks in advance
  13. Also, if I try installing from WHM, I get this downloading APC-3.1.9.tgz ... Starting to download APC-3.1.9.tgz (155,540 bytes) .................................done: 155,540 bytes 54 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 Enable internal debugging in APC [no] : Notice: Use of undefined constant STDIN - assumed 'STDIN' in PEAR/Frontend/CLI.php on line 304 Warning: fgets(): supplied argument is not a valid stream resource in PEAR/Frontend/CLI.php on line 304 Warning: fgets(): supplied argument is not a valid stream resource in /usr/lib/php/PEAR/Frontend/CLI.php on line 304 Enable per request file info about files used from the APC cache [no] : Notice: Use of undefined constant STDIN - assumed 'STDIN' in PEAR/Frontend/CLI.php on line 304 Warning: fgets(): supplied argument is not a valid stream resource in PEAR/Frontend/CLI.php on line 304 Warning: fgets(): supplied argument is not a valid stream resource in /usr/lib/php/PEAR/Frontend/CLI.php on line 304 Enable spin locks (EXPERIMENTAL) [no] : Notice: Use of undefined constant STDIN - assumed 'STDIN' in PEAR/Frontend/CLI.php on line 304 Warning: fgets(): supplied argument is not a valid stream resource in PEAR/Frontend/CLI.php on line 304 Warning: fgets(): supplied argument is not a valid stream resource in /usr/lib/php/PEAR/Frontend/CLI.php on line 304 Enable memory protection (EXPERIMENTAL) [no] : Notice: Use of undefined constant STDIN - assumed 'STDIN' in PEAR/Frontend/CLI.php on line 304 Warning: fgets(): supplied argument is not a valid stream resource in PEAR/Frontend/CLI.php on line 304 Warning: fgets(): supplied argument is not a valid stream resource in /usr/lib/php/PEAR/Frontend/CLI.php on line 304 Enable pthread mutexes (default) [yes] : Notice: Use of undefined constant STDIN - assumed 'STDIN' in PEAR/Frontend/CLI.php on line 304 Warning: fgets(): supplied argument is not a valid stream resource in PEAR/Frontend/CLI.php on line 304 Warning: fgets(): supplied argument is not a valid stream resource in /usr/lib/php/PEAR/Frontend/CLI.php on line 304 Enable pthread read/write locks (EXPERIMENTAL) [no] : Notice: Use of undefined constant STDIN - assumed 'STDIN' in PEAR/Frontend/CLI.php on line 304 Warning: fgets(): supplied argument is not a valid stream resource in PEAR/Frontend/CLI.php on line 304 Warning: fgets(): supplied argument is not a valid stream resource in /usr/lib/php/PEAR/Frontend/CLI.php on line 304 building in /root/tmp/pear/pear-build-root3FjwHQ/APC-3.1.9 running: /root/tmp/pear/APC/configure --enable-apc-debug=no --enable-apc-filehits=no --enable-apc-spinlocks=no --enable-apc-memprotect=no --enable-apc-pthreadmutex=yes --enable-apc-pthreadrwlocks=no checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /usr checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib checking for PHP extension directory... /usr/lib/php/extensions/no-debug-non-zts-20060613 checking for PHP installed headers prefix... /usr/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... invalid configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable APC support... yes, shared checking whether we should enable cache request file info... no checking whether we should use mmap... yes checking whether we should use semaphore locking instead of fcntl... no checking whether we should use pthread mutex locking... yes pthread mutexs are supported! checking whether we should use pthread read/write locking... no checking whether the target compiler supports builtin atomics... no checking whether we should use spin locks... no checking whether we should enable memory protection... no checking for zend_set_lookup_function_hook... no checking for sigaction... yes checking for union semun... no checking whether we should enable valgrind support... checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for shm_open in -lrt... yes checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool configure: creating ./config.status config.status: creating config.h running: make /bin/sh /root/tmp/pear/pear-build-root3FjwHQ/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-root3FjwHQ/APC-3.1.9/include -I/root/tmp/pear/pear-build-root3FjwHQ/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc.c -o apc.lo mkdir .libs cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/root/tmp/pear/pear-build-root3FjwHQ/APC-3.1.9/include -I/root/tmp/pear/pear-build-root3FjwHQ/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc.c -fPIC -DPIC -o .libs/apc.o In file included from /root/tmp/pear/APC/apc.c:44: /usr/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory In file included from /root/tmp/pear/APC/apc.c:44: /usr/include/php/ext/pcre/php_pcre.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/php/ext/pcre/php_pcre.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/include/php/ext/pcre/php_pcre.h:52: error: expected specifier-qualifier-list before 'pcre' /root/tmp/pear/APC/apc.c:393: error: expected specifier-qualifier-list before 'pcre' /root/tmp/pear/APC/apc.c: In function 'apc_regex_compile_array': /root/tmp/pear/APC/apc.c:454: error: 'apc_regex' has no member named 'preg' /root/tmp/pear/APC/apc.c:454: error: 'apc_regex' has no member named 'preg' /root/tmp/pear/APC/apc.c:455: error: 'apc_regex' has no member named 'nreg' /root/tmp/pear/APC/apc.c:455: error: 'apc_regex' has no member named 'nreg' /root/tmp/pear/APC/apc.c: In function 'apc_regex_match_array': /root/tmp/pear/APC/apc.c:487: error: 'apc_regex' has no member named 'preg' /root/tmp/pear/APC/apc.c:487: error: 'apc_regex' has no member named 'preg' /root/tmp/pear/APC/apc.c:488: error: 'apc_regex' has no member named 'nreg' /root/tmp/pear/APC/apc.c:488: error: 'apc_regex' has no member named 'nreg' make: *** [apc.lo] Error 1 ERROR: `make' failed The APC.so object is not in /usr/local/lib/php/extensions/no-debug-non-zts-20060613
  14. Thorpe, I know this is an older thread, but I'm still trying to install APC on the server, and I'm getting errors. Here is everything WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update downloading APC-3.1.9.tgz ... Starting to download APC-3.1.9.tgz (155,540 bytes) .................................done: 155,540 bytes 54 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 Enable internal debugging in APC [no] : Enable per request file info about files used from the APC cache [no] : Enable spin locks (EXPERIMENTAL) [no] : Enable memory protection (EXPERIMENTAL) [no] : Enable pthread mutexes (default) [yes] : Enable pthread read/write locks (EXPERIMENTAL) [no] : building in /var/tmp/pear-build-root/APC-3.1.9 running: /root/tmp/pear/APC/configure --enable-apc-debug=no --enable-apc-filehits=no --enable-apc-spinlocks=no --enable-apc-memprotect=no --enable-apc-pthreadmutex=yes --enable-apc-pthreadrwlocks=no checking for egrep... grep -E checking for a sed that does not truncate output... /bin/sed checking for cc... cc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/extensions/no-debug-non-zts-20060613 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... re2c checking for re2c version... invalid configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... gawk checking whether to enable APC support... yes, shared checking whether we should enable cache request file info... no checking whether we should use mmap... yes checking whether we should use semaphore locking instead of fcntl... no checking whether we should use pthread mutex locking... yes pthread mutexs are supported! checking whether we should use pthread read/write locking... no checking whether the target compiler supports builtin atomics... no checking whether we should use spin locks... no checking whether we should enable memory protection... no checking for zend_set_lookup_function_hook... no checking for sigaction... yes checking for union semun... no checking whether we should enable valgrind support... checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for shm_open in -lrt... yes checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 98304 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no creating libtool appending configuration tag "CXX" to libtool configure: creating ./config.status config.status: creating config.h running: make /bin/sh /var/tmp/pear-build-root/APC-3.1.9/libtool --mode=compile cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-root/APC-3.1.9/include -I/var/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc.c -o apc.lo mkdir .libs cc -I. -I/root/tmp/pear/APC -DPHP_ATOM_INC -I/var/tmp/pear-build-root/APC-3.1.9/include -I/var/tmp/pear-build-root/APC-3.1.9/main -I/root/tmp/pear/APC -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/tmp/pear/APC/apc.c -fPIC -DPIC -o .libs/apc.o In file included from /root/tmp/pear/APC/apc.c:44: /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory In file included from /root/tmp/pear/APC/apc.c:44: /usr/local/include/php/ext/pcre/php_pcre.h:45: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/php/ext/pcre/php_pcre.h:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/php/ext/pcre/php_pcre.h:52: error: expected specifier-qualifier-list before 'pcre' /root/tmp/pear/APC/apc.c:393: error: expected specifier-qualifier-list before 'pcre' /root/tmp/pear/APC/apc.c: In function 'apc_regex_compile_array': /root/tmp/pear/APC/apc.c:454: error: 'apc_regex' has no member named 'preg' /root/tmp/pear/APC/apc.c:454: error: 'apc_regex' has no member named 'preg' /root/tmp/pear/APC/apc.c:455: error: 'apc_regex' has no member named 'nreg' /root/tmp/pear/APC/apc.c:455: error: 'apc_regex' has no member named 'nreg' /root/tmp/pear/APC/apc.c: In function 'apc_regex_match_array': /root/tmp/pear/APC/apc.c:487: error: 'apc_regex' has no member named 'preg' /root/tmp/pear/APC/apc.c:487: error: 'apc_regex' has no member named 'preg' /root/tmp/pear/APC/apc.c:488: error: 'apc_regex' has no member named 'nreg' /root/tmp/pear/APC/apc.c:488: error: 'apc_regex' has no member named 'nreg' make: *** [apc.lo] Error 1 ERROR: `make' failed Think you could help me out here?
  15. I appreciate your help Thorpe. I am just a newbie with servers, and I'm sure I'll be back here for some help, but I really do appreciate all the help you have given me Thanks again
×
×
  • 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.