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

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? The setting

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) for redirection, if that's the solution

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

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_NUMBER

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

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

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

[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 ) I know how

[PHP] About XSL Transformation

2007-07-29 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

Re: [PHP] About XSL Transformation

2007-07-29 Thread Kelvin Park
and 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 :) -nathan

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

[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

[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

[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

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

[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 and save

[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

[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

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

[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

[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

[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

[PHP] allow_url_fopen ini directive not enough

2004-12-09 Thread Kelvin Jones
be easily avoidable if we had a directive (allow_url_include?) that by default removed this capability. Any thoughts? Kelvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help!! Double-byte character problem

2004-04-12 Thread Kelvin
Hi all, Is there any function/method in PHP to convert a double-byte character into its ascii code? for example, the traditional Chinese charater §A is equal to 20320. In ASP there is a function AscW() to do so. Don't know if we have similar function in PHP. thanks, Kelvin -- PHP General

[PHP] Can php run as a script?

2003-04-02 Thread Poon, Kelvin (Infomart)
in the background as a service, that's why i was wondering if I can excute it like a perl script. If it can't, do you guys know if I can use perl to call up a php script? Please advise. Thanks, Kelvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: Can php run as a script?

2003-04-02 Thread Poon, Kelvin (Infomart)
- From: Tim Burden [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 02, 2003 12:02 PM To: Kelvin Poon Cc: [EMAIL PROTECTED] Subject: Re: Can php run as a script? Look for PHP CLI in google. Recent versions of PHP install at CLI PHP executable by default. e.g I ended up with one in: /usr/local

[PHP] File Searching problem

2003-04-01 Thread Poon, Kelvin (Infomart)
. I need to open ALL of these files and search the phrase in it. Any body have any idea how I can open these files? I am probably going to be using RE to search, so maybe I can use fread() to store a file in a variable and search one file at a time. Please Advice. Thanks Kelvin -- PHP General

[PHP] MSSQL/PHP Problem

2003-03-31 Thread Poon, Kelvin (Infomart)
know why it takes only 6 lines of the total 11 lines of what I had in the mssql table. Please advise! THANKS! Kelvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Addslashes problem (MSSQL)

2003-03-20 Thread Poon, Kelvin (Infomart)
Hi, I have a problem that lets you add a record to a database. THere is a problem with it, and the following is the area of the program where it has problem. $created_date = date('m, d, Y'); $title = strip_tags($title); $keywords = strip_tags($keywords);

RE: [PHP] Addslashes problem (MSSQL)

2003-03-20 Thread Poon, Kelvin (Infomart)
, 2003 11:20 AM To: PHP Subject: Re: [PHP] Addslashes problem (MSSQL) MS-SQL doesn't escape with slashes. It escapes single quotes with single quotes. -- Lowell Allen From: Poon, Kelvin (Infomart) [EMAIL PROTECTED] Date: Thu, 20 Mar 2003 10:58:02 -0500 To: '[EMAIL PROTECTED]' [EMAIL PROTECTED

[PHP] A faster way to Redirect pages

2003-03-17 Thread Poon, Kelvin (Infomart)
that it redirect FASTER? Right now I set the redirect time to be 1 sec, but for some reason it still takes kind of long until it actually redirects, I was wondering if there is any other way I can do this faster. THanks a lot everyone, Kelvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Search/Regular Expression problem

2003-03-14 Thread Poon, Kelvin (Infomart)
THANKS I got it! -Original Message- From: Chris Hayes [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 5:45 PM To: Poon, Kelvin (Infomart); 'Chris Hayes' Cc: '[EMAIL PROTECTED]' Subject: RE: [PHP] Search/Regular Expression problem At 22:15 13-3-2003, Poon, Kelvin (Infomart

[PHP] form/text area input problem

2003-03-13 Thread Poon, Kelvin (Infomart)
in the textarea, then it would crash this function. I am just looking for a more efficient way of solving this, can anyone give me any idea? Kelvin THANKS! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] form/text area input problem

2003-03-13 Thread Poon, Kelvin (Infomart)
which look pretty bad. I hope you know what i am trying to say. Thank you for the suggestions anyways Kelvin -Original Message- From: - Edwin [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 10:14 AM To: Poon, Kelvin (Infomart); '[EMAIL PROTECTED]' Subject: Re: [PHP] form

RE: [PHP] form/text area input problem

2003-03-13 Thread Poon, Kelvin (Infomart)
THanks guys, I think I will use wordwarp() -Original Message- From: - Edwin [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 11:07 AM To: Poon, Kelvin (Infomart); '[EMAIL PROTECTED]' Subject: Re: [PHP] form/text area input problem Poon, Kelvin (Infomart) [EMAIL PROTECTED

[PHP] Search/Regular Expression problem

2003-03-13 Thread Poon, Kelvin (Infomart)
words then I can do $words = preg_split(/ /, $search); if (eregi(.*words[0].*words[1].*words[2].*, 'possible result')) { . } Even if I know how many words there are, everytime the number of words in $search can be different. Can anybody give me any ideas? Thanks a lot Kelvin -- PHP General

RE: [PHP] Search/Regular Expression problem

2003-03-13 Thread Poon, Kelvin (Infomart)
Yeah my data are from a database. How do I use query to search something like that? -Original Message- From: Chris Hayes [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13, 2003 4:02 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Search/Regular Expression problem At 21:48 13-3-2003, you

[PHP] really simple problem with GET

2003-03-12 Thread Poon, Kelvin (Infomart)
my $test variable isn't passing through, does anybody know what I did wrong? Thanks Kelvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: really simple problem with GET

2003-03-12 Thread Poon, Kelvin (Infomart)
Yeah it worked... thanks everyone! -Original Message- From: Jan Grafström [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 12, 2003 2:02 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: really simple problem with GET Try ...test.php?test=0 //no $ before test= /Jan Kelvin Poon [EMAIL

RE: [PHP] PERL/PHP, MSSQL, Unix AIX

2003-03-11 Thread Poon, Kelvin (Infomart)
Thanks, but what can FreeTDS do? So it can connect to my AIX server and retrieve that text file out? Kelvin -Original Message- From: Frank M. Kromann [mailto:[EMAIL PROTECTED] Sent: Monday, March 10, 2003 1:35 AM To: Poon, Kelvin (Infomart) Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP

[PHP] PERL/PHP, MSSQL, Unix AIX

2003-03-07 Thread Poon, Kelvin (Infomart)
an ideas? IS there anything in PHP I can use to do this? Any help is appreicated, thanks! Kelvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with Sessions

2003-02-28 Thread Poon, Kelvin (Infomart)
Hi I just have a little problem with sessions. my code: htmL headtitleTEST/title /head body ?php session_start(); if ($submit) { echo 'Hello '.$_SESSION['ID']; } else { $_SESSION['ID']=2; echo form\n; echo input type=submit name=submit\n; echo /form\n; } ? /body /html my error msgs:

RE: [PHP] Help with Sessions

2003-02-28 Thread Poon, Kelvin (Infomart)
Thanks everyone! it worked fine now! -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED] Sent: Friday, February 28, 2003 10:58 AM To: Poon, Kelvin (Infomart) Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP] Help with Sessions Hi, Saturday, March 1, 2003, 1:54:24 AM, you wrote: PKI

[PHP] Simple PHP script

2003-02-13 Thread Poon, Kelvin (Infomart)
tried running it and inputted some text and pressed the button, and the Hello [ur name] didn't show up, it just display an input box and the submit button. Can someone please help me? Thanks a lot Kelvin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] Simple PHP script

2003-02-13 Thread Poon, Kelvin (Infomart)
Thanks everyone, It worked. Kelvin -Original Message- From: John Nichel [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 13, 2003 4:13 PM To: Poon, Kelvin (Infomart) Cc: '[EMAIL PROTECTED]' Subject: Re: [PHP] Simple PHP script Sigh if ( $_POST['submit1'] ) { echo

[PHP] PHP and SQL

2003-01-17 Thread Kelvin Poon
am just wondering if this book will give me a good enough idea of how to do my job, since I know a little bit of SQL already. Please advise, thanks. Kelvin _ MSN 8 with e-mail virus protection service: 2 months FREE* http

RE: [PHP] Re: Need a suggestion on developing a php-related system

2003-01-08 Thread Kelvin Poon
), e.g. Reason for Delay. So the web page should be able to capture manual text input from authorized staff and updated to the status information. Anyways thanks a lot for all your suggestions. All your kind suggestions would help me to have a head start on this project. Kelvin From: Larry

[PHP] Need a suggestion on developing a php-related system

2003-01-07 Thread Kelvin Poon
of suggestions. Thanks a lot, any type of suggestions would be great! Kelvin _ MSN 8: advanced junk mail protection and 2 months FREE*. http://join.msn.com/?page=features/junkmail -- PHP General Mailing List (http://www.php.net

[PHP] Garbage .html via HTTP/1.0 or Proxy

2002-08-12 Thread Kelvin Lawson
. Thanks for any tips, Kelvin.

[PHP] ASSISTANCE NEEDED

2001-08-06 Thread kelvin asonze
is +228 04-45-26. I look forward to pick your call asap. Yours faithfully, KELVIN NZE. Sign up for your FREE E-MAIL @ MADMAIL http://www.madmail.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

[PHP] ASSISTANCE NEEDED

2001-08-06 Thread kelvin asonze
is +228 04-45-26. I look forward to pick your call asap. Yours faithfully, KELVIN NZE. Sign up for your FREE E-MAIL @ MADMAIL http://www.madmail.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

RE: [PHP] include(../file.inc);

2001-05-14 Thread kelvin chan .
then! =) kelvin Chan Message-ID: [EMAIL PROTECTED] From: Taylor, Stewart [EMAIL PROTECTED] To: 'Matthew Ralston' [EMAIL PROTECTED], [EMAIL PROTECTED] Date: Fri, 11 May 2001 11:52:17 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Subject: RE: [PHP] include

Re: [PHP] fopen question

2001-05-07 Thread Kelvin
Hi sean, try to put a file name not a directory or path. $file = fopen(filename.withextension,r+ Kelvin. [EMAIL PROTECTED] wrote in message 9d6apq$eka$[EMAIL PROTECTED]">news:9d6apq$eka$[EMAIL PROTECTED]... hi I am running the following on my redhat 7.0 / php4 / ap

[PHP] PHP+MS Access and/or MS SQL

2001-04-26 Thread kelvin
just point your browser to phpbuilder.net. Alternatively, just send me an email =) Date: Wed, 25 Apr 2001 19:02:12 -0700 (PDT) From: John Monfort [EMAIL PROTECTED] To: [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: PHP+MS