[PHP] mySQL Results To XML

2007-10-06 Thread CK
Hi, Here's the mission, creating a movie DB, I need the results returned from mySQL in an XML format for use with the FLASH Professional DataGrid. Any tips on formating mySQL results would be grand. Here's the structure of the DB, if needed. DVD Table *Title ID *Title *Genre *Actor

[PHP] mySQL Results To XML

2007-10-06 Thread CK
Hi, Here's the mission, creating a movie DB, I need the results returned from mySQL in an XML format for use with the FLASH Professional DataGrid. Any tips on formating mySQL results would be grand. Here's the structure of the DB, if needed. DVD Table *Title ID *Title *Genre *Actor

[PHP] Validating Email Conditional

2007-08-01 Thread CK
Hi, My script is working, but valid returns true even if the user is bogus. What needs changing so both conditions have to match, the following attempt returned unexpected logical if (getmxrr($domaintld,$mxrecords)) if(fsockopen($domaintld,25, $errno,$errstr,30)) { $valid

[PHP] addSlashes Question

2007-08-01 Thread CK
']).'; $contact = '.addslashes($_POST['contact']).'; I can understand addSlashes for the first and last name, but question the need in the other variables, please inform. CK -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Form Validation and DB Query

2007-08-01 Thread CK
Hi, Being thrust into cleaning after another has me timid. Could some kind soul look over the following solution for form validation and DB query? Any suggestions on security and streamlining is humbly requested. CK ?php $firstname =$_POST['firstname']; $lastname = $_POST

[PHP] Extracting Variables From URL

2007-05-16 Thread CK
Hi All, The following code works just fine for outputting links from an array. The next goal, is parsing the $thisPage variable from the URL (http://bushidodeep.com/contact.html/) so as ?php $thisPage=strtolower(contact);?, this variable could also be assigned to the $links[] $key.

[PHP] Oputting Forms Within a Class

2007-04-10 Thread CK
Hi All, Experimenting with OOP PHP,please be gentle. Attempting to output a form within a class: From calculator.php: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head meta

Re: [PHP] Oputting Forms Within a Class

2007-04-10 Thread CK
/PHPformhandling.html CK On Apr 10, 2007, at 1:49 PM, Richard Davey wrote: CK wrote: private function buildInt(){ !--Script 10.1- calculator.php-- form action=calculator.php method=post //Form elements omitted for brevity /form } } ? This is returned to the browser: Parse error: syntax

[PHP] PHP-FLASH

2007-03-15 Thread CK
(http://localhost/~username/folderpath/autoPrices/ pricesFlash.php?ck= + new Date().getTime()); // getPrices.onLoad=function(){ trace(this.thePrices); } XML FILE: ?xml version=1.0 encoding=ISO-8859-1? priceList part id=001-ACD Player/part price320/price

Re: [PHP] Re: PHP-FLASH

2007-03-15 Thread CK
Hi, This is an exercise, would you elaborate, as I'm fairly new to PHP- FLASH On Mar 15, 2007, at 12:55 PM, Mikey wrote: To get values such as price=500 then you will need to encode that into your URL. At the moment you are making thePrices=price500, so the value you are seeing is

Re: [PHP] Re: PHP-FLASH

2007-03-15 Thread CK
Hi, This is an exercise, using a simple file for the sake of learning. Any assistance would be appreciated. CK On Mar 15, 2007, at 1:08 PM, Andrei wrote: Mikey wrote: To get values such as price=500 then you will need to encode that into your URL. At the moment you are making

[PHP] DOM File Permissions

2007-03-07 Thread CK
The following code returns a permisson error: Quote: Warning: DOMDocument::save(./save1.xml) [function.DOMDocument-save]: failed to open stream: Permission denied in /Users/username/Sites/ xmlphp/dom/appendData/appendData.php on line 17 DOMCharacterData-appendData example I attempted

Re: [PHP] Shopping Cart

2006-10-28 Thread CK
Hi, Yes, I have and thought I was seeking the assistance of knowledgeable colleagues . The solution researched does not offer the desired features. I was not asking for code, but perhaps some solutions/ applications to explore. CK PS I don't appreciate being scolded. On Oct 27, 2006

Re: [PHP] Shopping Cart

2006-10-28 Thread CK
education was desired; I'll seek counsel elsewhere. Good Day, CK On Oct 28, 2006, at 6:13 AM, chris smith wrote: I don't appreciate being scolded. Spend some time on the list and see how many times this question (or type of question) gets asked and how many people actually do *some* sort of work

Re: [PHP] Shopping Cart

2006-10-28 Thread CK
On Oct 28, 2006, at 8:52 AM, Stut wrote: CK wrote: I'm new to the list, and PHP. My assumption was others who have asked similar questions, would have, like myself, done research. So I thought no need to clarify. I'm aware these list are not a do my homework solution. However, having

[PHP] Shopping Cart

2006-10-27 Thread CK
purposes: (sales info and the like). I'd like to collect customer info for internal purposes, or if they opt-in, for further communication. I'd like to get the usual web traffic stats (referring sites, etc.). Return True, CK Principal/Designer/Programmer -Bushidodeep www.bushidodeep.com

Re: [PHP] CMS for Auto Parts

2006-04-23 Thread CK
it yourself) would be to pick an existing AJAX + PHP framework and modify it to work with FLASH as the front end instead of JavaScript. Planning on building it myself. - Just a thought. /shrug On 4/23/06, John Hicks [EMAIL PROTECTED] wrote: CK wrote: Hi, On Apr 22, 2006, at 1:26 PM, John

[PHP] CMS for Auto Parts

2006-04-22 Thread CK
Management System. After Googling the returned queries have been slim, any leads on more specific examples? Return True, CK Principal/Designer/Programmer -Bushidodeep http://bushidodeep.com/ __ Knowing is not enough, you must apply; willing is not enough, you

[PHP] STUMPED: path/style vars in Windows with IIS

2004-12-13 Thread Ck
Hello. I am trying to get path/style variables working in windows with IIS on a hosted environment. What I mean by path/style variables is the following: Say I have a script test.php that can be accessed via: http://mydomain/controller.php ...I want to pass variables to it like:

Re: [PHP] STUMPED: path/style vars in Windows with IIS

2004-12-13 Thread Ck
for the time-being. Thank you, Chris --- Richard Lynch [EMAIL PROTECTED] wrote: Ck wrote: Hello. I am trying to get path/style variables working in windows with IIS on a hosted environment. What I mean by path/style variables is the following: Say I have a script test.php that can

Re: [PHP] Re: STUMPED: path/style vars in Windows with IIS

2004-12-13 Thread Ck
M. Sokolewicz [EMAIL PROTECTED] wrote: Chris wrote: I am trying to get path/style variables working in windows with IIS on a hosted environment. this is a stupid IIS-issue :) I'd suggest asking this on a mailinglist that specialises in IIS, and not in PHP (*only*). I understand how

[PHP] php_printer functions, how to detect printer is ready to print out

2004-10-15 Thread CK
Hi. I am currently working on a project that the script should print-out documents whenever local users wishe to print-out. However, my concern is how to detect THE printer is ready to print out NOT only its driver is installed. Thank you in advance. CK -- PHP General Mailing List (http

[PHP] php

2004-06-18 Thread ck
will wish to use file instead of sql, hope that there won't be a difference. i would wish to the what is/are the difference between them in every details. Thank you CK

[PHP] Re: Help required MySql + PHP

2001-12-06 Thread CK Raju
extensions. If you are using .html or .htm, probably you cant unless you make changes in the /etc/httpd/conf/httpd.conf file. (use .phtml or .php instead) CK Raju -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL