Re: [PHP] Re: Getting PHP to work with MySQL 4.1.10 under Fedora

2005-02-28 Thread John Swartzentruber
On 2/28/2005 8:27 AM Robby Russell wrote: On Mon, 2005-02-28 at 07:30 -0500, John Swartzentruber wrote: On 2/28/2005 2:47 AM M. Sokolewicz wrote: well, for some reason it didn't compile in the mysql extension at all... even though it was configured to. That's strange, and I have no id

Re: [PHP] php DBMS

2005-02-28 Thread John Holmes
7;re after. It comes with PHP5 and can be built into PHP4, iirc. Of course, I'm assuming what you mean by "fully implemented" is included with PHP, not written with it. A database written in PHP would not be good, imo. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registr

Re: [PHP] sentence case

2005-02-28 Thread John Nichel
Stephen Johnson wrote: OK -- dumb question -- what is an OP? Original Poster -- 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] Problem submitting a POST request "by hand"

2005-02-28 Thread John Holmes
or print? -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Authentication fails

2005-02-28 Thread John Swartzentruber
Somehow my PHP 5.0.3 or something is configured incorrectly. When I try to get past an authentication input, nothing happens. For example, I have phpMyAdmin configured now to use mysqli, but when I enter the username and password, the screen doesn't change. In previous testing, I saw that an in

Re: [PHP] Not able to add data to a MySQL database

2005-02-28 Thread John Holmes
Richard Lynch wrote: Vaibhav Sibal wrote: Hi, I am not able to insert data into my mysql database using php even if i use a simple code as follows : ADD SOME ERROR CHECKING!!! http://php.net/die and http://us2.php.net/mysql_error ;) -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry

Re: [PHP] On Topic - Theoretical Concents of Anti-password trading/sharing solutions

2005-03-01 Thread John Nichel
as in beer. There's no rule stating that you _cannot_ pay for an OS solution. -- 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] textarea posting duplicate text

2005-03-01 Thread John Holmes
his issue. It was an older version of PHP and/or Apache2 that I thought was fixed, though. Maybe your running into this same issue? Try searching the PHP bug database for "apache2 duplicate" and see if you can find the old bug/issue. -- ---John Holmes... Amazon Wishlist: www.amazon.com

[PHP] Re: Authentication fails

2005-03-01 Thread John Swartzentruber
On 3/1/2005 2:12 PM Jason Barnett wrote: John Swartzentruber wrote: Somehow my PHP 5.0.3 or something is configured incorrectly. When I try to get past an authentication input, nothing happens. For example, I have phpMyAdmin configured now to use mysqli, but when I enter the username and password

Re: [PHP] How can I secure database passwords used by PHP webpages

2005-03-01 Thread John Holmes
y discussed on here). Your issue is controlling access to the machine and the files, so is an OS/policy/trust issue, imo. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List

[PHP] Re: Authentication fails

2005-03-02 Thread John Swartzentruber
On 3/1/2005 3:52 PM John Swartzentruber wrote: On 3/1/2005 2:12 PM Jason Barnett wrote: John Swartzentruber wrote: Somehow my PHP 5.0.3 or something is configured incorrectly. When I try to get past an authentication input, nothing happens. For example, I have phpMyAdmin configured now to use

[PHP] Re: Authentication fails

2005-03-02 Thread John Swartzentruber
On 3/2/2005 9:22 AM Jason Barnett wrote: On the other hand, when the form action script is the *same* script that contains the form, when I do the same var_dumps, the data does *not* have any $_POST data. Also, the _SERVER[REQUEST_METHOD] is "GET", not "POST" in this instance. My suspicion was tha

Re: [PHP] update of mysql to 4.x

2005-03-02 Thread John Nichel
you still fell you _have_ to upgrade, think about using the 4.0.x version instead of 4.1.x. If you 'upgrade' to MySQL 4.1.x, and don't go with PHP5, you really haven't done anything for your apps, as you won't be able to take advantage of some of the new features. --

Re: [PHP] Re: Authentication fails

2005-03-02 Thread John Swartzentruber
is my VirtualHost for the thing I am testing (I X'd out some stuff): ServerName john.swartzentruber.us ServerAdmin webmasXXXtzentruber.us DocumentRoot "/var/www/vhosts/swartzentruber.us/john/html" AllowOverride AuthConfig Options Indexes Include

Re: [PHP] update of mysql to 4.x

2005-03-02 Thread John Nichel
ar beit from me to try and help in a manner that is unacceptable to you. Maybe I should just go back to my standard answer... http://www.google.com/search?q=php+upgrade+mysql+4.1 -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://w

Re: [PHP] Re: Authentication fails

2005-03-03 Thread John Swartzentruber
On 3/2/2005 5:21 PM Richard Lynch wrote: John Swartzentruber wrote: ServerName john.swartzentruber.us ServerAdmin webmasXXXtzentruber.us DocumentRoot "/var/www/vhosts/swartzentruber.us/john/html" AllowOverride AuthConfig Options Indexes Includes Foll

Re: [PHP] Spam and this list

2005-03-03 Thread John Nichel
f archive to get them to obfuscate email addresses is a Good Idea. Dunno who's going to actually *DO* it, mind you... That would be a lonnng list of admins. This list (as well as most OS lists) seems to archived everywhere these days. -- John C. Nichel ÜberGeek KegWorks.com 716.856.

Re: [PHP] Re: Authentication fails - problem line found

2005-03-03 Thread John Swartzentruber
I stripped down my original script until it started receiving POST data, then I kept modifying it until I figured out where the problem was. I found it, but I'm still as clueless as every. To summarize: I have a form that posts to the same script that contains the form. In its original state, w

Re: [PHP] Consulta

2005-03-04 Thread John Nichel
much an English speaking list, so to get more answers to your questions, you should use English here, or try a non-English list (I think there's a Spanish one)... http://us4.php.net/mailing-lists.php -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Ma

Re: [PHP] Re: Authentication fails - problem line found

2005-03-04 Thread John Swartzentruber
On 3/4/2005 2:23 PM Dan wrote: phpninja wrote: I think all php functions are case sensitive and must be all lowercase. try changing "IsSet" to "isset" and give it a run. I im not 100% sure because i always type every function in php lowercase and keep it the same throughout the application so i don

Re: [PHP] Re: Authentication fails - problem line found

2005-03-04 Thread John Swartzentruber
On 3/4/2005 2:02 PM Richard Lynch wrote: John Swartzentruber wrote: I stripped down my original script until it started receiving POST data, then I kept modifying it until I figured out where the problem was. I found it, but I'm still as clueless as every. To summarize: I have a form that pos

Re: [PHP] Help with REGEXP please

2005-03-04 Thread John Nichel
Shaun wrote: Hi, Please could someone tell me how i can extract the information from a string that is after 'ID_' and before '_FN' Thanks for your help. preg_match ( "/ID_(.*)_FN/", $string, $result ) The data will be in $result[1] if there is a match. -- John C

Re: [PHP] Re: Authentication fails - SOLVED

2005-03-04 Thread John Swartzentruber
On 3/4/2005 2:02 PM Richard Lynch wrote: John Swartzentruber wrote: I stripped down my original script until it started receiving POST data, then I kept modifying it until I figured out where the problem was. I found it, but I'm still as clueless as every. To summarize: I have a form that pos

Re: [PHP] php 4 & php 5

2005-03-04 Thread John Nichel
Jay Blanchard wrote: [snip] Is there a way to install two version of php on the same machine, and use them for two different users? [/snip] No. Yes. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] using javascript within php

2005-03-07 Thread John Nichel
Ross Hulford wrote: PHP == Server Side HTML/JavaScript == Client Side -- 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] php-help

2005-03-08 Thread John Nichel
need to get data from one table just so you can use that to retrieve data from another table. -- 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] Newbie LEFT JOIN question

2005-03-09 Thread John Nichel
Jackson Linux wrote: http://lists.mysql.com/ -- 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] Internal Server Error ?!?

2005-03-09 Thread John Nichel
ember I did anything wrong. Just regular php coding. And, everything was working fine while I was in my office. I found this problem at home. What could cause this problem? Any hint? Look at your error logs. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP Genera

Re: [PHP] Internal Server Error ?!?

2005-03-09 Thread John Nichel
know where your error logs are, you really need to RTFM for your web server software. -- 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] PHP5.0.3-3 on RedHat

2005-03-09 Thread John Nichel
/usr/src/redhat/RPMS/ -- 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] PHP5.0.3-3 on RedHat

2005-03-09 Thread John Nichel
Bronislav Klucka wrote: John Nichel wrote: You can build the RPM from the source rpmbuild -ta php-5.0.3xxx.tar.gz It will put the RPM somewhere like /usr/src/redhat/RPMS/ I've done this... how can I specify php configure parameters? (--with-mysql, etc) Brona It's been a long time

Re: [PHP] a new it company

2005-03-09 Thread John Nichel
Brian Dunning wrote: Sharvan - You won't find too many fans of overseas outsourcing on this list. I'm a fan of it if they send ME overseas to outsource. Italy, Germany, Greece, AustraliaI'll go. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED]

Re: [PHP] shell script - disable log output

2005-03-09 Thread John Nichel
hp -q * OUTPUT: $ test.php My error message $ How can I prevent the error messages from being echoed to the client? Try @error_log ( "My error message" ); Don't know if it will work, but it's worth a shot. -- John C. Nichel ÃberGeek KegWork

Re: [PHP] shell script - disable log output

2005-03-09 Thread John Nichel
Eli wrote: John Nichel wrote: Try @error_log ( "My error message" ); Don't know if it will work, but it's worth a shot. Checked. That's not working, since the @ operator prevents logging of errors/warnings/notices that caused by the expression following, but

Re: [PHP] shell script - disable log output

2005-03-09 Thread John Nichel
Eli wrote: From all the suggestions the script now looks like this: #!/usr/local/php5/bin/php -q But it still output the error to the screen.. :( I saw someone suggest this error_log ( "My error message", 3, "/dev/null" ); And that works fine on my machine...have you t

Re: [PHP] Need help with file permissions for PHP files

2005-03-10 Thread John Nichel
should be using suexec to run as the user 'vriho' when serving up pages for your site. All your files/directories should be owner/group 'vriho', and should have no permissions for _other_. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Ma

[PHP] PHP causes Apache segmentation fault?

2005-03-10 Thread John Swartzentruber
I am running Fedora core3 with Apache 2.0.52 (from default RPMs), MySQL 4.1.10 (from RPMs from MySQL site), and PHP 5.0.3 built from source. I'm going through the PHP manual and trying some of the mysqli examples. The last one I tried didn't work. The problem appears to be this line: $row = $re

Re: [PHP] Newbie Question: breaking a substr() string on a space

2005-03-11 Thread John Nichel
do something like this... function subEndWord ( $string, $start, $max ) { $string = substr ( $string, $start, $max ); $string = preg_replace ( "/\s\w+$/", "", $string ); return $string; } Untested, but should work. Tinker with the RegEx to perfect it. -- J

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-11 Thread John Swartzentruber
On 3/11/2005 10:33 AM Burhan Khalid wrote: John Swartzentruber wrote: I am running Fedora core3 with Apache 2.0.52 (from default RPMs), MySQL 4.1.10 (from RPMs from MySQL site), and PHP 5.0.3 built from source. I'm going through the PHP manual and trying some of the mysqli examples. The

Re: [PHP] Tried to run PHP as shell script and got the error...

2005-03-11 Thread John Nichel
Scott Fletcher wrote: Hi! I'm trying to run PHP as a shell script but I got the error message... Source code below is ... --snip-- #/usr/local/bin/php --snip-- Your first line needs to have both the # and the ! (shebang) #!/usr/local/bin/php -- John C. Nichel ÜberGeek KegWorks.com 716.856

Re: [PHP] Tried to run PHP as shell script and got the error...

2005-03-11 Thread John Nichel
Chris W. Parker wrote: John Nichel <mailto:[EMAIL PROTECTED]> Your first line needs to have both the # and the ! (shebang) #!/usr/local/bin/php Would this also work??? williamhung/usr/local/bin/php :) Maybe now, but 20 years or so ago, it would have been... cyndilauper/usr/local/bin/php -

Re: [PHP] Multiple file delete

2005-03-11 Thread John Nichel
eof ( $_POST['delete'] ); for ( $i = 0; $i < $size; $i++ ) { unlink ( $_POST['delete'][$i] ); } ?> -- 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] Sending data via POST

2005-03-11 Thread John Nichel
fore cURL was a viable option, so you may want to look into that http://us4.php.net/curl -- 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] PHP causes Apache segmentation fault?

2005-03-13 Thread John Swartzentruber
On 3/11/2005 11:57 AM John Swartzentruber wrote: I am running Fedora core3 with Apache 2.0.52 (from default RPMs), MySQL 4.1.10 (from RPMs from MySQL site), and PHP 5.0.3 built from source. I'm going through the PHP manual and trying some of the mysqli examples. The last one I tried d

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-13 Thread John Swartzentruber
On 3/13/2005 3:55 PM John Swartzentruber wrote: On 3/11/2005 11:57 AM John Swartzentruber wrote: I am running Fedora core3 with Apache 2.0.52 (from default RPMs), MySQL 4.1.10 (from RPMs from MySQL site), and PHP 5.0.3 built from source. I'm going through the PHP manual and trying some o

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-14 Thread John Swartzentruber
On 3/14/2005 6:03 AM Burhan Khalid wrote: John Swartzentruber wrote: When I run phpinfo(), it says my mysqli API client version is 3.23.58. When I run "php -i" from the command line it says it is 4.1.10a. The latter is correct. What would cause the discrepancy? The server has been s

Re: [PHP] PHP causes Apache segmentation fault?

2005-03-14 Thread John Swartzentruber
On 3/14/2005 12:22 PM Richard Lynch wrote: When I run phpinfo(), it says my mysqli API client version is 3.23.58. When I run "php -i" from the command line it says it is 4.1.10a. The latter is correct. What would cause the discrepancy? The server has been stopped and started many times, and PHP reb

Re: [PHP] PHP causes Apache segmentation fault? [SOLVED]

2005-03-14 Thread John Swartzentruber
On 3/14/2005 1:26 PM Richard Lynch wrote: PHP I'm already building from Source. Uninstalling all of MySQL doesn't seem to be an option because of that dovecot dependency. What I'd really like to know (among so many other things) is how configure is determining which MySQL it should use. Also knowin

Re: [PHP] Screen resolution in php

2005-03-15 Thread John Nichel
php page you can access those variables via $_GET Java != JavaScript -- 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] How can i calculate total process time?

2005-03-15 Thread John Nichel
but i dont believe that it is equal to total process time.. Thanx.. Use microtime... http://us4.php.net/microtime There are examples on the page. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] How can i calculate total process time?

2005-03-15 Thread John Nichel
#x27;U') or time(); since date and time deal in full seconds. If your script takes less than a second to process, you could end up with equal starting and ending times, resulting in 0 seconds to process. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General

Re: [PHP] listing directories

2005-03-15 Thread John Nichel
[EMAIL PROTECTED] wrote: Hi guys, Few days ago somebody asked something about listing content of directories and subdirectories. How I can get answers on this queastion? I have a same problem and don't want to bother you again with same thing :) Search the archives. -- John C. Nichel Übe

Re: [PHP] PHP file as homepage?

2005-03-15 Thread John Nichel
restart Apache. -- 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

[PHP] date() function help

2005-03-16 Thread John Eggen
week number for the last week (starting on the last Sunday of the month). Does anyone have a suggestion? Thanks! -- John Eggen <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Pagination

2005-03-23 Thread John Nichel
so that your script will know where to start from. -- 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] Pagination

2005-03-23 Thread John Nichel
a bit more tircky to ascertain where in the search results you are. I'm still working on that, and reading this thread intently. Thanks, */ Martin Austin /* *John Nichel <[EMAIL PROTECTED]>* Marquez Design wrote: > Hello all, > > I am wanting to paginate records from a

Re: [PHP] Sending a Table Via mail

2005-03-23 Thread John Nichel
. http://us4.php.net/manual/en/function.mail.php -- 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] Remove rows from a MySQL table?

2005-03-24 Thread John Nichel
Phil Neeb wrote: Is it possible to remove a row(s) from a MySQL table? I looked through the PHP manual and didn't see anything about it. Call me crazy, but the MySQL manual _might_ have something about it. -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP Ge

Re: [PHP] collapse SELECT from multiple tables

2005-03-24 Thread John Nichel
David Christensen wrote: Comeon guys, this is the PHP mailing list. The MySQL mailing list is over on the next block. -- 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] collapse SELECT from multiple tables

2005-03-24 Thread John Nichel
Jay Blanchard wrote: SELECT p.users FROM php.list p LEFT OUTER JOIN mysql.list m ON (p.phpuserid = m.mysqluserid) GROUP BY p.users HAVING clue > 0; I got zero results returned. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (h

Re: [PHP] Storing Arrays in a database

2005-03-24 Thread John Nichel
Joe Harman wrote: Hey, I was curious if anyone here stores arrays in MySQL... and how r u doing this... are you converting the values to a delimited string or is there another way? Thanks Joe http://us4.php.net/serialize -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED

Re: [PHP] Storing data structires in DB

2005-03-24 Thread John Nichel
But that's just me. -- 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

[PHP] Meta HTTP refresh problem

2005-03-25 Thread John Vaughan
holding me up? Thanks for the help. -John The code for the refresh: echo ""; I know that the refresh is actually being sent to the browser because I can read it in the HTML source of the output page and can see the test echo. I also know that it isn't an issue with my configurati

[PHP] More about problems reading COM ports

2005-03-26 Thread John McCaskey
Others have reported problems reading COM ports using fopen and fgets or fread. They open the port and start reading but nothing ever arrives. I have the same problem and discovered the following. There is an 8K input buffer. Only after 8K bytes have arrived does fgets or fread see the first. How

[PHP] More about problems reading COM ports

2005-03-26 Thread John McCaskey
Others have reported problems reading COM ports using fopen and fgets or fread. They open the port and start reading but nothing ever arrives. I have the same problem and discovered the following. There is an 8K input buffer. Only after 8K bytes have arrived does fgets or fread see the first. How

[PHP] setcookie issue

2005-03-26 Thread John Hinton
reload, they appear. So, to the user, they are presented with logging in twice unless they know this odd trick. Any ideas about how to make this work on the first time through? This is driving me nuts on two sites at the moment. Thanks, John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] setcookie issue

2005-03-26 Thread John Hinton
Chris Shiflett wrote: John Hinton wrote: Seems my old setcookie scripts are busted in php with globals off. Use $_COOKIES['name']. Chris The thing is, on the next action switch print_r($_COOKIE); returns empty until I refresh the browser. So, thusly, the second page load brings in t

[PHP] Still fighting setcookie

2005-03-27 Thread John Hinton
I would expect the return on action=1 to report the set cookie, but instead, it has no data. If I then reload the browser, the cookie appears. How can I get the cookie to set without this reload? What am I missing? Thanks a bunch... John Hinton -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best Server OS

2005-03-28 Thread John Nichel
cause I've used it since RH 5.2. -- 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] Best Server OS

2005-03-28 Thread John Hinton
f you want MySQL 3 versions, CentOS EL 3.4 is a free Redhat Enterprise Linux clone. For MySQL 4.x... CentOS EL 4 is out. Also has selinux if you want to take that on. All quality stuff that you can rely on in a mission critical environment. John Hinton -- PHP General Mailing List (http://www.ph

Re: [PHP] POST variables from a link...and popup new window

2005-03-29 Thread John Nichel
james tu wrote: Hi: I have a link that, when clicked on, pops up a new window. I want to use the POST method in order to pass information. Right now I'm appending the parameters to the URL of the link and using GET to retrieve the name/value pairs. Is there a way to do this? Yes. -- J

Re: [PHP] deleting all my cookies

2005-03-30 Thread John Nichel
ookie($name, ""); } } } Give your cookie an expire time in the past setcookie ( $name, "", time() - 3600 ); If you don't give it a time, it will be a 'session' cookie, and will remain as long as you have your browser window(s) open. http://us4.php.net/s

Re: [PHP] Sourcelabs releases AMP Stack and Test Data

2005-03-30 Thread John Nichel
Cornelius Willis wrote: So, what is the PHP question? -- 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] Include file

2005-03-30 Thread John Nichel
rence between the two would be negligible. Let's see if you still say that after you run your php scripts on my Atari 800XL. ;) -- 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] Include file

2005-03-30 Thread John Nichel
.\n" ); echo ( "Double Quotes : " . $double . " seconds.\n" ); if ( $double > $single ) { $time = $double - $single; echo ( "Single Quotes are " . $time . " seconds faster than double quotes." ); } else { $time = $single - $double; echo ( "Doub

Re: [PHP] Help with SQL Query String

2005-03-31 Thread John Nichel
Jay Blanchard wrote: Ya'll bitch when I make them RTFM, ya'll bitch when I do codewhat's a guy to do? j/k Don't get married? ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] link problem - Apache or PHP?

2005-03-31 Thread John Nichel
roblem' of either. Without the 'http://' Apache assumes it is an releative link, and is appending it to the cwd. -- 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] Filemaker Checkbox Data Problem...

2005-03-31 Thread John Nichel
ake this character in php with chr ( 29 ); -- 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] Filemaker Checkbox Data Problem...

2005-03-31 Thread John Nichel
Nick Zukin wrote: Just tried a str_replace using chr(29) and it didn't work. Thanks for trying so quickly, though. Nick Good luck. Filemaker has some wierd stuff in it. If you find the answer away from the list, please let us know, as some of us are stuck with working with it too. :( --

Re: [PHP] Filemaker Checkbox Data Problem...

2005-03-31 Thread John Nichel
ds like what I went thru...'cept on my end, I didn't have to match the character, I had to create it...which is what the chr(29) made. Have you tried setting the character to a variable, before doing the string replace? $funky = chr(29); $mystring = str_replace ( $funky, ", ",

Re: [PHP] hotlinking images

2005-03-31 Thread John Nichel
Sebastian wrote: i have an issue with site linking directly to my images. the problem is these images are generated on the fly with php/gd -- they're generated each time its viewed because i have done some watermarking manipulation and didnt want to watermaker them in a static way. they're includin

[PHP] Accented character 'echo'ed randomly

2005-04-04 Thread John Coppens
Hi people. I submitted the issue below to the bug site, but the people there suggested I present it here. I've tried some more, but until now, I couldn't find any cause for the problem. Any suggestion would be appreciated! John Description: I h

Re: [PHP] Accented character 'echo'ed randomly

2005-04-05 Thread John Coppens
On Tue, 05 Apr 2005 09:44:35 +0200 Marek Kilimajer <[EMAIL PROTECTED]> wrote: > John Coppens wrote: > > Hi people. > > > > I submitted the issue below to the bug site, but the people there > > suggested I present it here. I've tried some more, but until now,

Re: [PHP] Header issues

2005-04-05 Thread John Nichel
on to display the table. I use the Header( ) function. This works, except that my tables are displayed in the "margin" area. How can I force it to send to the main area , using the header function. You can't. Not using header() at least. header() happens on the server, targeting a fr

Re: [PHP] Accented character 'echo'ed randomly

2005-04-05 Thread John Coppens
;ve filed a bug report on bugzilla... Thanks for the replies, and sorry for blaming PHP (not really ;-). John -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anybody getting these also?

2005-04-06 Thread John Nichel
Andy Pieters wrote: -- Forwarded Message -- Subject: Date: Wednesday 06 April 2005 07:30 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Thank you for contacting ActiveWire Inc! Nope, /dev/null gets it for me. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL

Re: [PHP] Anybody getting these also?

2005-04-06 Thread John Nichel
Jochem Maas wrote: John makes it all sounds so easy, I'll console myself with the fact that John 'carries' the title Ubergeek :-) (a title I can only hope to live upto :-) First requirement is to still have in your possession, a computer from the Atari/Commodore/Timex days. Ro

Re: [PHP] Anybody getting these also?

2005-04-06 Thread John Nichel
box lids in my garage. Only if you had the 16k model. ;) -- 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] Anybody getting these also?

2005-04-06 Thread John Nichel
0, I still collect comic books, and watch Star Trek. :o -- 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] Interesting, yet goofy behavior

2005-04-06 Thread John Nichel
but even if you unset the $_GET variables, it will still be in the URL, as that's where the form posted too. And since the code is written to post to PHP_SELF, it will keep that value for the next load of the page. You could get rid of the query string, and header() redirect t

Re: [PHP] switch question

2005-04-07 Thread John Nichel
William Stokes wrote: Hello, Can I jump to html and back to php in the middle on switch Test the question. -- 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] sql question

2005-04-07 Thread John Nichel
you want your select to satisfy? All data? Data with a certain description? Data older than a certain date? Etc. Etc. Etc.? -- 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] another non php Q

2005-04-07 Thread John Nichel
William Stokes wrote: Is there a way to limit a size with som sort of a maxlength value I know it's not php but thanks anyway -Will STFW -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] How do I get the first element's key of an array of objects?

2005-04-07 Thread John Nichel
ersing the array... http://us4.php.net/manual/en/function.array-reverse.php And then you can use array_pop() OR foreach ( $myArray as $key => $value ) { $theOneIWant = $value; break; } -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing Lis

Re: [PHP] Installation Warning?

2005-04-08 Thread John Nichel
Please turn off your return receipts when sending 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] Regular Expressions?

2005-04-08 Thread John Nichel
ent. Am I right in thinking the solution in this matter is using regular expressions? If so, where is a good resource to polish my skills? What about turning off/on magic quotes? John No need for a regex. Use something like mysql_escape_string() or addslashes(). That's what these function

Re: [PHP] Storing password in cookie

2005-04-08 Thread John Nichel
Computer Programmer wrote: What is a better way to store password in a cookie? There is no good way to store a password in a cookie. Just don't do it. -- By-Tor.com ...it's all about the Rush http://www.by-tor.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.

Re: [PHP] Storing password in cookie

2005-04-09 Thread John Nichel
[EMAIL PROTECTED] wrote: A couple of people have stated this but I think it is incorrect. For one thing the users themselves are very likely to store the password there, so why shouldn't you -- with permission of course? If the user wants to circumvent security measures by storing passwords, t

Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3

2005-04-09 Thread John Nichel
Mark Sargent wrote: Hi All, I did a source install, of which I'm a newb at, and then created a index.php file containing the following, but, that shows in the browser, Firefox, when typing You need to tell Apache how to handle php files. -- By-Tor.com ...it's all about the Rush http://www.by-t

Re: [PHP] [PHP-INSTALL] Install Problems on Fedora 3

2005-04-09 Thread John Nichel
Mark Sargent wrote: http://www.php.net/manual/en/install.unix.php it has 2 examples, 4-1 and 4-2. Little confused with what shared and static modules are and which 1 pertains to me. I was wanting to get php running to allow base to show results of snort logging in mysql. Snort/Mysql/Base etc are i

<    24   25   26   27   28   29   30   31   32   33   >