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
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 fol
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
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/)
To
ublication), 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
Fr
QL, I 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*
en on all pages.
Thanks for any tips,
Kelvin.
what i said here, or otherwise,
pl mail me directly, as i dun check this list very often. All the best then!
=)
kelvin Chan
Message-ID: <[EMAIL PROTECTED]>
From: "Taylor, Stewart" <[EMAIL PROTECTED]>
To: "'Matthew Ralston'" <[EMAIL PROTECTED]>,
telephone
number 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]
F
telephone
number 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]
F
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
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
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
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
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
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
-- 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"
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
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
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
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
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
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
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
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?
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
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.
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
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
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
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
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
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
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
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 :)
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
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 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
s would 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
input box at the bottom of it and the button below and the process
continue.
I 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
--
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
Hi
I just have a little problem with sessions.
my code:
TEST
\n";
echo "\n";
echo "\n";
}
?>
my error msgs:
Warning: Cannot send session cookie - headers already sent by (output
started at d:\apache_docroots\internal.infomart.ca\infodesk\test.php:6) in
d:\apache_docroots\internal.infom
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
ve 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
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
hello
so therefore 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
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&quo
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
d the paragraph 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]'
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)&quo
hat? I mean if I know $search is 3 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 differe
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 wr
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, Po
e 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, visit: http://www.php.net/unsub.php
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);
$c
IL PROTECTED]
Sent: Thursday, March 20, 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]>
>
o it
should exceed the limit, but I just don't 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
the ID of that
particular file. 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
n 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
al Message-
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:
60 matches
Mail list logo