[PHP] Dynamic Array Q

2001-12-28 Thread Chris Allen
Hey! Looking for a way to add an entry in my array ...the way I have it the array is getting rebuilt everytime... Anyway to add an entry without calling a function to do it inside the main while loop?? while ($row = mysql_fetch_object($result_query)) { $look =

Re: [PHP] Dynamic Array Q

2001-12-28 Thread Chris Allen
; } Happy New Year!! -ccma - Original Message - From: Chris Allen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 28, 2001 4:27 PM Subject: [PHP] Dynamic Array Q Hey! Looking for a way to add an entry in my array ...the way I have it the array is getting rebuilt

[PHP] TIMESTAMP and COMPARISON

2002-03-20 Thread chris allen
Hello, I am looking for a standard way to compare to dates. I have a date/time stored in a field in a mysql table as date_added TIMESTAMP(14). (IE mmddhhmmss). I want to delete all records in this table if date_added is older than 2 hours. IE if current_date date_added +2 hours then

[PHP] Query from POST_VARS

2002-04-03 Thread chris allen
Question on a mysql insert query: while(list($key, $val) = each($HTTP_POST_VARS)) { $string .= '. $val .' .,; } $insert_query = insert into data_16 values ('$string'); Do I need the single quotes for data being put into

Re: [PHP] Query from POST_VARS

2002-04-03 Thread chris allen
ty tyler :) saves a bunch of time. w00t!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP 4 broken after Apache upgrade

2002-07-06 Thread Chris Allen
Reinstall php. Did you do that when you upgraded Apache? For static link you need to re-install. For DSO not sure I do not run my systems that way. I havent heard of anyone else having problems. I will be updating myself this weekend so... Also you need to have the apache server handle the php

Re: [PHP] New York Remembrance

2001-10-03 Thread Chris Allen
umm ya forward this on to the czechs and the french etc... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] sending email to php script

2001-11-02 Thread Chris Allen
I think someone electrified the corridor, Tom said haltingly. ^^ shouldnt that be shockingly? :p -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

[PHP] test

2001-11-03 Thread Chris Allen
php - php-gtk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] Need a script that will read Apache Log files and generate reports

2001-11-26 Thread Chris Allen
http://www.analog.cx/ Subject: [PHP] Need a script that will read Apache Log files and generate reports -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail:

[PHP] Apache Php SSL

2001-12-03 Thread Chris Allen
Hey, When rebuilding Apache/Php/Modssl etc can I re-use my existing server key and server certificate ? Do I need to get a new certificate from Thawte/Verisign even if its for the same host? Thanks, CCMA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Apache Php SSL

2001-12-03 Thread Chris Allen
Ya thanks...I needed to make sure what I was reading was *what* I was reading... Thanks Again, ccma As long as the cert is still valid, it should work just fine. You'll need to point your httpd.conf to the right (previous) certificates though. That is explained pretty nicely in the mod_ssl

Re: [PHP] PHP SSL credit card transaction

2001-12-06 Thread Chris Allen
http://www.openecho.com/php/echophp-1.4.tar.gz I used this package, which requires cURL and for you to have setup a merchant account. Was really easy! As far as SSL jsut make sure you are serving the pages in SSL (https) and all is fine. You can home roll your on shopping cart like I did or

Re: [PHP]I know I know, but quick Apache/PHP question

2001-12-06 Thread Chris Allen
hmm looks right ...are you loading thru the server or are you doing a file://c/:doc_root/file.php ? heres the relevant info from my httpd.conf file on windows: ScriptAlias /php4/ C:/php/ Action application/x-httpd-php4 /php4/php.exe AddType application/x-httpd-php4 .php whats a url to check

Re: [PHP] Paypal Instant Payment Notification

2001-12-11 Thread Chris Allen
My problem (due to my lack of fundemental understanding) is that I don't know how to read Paypal's response to the post. Paypal describes the response like this, PayPal will respond to the post with a single word, 'VERIFIED' or 'INVALID', in the body of the response. YES EXACTLY. it will be