[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 *Di

[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 *Di

[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 0){ $firstname=stripslashes($firstname

[PHP] addSlashes Question

2007-08-01 Thread CK
OST['city'])."'"; $state = "'".addslashes($_POST['state'])."'"; $zip = "'".addslashes($_POST['zip'])."'"; $comments = "'".addslashes($_POST['comments'])."

[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)) { $val

[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 $thisPage=strtolower("contact");?>, this variable could also be assigned to the $links[] $key. Moving to

Re: [PHP] Oputting Forms Within a Class

2007-04-10 Thread CK
hp/2004/08/26/PHPformhandling.html> CK On Apr 10, 2007, at 1:49 PM, Richard Davey wrote: CK wrote: private function buildInt(){ //Form elements omitted for brevity } } ?> This is returned to the browser: "Parse error: syntax error, unexpected '<' in /Users/chris

[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: "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";> Calculator OOP PHP From class.calculator.php: buildInt(); } private f

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

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 c

[PHP] PHP->FLASH

2007-03-15 Thread CK
ho $thePrices; /* $thePrices .= (urlencode($child->getName() . $child)); 'thePrices'=$thePrices; */ ?> Actionscript: //Create the LoadVars instance to retrieve the prices from the PHP script. var getPrices:LoadVars=new LoadVars(); //load prices from PHP. getPrices.load("http://loc

[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 changi

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" solut

Re: [PHP] Shopping Cart

2006-10-28 Thread CK
usive retort, when 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 a

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,

[PHP] Shopping Cart

2006-10-26 Thread CK
f recycled content? •Data for accounting 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/Pro

Re: [PHP] CMS for Auto Parts

2006-04-23 Thread CK
ay to go about it (aside from building 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:

[PHP] CMS for Auto Parts

2006-04-22 Thread CK
oduct 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; w

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

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 under

[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: http://mydo

[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
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
Check on the file 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 comm