Re: [PHP] Re: About Session And Cookies

2007-08-21 Thread Kelvin Park
Hello, thanks for all the replies. However, since I'm not very familiar with trans_sid I'll do some research on that. Michelle Konzack, if hiding the id in hidden form field element or enabling trans_sid could lead to security risks, what would you recommend as an alternative method to safely tran

Fwd: [PHP] Cookies and sent headers

2007-08-18 Thread Kelvin Park
-- Forwarded message -- From: Kelvin Park <[EMAIL PROTECTED]> Date: Aug 18, 2007 4:34 PM Subject: Re: [PHP] Cookies and sent headers To: "M. Sokolewicz" <[EMAIL PROTECTED]> the javascript code can definitely change to head("location: whatever.php"

Re: [PHP] Cookies and sent headers

2007-08-18 Thread Kelvin Park
Kelvin Park wrote: Otto Wyss wrote: If built a simple login page and store any information within $_SESSION's. Yet I'd like to move these into cookies but I always get an error about sent headers. Is there a way to circumvent this problem without changing too much in the page? T

[PHP] About Session And Cookies

2007-08-17 Thread Kelvin Park
I am trying to setup a secure login system. I've heard that if I use just cookies for login, members without cookie turned out won't be able to see the member pages. Is using session recommended for e-commerce websites with shopping carts? Or, using both of them might be more effective in some

Re: [PHP] About Buggy SQL Query

2007-08-15 Thread Kelvin Park
Chris wrote: Kelvin Park wrote: mySQL database becomes inaccessible after a buggy sql string gets queried. The SQL server runs fine, however it seems like just the database is being looped infinitely so to say. Here is an example: (PHP) $sql = "SELECT * FROM DB_TABLE WHERE PR_N

[PHP] About UTF-8 / ANSI

2007-08-14 Thread Kelvin Park
I heard from a person that he was having some problem with uploading and displaying a web site on an ordinary web hosting server because the files weren't saved as UTF-8 charset (instead they were saved in iso-8859-1). Could saving HTML files in a different charset (UTF-8 or iso-8859-1) cause

Re: [PHP] About Buggy SQL Query

2007-08-14 Thread Kelvin Park
Chris wrote: Kelvin Park wrote: mySQL database becomes inaccessible after a buggy sql string gets queried. The SQL server runs fine, however it seems like just the database is being looped infinitely so to say. Here is an example: (PHP) $sql = "SELECT * FROM DB_TABLE WHERE PR_N

[PHP] About Buggy SQL Query

2007-08-13 Thread Kelvin Park
mySQL database becomes inaccessible after a buggy sql string gets queried. The SQL server runs fine, however it seems like just the database is being looped infinitely so to say. Here is an example: (PHP) $sql = "SELECT * FROM DB_TABLE WHERE PR_NUMBER = $whatever, DFLJJ = $SD;LOOE"; (<-- invalid s

[PHP] About MySQL Tables

2007-08-05 Thread Kelvin Park
I have two tables that share product codes to relate data. One table is called IMAGE, and another one is called the PRODUCT. There are more than one image for every product, for example product code 1122 will have 3 images and 4938 will have 5 images within the IMAGE table. Since all my product

[PHP] Re: About PHP/MYSQL Pagination

2007-08-02 Thread Kelvin Park
Kelvin Park wrote: I just couldn't find it anywhere, google or yahoo. I know how to make first, previous, last, and next links for php/mysql pagination. How do you list page numbers in the middle, between previous and next? (ex. << first previous | 1 2 3 4 5 | next last >>

[PHP] About PHP/MYSQL Pagination

2007-08-02 Thread Kelvin Park
I just couldn't find it anywhere, google or yahoo. I know how to make first, previous, last, and next links for php/mysql pagination. How do you list page numbers in the middle, between previous and next? (ex. << first previous | 1 2 3 4 5 | next last >> ) I know how to display them from 1 to

Re: [PHP] About XSL Transformation

2007-07-29 Thread Kelvin Park
stay consitent w/ the decisions you make. it will save you headaches in the long run. -nathan On 7/29/07, *Kelvin Park* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: Nathan Nobbe wrote: > build or modify the xml w/ php. > or pickup a book on xsl :)

[PHP] About XSL Transformation

2007-07-28 Thread Kelvin Park
I have an XML file with 10 products with their registered dates(dates when they were created). My XSL code is set so that it sorts the products in descending order(latest to oldest) by registered dates. I tried to declare xsl:variable to increment within xsl:for-each, however I ran in to some de

[PHP] About One To Many MYSQL TO XML WITH PHP

2007-07-24 Thread Kelvin Park
I am keep running in to a dead end with trying to convert mysql databse tables (more than 4) to XML with PHP. Initially I tried to convert two tables with the code that's attached to this email, however it's limited to printing out just a table row "WHERE column='value'". I can relate two table

[PHP] PHP/MYSQL/XML Conversion

2007-07-23 Thread Kelvin Park
I'm trying to convert joined multiple database table to one xml file. Is it more efficient to initially, join multiple (more that 4 tables) together to produce XML file, or convert every table in to XML file and use those XML files to relate data? -- PHP General Mailing List (http://www.php.ne

[PHP] About XSLT/XML Pagination

2007-07-22 Thread Kelvin Park
http://www.tonymarston.net/php-mysql/xsl.html#a1 This site generally explains how pagination is done with xslt and xml. However it does not fully explain how to paginate the data when a certain number of rows are printed. For example, it wouldn't make another page after 100 item names were print

[PHP] About XSLT/XML Pagination

2007-07-22 Thread Kelvin Park
This site generally explains how pagination is done with xslt and xml. However it does not fully explain how to paginate the data when a certain number of rows are printed. For example, it wouldn't make another page after 100 item names were printed out where total there are 1000 items that need

[PHP] Re: About XML XSLT

2007-07-20 Thread Kelvin Park
I had to Parse XML with PHP with database from mysql. On 7/20/07, Kelvin Park <[EMAIL PROTECTED]> wrote: I'm trying to make a web site that it entirely XML/XSLT/PHP driven, without MYSQL. However, since I need to reuse the database from my last web site, I had to parse XML with PHP

[PHP] About XML XSLT

2007-07-20 Thread Kelvin Park
I'm trying to make a web site that it entirely XML/XSLT/PHP driven, without MYSQL. However, since I need to reuse the database from my last web site, I had to parse XML with PHP and save it as a file (e.g. xmlFile.xml) in my htdocs folder in FTP. However, I understand that this can cause some secu

[PHP] About Login Authentication

2007-07-20 Thread Kelvin Park
What's a good place in the Internet where I could learn about creating login and member authentication enabled web site? I would appreciate any good references.

[PHP] About PHP/XML/XSLT/MYSQL Web Sites

2007-07-12 Thread Kelvin Park
I'm trying to setup a XSLT based web site. I wasn't exactly sure about the flow of the whole system when data from relational database is transferred to XML and in turn the data inputted from the user is relayed back to the database through XML (or directly to the database with PHP DB connectio

[PHP] About Fraud Prevention

2007-07-10 Thread Kelvin Park
I'm trying to make a program with PHP, that prevents ecommerce fraud orders. Technically, what's the most effective way to prevent fraud orders on e-commerce web sites?

[PHP] About Eclipse JVM Termination

2007-07-10 Thread Kelvin Park
Do you know the cause of this error? I'm trying to run it on 64bit Fedora 7. I have AMD64 and JRE 1.6.0_02 64bit is installed. Do you know how to fix the following error? if yes how? ** JVM termina

[PHP] About Incorporating MySQL and XML/XSLT/PHP

2007-07-09 Thread Kelvin Park
I'm using XSLT to make a website template and XML to describe the data on my website. Do I parse the data from MySQL to XML in order to apply styles and display them as XHTML with XSLT? I would have to use PHP to parse XML, however I was unclear on how to pass MySQL data to XML in order for it do

[PHP] About DOM function in PHP

2007-07-08 Thread Kelvin Park
I'm getting the following fatal error message: *Fatal error*: Cannot instantiate non-existent class: domdocument in * /home/hosting/infotechnow_com/htdocs/admin/inventory/catalog.php* on line *3 * when running this code: // Initialize new object for DOMDocument $doc = new DOMDocument(); What's

[PHP] About PHP CMS

2007-07-06 Thread Kelvin Park
Is it possible to have PHP code completely separate from the HTML page that needs to be completely dynamic? (That's how ASP.NET sort of works I think). If this is possible, HTML CODE, PHP CODE, AND THE CSS CODE can be completely separate, increasing the clarity of all the source code. My second q

[PHP] About Website Search Engine

2007-07-05 Thread Kelvin Park
I'm trying to build a search engine for my website (with php), it will have functions such as finding product names and their codes from the mysql database. Does anyone know any good tutorial or reference on any website, or any good books out there that you might recommend? I couldnt' find any dec

[PHP] About DREAMWEAVER

2007-07-05 Thread Kelvin Park
I'm trying to get rid of all the comments that are in a different language in dreamweaver. Anyone know how to do that automatically? I have like 1000 php files with full of comments in different language. I do not intend on translating them or doing anything with em, I just wanna get rid of them j