PHP Installation With Pgsql
I got PostgreSQL installed and now I'm trying to get PHP installed too. I do ./configure --with-pgsql and everything works fine. But when I do make, I get this error:
ext/mysql/libmysql/my_lib.o(.text+0x37a): In function `my_dir':
/home/marc/extract/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.o(.text+0x546): In function `my_stat':
/home/marc/extract/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/home/marc/extract/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
I need php installed soon. I don't know what is causing this error to occur.
View Complete Forum Thread with Replies
Related Forum Messages:
--with-pgsql=WHERE?
I need an installation with Postgres support, and was happy to find in my phpinfo that there was a --with-pgsql=shared option in the config line. but I still got "call to undefined function: pgsql_connect (4.3.11) So I figured whatev, I'll put a new installation (PHP5, in fact), but I always fail config with: Cannot find libpq-fe.h. Please specify correct Postgresql installation path 'course i looked in my handy old webmin to see where Postgres might be... tried various paths I found in various places --with-pgsql=/var/lib/pgsql/ --with-pgsql=/usr/share/pgsql --with-pgsql=/usr/bin/psql obviously not a lib, but getting desparate...
View Replies !
Hosting PHP And PGSQL DB
Can anyone recommend somewhere that offers cheap or even free web hosting for PHP scripting with a PGSQL database? I am looking to build a small website with some images and dynamic content, such as a forum/message board and wondered what it would cost me for this? I used to use themooseisloose for hosting (one-off payment of £2.77 GBP), but have been alerted that have gone bust (at some point at the end of last year). I've have googled, but was just wondering if anyone had any positive experiences of hosts that will allow this setup mentioned cheaply.
View Replies !
Error Management : Php-pgsql.
My goal : obtain the error message if the connection fail. ## my code : <?php $cnxString = "host=localhost port=5432 dbname=toto user=atlante password=aiThoo3g"; $pgsql_conn = pg_connect($cnxString, PGSQL_CONNECT_FORCE_NEW); if ($pgsql_conn) { print "Connexion réussie à : " . pg_host($pgsql_conn) . "<br/> "; } else { echo pg_last_notice($pgsql_conn); exit; } ?> ## if «php_value display_errors 1» the screen result is this one : Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL server: FATAL: la base de données «toto» n'existe pas in /home/willou/public_html/atlanpolis/wwws/tools/checkdb.php on line 5 Warning: pg_last_notice() expects parameter 1 to be resource, boolean given in /home/willou/public_html/atlanpolis/wwws/tools/checkdb.php on line 10 ## If not, i haven't got any result. The message just appears in my logs The return of pg_connect not seems to be an connection resource when the connection fails.
View Replies !
My Dad Wants PHP & MySQL Or PgSQL Hosting
To my surprise last month, my dad wanted to start dabbling in PHP and MySQL or pgSQL. I've been helping him out a bit. He's into athletic medicine and wants to have a website to help athletes and physical therapists improve performance. His current web hosting provider -- Earthlink -- doesn't give him anything but PHP 3.0.x. I want to get him at least on PHP 4.2.x (or better) along with either MySQL or PostgreSQL (pgSQL) support. I've done some googling on this, but I wanted real user opinions on cost, customer support, uptime, etc. At this point he's just looking at something that suits him somewhere between hobbyist and early sole proprietorship strength. Shared web hosting would suit him fine. Cost might be an issue for him initially. He's going to need some sort of simplistic web interface to be able to create databases, tables, and user accounts.
View Replies !
Pgsql Socket Timeout
I am encountering a problem with PHP5 and postgresql on a fedora core 3 box. I have a database driven report application written in PHP5 on a remote server. This application allows a user to submit a sql statement created by php based on user input parameters to the postgresql server. The application works great as long as the database server can return the result set within what appears to be 2 minutes. If the query takes longer than two minutes to execute the database server will eventually finish the work *but* no rows of data appear on the web page. I am thinking that the network socket connection between the php engine and the postgresql database server gets dropped after two minutes and that is way the results never arrive at the php page. If you think this might be a plausible explanation can you provide some assistance as to how I can go about adressing this problem?
View Replies !
Ubuntu Php4-pgsql
I found some strange kind of mild install bug when installing Ubuntu 5.04 php4-pgsql module (the module that connects PHP4 to PostgreSQL). You may encounter the error: Call to undefined function: pg_connect() No amount of using Synaptic Package Manager would fix this for me. The solution was all at command line under 'root' account: $ apt-get update $ apt-get install php4-pgsql $ /etc/init.d/postgresql restart $ /etc/init.d/apache2 restart
View Replies !
MySQL And PGSQL And Hostname Question
i would like the thoughts of some folks with more experience than i have. i want to learn pgsql. i have some vb and msaccess experience and would like to learn how to use php and pgsql to develop some nice website / application functionality. however, i'm not sure the hurdle of relatively miniscule documentation and tutorials is worth the effort. i'm now thinking i should just use mysql to start and, if the need really arises, move over to pgsql. i'm busy with a lot of stuff right now - regular job, starting a business, developing a web site for the business, learning graphics programs, living life, blah, blah, blah. what is your opinion? go with the better documented db and develop more quickly but have to possibly switch over later when time may be more available and retain my hair or bite the bullet and go with pgsql? differing opinions are appreciated and encouraged so i can evaluate them based on my own set of values. also i am trying to set up localhost as my url so my hardcoded links work on my local win98 machine (actual webserve is linux). host.sam is as follows... 127.0.0.1 localhost www.easyautodeals.com my apache httpd.conf file shows the following for ServerName: ServerName www.easyautodeals.com however, when i type easyautodeals into my web browser, i go straight to my actual web server and not to my "localhost" location.
View Replies !
Irritating Warning On ->PEAR->DB->PGSQL
I am getting following message from pear. I am running RedHat 8.0, PostgreSQL is 7.3.2 PHP Version 4.2.2 and pear:db 1.6.5. Warning: pg_errormessage(): supplied argument is not a valid PostgreSQL link resource in /usr/share/pear/DB/pgsql.php on line 449 Any idea.
View Replies !
PGSQL 7.4.8 PHP 4.3.4 & Apache 2.0.49 Segmentation Fault With Client Certs
Having an issue that is specific to PHP compiled with PGSQL support with versions noted in subject line. I understand that there are many variables to consider here but believe I have narrowed down the Apache Client Cert failures to my PHP/PGSQL build. 1. Apache PHP without PGSQL works as expected using client certificates 2. Apache PHP with PGSQL works fine with standard SSL connections 3 Apache PHP with PGSQL fails with client certificates - no output other than Segmentation faults in the apache error logs as follows: [Wed Nov 30 23:26:57 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec2).... I also performed same tests on another instance of Apache/PHP/PGSQL which was version 2.0.54 of apache and PHP/PGSQL versions same as subject line with same exact results. Any ideas as to the source of this problem and suggestions for tests/fixes are greatly appreciated. There are no errors in any of the logs other than what I have included so it's very difficult to see what is wrong. All I know for sure is that I am able to reproduce the results on more than one machine.
View Replies !
PhpMyAdmin Installation - Thorough Installation Guide.
I am trying to install phpMyAdmin-2.6.3-pl1 on my machine because I am familiar with working with it itself, but not installing it. I have Apache 2.0.54, php 4.4.0, mysql 4.1.14 running on a Win XP Home machine. Like I said, I've never installed phpMyAdmin before and I've looked at the documentation and I can kinda make out what it says, but I'd rather try to find a very thorough installation guide.
View Replies !
Php Installation
i've just bought PHP and MySQL web development by luke welling and laura thomson. although this book comes with the software i'm finding it difficult understanding the installation instructions for apache php and mysql and linking them together, how come there's 2 folders for each, binary and source? it might be easier if i download the software from thier respective websites and start afresh, i'm using windows 98 and just looking to build a testing platform....
View Replies !
Installation On XP
I have to install php in my PC. My os is XP. What are the steps that i have to take in order to implement the above. If we once install mysql-admin we whether i can uninstall it from my system?
View Replies !
PHP 5 Installation
I've just downloaded the PHP5 Zip release. I followed the instructions and, like it said, got it working fine without extensions. I then tried enabling an extension to see if it worked, but I got a "DLL Not Found Message". The path it gave was the correct path (C:Program FilesPHP5libsphp_mysql.dll) and I've checked and the file exists, so what could be going wrong?
View Replies !
GTK Installation
How to install PHP-GTK? The Windows binary installation packages found on gtk.php.net are missing .DLLs from winnt directory. Only php.ini is there. And I don't know where to find these. I tried to install GTK using the unofficial Windows installer (michel.weimerskirch.net), and test scripts from gtk.php.net install packages work, but buttons are missing any text (and maybe more than just buttons). In other words, it doesn't work. Am I missing something super-obvious here,or ?
View Replies !
My Php Installation
I installed the php-4.4.7-Win32 and apache_2.2.6-win32-x86-openssl-0.9.8e manually. Apache can work well, but when use the test.php, which is located in C:Apachehtdocs, I get the following error: erroe 403: Forbidden You don't have permission to access /php/php.exe/test.php on this server.
View Replies !
DLL Installation
I develop one astrological site,i use some DLL's like 'Swiss Ephemeris',my problem is how to use this DLL in my PHP program where i store this DLL file in my webserver.
View Replies !
5 / IIS 5.1 Installation
I have been using PHP5 on my Apple, but now I also have a Windows XP and I'm having trouble completing the install. I did a manual install and followed the directions from http://us3.php.net/manual/en/install.windows.manual.php. I am installing using the CGI binary rather than the ISAPI module. The one step I couldn't figure out how to do is: Code:
View Replies !
Installation On MAC
offer an opinion on the best way to install PHP locally on my Mac OSx (10.4.6).I am currently working with a company who only have macs and I need to develop a PHP website. I want to be able to test my website locally alongside a MySQL database what's the easiest and most efficiant way to do this.
View Replies !
5 Installation
can anybody give me step by step instruction for php 5 installation or any link in windows XP. i am using apache 2.
View Replies !
PWS Installation
I used the easy windows install for php after i got my pws installed in win98. I had trouble saving files, but figured that out. Then, I got an error message, and figured out it was cause i needed to have execute clicked. So that was settled. Then I was getting a "The page cannot be displayed" error. So I looked around, and I think here I read about someone who was having the same problem, but did the regedit thing and it worked. I did the regedit thing, rebooted, and it still doesn't work. If I go through with http://localhost.. it gives me that 'the page cannot..' error. If i double click a php file, a blank IE page opens.
View Replies !
NT Installation (with IIS4)
After installing PHP on an NT we are having a few problems. First we can't seem to pull up files with the extension .html but the same files will work using the extension .phtml Is this normal for NT use? No big deal if so. Second, and most important, (in a PHP program that does work on another server) I am getting the following error from pages that use ' if ($submit) '. ************************** Warning: Undefined variable: submit in includes/product.inc on line 20 ************************** The program does work correctly, it just gives this warning. What have we missed? Oh yea, we are also getting warnings referring to variables used in an email() at the end of the entire site. But the variables are coming through with the email.
View Replies !
XML Parser Installation
I am using RH 7.1 with Php4.1.0 and Apache 1.3.22 .... I have installed libxml and zlib also configured php with dom support. now problem is that when i try to open xml file it gives following error: Fatal error: Call to undefined function: xmldocfile() in /development/test.php on line 19 any idea where is the problem ?
View Replies !
Installation Problem - 4.3.0 - 4
I've tried installing php 4.3.0 and .4 and keep getting the same problem. When I 'make' the install I end up with an error: /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:22:19: httpd.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:23:25: http_config.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:33:23: http_core.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:34:23: http_main.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:35:27: http_protocol.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:36:26: http_request.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:37:25: http_log.h: No such file or directory /usr/local/src/webserver/php-4.3.0/sapi/apache/php_apache_http.h:38:25: util_script.h: No such file or directory make: *** [sapi/apache/sapi_apache.lo] Error 1
View Replies !
PhpMyAdmin Installation
I am trying to install phpMyAdmin 2.8.2 and have a question about config.inc.php. Is it necessary to include all of the $cfg fields in config.default.php, or is it ok to just have whichever fields I explicitly need customized, such as $cfg['Servers'][$i]['auth_type']? I am not clear on whether there are any security risks by not explicitly stating every field in config.default.php in my actual config.inc.php and whether or not the program will know to default to variables I don't state, even though everything seems to work fine without all of this info. I could not find this info anywhere in the phpMyAdmin documentation, which talks about setup.php but doesn't clarify if I need every field.
View Replies !
Installation Debugging
1)I get startup error messages: "Unable to load dynamic library c:phpphp_curl.dll - the specified file cannot be found" although the file is very much there at exactly that location Not only for this file but for many extension files like php_mysql.dll, php_oracle.dll, php_mssql.dll, php_exif.dll etc. 2)the extensions_dir setting is "c:php" without an ending backslash. 3)The php.ini file is residing at c:php 4)The php.ini file in c:windows has all extensions disabled so it does not look as though that php.ini file is the source of the messages 5)There is a extension entry for php_win32api.dll which also gives a not found error. Is it the older version of php_win32std.dll, php_win32service.dll and php_win32scheduler.dll files which are present but their names are not there by default in the php.ini ? ************************************************** ************************************************ 6)How do I debug PHP like you can debug Java in Eclipse or NetBeans and C/C++ in MS Visual Studio - with breakpoints and stepping? ************************************************** ************************************************ 7)database access through odbc works. 8)How do I install PHP as both a CGI extension under Apache 2.0.5x and as a module (php5apache2.dll with a LoadModule in httpd.conf) - Apd which is a part of PEAR requires that php be installed as a CGI binary - is apd good for interactive debugging?
View Replies !
PHP Installation - IE Does Not Display Anything
I downloaded PHP 4.3.4 version from the PHP website, (Windows Installer). I configured IIS on the Windows XP Professional. I installed the PHP. But when i run the sample script <? php phpinfo(); ?>, IE does not display anything. Is there anything i have to do other than simply installing PHP.
View Replies !
Installation Tutorial
I'm having trouble with my windows PHP/MySQL. I have a few years experience with ColdFusion, so I'll do OK once I get the basics figured out. I ran the windows installer. I believe I have 4.3 installed. I've run through some of the kindergarten tutorials. But now I get to the tutorial on Creating a PHP login script and it's assuming I know all kinds of things like how to create a frigging batabase in the MySQL that I installed. It doesn't appear there's a user interface for MySQL built in, so I installed MyAdmin. But I can't seem to configure that. This tutorial tells me to put in my username, pw, dbhost, and db name. I have no idea where to start!
View Replies !
PHP4 Installation
I have installed PHP4 many times with no problems, but this time im stuck. The system is Windows XP Pro SP1, it was just installed fresh. Web server software is Visnetic WebSite Pro, Latest build. PHP v4.3.2. Everything installs fine as far as i can tell and I setup all the needed settings in the web server. When ever I try to use PHP files on my server all I get is internet explorer saying the page cannot be displayed. I dont understand what I have done wrong, its the same setup I always use, same for the settings.
View Replies !
Oracle Installation
I have install the Oracle on remote machine and write a simple code to connect with remote machine...but i 'm not able to get wht setting we have to do in php to run for Oracle..i got some drafts from internet...i uncomment the extension in php.ini (php_oci8.dll) then copy this .dll to extension_dir path of php.ini...and then copy the oci.dll and php_oci8.dll to windows/system...when i run apache shows warning... "Unable to load dynamic library ‘D:PHPextensions/php_oci8.dll’ – The specified procedure could not be found."
View Replies !
Standalone PHP Installation
I have never installed PHP before. It's always been set up for me. I have a client whose site is hosted as a virtual server. I'm trying to set up ecom for him, but the mhash library is not installed. So I use fopen to open a script on my website that hashes the variables. Obviously, this is not ideal because if my site goes down his ecom will too. I asked the tech people at his hosting company to set that up, but they said they don't do custom compilations. "As per compiling PHP with --with-mhash=[DIR] this is how that works: any custom compilations, custom applications, etc. are up to the user to compile and install. Use gcc/etc. to compile PHP with the options that you like. The php.ini in /etc is available for your customization as well. If you compile your own binary of PHP, you can place it where you like (or leave it at the default) and get the paths updated to use it, or you can obviously use it directly if necessary." I was planning on compiling a new, minimalist version of PHP (with just mhash) in a different directory, but I'm hesitant to do it in case I get unexpected results (I don't want to take the rest of his site down). Can anyone tell me if this sounds feasible? What kind of pitfalls can I expect? And can anyone recommend a tutorial? Most of the tutorials I've found assume you have root access and/or are compiling PHP/Apache together. I was also wondering if it would be possible to just compile the mhash library and add it to php.ini? That seems to be the simplest thing, though I don't know if it would work...
View Replies !
GD Installation Problem
I'm haveing some problems I'm trying to generate bar charts dynamically by pulling data from an MS Access databasae using an ODBC connection and then generating the bar charts, this is all on WinXP Pro by the way. I have no problems with getting the data out of the database and sorting it. I was using this tutorial http://www.phpbuilder.com/columns/w...er20001218.php3 as a guidline to generating the images, but nothing seems to be working for me. My problem is that I cannot generate any images using any of the GD image functions. I have loaded the php_gd2.dll in the php.ini file and I can see that the dll is loaded when I do a phpinfo(); the probelm is that none of the pages are generating any images.
View Replies !
Soap Installation
can anybody help me to implement soap into my system?..i think this is the answer to my problem but i really dont know how to do it..ive been reading about it but i really cant understand it..
View Replies !
Problem With A New Installation
After months of waiting for Redhat to come out with up to date rpms, I decided to compile a working OpenSSL/ MySQL / PHP / httpd installation for myself. Installed the latest versions of mcrypt and mhash, followed by openssl and mysql (version 4.0.13) - all from source. Configured httpd with : ./configure --enable-so --enable-cgi --enable-vhost-alias --enable-suexec --enable-info --enable-ssl --enable-cgid --with-ssl=/usr/local/ssl Then compiled PHP as : ./configure --with-mcrypt=/usr/local/lib/libmcrypt --with-mhash=/usr/local/lib/libmhash/ --prefix=/usr/local/php --with-apache2=../../apache/httpd-2.0.47 --with-mysql=/usr/local/mysql --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --localstatedir=/var --mandir=/usr/share/man --sysconfdir=/etc --infodir=/usr/local/php/share/info --with-apxs2=/usr/local/apache2/bin/apxs --enable-mbstring --with-gettext --with-zlib --with-gd --enable-discard-path --enable-ftp --with-curl --with-pear --with-jpeg-dir --with-png-dir --enable-force-cgi-redirect --enable-debugger --with-openssl=/usr/local/ssl/ Now after going through some configuration, I find that I cannot seem to browse any SSL (https) links on a website that I was developing (which worked perfectly with what I had earlier). I know this is probably not enough info for you to help me, but since I did this for the first time, I am not sure what is relevant to my problems and what is not.
View Replies !
Fileinfo Installation
I am trying to install the Fileinfo pecl extension, on CentOS 4.5, with php 5.2.3. After running the following command I get: [root@host ~]# pecl install fileinfo downloading Fileinfo-1.0.4.tgz ... Starting to download Fileinfo-1.0.4.tgz (5,835 bytes) ......done: 5,835 bytes 3 source files, building running: phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 /usr/local/bin/phpize: /tmp/pear/cache/Fileinfo-1.0.4/build/shtool: / bin/sh: bad interpreter: Permission denied Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable is set correctly and then rerun this script. ERROR: `phpize' failed
View Replies !
PHP Installation Problem.
I had installed Apache2 and it working correctly. Then, I download PHP5 and do the installion. Toward the end of the installation process, it said something about httpd.conf. I then read the installation guide and I still could not figure out to make PHP to work. Can someone tell me where to fix this problem?
View Replies !
Installation Question
I'm using Windows Server 2000 with Apache with a secondary hard drive which will contain the http information. Does php have to be installed in the http drive or the root windows directory?
View Replies !
Xampp Installation
I installed basic xampp with the installer from http://www.apachefriends.org/en/xampp-windows.html#524. When I started Apache from the panel, I got a window with the error message: This application has failed to start because php_mbstring.dll was not found. Re-installing ... I tried to re-install but it did not help. I found in the web references to this problem but everything that they suggest is already correct at my php.ini: definition of extension_dir and php_exif.dll appears after mbstring. In the control-panel - the status of Apache is running and the start button was replaced by a stop button.
View Replies !
Installation Problem
Trying to install cgi PHP 4.3.4 on my win98 computer, I am stuck. When applying php.exe to a file test.php containing '<?php phpinfo();?>' via the command line, it produces the desired result. But when I try to access the same script via the browser (IE5), it just shows "No input file specified." I am using a simple python script as webserver (using a slightly modified version of CGIHTTPRequestHandler.py), which calls 'php test.php ""' and does not detect any error. I also tried Xitami, which gives the same result ("No input file specified.").
View Replies !
Database Installation
I am trying ti install my DB, but keep getting a parse error unexpected T_String on line 22. I have used the same method to install another DB with no problems. I think I just need another set of eyes. Code:
View Replies !
Installation On Suse9.1
I have a problem to install php-4.3.6 from the tarball to a SuSE9.1 apache2 system. compilation at all works fine. But if I like to do make install I got a failure: /etc/apach2/httpd2-prefork.conf not found What does this mean? Where could I found an example of this config file.
View Replies !
Installation Question MS IIS
Can someone please confirm the following for me. If I am installing php (4 or 5) on Windows (with IIS) and I am NOT using the Windows installer, but instead the windows php*.zip installation, I need only 1. Unzip the file to a directory. (say...c:php) 2. Create my php.ini, and if I put it in c:php I am ok(?) 3. Configure IIS for php. Is that it? I mean, can someone confirm for me that this is all (in a nutshell) I need to do get php (basically) running on a Windows IIS machine?
View Replies !
Pear Installation On Win XP
I want to install Pear on Windows XP.I,ve WAMP(Winows,Apache,MySQL,PHP) installed & configured properly in order to test/process/parse my PHP scripts successfully. But I,m unable to install & use pear.
View Replies !
Installation, Debugging
(I am posting from a web interface- google groups, yet the message is not appearing on the group, so am posting again, if you get two of the same kindly ignore one) 1)I get startup error messages: "cannot load c:phpphp_curl.dll - the specified file cannot be found" although the file is very much there at exactly that location Not only for this file but for many extension files like php_mysql.dll, php_oracle.dll, php_mssql.dll, php_exif.dll etc. Code:
View Replies !
GD Extension Installation
i am running PHP 5.2.3 on Ubuntu Server 7.10 now it does not come with the GD Library installed. Now i downloaded and extracted the files onto the server i am just no sure how i am meant to install them i cant find any .so files and the readme says run config but that gets an error stright away.
View Replies !
Phpnuke Installation
I copied over the phpnuke html files (latest version from sourceforge), created a mysql DB, added the settinsg to the config file. Anything else I need to do? When I run admin.php, I get a completely blank page. Looking at the html source in the, it is a valid html file but with no content at all. Any ideas?
View Replies !
Installation Of Zziplib
I have a problem, I´m trying to install a pecl extension called zziplib of php in my server. I have read that I must execute this command : ./configure --with-zip=/usr. It seems that after executing "make" and "make install" everything is ok, but phpinfo(); does not show the new extension.
View Replies !
Installation Query
I installed xampp this morning which seemed to go fine other than Windows firewall blocking Apache initially but that is now resolved. My problem comes when I try to run a simple form that should output the data to an email all that happens when I preview in browser and click the submit button is the browser then shows the plain text php code. <? $name = $_REQUEST['name']; $email = $_REQUEST['email'] ; $comments = $_REQUEST['comments'] ; mail( "email goes here", "Feedback Form Results", $message, "From: £name, $email" ); header( "Location: Web address for redirect goes here" ); ?> So my question is am I missing something in the setup that is making this happen?
View Replies !
|