Re: [PHP] PHP Memory limit exceeded

2005-02-07 Thread Ben-Nes Yonatan
Richard Lynch wrote: At the other hand i did find some huge mistake at my side... only the download of the file require 28MB (god knows why! but i wont start to bother u folks about it now) the upload need 16MB so clearly u were correct but im sorry to admit that i didnt understand y its getting

[PHP] CfP: Workshop on Scripting for the Semantic Web

2005-02-07 Thread Sören Auer
--- CALL FOR PAPERS --- Workshop on Scripting for the Semantic Web http://www.semanticscripting.org/SFSW2005/ co-located with 2nd European Semantic Web

[PHP] How to prevent user directly input SQL query

2005-02-07 Thread Thone
I'm curious about how to protect SQL query. For example, if I get some varaibles from user using GET or POST method. Then, I have to use it in a SQL query sentense. How can I make sure that users don't do trick by inserting some SQL command into the variable resulting in miss sql command? Is

Re: [PHP] How to prevent user directly input SQL query

2005-02-07 Thread RaTT
Hello Thone you can use mysql_real_escape_string() or mysql_real_escape_string() for versions prior to 4.3.0, to aissist with quoting mysql queries, if you use another DB, look at the manual for the relevant escape function. I use this function after just before i insert variables into a sql

[PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems

2005-02-07 Thread Sander Holthaus - Orange XL
I'm running Apache 2.0.52 and PHP 5.03 in a jailed (Virtual Private Server) FreeBSD 4.10 envirorement. PHP 5.03 is running as php_mod and was installed quite recently. Since then (better, since someone started using it) I've been getting these errors in the httpd-error log: Allowed memory size

[PHP] mysqli connection problem

2005-02-07 Thread Denis Gerasimov
Hello, This question was asked many times, but I can't find a good answer. I am getting this error message while trying to connect to MySQL server (PHP + PEAR::DB_DataObject): Can't connect to local MySQL server through socket '' (111) (notice '' - is that right?) Does anyone have any ideas

[PHP] PHP, exception and PostgreSQL

2005-02-07 Thread Konference
Hello, is here somebody who works with PostgreSQL in PHP? I have a PL/SQL function, which can raise an exception. I am not able to catch _only_ exception error message in PHP. I can parse Warning: pg_query(): Query failed: ERROR: Exception error string. in... but I think, it is not clear

[PHP] Re: [PHP-DB] mysqli connection problem

2005-02-07 Thread Martin Norland
Denis Gerasimov wrote: Hello, This question was asked many times, but I can't find a good answer. I am getting this error message while trying to connect to MySQL server (PHP + PEAR::DB_DataObject): Can't connect to local MySQL server through socket '' (111) (notice '' - is that right?) Does

Re: [PHP] Remote Procedure Call Failed

2005-02-07 Thread Alex Gemmell
On Sun, 6 Feb 2005 19:36:23 -0500, Andre Dubuc [EMAIL PROTECTED] wrote: On Sunday 06 February 2005 07:18 pm, Alex Gemmell wrote: Hello, I am building a login system for my website but I keep experiencing an error on a specific PHP page that I have never encountered before and it seems

Re: [PHP] Remote Procedure Call Failed

2005-02-07 Thread Jochem Maas
Alex Gemmell wrote: .. Well, I have a few lines like these two: session_register('email_address'); $_SESSION['email_address'] = $email_address; If I simply delete the first line (session_register('email_address');) everything will still work... right? yes - on one condition: somewhere in you

Re: [PHP] Remote Procedure Call Failed

2005-02-07 Thread Alex Gemmell
On Mon, 07 Feb 2005 18:14:22 +0100, Jochem Maas [EMAIL PROTECTED] wrote: Alex Gemmell wrote: .. Well, I have a few lines like these two: session_register('email_address'); $_SESSION['email_address'] = $email_address; If I simply delete the first line

[PHP] MySQL Error 1251 / phpMyAdmin

2005-02-07 Thread GH
I just installed phpMyAdmin 2.6.1 on my Windows Laptop with PHP Version 4.3.10 [Build Date Dec 14 2004 17:46:48] and mySql 4.1.8 I am receiving the enclosed error when I attempt to go into phpMyAdmin and do not know how to solve the issue... Any assistance would be greatful. Thank you Gary

[PHP] Re: MySQL Error 1251 / phpMyAdmin

2005-02-07 Thread Michael Stassen
You have mysql 4.1.8, but your php was built with the library for an earlier version, which, as the error message says, doesn't support the new, more secure authentication protocol. Your choices are to tell mysql to use the older, less-secure protocol, or build a copy of php using your current

[PHP] Question about php.ini

2005-02-07 Thread Stephen Wong
Hi, I hope we are all doing well today I'm very new to php. Here are some basic info about my server that I am running: Mac OS X 10.3.7 PHP 4.3.10 MySQL 4.0.18 Apache 1.3.33 What I want to do is host a forum on my web page. I can't seem to get it set up, and I notice that I do not have a

Re: [PHP] Remote Procedure Call Failed

2005-02-07 Thread Andre Dubuc
On Monday 07 February 2005 12:06 pm, Alex Gemmell wrote: On Sun, 6 Feb 2005 19:36:23 -0500, Andre Dubuc [EMAIL PROTECTED] wrote: On Sunday 06 February 2005 07:18 pm, Alex Gemmell wrote: Hello, I am building a login system for my website but I keep experiencing an error on a specific

RE: [PHP] Question about php.ini

2005-02-07 Thread Jay Blanchard
[snip] 1.) rename the php.ini.default to plain php.ini and see if that resolves it. However, I'm not sure what kind of tests can I perform to see that it is working properly? [/snip] How about just making a copy of the file and testing it? Have you run phpinfo() yet? -- PHP General Mailing List

RE: [PHP] Question about php.ini

2005-02-07 Thread Jay Blanchard
[snip] Yup, I have tried making a copy of it. I'm just not exactly sure how to test it? I ran phpinfo() , and it runs even without a php.ini. [/snip] Change something in the configuation file that you know you can run a test on, like safe mode status, then restart Apache and conduct the test.

Re: [PHP] Question about php.ini

2005-02-07 Thread Richard Lynch
Stephen Wong wrote: I'm very new to php. Here are some basic info about my server that I am running: Mac OS X 10.3.7 PHP 4.3.10 MySQL 4.0.18 Apache 1.3.33 What I want to do is host a forum on my web page. I can't seem to get it set up, and I notice that I do not have a php.ini file in

Re: [PHP] installing php on 2 apache server

2005-02-07 Thread Stephane Parenton
John Nichel wrote: Stephane Parenton wrote: snip John Nichel wrote: Just install the second version of Apache in a different location (--prefix=/path/to/other/location), and run it on a different port (the listen directive in the httpd.conf) Well, this is ok to have 2 seperate httpd, but what i

Re: [PHP] PHP, exception and PostgreSQL

2005-02-07 Thread Richard Lynch
Konference wrote: is here somebody who works with PostgreSQL in PHP? Yes. :-) I have a PL/SQL function, which can raise an exception. I am not able to catch _only_ exception error message in PHP. I can parse Warning: pg_query(): Query failed: ERROR: Exception error string. in... but I

[PHP] Re: MySQL Error 1251 / phpMyAdmin

2005-02-07 Thread GH
I am still new to the PHP scene could you tell me how I rebuild the PHP with the client library... On Mon, 07 Feb 2005 12:20:26 -0500, Michael Stassen [EMAIL PROTECTED] wrote: You have mysql 4.1.8, but your php was built with the library for an earlier version, which, as the error message

Re: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems

2005-02-07 Thread Richard Lynch
Sander Holthaus - Orange XL wrote: I'm running Apache 2.0.52 and PHP 5.03 in a jailed (Virtual Private Server) FreeBSD 4.10 envirorement. PHP 5.03 is running as php_mod and was installed quite recently. Since then (better, since someone started using it) I've been getting these errors in the

Re: [PHP] Public/Private Key Encryption

2005-02-07 Thread Richard Lynch
Dan Trainor wrote: Daniel Bowett wrote: Is there any way I can use public/private key encryption in php in a similar way to mcrypt. I have got php encrypting the data using gnugp but need to automate the decrytping element which is proving difficult because of the way the password is

Re: [PHP] Global and Local include_path settings

2005-02-07 Thread Richard Lynch
Yeah, I was thinking about that route, but just as I was reading your response, I thought up a new 'problem' for myself. Even if I set it in the httpd.conf, a .htaccess, or in a file that I auto_prepend, if the end user on one of the vhosts uses the ini_set(), it will be overwritten. I

[PHP] Re: MySQL Error 1251 / phpMyAdmin

2005-02-07 Thread Michael Stassen
The short answer is, download the php source and add --with-mysql=/your/path/to/mysql to your build options. The long answer is in the directions in the php manual http://us4.php.net/manual/en/install.unix.php. Michael GH wrote: I am still new to the PHP scene could you tell me how I rebuild

[PHP] Using Apache SSL from PHP: tutorial?

2005-02-07 Thread symbulos partners
I am looking for a tutorial on using Apache SSL from PHP. Do you know of any good one out there? -- symbulos partners -.- symbulos - ethical services for your organisation http://www.symbulos.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Using Apache SSL from PHP: tutorial?

2005-02-07 Thread Jay Blanchard
[snip] I am looking for a tutorial on using Apache SSL from PHP. Do you know of any good one out there? [/snip] http://www.google.com/search?hl=enq=using+Apache+SSL+from+PHPbtnG=Goog le+Search -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Question about php.ini

2005-02-07 Thread Brandon Thompson
The phpinfo() will display either the directory in which it expects to find the php.ini file (if the php.ini does not exist) or it will display the full path, including the filename (if the php.ini DOES exist where expected). -Original Message- From: Jay Blanchard [mailto:[EMAIL

RE: [PHP] Using Apache SSL from PHP: tutorial?

2005-02-07 Thread symbulos partners
Jay Blanchard wrote: [snip] I am looking for a tutorial on using Apache SSL from PHP. Do you know of any good one out there? [/snip] http://www.google.com/search?hl=enq=using+Apache+SSL+from+PHPbtnG=Goog le+Search 1)Results 1 - 10 of about 411,000 for using Apache SSL from PHP. (0.45

Re: [PHP] Connecting To Multiple MySQL Databases

2005-02-07 Thread Richard Lynch
Tony Di Croce wrote: OK... Here's a slightly different, but related question... Can database connection resources be serialiazed and re-used in a different script invocation? For example, can I open a DB connection, assign it to a $_SESSION[] variable and then later use it on a different

Re: [PHP] Using Apache SSL from PHP: tutorial?

2005-02-07 Thread Jochem Maas
symbulos partners wrote: Jay Blanchard wrote: [snip] I am looking for a tutorial on using Apache SSL from PHP. Do you know of any good one out there? [/snip] http://www.google.com/search?hl=enq=using+Apache+SSL+from+PHPbtnG=Goog le+Search 1)Results 1 - 10 of about 411,000 for using Apache SSL

Re: [PHP] Using Apache SSL from PHP: tutorial?

2005-02-07 Thread John Nichel
symbulos partners wrote: Jay Blanchard wrote: [snip] I am looking for a tutorial on using Apache SSL from PHP. Do you know of any good one out there? [/snip] http://www.google.com/search?hl=enq=using+Apache+SSL+from+PHPbtnG=Goog le+Search 1)Results 1 - 10 of about 411,000 for using Apache SSL

Re: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems

2005-02-07 Thread [EMAIL PROTECTED]
Richard Lynch wrote: That's definitely not good. But there is only so much you, and PHP, can do to stop a bad programmer from chewing up resources. I'm pretty sure that you can prevent this somehow! There is no way any OS with respect for themself, will allow any user installed programs (like PHP)

RE: [PHP] Using Apache SSL from PHP: tutorial?

2005-02-07 Thread Richard Lynch
symbulos partners wrote: Jay Blanchard wrote: [snip] I am looking for a tutorial on using Apache SSL from PHP. Do you know of any good one out there? [/snip] http://www.google.com/search?hl=enq=using+Apache+SSL+from+PHPbtnG=Goog le+Search 1)Results 1 - 10 of about 411,000 for using

Re: [PHP] Connecting To Multiple MySQL Databases

2005-02-07 Thread Silvio Porcellana
Richard Lynch wrote: snip / Actually, you want a few SPARE MySQL connections, so you can use the mysql command line monitor to do things -- Particularly in case of a run-away PHP/MySQL script which slams the server into over-drive... If you don't have a connection available cuz they're all used

[PHP] help-regarding-file_get_contents

2005-02-07 Thread vijayaraj nagarajan
hi john i am a php user... one help from you.. i could download the contents of an url from http:// sitesbut when i tried downloading the contents from an ftp site... i get this error... Warning: file_get_contents(): php_hostconnect: connect failed in /var/www/html/get.php on line 3 Warning:

Re: [PHP] help-regarding-file_get_contents

2005-02-07 Thread Guillermo Rauch
Does the server support passive FTP connections? Extracted from the PHP Manual: PHP 3, PHP 4, PHP 5. ftps:// since PHP 4.3.0 * ftp://example.com/pub/file.txt * ftp://user:[EMAIL PROTECTED]/pub/file.txt * ftps://example.com/pub/file.txt *

[PHP] PHP/5.0.3 MySQL 5.0.2 Stored procedure (OUT)

2005-02-07 Thread Ian Porter
Hi, I am just wondering how to obtain the result from a mysql procedure OUT parameter within PHP e.g. MYSQL create procedure test_out(OUT testvar int) BEGIN select max_connections into testvar from mysql.user limit 1; END PHP $query = 'call test_out('.$test_val.')'; $query_handle =

[PHP] Storing CCN's Again...

2005-02-07 Thread Tony Di Croce
First I should say that I have NO plans to store CCN's on my site, but I do have a related question: Right now I accept CC info from a posted form and then from a PHP script submit that to authorize.net... Is their any way to get PHP to clean up any remnants of any variables that might be in

[PHP] updating php

2005-02-07 Thread blackwater dev
Hello, I have installed php5 fine on my Fedora 3 box. I know need to recompile to add in a feature and did the same steps as the install ./configure, make, make install which went fine but when restart apache and go to the php.ini, my new configuration is not shown and the code throws errors

Re: [PHP] Storing CCN's Again...

2005-02-07 Thread Jochem Maas
Tony Di Croce wrote: First I should say that I have NO plans to store CCN's on my site, but I do have a related question: Right now I accept CC info from a posted form and then from a PHP script submit that to authorize.net... Is their any way to get PHP to clean up any remnants of any variables

[PHP] Re: updating php

2005-02-07 Thread blackwater dev
just tried it with make clean and still didn't seem to take. On Mon, 7 Feb 2005 16:22:37 -0500, blackwater dev [EMAIL PROTECTED] wrote: Hello, I have installed php5 fine on my Fedora 3 box. I know need to recompile to add in a feature and did the same steps as the install ./configure,

Re: [PHP] updating php

2005-02-07 Thread John Nichel
blackwater dev wrote: Hello, I have installed php5 fine on my Fedora 3 box. I know need to recompile to add in a feature and did the same steps as the install ./configure, make, make install which went fine but when restart apache and go to the php.ini, my new configuration is not shown and the

RE: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems

2005-02-07 Thread Sander Holthaus - Orange XL
Sander Holthaus - Orange XL wrote: I'm running Apache 2.0.52 and PHP 5.03 in a jailed (Virtual Private Server) FreeBSD 4.10 envirorement. PHP 5.03 is running as php_mod and was installed quite recently. Since then (better, since someone started using it) I've been getting these errors

Re: [PHP] Re: updating php

2005-02-07 Thread Jochem Maas
blackwater dev wrote: just tried it with make clean and still didn't seem to take. On Mon, 7 Feb 2005 16:22:37 -0500, blackwater dev [EMAIL PROTECTED] wrote: Hello, I have installed php5 fine on my Fedora 3 box. I know need to recompile to add in a feature and did the same steps as the install

Re: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems

2005-02-07 Thread John Nichel
Please turn off your request for read reciepts when posting to a mailing list. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems

2005-02-07 Thread Jochem Maas
John Nichel wrote: Please turn off your request for read reciepts when posting to a mailing list. ohhh :-( I was enjoying that ;-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Server Uptime

2005-02-07 Thread Brad Ciszewski
What is the function, or how do you make a script that displays the server's uptime? Thanks, Brad Ciszewski www.BradTechnologies.com Web Services -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] array_map() problems

2005-02-07 Thread Jeffery Fernandez
I have the following 2 functions which I intend to clean GPC off slashes if magic_quotes_gpc is turned on. function StripGpcSlashes() { if (get_magic_quotes_gpc()) { $_POST = array_map('StripSlashesDeep', $_POST); $_GET = array_map('StripSlashesDeep', $_GET); $_COOKIE =

RE: [PHP] Server Uptime

2005-02-07 Thread Sam Masiello
There is no function, but you could shell out and grab the output from the uptime command and use regex to parse the resultsor use one command line with uptime piped to awk to pull out what you need. HTH! --Sam -Original Message- From: Brad Ciszewski [mailto:[EMAIL PROTECTED]

Re: [PHP] Server Uptime

2005-02-07 Thread darren kirby
quoth the Brad Ciszewski: What is the function, or how do you make a script that displays the server's uptime? Thanks, Brad Ciszewski www.BradTechnologies.com Web Services Unless I am mistaken, there is no built in function for uptime. What I have done is put a static binary of 'uptime'

Re: [PHP] Apache 2.0.52, PHP 5.03, FreeBSD 4.10 memory problems

2005-02-07 Thread Jochem Maas
Sander Holthaus - Orange XL wrote: Sander Holthaus - Orange XL wrote: ... Fix or disable that script. I wish I could, but I'm not a PHP-programmer (can read it and can do some basic programming, but I lack in-depth knowledge of PHP). well disabling it is fairly easy ;-) rm -f ./xxx.php I

[PHP] Retrieving an URL paramter via fsockopen

2005-02-07 Thread Larry Laffer
Hi, who can give me a solution or at least a hint for the following problem: I have to get an URL parameter with an fsockopen connection. I can connect with fsockopen an given link and get back this link with an URL parameter cnr=xx Who can I do this? And who can I read this URL parameter?

[PHP] Retrieving an URL paramter via fsockopen

2005-02-07 Thread Larry Laffer
Hi, who can give me a solution or at least a hint for the following problem: I have to get an URL parameter via fsockopen connection. I shall connect with fsockopen to a given link and get back this link with an URL parameter cnr=xx Who can I do this? And who can I read this URL parameter?

[PHP] Strange key behaviour

2005-02-07 Thread Johannes Reichardt
Hey there! i have a routine like this: $myarray['1'] = 'aösldfjkasöldkjf'; foreach($myarray as $key = $value) { echo $key{0}; // outputs nothing echo substr($key,0); // outputs 1 like intended } Any ideas why this is like that? I am using php 4.3.11-dev - Johannes -- PHP General Mailing

Re: [PHP] array_map() problems

2005-02-07 Thread Greg Donald
On Tue, 08 Feb 2005 09:37:11 +1100, Jeffery Fernandez [EMAIL PROTECTED] wrote: I have the following 2 functions which I intend to clean GPC off slashes if magic_quotes_gpc is turned on. function StripGpcSlashes() { if (get_magic_quotes_gpc()) { $_POST =

[PHP] Favorite Linux Distribution

2005-02-07 Thread The Disguised Jedi
Hello all - I've been a list member for a while, helped out some people, and asked some questions. But, today I have a completely off topic, but somewhat relevant question for y'all. What is your favorite Linux distribution? What would you recommend for my situation? I'm brand new to Linux.

Re: [PHP] Strange key behaviour

2005-02-07 Thread Guillermo Rauch
On Tue, 08 Feb 2005 00:19:20 +0100, Johannes Reichardt [EMAIL PROTECTED] wrote: Hey there! Hi Johannes i have a routine like this: $myarray['1'] = 'aösldfjkasöldkjf'; foreach($myarray as $key = $value) { echo $key{0}; // outputs nothing echo substr($key,0); // outputs 1 like

[PHP] Re: Retrieving an URL paramter via fsockopen

2005-02-07 Thread Manuel Lemos
Hello, on 02/07/2005 08:47 PM Larry Laffer said the following: who can give me a solution or at least a hint for the following problem: I have to get an URL parameter with an fsockopen connection. I can connect with fsockopen an given link and get back this link with an URL parameter cnr=xx

Re: [PHP] array_map() problems

2005-02-07 Thread Guillermo Rauch
Hi Jeffery, To use a class method as a valid callback, you should pass an array like $_POST = array_map(array($this, 'StripSlashesDeep'), $_POST); Hope this helps, -Guillermo On Mon, 7 Feb 2005 17:10:32 -0600, Greg Donald [EMAIL PROTECTED] wrote: On Tue, 08 Feb 2005 09:37:11 +1100, Jeffery

Re: [PHP] array_map() problems

2005-02-07 Thread Jeffery Fernandez
Guillermo Rauch wrote: Hi Jeffery, To use a class method as a valid callback, you should pass an array like $_POST = array_map(array($this, 'StripSlashesDeep'), $_POST); Hope this helps, -Guillermo Ah thanks Guillermo, I just about figured it out when you posted. It works now :-) cheers,

[PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-07 Thread The Disguised Jedi
I also forgot to mention my hardware. P4 2.8 GHz - Notebook 60 GB HDD w/ 15 GB seperate partition for the linux CD-RW 24x WLAN for main connection Thanks for the responses i've already received! On Mon, 7 Feb 2005 16:31:46 -0700, Chad Leigh -- Shire. Net LLC [EMAIL PROTECTED] wrote: Hi I

[PHP] Your day

2005-02-07 Thread jengo
Congratulations!, your best friend. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Favorite Linux Distribution

2005-02-07 Thread Greg Donald
On Mon, 7 Feb 2005 16:25:28 -0700, The Disguised Jedi [EMAIL PROTECTED] wrote: Hello all - I've been a list member for a while, helped out some people, and asked some questions. But, today I have a completely off topic, but somewhat relevant question for y'all. What is your favorite

Re: [PHP] Favorite Linux Distribution

2005-02-07 Thread Tony
I would basically agree with Greg's summary, Easy - Hard and More Stable - Less Stable. It is worth mentioning a relative new Linux distro called Ubuntu. I have used Red Hat / Fedora for a few years. I have slowly grown tired of dependency hell and broken packages. I have tried Debian based

[PHP] Secure system calls -- how

2005-02-07 Thread Niels
Hi list, I'm doing an intranet website for managing users. I need to be able to change passwords, move files and folders around and that kind of thing. What is the best way? Obviously I can't run the webserver as root. In an earlier version I wrote update information to a table and had a cronjob

[PHP] How do I collect the keywords a user entered when searching for my site

2005-02-07 Thread Tim Burgan
Hello, How do I collect the keywords a user entered when searching for my site? I want to write some code that will retrieve the keywords entered in a search engine that were used to find my site. Is it possible to also detect what my site's search engine ranking was for the entered keywords

[PHP] ncurses woes...

2005-02-07 Thread Grimes, Dean
Hi, Anybody out there doing any work with ncurses? I've been playing around with ncurses trying to figure it all out. I have had pretty good luck but I am finding a few issues and would like to know if other users are having the same problems. One of the problems I'm having is with function keys

Re: [PHP] Storing CCN's Again...

2005-02-07 Thread trlists
On 7 Feb 2005 Jochem Maas wrote: IE, is their a way to get PHP to overwrite the memory used by variables at the termination of a script? don't know about that but best not to accept the CCNs in the first place. let the user enter it at authorize.net. I think this is an extraordinary

Re: [PHP] PHP/5.0.3 MySQL 5.0.2 Stored procedure (OUT)

2005-02-07 Thread Curt Zirzow
* Thus wrote Ian Porter: Hi, I am just wondering how to obtain the result from a mysql procedure OUT parameter within PHP e.g. MYSQL create procedure test_out(OUT testvar int) BEGIN select max_connections into testvar from mysql.user limit 1; END PHP $query = 'call

Re: [PHP] Storing CCN's Again...

2005-02-07 Thread Greg Donald
On Mon, 07 Feb 2005 22:25:46 -0500, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I think this is an extraordinary (and unjustified) level of paranoia. cat /dev/mem | strings | egrep ^[0-9]+$ -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General Mailing List

Re: [PHP] Server Uptime

2005-02-07 Thread Greg Donald
On Mon, 7 Feb 2005 16:21:26 -0600, Brad Ciszewski [EMAIL PROTECTED] wrote: What is the function, or how do you make a script that displays the server's uptime? php -r 'system(uptime);' or ?php echo `uptime`; ? -- Greg Donald Zend Certified Engineer http://destiney.com/ -- PHP General

Re: [PHP] ncurses woes...

2005-02-07 Thread Greg Donald
On Mon, 7 Feb 2005 21:07:00 -0600, Grimes, Dean [EMAIL PROTECTED] wrote: I've read all the documentation I could get my handsthat took about 10 minutes! http://php.net/ncurses seems like more than 10 minutes reading to me, but maybe I'm slow. I learned about ncurses using it with C, but

Re: [PHP] How do I collect the keywords a user entered when searching for my site

2005-02-07 Thread Andre Dubuc
On Monday 07 February 2005 10:02 pm, Tim Burgan wrote: Hello, How do I collect the keywords a user entered when searching for my site? I want to write some code that will retrieve the keywords entered in a search engine that were used to find my site. Is it possible to also detect what my

[PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-07 Thread Matthew Weier O'Phinney
* The Disguised Jedi [EMAIL PROTECTED]: I also forgot to mention my hardware. P4 2.8 GHz - Notebook 60 GB HDD w/ 15 GB seperate partition for the linux CD-RW 24x WLAN for main connection Almost identical to what I'm writing this on... except my partitions are all linux... ;-) In getting

Re: [PHP] Storing CCN's Again...

2005-02-07 Thread daniel
No the most secure way, but I had a client who was determined not to use paypal and store cc'sand do them offline. I am using SSL + Mysql encode to do this. Ie encode(cc_number,md5('secret')) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [users@httpd] Favorite Linux Distribution

2005-02-07 Thread g . lams
Pretty difficult question as it's a question of taste :-) If your are new to linux and want to keep your windows (dual-boot), Mandrake would be my advice: in a class with users without experience of linux, they all have been able to install Mandrake (10.1) dual booting windows without a