Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
print_r($row_info) display the entire column contents of the select id However, *$first = $row_info['first_name']; echo $cc_first;* the above echo still returns nothing. On 3/27/07, Davi [EMAIL PROTECTED] wrote: Em Terça 27 Março 2007 17:40, Dan Shirah escreveu: I have echoed something

Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
Sorry, had a typo. *$cc_first = $row_info['first_name']; echo $cc_first;* this echo returns nothing. On 3/27/07, Dan Shirah [EMAIL PROTECTED] wrote: print_r($row_info) display the entire column contents of the select id However, *$first = $row_info['first_name']; echo $cc_first;* the above

Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
] wrote: 2007. 03. 27, kedd keltezéssel 16.56-kor Dan Shirah ezt írta: Sorry, had a typo. *$cc_first = $row_info['first_name']; echo $cc_first;* this echo returns nothing. and what does echo $row_info['first_name']; print out? if still nothing, then probably 1) you misspelled the field name

Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
PROTECTED] [18] = Y [19] = These are the comments [20] = Mar 27 2007 5:26PM [21] = Dan Create [22] = Mar 27 2007 5:26PM [23] = Dan Research [24] = Mar 27 2007 5:26PM [25] = Dan Submit [26] = C [27] = TN ) Bold and in red is the first_name column result. On 3/27/07, Brad Bonkoski [EMAIL PROTECTED

Re: [PHP] POST + QUERY

2007-03-27 Thread Dan Shirah
) 1235550011 [17]= string(7) [EMAIL PROTECTED] [18]= string(1) Y [19]= string(22) These are the comments [20]= string(19) Mar 27 2007 5:29PM [21]= string(30) Dan Create [22]= string(19) Mar 27 2007 5:29PM [23]= string(30) Dan Research [24]= string

[PHP] POST a variable

2007-03-23 Thread Dan Shirah
Okay, I feel like the correct answer to this is about 2mm back in my grey matter. 1. I have a query that pulls the last row number when a newly inserted record is added: $maximum=SELECT MAX(payment_id) FROM payment_request; $max_result=mssql_query($maximum);

Re: [PHP] POST a variable

2007-03-23 Thread Dan Shirah
the time it takes to go from step 3 to step 4 are very, very minimal. We're talking about MAYBE a 2-3 millisecond gap? On 3/23/07, Németh Zoltán [EMAIL PROTECTED] wrote: 2007. 03. 23, péntek keltezéssel 10.45-kor Dan Shirah ezt írta: Okay, I feel like the correct answer to this is about 2mm back

Re: [PHP] POST a variable

2007-03-23 Thread Dan Shirah
(), you can rest assured you'll get a record with a single field, even if it only contains a null, that's the way with variables, you can't fail on them, though they might return null. Satyam - Original Message - *From:* Dan Shirah [EMAIL PROTECTED] *To:* Satyam [EMAIL PROTECTED] *Sent

Re: [PHP] POST a variable

2007-03-23 Thread Dan Shirah
that returns an array. You might use mssql_result instead: $get_max = SELECT @@identity; $max_result = mssql_query($get_max) or die(mssql_error()); $max_id = mssql_result($max_result,0,0); echo $max_id; Satyam - Original Message - From: Dan Shirah [EMAIL PROTECTED] To: Satyam [EMAIL

[PHP] Question

2007-03-20 Thread Dan Shirah
Looking for some direction here. I have a form that collects user data. When an employee opens the form they enter in all of the user data for an account, however the account can have multiple users so the employee has the option to Enter another user for this account and they can do this for

[PHP] Re: Question

2007-03-20 Thread Dan Shirah
for this account? On 3/20/07, Greg Beaver [EMAIL PROTECTED] wrote: Dan Shirah wrote: Looking for some direction here. I have a form that collects user data. When an employee opens the form they enter in all of the user data for an account, however the account can have multiple users so the employee has

[PHP] Re: Question

2007-03-20 Thread Dan Shirah
multiple times tied to different accounts. On 3/20/07, Greg Beaver [EMAIL PROTECTED] wrote: Dan Shirah wrote: In my database I have two tables. One table stores all of the account information, the other table stores all of the user information. Table 1 account_id - is the primary key

Re: [PHP] Re: Question

2007-03-20 Thread Dan Shirah
reports to auditors. On 3/20/07, Jim Lucas [EMAIL PROTECTED] wrote: Dan Shirah wrote: I had thought about having the multiple submissions on a single form, but with the amount of user information that is collected and the variable amount of users that may need to be entered this method would

[PHP] Save and Continue

2007-03-07 Thread Dan Shirah
Hello All, I am trying to think through my new forms process. I want to allow a customer to submit multiple orders using the same credit card. At the bottom of my form I will have a Save link and a Save and Submit Additional link/checkbox. Basically what I want to happen is that if the user

Re: [PHP] Save and Continue

2007-03-07 Thread Dan Shirah
, it's safer to use things like Paypal... Tijnema -- To the full PHP list now On 3/7/07, Jochem Maas [EMAIL PROTECTED] wrote: Robert Cummings wrote: On Wed, 2007-03-07 at 10:39 -0500, Dan Shirah wrote: then return to the same screen with the credit card information still populated You

[PHP] Multiple Submit

2007-02-26 Thread Dan Shirah
Hello all, I have a page that has multiple submits on it. One submit is within my javascriptfor form checking, the other submit is a button used to populate all customer information if an order ID is entered. Problem: I cannot get the two to coincide at the same time. They both use the

Re: [PHP] Multiple Submit

2007-02-26 Thread Dan Shirah
a form within a form, it is giving me problems. On 2/26/07, tedd [EMAIL PROTECTED] wrote: At 11:23 AM -0500 2/26/07, Dan Shirah wrote: Hello all, I have a page that has multiple submits on it. One submit is within my javascriptfor form checking, the other submit is a button used to populate all

[PHP] Option Value

2007-02-23 Thread Dan Shirah
On my form I have several drop down menus. They all work and display the corrent values. However, I would like the initial display of the form to show each dropdown as blank. $q_status = SELECT * FROM status_codes ORDER BY status_description; $r_status = mssql_query($q_status) or

Re: [PHP] Option Value

2007-02-23 Thread Dan Shirah
Thank you George, that is what I was referring to. I had been placing the echo OPTION value=\\/OPTION\n; inside of my loop..which of course returned a blank after every valid selection. TGIF! Thanks all. On 2/23/07, Dave Goodchild [EMAIL PROTECTED] wrote: Also, if you want to get into the

[PHP] Month

2007-02-19 Thread Dan Shirah
Greetings, I have the following code which populates a dropdown box so a user can select a month. They see the month name and the SELECTED value is the corresponding numeric value 1-12 for the month. However, the selected value for January would be 1. I need the selected value fro January

Re: [PHP] Month

2007-02-19 Thread Dan Shirah
If I change my date value to m instead of M, that would only affect the visual month representation that they see, and not the selected value that I want to input into my database thoughright? On 2/19/07, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] I have the following code which

Re: [PHP] Month

2007-02-19 Thread Dan Shirah
Okay, so sprintf(%02s, $m) means that the value of $m would be checked for the amount of digits returned. If less than two digits a zero would be added to the front, correct? On 2/19/07, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] If I change my date value to m instead of M, that would only

Re: [PHP] Month

2007-02-19 Thread Dan Shirah
/19/07, Brad Fuller [EMAIL PROTECTED] wrote: -Original Message- From: Dan Shirah [mailto:[EMAIL PROTECTED] Sent: Monday, February 19, 2007 1:44 PM To: Jay Blanchard Cc: php-general Subject: Re: [PHP] Month Okay, so sprintf(%02s, $m) means that the value of $m would be checked

Re: [PHP] Month

2007-02-19 Thread Dan Shirah
option value=\.sprintf(%02d, $m).\$months/option; } ? /select On 2/19/07, Brad Fuller [EMAIL PROTECTED] wrote: -Original Message- From: Dan Shirah [mailto:[EMAIL PROTECTED] Sent: Monday, February 19, 2007 2:08 PM To: Brad Fuller Cc: Jay Blanchard; php-general Subject: Re: [PHP

Re: [PHP] Month

2007-02-19 Thread Dan Shirah
GAH! Sorry. rubs eyes On 2/19/07, Brad Bonkoski [EMAIL PROTECTED] wrote: Dan Shirah wrote: Just when I think I'm getting the hang of PHP, I get confused beyond belief :| Is this working for you guys? When I test my page only 1/2 of the months show up now. scratching head select

Re: [PHP] Retrieve value of newly inserted row.

2007-02-15 Thread Dan Shirah
Okay, I found the correct function and below is what I have: - Show quoted text - $insert1 = INSERT INTO table1 ( debit_card, card_type, card_number, exp_date, payment_amount, cvv_number, first_name, middle_name, last_name, address_1,

Re: [PHP] Retrieve value of newly inserted row.

2007-02-15 Thread Dan Shirah
I GOT IT! WooHoo! Thanks to a co-worker, this problem has been solved! I was using scope_identity incorrectly. This is how you should use it: INSERT INTO Table1 ( Column1, Column2) VALUES ( Value1, Value2) INSERT INTO Table2 ( Column1, Column2) VALUES (

[PHP] Retrieve value of newly inserted row.

2007-02-14 Thread Dan Shirah
Hello, I have a page the contains two insert statements. $insert1 = INSERT INTO table1 ( debit_card, card_type, card_number, exp_date, payment_amount, cvv_number, first_name, middle_name, last_name, address_1, address_2, city,

Re: [PHP] Retrieve value of newly inserted row.

2007-02-14 Thread Dan Shirah
Sorry, I wasn't trying to fool you, I promise! :) Arpad, From looking on the web (MSDN) I found the @@identity and the explanation of what it is, but MS's example is horrible and does not show a good context for using this function. Could you elaborate more on its use? On 2/14/07, Robert

Re: [PHP] Javascript and $_POST

2007-02-08 Thread Dan Shirah
/2007 01:34 PM, Dan Shirah wrote: I have a form that uses Javascript to validate form field entries, and if they are incorrect it returns an error to the user. After the Javascript processing is complete, it submits the form to my save page. However it seems that once the processing is complete

Re: [PHP] Javascript and $_POST

2007-02-08 Thread Dan Shirah
Nope, same result unfortunately. On 2/8/07, Németh Zoltán [EMAIL PROTECTED] wrote: On cs, 2007-02-08 at 08:56 -0500, Dan Shirah wrote: Okay, I'll try your spacer solution. Where do you think I should add it? I put it right before the /form tag, but I think you could put it anywhere

Re: [PHP] Javascript and $_POST

2007-02-08 Thread Dan Shirah
); } } document.getElementsByName('inputForm')[0].submit(); } Dan Shirah wrote: Okay, I edited my page per some suggestions here. Below is what I now have: script language=JavaScript function checkForm() { // ** START ** if (inputForm.cc_phone_number.value == ) { alert( Please enter

Re: [PHP] Javascript and $_POST

2007-02-08 Thread Dan Shirah
You guys are going to kill me! I found my problemand it's one of those What the hell were you thinking issues. Within my form was a button but I stupidly made it a submit when I created it and therefore the javascript check for submit was finding my button first and dumping the error. So,

[PHP] Javascript and $_POST

2007-02-07 Thread Dan Shirah
I have a form that uses Javascript to validate form field entries, and if they are incorrect it returns an error to the user. After the Javascript processing is complete, it submits the form to my save page. However it seems that once the processing is complete and it passes to the save page,

[PHP] Year

2007-02-02 Thread Dan Shirah
, 10...how can I get it to output the two year for 07, 08, 09 without it cutting off the zero? Reagrds, Dan

Re: [PHP] Year

2007-02-02 Thread Dan Shirah
Thanks everyone! A lot of great solutions! On 2/2/07, chetan rane [EMAIL PROTECTED] wrote: HI Dan try this this should work 100%; echo select; for ($y=0;$y=10;$y++) { $years=date('Y')+$y; $short_years=date('y')+$y; printf(option value=\%02d\%d/option,$short_years,$years); } echo /select

Re: [PHP] Result sorting not working

2007-01-29 Thread Dan Shirah
, Jochem Maas [EMAIL PROTECTED] wrote: Dan Shirah wrote: I have a search page that displays all active records in my application, but for some reason, I can not get it to display based on a specific input. For instance, I have records with id's 2, 3, 4, 5 etc... In my search form, the default

[PHP] Result sorting not working

2007-01-26 Thread Dan Shirah
I have a search page that displays all active records in my application, but for some reason, I can not get it to display based on a specific input. For instance, I have records with id's 2, 3, 4, 5 etc... In my search form, the default view shows all records, and my form variable lets you put

[PHP] Create ACH Origination file with PHP

2007-01-26 Thread Dan Harrington
Hello, Does anyone know of a script that can create an ACH origination file with PHP? Thanks Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Displaying Results on different rows in tables

2007-01-19 Thread Dan Shirah
Ah, I see. In Brad's reply there was two $result = mssql_query($sql) or die(mssql_error()); in the code. Removed the one from outside of the loop and it works fine now. Thanks to both of you for your help! On 1/18/07, Chris [EMAIL PROTECTED] wrote: Dan Shirah wrote: The code above

[PHP] Conditional Select

2007-01-19 Thread Dan Shirah
I have a page that shows all outstanding tickets, what I'm trying to have it do is let users search by several categories. I want to be able to filter the results based on the user input. For instance, say I have an employee that wants to find ticket #2. He enters 2 in the Request ID field

[PHP] Displaying Results on different rows in tables

2007-01-18 Thread Dan Shirah
Hello all, I am trying to pull data and then loop through the multiple results display in seperate rows. My database contains several tables which are all tied together by the credit_card_id. After running the query, it ties the unique record together by matching the credit_card_id in both

Re: [PHP] Displaying Results on different rows in tables

2007-01-18 Thread Dan Shirah
The code above displays no information at all. What I want to do is: 1. Retrieve my information 2. Assign it to a variable 3. Output the data into a table with each unique record in a seperate row On 1/18/07, Brad Bonkoski [EMAIL PROTECTED] wrote: Dan Shirah wrote: Hello all, I am trying

[PHP] server side security

2006-11-13 Thread H. Dan Phillips
. It will only be used within our intra-net and only by a handful of people. Any and all suggestions will be greatly appreciated. Thks Dan Phillips -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Staff log-in

2006-11-10 Thread Dan McCullough
I do a lot of work for non-profits a lot of them are really good clients, pay well and on time, but I know most of them pretty well and know that they are truly non-profits, so just because you said you were a non-profit where we supposed to assume that you wanted it for free and supported

Re: [PHP] Remote Robot Control with PHP

2006-10-31 Thread Dan McCullough
Cool! On 10/31/06, Prathaban Mookiah [EMAIL PROTECTED] wrote: Hello List, I thought of sharing my experience of writing a controller to remotely control a robot through a webserver using PHP. Though I could not use PHP alone to do the entire job due the high delay it takes to connect to the

Re: [PHP] Grrrrr... Re: Returned mail: User unknown

2006-09-21 Thread Dan Holevoet
for the inconvenience, hopefully this will get resolved. Dan On Sep 21, 2006, at 2:23 PM, Børge Holen wrote: On Thursday 21 September 2006 10:09, Google Kreme wrote: On 20 Sep 2006, at 22:47 , [EMAIL PROTECTED] wrote: - The following addresses had permanent fatal errors - [EMAIL

[PHP] php credit reporting API

2006-09-02 Thread Dan Harrington
you recommend a vendor? Thanks Dan

Re: [PHP] Shopping cart

2006-08-22 Thread Dan McCullough
There are many payment processing script/classes/examples available that you could use. Just google around for your gateway provider, like PHP and Authorize.net, etc, or go to their site and look for a developer, API or something like that to see if they have done some examples. On 8/22/06,

Re: [PHP] Shopping cart

2006-08-22 Thread Dan McCullough
Commercial product that is good http://www.x-cart.com/ On 8/22/06, Ryan A [EMAIL PROTECTED] wrote: It really looks like I will have to write this myself :( I know it will be good for experience but like someone else has pointed out, I would rather work with someone elses code for the payment

Re: [PHP] Shopping cart

2006-08-22 Thread Dan McCullough
I believe you can find those out there as well, most of what you need will be available out there, you will be able to find them and then take what you need to work it into your cart, probably would be a good idea to think of all the different pieces and then find the different

Re: [PHP] Shopping cart

2006-08-22 Thread Dan McCullough
Another thing to remember is that you dont want to get overwhelmed with all the work when you are going to build your own, a list of 250,000 features will never get done, many have tried, many have failed, so plan what you need to start with and build the other features later. On 8/22/06, Dan

Re: [PHP] Re: Recommendations for PHP debuggers?

2006-08-21 Thread Dan McCullough
How is this different then what they try and sell you for $249. I have eclipse for Java development, and was looking at Zends package for PHP development, but if they are basically selling me the same thing then I would go with eclipse. On 8/21/06, Colin Guthrie [EMAIL PROTECTED] wrote: Larry

Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock

2006-07-14 Thread Dan McCullough
in phpmyadmin config.default.php you can specify the socket that it should be looking for. have you tried that? On 7/14/06, Dave M G [EMAIL PROTECTED] wrote: David Tulloh, This sounds like a Zend Studio problem and question. It could possibly be a MySQL or even a phpMyAdmin question. It

Re: [PHP] url obfuscation

2006-07-13 Thread Dan McCullough
For me it doesnt matter I dont want Google in the section that I'm obfuscation. On 7/13/06, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, July 7, 2006 10:56 pm, Anas Mughal wrote: My URLs are constant. They are not changing. All my dynamic pages are indexed nicely on Google. I agree that a

Re: [PHP] Debugging Log

2006-07-12 Thread Dan McCullough
I wrote my own, very simple, very easy. I think the code is in the archive somewhere. Otheres have written similar functions. CODE +++ function logError ($logentry, $lgname) { // simple function to log errors to text/log file. $logfile =

Re: [PHP] Debugging Log

2006-07-12 Thread Dan McCullough
Ahh yes I do that as well, I knew there was another other then syslog. On 7/12/06, Jochem Maas [EMAIL PROTECTED] wrote: Michael B Allen wrote: What is the standard method of logging debug info? Should I just fopen a file for append and write the message or is there a facility provided? there

[PHP] url obfuscation

2006-07-06 Thread Dan McCullough
Looking for a good way to obfuscation the name value pairs in a URL, so it might be something like http://www.domain.com/page=fjdsaflkjdsafkfjdsakfjdsalkfjsda983dsf or something like that, I was looking at base64_encode, but was wondering what others might do or use. It doesnt have to be super

Re: [PHP] PHP Bug Tracking

2006-07-06 Thread Dan McCullough
This one? http://dev.mysql.com/downloads/other/eventum/ On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote: Can anyone point me in the direction where I can find a place to download the bug track system that PHP/PEAR PECL uses. I seem to remember it is available but can't find it anymore! Ta!

Re: [PHP] PHP Bug Tracking

2006-07-06 Thread Dan McCullough
I just installed it so its fresh in my mind. :) On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote: Dan McCullough wrote: This one? http://dev.mysql.com/downloads/other/eventum/ On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote: Can anyone point me in the direction where I can find

Re: [PHP] Re: Update site through email

2006-06-29 Thread Dan McCullough
There are several blog software packages and cms packages that do something like this you might want to download and take a peek. Wordpress one that comes to mind. On 6/29/06, Mathieu Dumoulin [EMAIL PROTECTED] wrote: How i'd do it is not simple, i'm sure there is an easier method but here

Re: [PHP] Re: creating a threaded message system--sorting messages

2006-06-29 Thread Dan McCullough
query will do the trick. Either way if this is more what you are looking for we can get into specifics later. Dan On 6/29/06, KermodeBear [EMAIL PROTECTED] wrote: Hello, As Adam pointed out, this can be deadly to your database, especially as the number of posts grows. If you want to go

[PHP] rss feeds from db

2006-06-22 Thread Dan McCullough
I'm having some problems where some undefined entity are getting in, these entities are usually html entities. sad thing isquot;brvbar;bringing in these large chains is putting the xml doc points to the in ;brvbar as the problem. what do I need to do to get this stuff cleaned up? -- PHP

Re: [PHP] User Login Problem

2006-06-20 Thread Dan McCullough
Or make your own, might be easier to do. On 6/20/06, suresh kumar [EMAIL PROTECTED] wrote: Hi, I am facing one problem in my project.i want to restrict more than one user login in the same account .Is there any functions available to check r we can implement using session.

RE: [PHP] A way to stop spam on this list

2006-06-19 Thread Dan Parry
snip just wait till we have spambots with AI and emotion subroutines ;-) /snip It'll be worse if we get spammers with actual intelligence... -- Dan Parry Senior Developer Virtua Webtech Ltd http://www.virtuawebtech.co.uk -- No virus found in this outgoing message. Checked by AVG Free Edition

RE: [PHP] regex problem

2006-06-01 Thread Dan Parry
for text that does not start with _a infront of the number? Thank you for any help, Merlin [/snip] How about this: (\w)+(_a){1}(\w)+\.htm$ Worked for me :) HTH Dan -- Dan Parry Senior Developer Virtua Webtech Ltd http://www.virtuawebtech.co.uk -- No virus found in this outgoing message

RE: [PHP] Why does this preg_replace function not work?

2006-05-26 Thread Dan Parry
out :) HTH Dan -- Dan Parry Senior Developer Virtua Webtech Ltd http://www.virtuawebtech.co.uk -Original Message- From: Dave M G [mailto:[EMAIL PROTECTED] Sent: 26 May 2006 10:26 To: php-general@lists.php.net Subject: [PHP] Why does this preg_replace function not work? PHP List

[PHP] parsing/replacing for special MS Word characters

2006-05-24 Thread Dan McCullough
I have a friend who I wrote some very simple publishing software, basically he takes his writtings and puts them online. Well his writtings are in Word and so he has alot of special characters that he inputs, some unknowingly, into the database. Are there any classes or samples of what others

RE: [PHP] Parsing images

2006-05-11 Thread Dan Harrington
Using ImageMagick, ray tracing algorithms, an OCR library, and fourier transforms, I bet that you could parse Capchas. Dan -Original Message- From: Dotan Cohen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 11, 2006 12:29 AM To: PHP General (E-mail) Subject: [PHP] Parsing images Hey all

[PHP] Re: printf and number_format rounding

2006-05-03 Thread Dan Baker
Duffy, Scott E [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Are printf and number_format supposed to round? echo ($hcount-$lcount)/$hilow. ; echo number_format(($hcount-$lcount)/$hilow,2,'.',''); 0.208333 0.21 0.145833 0.15 0.17 0.17 0.083

[PHP] Re: programming contests as a way of finding/evaluating offshoretalent...

2006-04-19 Thread Dan Baker
bruce [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i'm looking for opinions on the worth of programming contests as a way of judging the talent of potential software developers... any thoughts/pros/cons would be appreciated.. My first thought is: Won't be a good criteria for

RE: [PHP] Spell Checker

2006-04-18 Thread Dan Harrington
/stemmer.php (this just just one implementation of it) See this for the background theory and more info: http://en.wikipedia.org/wiki/Stemming_algorithm Dan -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 18, 2006 1:31 AM To: BH.VN.Viswanath Cc: php

[PHP] Browser-based scanning

2006-04-10 Thread Dan Harrington
of the image. Does anyone know of a PHP-based solution that does something like this? The link from the scanning device to the web server is the big unknown for me. Do I have to use ActiveX? Can ActiveX interface with PHP? Thanks Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] flash file to recognize SESSION or REQUEST variables?

2006-04-10 Thread Dan Harrington
and sorry if I misunderstood your question. Dan -Original Message- From: Sunnrunner [mailto:[EMAIL PROTECTED] Sent: Monday, April 10, 2006 10:47 PM To: php-general@lists.php.net Subject: [PHP] flash file to recognize SESSION or REQUEST variables? A client asked me this question. Does anyone

Re: [PHP] looking for shopping cart

2006-04-09 Thread Dan McCullough
X-Cart, ZenCart (osCommerce like), http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/index.html if you look in the archives you will find similar questions with a lot better response. On 4/8/06, Lisa A [EMAIL PROTECTED] wrote: I need a shopping cart for a website that once I install

Re: [PHP] ?=? style

2006-04-06 Thread Dan McCullough
Short tags in the php.ini file. On 4/6/06, Dallas Cahker [EMAIL PROTECTED] wrote: What is that called and where in the php.ini file do I enable it? Sorry if this is a stupid question but since I dont know what its called it makes it difficult to google it. -- PHP General Mailing List

Re: [PHP] php security

2006-04-06 Thread Dan McCullough
I would look here for an idea. http://phpsec.org/projects/guide/ I think you'll find many opinions on the matter. One thing to remember is that once the app goes live your job doesnt stop there you'll need to be just as stringent about security and checking logs and errors as you were when you

Re: [PHP] server/PHP security

2006-04-06 Thread Dan McCullough
http://www.hardened-php.net/advisory_202005.79.html check this out On 4/6/06, Wolf [EMAIL PROTECTED] wrote: I woke up on thanksgiving morning to find my server hacked through a hole left by a file upload area of my site. I restored the backup and placed a few blocks in place on the server,

Re: [PHP] server/PHP security

2006-04-06 Thread Dan McCullough
WHat types of files were they, if you dont mind me asking? On 4/6/06, Wolf [EMAIL PROTECTED] wrote: I woke up on thanksgiving morning to find my server hacked through a hole left by a file upload area of my site. I restored the backup and placed a few blocks in place on the server, so they

Re: [PHP] php security

2006-04-06 Thread Dan McCullough
php.ini-anal-retentive-paranoid. I'm editing mine for that right now, everything is off, the sever has a keyboard, mouse, monitor no cd/dvd, no floppy, no usb and is unplugged from the network, there are 6 security guards that surround you and they give you 5 minutes on a timer. On 4/6/06, Kevin

Re: [PHP] php security

2006-04-06 Thread Dan McCullough
Cool Chris I'm going to take a look at that movie. Dallas there is a section at the top of the ini file that lists some directives and their status to address security or performance issues, but as Chris mentioned your code could be as big of a risk as anything so pay attention to that. On

RE: [PHP] redirect using php

2006-04-05 Thread Dan Parry
'; } else { // no headers sent... much nicer header redirect header('location: ' . $url); die(); } } ? HTH Dan - Dan Parry Senior Developer Virtua Webtech Ltd http://www.virtuawebtech.co.uk

Re: [PHP] help with some logic.

2006-04-04 Thread Dan McCullough
hey Dallas, have you thought about breaking this up and making two seperate functions one the checks the cookie and one that checks the session information? I'm not sure if that is what you were looking for as far as an answer but it might be a good start. On 4/4/06, Dallas Cahker [EMAIL

RE: [PHP] php, sessions and ie

2006-04-04 Thread Dan Parry
a DB to store sessions... Much nicer HTH Dan - Dan Parry Senior Developer Virtua Webtech Ltd http://www.virtuawebtech.co.uk -Original Message- From: Dallas Cahker [mailto:[EMAIL PROTECTED] Sent: 04 April 2006 16:19 To: php-general

[PHP] Visa / MasterCard security compliance

2006-03-30 Thread Dan Harrington
/documentation/index.shtml One of these requirements is cardholder data encryption -- is anyone aware of a PHP/MySQL/Linux/Apache solution for end-to-end cardholder data encryption that satisfies the Visa / MasterCard requirements? Thanks Dan -- PHP General Mailing List (http://www.php.net

RE: [PHP] private $foo

2006-03-29 Thread Dan Parry
I can see a pattern emerging here... Chaos? You had chaos? All we had was this sodding great explosion... :-) Dan - Dan Parry Senior Developer Virtua Webtech Ltd http://www.virtuawebtech.co.uk -Original Message- From: Duncan Hill

RE: [PHP] Reading data from SELECT in PHP

2006-03-22 Thread Dan Parry
Maybe use Jacascript to create and populate hidden inputs? They will show up in the $_POST array then HTH Dan - Dan Parry Senior Developer Virtua Webtech Ltd http://www.virtuawebtech.co.uk -Original Message- From: Lorca [mailto:[EMAIL

RE: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread Dan Parry
[snip] $conn=mysql_connect( );/*with the required parameters*/ if(!conn) { [/snip] You are testing conn in your if condition... should that not be $conn? Dan - Dan Parry Senior Developer Virtua Webtech Ltd http://www.virtuawebtech.co.uk

RE: [PHP] Inserting data at runtime (php,mysql)

2006-03-21 Thread Dan Parry
conn denotes a constant where the value you are assigning is to the variable $conn [snip] $conn=mysql_connect( );/*with the required parameters*/ if(!conn) [/snip] Depending on your error level this may evaluate to TRUE creating a false positive Or am I wrong? Dan

RE: [PHP] Re: setcookie security concerns [medium]

2006-03-17 Thread Dan Parry
The value doesn't show up in the URL as you are redirecting the user back to the referring URL... so only the referrer will be shown (unless the redirecting script breaks :) ) Dan - Dan Parry Senior Developer Virtua Webtech Ltd http

[PHP] set_time_limit(90*60) and still timing out after 5 minutes on Windows

2006-03-17 Thread Dan Baker
I have a Windows server (IIS) with PHP and MySQL installed on it. I have a script that is automatically ran every evening. This script has a set_time_limit(90*60) (90 minutes) at the top, but the script seems to just stop functioning after 5 minutes. I do *not* get the line about execution

[PHP] Re: set_time_limit(90*60) and still timing out after 5 minutes on Windows

2006-03-17 Thread Dan Baker
Dan Baker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I have a Windows server (IIS) with PHP and MySQL installed on it. I have a script that is automatically ran every evening. This script has a set_time_limit(90*60) (90 minutes) at the top, but the script seems to just stop

Re: [PHP] Hostname Filtering

2006-03-15 Thread Dan
The hostname lookup does not impact performance at all. I am only doing a look-up on the remote ip of the user not on my full blacklist. I am using this on a site to log hits to a banner ad and on listings on a ebay style marketplace. I log the IP and the hostname on a look- up. Dan T

[PHP] date from YYYY-MM-DD to current date

2006-03-15 Thread Dan McCullough
I need to loop from a date in the past to current date getting all dates in between. Anyone have an idea on how to do that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [SOLVED] [PHP] date from YYYY-MM-DD to current date

2006-03-15 Thread Dan McCullough
is prohibited. If you have received this transmission in error, please notify the sender by reply e-mail and destroy all copies of this transmission. -Original Message- From: Dan McCullough [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 10:22 AM To: Shaunak Kashyap Subject: Re

[PHP] Hostname Filtering

2006-03-14 Thread Dan
a simple boolean if I am in the blacklist. I could create a loop and cycle through the array valves and to a regex on each but I was hoping someone would have a more elegant solution. Thanks, Dan T -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] php, fastcgi, mpm-worker and apache bottlenecks

2006-03-12 Thread Dan Rossi
Hi there, im am planning to spec the software install for one of our machines that gets an insane ammount of hits and traffic from referring sites. Im looking into if running the php for this server under fastcgi instead of as a php apache module will help reduce and apache bottlenecks ? Most

Re: [PHP] php, fastcgi, mpm-worker and apache bottlenecks

2006-03-12 Thread Dan Rossi
Source is fine, i never install php with binaries, lets see how i go. On 13/03/2006, at 1:12 PM, Chris wrote: Dan Rossi wrote: Hi there, im am planning to spec the software install for one of our machines that gets an insane ammount of hits and traffic from referring sites. Im looking

[PHP] Re: fopen failing, permission denied

2006-03-01 Thread Dan Baker
Chris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dan Baker wrote: I have the following code snippet: $h = fopen($path/file.txt, 'x+'); And it generates the following error: Warning: fopen(/home/./myarea/file.txt): failed to open stream: Permission denied The path

[PHP] Re: fopen failing, permission denied

2006-03-01 Thread Dan Baker
(SOLVED, see below) Dan Baker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Chris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dan Baker wrote: I have the following code snippet: $h = fopen($path/file.txt, 'x+'); And it generates the following error: Warning

<    3   4   5   6   7   8   9   10   11   12   >