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 Complete Forum Thread with Replies
Related Forum Messages:
Segmentation Fault??
set up MySQL 3.23 version on Red Hat Linux 9.0, and seems mysql daemon works correctly, and when ý try to reach MySQL command line it gives an error as "segmentation fault" .. What caused to this..?? is it about try to reach memory field that was restricted or not allowed to use or bug??
View Replies !
Php Does Segmentation Fault
I downloaded PHP 5.0.4 and compiled it with MySQL support. I checked that my database was up and running and that the table I wanted to access was accessible from the mysql prompt. I then ran the following PHP file, first through my webserver and then at the command line, with the same result each time: PHP segfaulted. The file:
View Replies !
Segmentation Fault
Anyway, I have setup a network that needs to run for several thousand iterations. I am executing the script from the command line, and hoping to let it run, but I get the following behavior: I enter: zMac:~ mdz$ /usr/local/bin/php /Library/WebServer/Documents/nn/v2/bin/Network.class.php It works, and I can track the progress in a log output file. Then a few second later, I get: Segmentation fault zMac:~ mdz$ And a popup informs me that php has quit unexpectedly. Does anybody know anything about a segmentation fault, what might be causing it, and how I can fix it? I don't know a lot about php beyond the language grammar, and am not familiar with this error.
View Replies !
Segmentation Fault At The End Of Script
I'm writing a php script which deals with 3 ORACLE databases. This script is launch by a script shell on an linux machine like this : /../php/bin/php ./MySript.php (PHP 4.3.3) My script works fine and do all what I need. But at the end of the execution, I can read "Segmentation Fault". The segmentation fault appear at the end of my script execution, no line code is responsible of this. Somebody has been confronted with this problem ?
View Replies !
What Should I Do When There Is A Segmentation Fault In My Php Script
It works perfectly well before but today my browser cannot get this php script i tried to run it in the localhost and it reported a seg fault :( i donot konw what to do.....:( restarting the computer didnot work. and i donot think the problem lies on the code.. even it is i only want it all come back to the good old days when the same php script works well..
View Replies !
Fgetcsv - Segmentation Fault
Is there any way to have a variably sized fgetcsv? I've got a 1.2GB csv file and halfway through, there's some very long data and I hit a "Segmentation Fault". while (($data = fgetcsv($fh, 70000))) I don't want to increase the memory any more. Can't I just continue if it doesn't fit? No?
View Replies !
Segmentation Fault, File
I'm using php 4.2.2 and I get a Segmentation fault every time I use file() on a URL. $page = file('http://'.$link); Is this a bug or a bad install of php? The strange thing is that I think it was working before, but I'm not 100% sure of this.
View Replies !
Segmentation Fault On Command Line
I have a script running in the wee hours via cron job. When I access the script via browser it works like a charm. I noticed it was not succeeding and ran it manually from the command line and it threw a Segmentation Fault. Googling produces a ton of information on this subject but al of specific to certain binaries and it doesn't seem germaine to solving my problem. <? mysql_connect('mysql.example.com', 'example', 'example'); mysql_select_db('example'); mysql_query("DELETE FROM aniSessionLog WHERE timestamp < NOW() - 900"); $rows = mysql_affected_rows(); mail('jg@example.com', 'cleaned Intranet DB', "$rows rows deleted."); ?>
View Replies !
Segmentation Fault On Image Create
i want to do ImageString ($im, 10, 5, 5, "..........", $text_color); ImagePng ($im) i get a Segmentation fault in Apache error log Apache version 1.3.28 gdlib 2.0.15 libpng 1.2.5 php 4.3.2 Stable everything self compiled. i tried to compile a bunch of other versions on gd like 2.0.10, but got no better result Reproduce code: --------------- <? header ("Content-type: image/png"); $im = @ImageCreate (650, 100) or die ("Auf diesem Server funktioniert die Erstellung von PNG Grafiken nicht"); $background_color = ImageColorAllocate ($im, 255, 25, 255); $text_color = ImageColorAllocate ($im, 233, 255, 91); ImageString ($im, 10, 5, 5, "Auf diesem Server funktioniert die Erstellung von PNG Grafiken", $text_color); ImagePng ($im); ?> Expected result: ---------------- nothing happens. Segmentation faul of a Child process in Apache error_log
View Replies !
Segmentation Fault If I Call This More Than One Time
If I call mergeProfiles() only one time, it is fine. However, if I call it more than one time (say twice), then it will returns a segmentation fault... any ideas? $res is a result of a call to mysql_query() function mergeProfiles($res) { $merge = mergeRes($res); $profiles = array(); foreach($merge as $key=>$value) { array_push($profiles, new Profile($value)); } return $profiles; } function mergeRes($res) { $p_infos = array(); while($data = mysql_fetch_object($res)) { if (!isset($p_infos[$data->alias])) { $p_infos[$data->alias] = array(); } array_push($p_infos[$data->alias], $data); } return $p_infos; }
View Replies !
Child Pid Exit Signal Segmentation Fault
I am NOT a server geek, but I hav a problem that may be server related. I am running PHP 5.0.3 on an Apache VPS. I have added a new component to a Mambo site (Community Builder) and am getting only partial use out of it. No help on the forums over there. Error logs are filled with "child pid exit signal Segmentation fault" errors. A bit of investigation suggests that this could be a problem with either Apache or PHP, though I am not finding any solutions in my surfing. What I have inferred is that there are (or have been) known issues with certain PHP scripts generating these errors. Code:
View Replies !
PHP/SSL - Client Certs How To Distribute ?
I'm interested in developing a script which would make use of openssl_x509_read to read a certificate presented in the HTTP headers when accessing an SSL page. But here's the question ... what are ways of distributing certificates to the clients ? Imagine I have 3 customers in total but when foo.php is requested I only want 2 of them to see a full response. I could go around to their offices and install the client certificate and everything would be fine - but what happens when there are 200 or 2000 certificates to install ? Bearing in mind I need to be sure that only the right people are getting a certificate. I'm sure it's not a new question but can anybody point me in the right direction please ?
View Replies !
[notice] Child Pid 27827 Exit Signal Segmentation Fault (11)
We made some changes to our server yesterday, and ever since, every single installation of WordPress that was on the server has stopped running. Other PHP scripts still run fine, but WordPress is dead. I logged into the server using ssh and looked the Apache error_log. The only thing there was a whole bunch of lines like this: [Fri Aug 18 18:00:25 2006] [notice] child pid 27827 exit signal Segmentation fault (11) I'm not finding any PHP errors that might tell me what is wrong with WordPress.
View Replies !
Solaris/Apache, Child Pid 3383 Exit Signal Segmentation
I cant get php to work on soalaris 8 when I start apache: [Mon Mar 8 11:39:59 2004] [notice] Apache/1.3.27 (Unix) PHP/4.3.2 configured -- resuming normal operations but when I got to my test.php page: which is <?php phpinfo(); ?> Then I get a page cannot be displayed page. then in the apache error logs: Mon Mar 8 11:40:32 2004] [notice] child pid 3383 exit signal Segmentation Fault (11) [Mon Mar 8 11:40:32 2004] [notice] child pid 3382 exit signal Segmentation Fault (11) [Mon Mar 8 11:41:31 2004] [notice] child pid 3384 exit signal Segmentation Fault (11) What do I need to do? I installed the SFWmphp package from soalris 9 which I installed on solaris 8.
View Replies !
Apache 1.3.34, PHP 4.4.1, Oracle Instant Client 10.2.0.1 And PEAR
I have compiled/installed the above mentioned items. Access to oracle from PHP works fine and access to mySQL using PEAR/PHP works but using PEAR to access Oracle does not work! Is there something about having the instant client that makes this a problem? When I built PHP I used the proper "--with-oci8-instant-client" switch and had the LD_LIBRARY_PATH, etc. set. Like I said, it works but not with PEAR.
View Replies !
PHP Send File [ Apache Server --> Client Browser ]
I have a file on my server saved as a tar. I need that file to be sent to the user [client] when he/she clicks "DOWNLOAD FILE". Also I want to force the user with the save dialog box, so he/she can save the file in the directory he/she wants to save it in. Any pointers on how this can be done? I mean this happens all the time when you download something from any website. Is there any code snippet that can do this?
View Replies !
Ssl And Php (generate Certs)
I want to generate ssl certificate (with public key) and private key. My code: $ssl_configargs = array( "digest_alg" => "sha1", "private_key_bits" => 2048, "private_key_type" => OPENSSL_KEYTYPE_RSA, "encrypt_key" => false ); $dn = array("countryName" => $_POST[ 'country' ], "stateOrProvinceName" => $_POST[ 'state' ], "localityName" => $_POST[ 'city' ], "organizationName" => $_POST[ 'org' ], "organizationalUnitName" => $_POST[ 'unit' ], "commonName" => $_POST[ 'name' ], "emailAddress" => $_POST[ 'mail' ] ); $numberofdays = $_POST[ 'days' ]; $pkey = openssl_pkey_new( $ssl_configargs ); // there is a error $csr = openssl_csr_new( $dn, $privkey, $ssl_configargs ); $sscert = openssl_csr_sign( $csr, null, $privkey, $numberofdays ); openssl_csr_export( $csr, $csrout ); openssl_x509_export( $sscert, $certout ); openssl_pkey_export( $privkey, $pkeyout, $configargs[ 'licence_pwd' ] ); I've tried use openssl_pkey_new without param ($ssl_configargs ), but it still doesn't work. My errors: Warning: openssl_csr_sign(): key type not supported in this PHP build! in xx.php on line xx Warning: openssl_csr_sign(): failed to sign it in xx.php on line x Warning: openssl_x509_export() expects parameter 1 to be resource, boolean given in xx.php on line xx Warning: openssl_pkey_export(): key type not supported in this PHP build! in xx.php on line x
View Replies !
--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 !
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 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 !
Nusoap - Array ( [faultcode] =env:Client [faultstring] =Rejected (from Client) )
Using a PHP 4 and Nusoap I get the following errors when attempting to call a web service I need to login to the main web service and get a session token to be able to access the second web service - this part works ok When I try and call the second web service, I get the following error. Result Array ( [faultcode] =env:Client [faultstring] =Rejected (from client) ) Request Response VR array(2) { ["faultcode"]=string(10) "env:Client" ["faultstring"]=> string(22) "Rejected (from client)" } Below is my code: $VendorWsdl = "https://api.betfair.com/betex-api-public-ws/v1/VendorService.wsdl"; $VendorSoap = new soapclient($VendorWsdl,"wsdl"); $VendorProxy = $VendorSoap->getProxy(); $AddUserParams = array(request=>array('header'=>$BetfairRequestHeader,'username'=>$tok[3],'vendorSoftwareId'=>342,'expiryDate'=>$expiry)); $VendorAddResult = $VendorProxy->addVendorSubscription($AddUserParams); $VendorSessionToken = $VendorAddResult['Result']['header']['sessionToken']; print("VST "); print($VendorSessionToken); print("<br> "); if ($VendorSoap->fault) { print_r($VendorAddResult); echo ""; } else { $VendorError = $VendorSoap->getError(); if ($VendorError) { echo "<h2>Error</h2>" . $VendorError . ""; } else { echo "<h2>Result</h2>"; print_r($VendorAddResult); echo ""; } } echo "<h2>Request</h2>"; print_r($VendorSoap->request); print("<br> "); echo "" . htmlspecialchars($VendorSoap->request, ENT_QUOTES) . ""; echo "<h2>Response</h2>"; echo($VendorSoap->response); print("<br> "); echo "" . htmlspecialchars($VendorSoap->response, ENT_QUOTES) . ""; print("VR "); var_dump($VendorAddResult);
View Replies !
Seg Fault In PHP 5.0.3
The following code causes a segmentation fault in PHP 5.0.3 debian package from dotdeb.org public static function allreadyInDatabase( $location ) { $sql = "SELECT COUNT(*) FROM prefix_search WHERE location = :1"; $db = DB_Mysql_Singleton::getInstance(); $stm = $db->prepare( $sql ); $res = $stm->execute( $location ); return ( $res->getOne() == 1 ); } log output: /var/log/apache/error.log: [Tue Dec 28 09:54:26 2004] [notice] child pid 6895 exit signal Segmentation fault (11) I have located the error, it should be the last line. I can do an echo $res->getOne() and it will print 0. I can do $num = $res->getOne(); and it will work. Even this will work: .... if( $res->getOne() == 1 ) { die( "yes" ); } else { die( "no" ); } will print "no". But if I change it to .... if( $res->getOne() == 1 ) { return true; } else { return false; } it breaks. I've checked the location where the function is called. It doesn't change a thing if I use the function in any way: $bool = search_SearchSink::allreadyInDatabase( $location ); search_SearchSink::allreadyInDatabase( $location ); return search_SearchSink::allreadyInDatabase( $location ); if( search_SearchSink::allreadyInDatabase( $location ) ) { ... It allways breaks... Is there any way to find the exact error, Get more log info. Is this a known bug? Should I report it? If so, do I send all my code?
View Replies !
Soap Fault
I am trying to call a Web Service using Php and Soap. Why does the following Php 5 code return? try { //$ExchangeLoginResult = $ExchangeClient->Login(array("request" => array("username"=>"sportleisure", $VendorAddResult = $VendorSoap->updateVendorSubscription(array("request" =array("header"=>$BetfairRequestHeader,"username"=>$tok [3],"vendorSoftwareId"=>342,"expiryDate"=>$date))); } catch (SoapFault $fault) { trigger_error("SOAP Fault: (faultcode: {$fault->faultcode}, faultstring: {$fault->faultstring})"); print("Fault when trying to Add/Update API User "); var_dump($fault); } Error Message - Fault when trying to Add/Update API User ["faultstring"]=string(22) "Rejected (from client)" ["faultcode"]=string(10) "env:Client"
View Replies !
Setcookie Fault
For registering a user to one of my sportleagues i use a little part of undeneath script to set a cookie. but this returns the next fault when a new user registers: Warning: setcookie()expects parameter 2 to be string object given in *.php on line 21 21: while (!setcookie("USER",$User, time()+3600)) { 22: $errmsg = $Unable_to_register_txt; 23: LogMsg($errmsg); 24: if ($errcnt >= 3) { 25: $errmsg = $Unable_to_register_3_attempts_txt; 26: LogMsg($errmsg); 27: break; 28: } 29: $errcnt++; } The user is registered even when he gets the fault. Waht's wrong with above part of script.
View Replies !
Resource Id 7 Fault
I got this code; $lower_value3 = strtolower($value3); #name mysql_connect("xxxx", "xxx", "xx") or die ("<p>Could not connect to database...</p>"); mysql_select_db("test"); $query2 = "SELECT class FROM users WHERE name = '$lower_value3'"; $result2 = mysql_query($query2); #which class I got a table named users with the fields name and class. Though when I aquire the results I get Resourse ID #7 or similar whatever I do. I just dont get it. What have I missed?
View Replies !
Database Fault
I need to resolve something but i dont know how, i explain. lets imagine i have a database table like this: id -- name -- etc 1 -- name1 -- etc1 2 -- name2 -- etc2 id = int, auto increment, primary key now i use a command to delete the id = 1 row. now i add a new row in the table and the database will give it id = 3 instead of the deleted one id = 1.
View Replies !
Segementation Fault Error
I am wondering about the segmentation fault in PHP. Namely, I'm running PHP version 4.6.9 on my server right now and when I try to process a large piece of text via textarea(3k+), the resulting POST data I get seems to be result from a segementation fault error. The data I receive becomes truncated followed by the variable name, equal sign, then the entire span of the data. Code:
View Replies !
SSI Including PHP File Within PHP File Causes Seg Fault And Crash
Can somebody concur or verify the following? I'm having this problem on all of my installations. I've got Apache 2.0.40 and PHP 4.2.2 installed and configured from RedHat RPMs. Nothing out of the ordinary. In the httpd.conf file, PHP files are called with the following: <Files *.php> SetOutputFilter PHP;INCLUDES SetInputFilter PHP LimitRequestBody 524288 </Files> I create two files as follows: /test1.php <!--#include virtaul="/test2.php" --> and /test2.php Testing 1 2 3 By going to http://host/test1.php, it may or may not display the file contents of test2.php. Usually (9/10 times) I get a seg fault in the error log. If I change the filename of test.php to test.html and include that, it works fine. I've tried this on various versions of both Apache and PHP up to the most recent CVS versions and still get the same results.
View Replies !
ICQ Client
I'm looking for an ICQ-Client that works via PHP. Reasin is that the Java Client from the ICQ webpage is buggy and also doesn't work if there is a proxy in between. I found Irsim which is a Jabber client and also works with ICQ but unfortunately it doesn't seem to work. Any other PHP-Scripts for ICQ (both sending and receiving messages) or any server where Irsim runs on so that I could test it?
View Replies !
Who Is Client?
We are developing an intranet site to manage Technology Requests. To make the process simpler for the users we are gathering all of the information we need about them from e-directory via-PHP LDAP functions. This is working great. However, we have to know get the user to provide their login id. What would be even better if we could somehow get the current user ID from the client as soon as they hit the main page and we would know everything about them as soon as the page loads. I can't seem to find a way to get this information from the client?
View Replies !
Client Side PHP Is Possible
Don't believe me. Then head over to . Interestingly, I did a search and only one other thread makes reference to this cool little Mozilla plugin which allows you to run and/or test php scripts on your local machine without a server running. Earlier today, I wrote this short tutorial explaining how to set up windows so you can double click a php file in windows explorer and have it open and run in Mozilla rather than having to type the full path into Mozilla's address bar. Look for some screenshots in the near future.
View Replies !
How To Get Client Ip Address
I've tried to get the IP address of client browsing the site using $_SERVER['REMOTE_ADDR'], but I'm not getting the exact IP of the client. I also tried $_SERVER["HTTP_X_FORWARDED"], $_SERVER['HTTP_X_FORWARDED_FOR'], $_SERVER["HTTP_FORWARDED"] and it's also returned nothing. Is there any special directive needed to get HTTP_X_FORWARDED_FOR and similar variables?
View Replies !
PHP As Https Client
We are just getting started on a project that involves our host Windows/Apache2.2/PHP5 server communicating with a second server using the https://username:password@xxx protocol. I'm new to PHP. Can someone tell me what is going to be involved in doing this?
View Replies !
Best FTP Client For Coding PHP
I currently use Eclipse for creating the PHP application, which is great for editing but quite slow when using FTP. But when im testing i like to use CuteFTP Pro for quicky editing and seeing the results. Im getting fed up with CuteFTP as its really flakey. I am looking for a simiar application like CuteFTP that has an inbuilt editor but can not find one, every one I have looked at uses a different application to edit. Can anyone recomend a FTP editor that works well with quickly editing PHP web applications?
View Replies !
Proxy And Client Ip
I'm using PHP-5.0.1 , I make a script to catch proxy and client ip, this is my script: <?php echo "$_SERVER['HTTP_X_FORWARDED_FOR'] = ".$_SERVER['HTTP_X_FORWARDED_FOR']."<br>"; echo "$_SERVER['HTTP_CLIENT_IP'] = ".$_SERVER['HTTP_CLIENT_IP']."<br>"; ?> it returns errors : *Notice*: Undefined index: HTTP_X_FORWARDED_FOR in *D:Program FilesApache GroupApache2htdocs est-scriptipers.php* on line *8* $_SERVER['HTTP_X_FORWARDED_FOR'] = *Notice*: Undefined index: HTTP_CLIENT_IP in *D:Program FilesApache GroupApache2htdocs est-scriptipers.php* on line *9* $_SERVER['HTTP_CLIENT_IP'] = I get that script from php-manual at "predefined variables" section :
View Replies !
Running PHP On A Client Only...
I was wondering if it is possible to run a PHP program on a web browser on a local PC without having a server, such as Apache, installed locally? I am thinking about creating an application the will configure Linux config files based on input from webpages. I have seen this done on the CUPS setup/admin pages: http://localhost:631/ ....do these pages use php, perl or what?
View Replies !
Client Section
Currently I am working on having a client section for my site. I have fooled around with Dreamweaver and I have setup a login page that users can login to go to a main page. On that main page I want to have a bunch of dynamic fields that will pull the users information from the database depending on what their username and password was on the login page. I will need to design this in Dreamweaver and I was curious if anyone knows of any free tutorial sites on getting that setup.
View Replies !
MSSQL-Client
I am having to recompile PHP on an AIX 5.1 machine with added --mssql and oracle option. I need to find out if I have to: 1. Have the -mssql client on the aix machine? 2. Where can I get the MSSQL client for a 32 bit, IBM AIX 5.1, F40 machine? If you are at it :), can you point me where I could find the oracle client for the same machine too.
View Replies !
Mail Client
I want to develope a mail client, which can management my mailbox including receiving/sending mail, changing my mailbox info, setting filter, mailbox directory( inbox,trash box , etc.) management.. with PHP4.
View Replies !
|