Is there a function to validate a XML document(make sure tags are
closed/nested)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php-general Digest 1 Nov 2003 08:47:33 - Issue 2389
Topics (messages 168234 through 168254):
Re: php temp table question (for mysql)
168234 by: Marek Kilimajer
168248 by: Curt Zirzow
Php processor and return window
168235 by: Robb Kerr
168244 by: Robert Cummi
Jake McHenry wrote:
Hi everyone, here's what I'm doing.
As of right now, I don't have anything implemented, but here's what I
need to do.
I have a web page, with a drop down list of hotels, an input box for
the users frequent hotel number, and a add button. At the bottom of
the page is a update a
Pedro Pais wrote:
Hi!
I've coded in PHP for a while, but I had to leave it for some time. Now
I'm back, and I'd like to know what's currently being used to separate
content from presentation, besides Smarty (that seems to be Google's top
choice)?
http://pear.php.net/package/HTML_Template_Flexy
Cosmin wrote:
Is there a function to validate a XML document(make sure tags are
closed/nested)?
The xml parser will throw an error if you try and pass it an invalid xml
document (which you can catch and process).
However, it would be best if you can validate your xml document first
before runni
Hi,
Can somebody help me with the following?
I want to have the outcome of this:
$query = "SELECT markhow, COUNT(*) FROM prospects GROUP BY markhow";
$result = mysql_query($query) or die ("Error in query: $query. " . mysql_error());
Put into an array like this (for example);
array(
Frank Keessen wrote:
Hi,
Can somebody help me with the following?
I want to have the outcome of this:
$query = "SELECT markhow, COUNT(*) FROM prospects GROUP BY markhow";
$result = mysql_query($query) or die ("Error in query: $query. " . mysql_error());
Put into an array like this (for example
> -Original Message-
> From: Burhan Khalid [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 01, 2003 3:50 AM
> To: Jake McHenry; [EMAIL PROTECTED]
> Subject: Re: [PHP] Array maybe? Or many SQL insert queries
>
>
> Jake McHenry wrote:
>
> > Hi everyone, here's what I'm doing.
> >
>
O.K.
When i do this:
To: "Frank Keessen" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Saturday, November 01, 2003 11:59 AM
Subject: Re: [PHP] Put output of mysql into an Array
> Frank Keessen wrote:
>
> > Hi,
> >
> > Can somebody help me with the following?
> >
> > I want to have the outcome
On Sat, 2003-11-01 at 12:26, Frank Keessen wrote:
> O.K.
>
> When i do this:
>
> // open database connection
> $connection = mysql_connect($host, $user, $pass) or die ("Unable to
> connect!");
> // select database
> mysql_select_db($db) or die ("Unable to select database!");
>
> $query = "SELEC
Harry Fuecks (phpPaterns(), see the link below) has a quite interesting
opinion concerning php and the use of templates, with which I generally
agreed, after spending some hard time to investigate the most suitable
for me templating ideology/approach/system. I would suggest you first
read this
a production box running 4.2.2 recently had a script added to it requiring use
of xml functionality. The box was already compiled (a few versions earlier)
with the --with-xml option. Since then, have upgraded this box twice (though it
is due for another) using config.nice to ensure the same optio
Thank you Edwin, Marek, and Eugene for your responses and
advice.
For storing the Japanese names in kanji in the database, I've
changed the column to "blob". Storing and retrieving the fields seems to
work okay in all my tests, and this solution seemed to be the easiest
and without
Jason T. Davidson wrote:
I am new to php and seeking some help. I have a couple of books and maybe I
just am not seeing my error. If you go to www.mspartcc.com/test.htm and
look at the source code you will see what I am trying to do. The only
problem is that the date is not displaying.
I really
Hi there,
I've been working on a database wrapper class for a while now, MySQL to
be specific. Until now, I've simply had a fetch function that returned
an array of all the rows that the database returned, only because I have
gotten so tired of always writing the same while loop to iterate thr
Thank you all for the information you gave me! :)
I'll study every one of it and tell you in a short time about my choice :P
Boyan Nedkov wrote:
Harry Fuecks (phpPaterns(), see the link below) has a quite interesting
opinion concerning php and the use of templates, with which I generally
agree
"Pedro Pais" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've coded in PHP for a while, but I had to leave it for some time. Now
> I'm back, and I'd like to know what's currently being used to separate
> content from presentation, besides Smarty (that seems to be Google's top
> ch
SUNSWEETWIN PROMO LOTTERY,THE NETHERLANDS.
ALFONSTRAAT B56,
1002 BS AMSTERDAM, THE NETHERLANDS.
TO THE MANAGER
FROM: THE DESK OF THE PROMOTIONS MANAGER,
INTERNATIONAL PROMOTIONS/PRIZE AWARD DEPARTMENT,
REF: OYL /26510460037/02
BATCH: 24/00319/IPD
ATTENTION:
RE/ AWARD NOTIFICATION; FINAL NOTICE
We a
Yippee! I won and I never win anything!
All you guys, stay away, its my money all minelast time you guys claimed
now my turn
but dont worry, i'll share the first million _that if recive from them_ with
everyone on the list.
Cheers,
-Ryan
Private note to the jerk who sent this to the lists
What the? Can you say SPAM?
Thanks,
Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com
> -Original Message-
> From: Francis Weeny [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 01, 2003 6:11 PM
> To: [EMAIL PROTECTED]
> Subject: {Spam?} [PHP] Congratulatio
Jake McHenry wrote:
-Original Message-
From: Burhan Khalid [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 3:50 AM
To: Jake McHenry; [EMAIL PROTECTED]
Subject: Re: [PHP] Array maybe? Or many SQL insert queries
Jake McHenry wrote:
Hi everyone, here's what I'm doing.
As of ri
> -Original Message-
> From: Burhan Khalid [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 01, 2003 11:16 AM
> To: Jake McHenry; [EMAIL PROTECTED]
> Subject: Re: [PHP] Array maybe? Or many SQL insert queries
>
>
> Jake McHenry wrote:
> >>-Original Message-
> >>From: Burhan K
Hello all,
when using AOL Server you can register a procedure against the server
and use this as your web page.
for example a procedure that prints "Hello World" as an HTML page name
helloproc
So if I call up http://server/helloproc the procedure serves up the page
to the client browser
Is s
I feel really stupid posting this but I can't seem to find the correct
syntax in the language guide. I have a string which has been progressively
built during a FOREACH loop through an array (a SELECT statement in which
the WHERE part is built with ORs from the array of entries). The final
query wi
Look at substr
Robb Kerr wrote:
I feel really stupid posting this but I can't seem to find the correct
syntax in the language guide. I have a string which has been progressively
built during a FOREACH loop through an array (a SELECT statement in which
the WHERE part is built with ORs from the arra
I assume sites like Amazon and Ebay does not use PHP to generate its pages.
Does it use CGI and C++?? If so, does that mean a C++ program is run each
time I request a page.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I'd like to know if any of you out there know where I can find a
"highlight_file()" sort of function, but for Java-files. Would be very
helpfull in my shared development.
//Simon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How can I establish a connection with a MySQL database and have it persist
accross multiple script files?
I've found the mysql_pconnect() function but this doesn't seem to do the job
- which is fairly logical actually because the connection is stored in a
variable:
$connect = mysql_pconnect();
a
With persistent connections, you actually have to have the
mysql_pconnect statement in each script you want to use the connection
in. The function will use an already-existing connection if one is
available. If no existing connection could be found, it will initiate
the link.
The manual at php
They tend to use dlls and the sort, but that question is rather inappropriate for this
list...
- Original Message -
From: John Ryan
To: [EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 12:33 PM
Subject: [PHP] Web Applications and C++?
I assume sites like Amazon and Ebay
Why PHP is a recursive acronym?, I know that before was called Personal Home Page, I
now is Hypertext PreProcessor, but why is recursive?, I person told me that it could
be wroten as Pre Hypertxt Processor, thanks.
> Why PHP is a recursive acronym?, I know that before was called Personal
Home
> Page, I now is Hypertext PreProcessor, but why is recursive?, I person
told
> me that it could be wroten as Pre Hypertxt Processor, thanks.
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
First, POST method is not any safer than GET method. Just because the
username/password combination is not in the location bar does not mean
that it is hidden. Anyone can view the html source.
The straightforward answer to this (and it is done fairly regularly) is
that you require() a file that
Why PHP is a recursive acronym?, I know that before was called
Personal Home Page, I now is Hypertext PreProcessor, but why is
recursive?, I person told me that it could be wroten as Pre Hypertxt
Processor, thanks.
PHP stands for "PHP: Hypertext Preprocessor". It's called a recursive
acronym be
Or LAME for "Lame Ain't an MP3 Encoder"
Larry E . Ullman wrote:
Why PHP is a recursive acronym?, I know that before was called
Personal Home Page, I now is Hypertext PreProcessor, but why is
recursive?, I person told me that it could be wroten as Pre Hypertxt
Processor, thanks.
PHP stands for
Fatal error: start-condition stack underflow
Have not seen this error in 4 years of programming PHP.
Came up in looping SMTP socket test.
Anyone knows what this means?
Thanks
Buiten Westen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hello :
When php 5 is released will there be support for php 4.3.x ?
thanks
leonel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hello :
will there be support for php 4.3.X after php5 is released ?
Thanks
Leonel nunez
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I try to send from my pc a mail with the function mail(), but if doesn't work, I have
tried several time, but nothing, I don't know what could be, because the same script
work well in a remote host.
in my php.ini, I put:
[mail function]
; For Win32 only.
SMTP = mail.serbis.com
I also put
[mai
I try to send from my pc a mail with the function mail(), but if doesn't
work, I have tried several time, but nothing, I don't know what could be,
because the same script work well in a remote host.
in my php.ini, I put:
[mail function]
; For Win32 only.
SMTP = mail.serbis.com
I also put
[mai
When you use the mail function, you must give the first argument. The 'to'
is not in the headers
Try this, it should work
-Message d'origine-
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Envoyé : samedi 1 novembre 2003 22:11
À : [EMAIL PROTECTED]
Objet : [PHP] mail function error - win3
Why must the powers that be create such mind-bendingly painful terms such as these?
They are the sort of things that send my brain into an infinite loop.
Nathan
- Original Message -
From: Joachim Krebs
To: [EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 3:23 PM
Subject: R
Why must the powers that be create such mind-bendingly painful terms such as these?
They are the sort of things that send my brain into an infinite loop.
Nathan
- Original Message -
From: Joachim Krebs
To: [EMAIL PROTECTED]
Sent: Saturday, November 01, 2003 3:23 PM
Subject: R
Hello,
On 11/01/2003 07:10 PM, [EMAIL PROTECTED] wrote:
I try to send from my pc a mail with the function mail(), but if doesn't work, I have tried several time, but nothing, I don't know what could be, because the same script work well in a remote host.
You need to specify valid sender and recipi
It's not exactly a Php problem, but MySQL and Php seem to be so intertwined
and this newsgroup has been so unbelievably helpful that I thought I'd post
the question here.
I've got a query which returns a group of records. the field which I want
to display in a list contains many duplicates. I need
I use this script:
I got this error:
Warning: mail(): SMTP server response: 550 not local host ojpp.myftp.org,
not a gateway in D:\htdocs\ojpp\functions\mail\2.php on line 19
thanks, for any help.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
I use this script:
I got this error:
Warning: mail(): SMTP server response: 550 not local host ojpp.myftp.org, not a
gateway in D:\htdocs\ojpp\functions\mail\2.php on line 19
I use this script:
I got this error:
Warning: mail(): SMTP server response: 550 not local host ojpp.myftp.org,
not a gateway in D:\htdocs\ojpp\functions\mail\2.php on line 19
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Look into the DISTINCT keyword for MySQL.
Robb Kerr wrote:
It's not exactly a Php problem, but MySQL and Php seem to be so intertwined
and this newsgroup has been so unbelievably helpful that I thought I'd post
the question here.
I've got a query which returns a group of records. the field which
--- Leonel Nunez <[EMAIL PROTECTED]> wrote:
> When php 5 is released will there be support for php 4.3.x?
Support from whom? What type of support?
Do you consider there to be support for 4.3.x now?
Chris
=
My Blog
http://shiflett.org/
HTTP Developer's Handbook
http://httphandbook
He is obviously asking if PHP 5 will support (run, execute, bla bla bla)
code that currently runs in 4.3.x!
P.S.: I don't know the answer!
Chris Shiflett wrote:
--- Leonel Nunez <[EMAIL PROTECTED]> wrote:
When php 5 is released will there be support for php 4.3.x?
Support from whom? What typ
There will certainly be security updates, but it will not be futher
enhanced.
Leonel Nunez wrote:
hello :
When php 5 is released will there be support for php 4.3.x ?
thanks
leonel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is this PHP's or Mysql fault or my own ( most likely)?
I'm doing a simple query to the DB and want any companies which start with a
number as the first "letter" to come up...
eg:
1company
23blah company
007bonds company
7lucky seven
etc
This is my query:
if($bok==1)
{$query = "select compno
On Sat, 01 Nov 2003 23:42:06 +0100, Marek Kilimajer wrote:
> There will certainly be security updates, but it will not be futher
> enhanced.
>
> Leonel Nunez wrote:
>> hello :
>>
>> When php 5 is released will there be support for php 4.3.x ?
>>
>> thanks
>>
>> leonel
>>
this is what I nee
On Sat, 2003-11-01 at 16:29, Robb Kerr wrote:
> It's not exactly a Php problem, but MySQL and Php seem to be so intertwined
> and this newsgroup has been so unbelievably helpful that I thought I'd post
> the question here.
>
> I've got a query which returns a group of records. the field which I wa
Personally, I love things like this. I have a feeling that those of us not fond of
such recursive acronyms are also not fan's of the old "Who's on first?" routine.
Edward Dudlik
"Those who say it cannot be done
should not interrupt the person doing it."
wishy washy | www.amazon.com/o/registry/E
> but that question is rather inappropriate for this list...
Inappropirate but intruiging nonetheless. I've always been curious how Amazon handles
the amount of traffic their site generates and now I've got a slightly better idea. I
know eBay uses CGI as I've already seen discussion of it. Re
Becoming Digital wrote:
Personally, I love things like this. I have a feeling that those of us not fond of such recursive acronyms are also not fan's of the old "Who's on first?" routine.
I don't give a damn. ;)
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing
I can't get even the test script to run on my Mac. I
turned personal web sharing on, checked the httpd.config file (all is
well) type 127.0.0.1/test.php in the browser and get a "source view"
of the page (ie: shows up in the browser winbdow).
What am I doing wrong?
Thanks
Ken
--
PHP Gener
Ken Tozier wrote:
I can't get even the test script to run on my Mac. I
turned personal web sharing on, checked the httpd.config file (all is
well) type 127.0.0.1/test.php in the browser and get a "source view" of
the page (ie: shows up in the browser winbdow).
What am I doing wrong?
Thanks
I can't get even the test script to run on my Mac.
I turned personal web sharing on, checked the httpd.config file (all
is well) type 127.0.0.1/test.php in the browser and get a "source
view" of the page (ie: shows up in the browser
winbdow).
What am I doing wrong?
Thanks
Ken
> Got a line li
Hi,
Sunday, November 2, 2003, 3:25:09 AM, you wrote:
RK> I feel really stupid posting this but I can't seem to find the correct
RK> syntax in the language guide. I have a string which has been progressively
RK> built during a FOREACH loop through an array (a SELECT statement in which
RK> the WHERE
Hi,
I'm just discovering how I can effectively emulate interfaces using the
object aggregation extension. This is a major benefit to me so I'd like to
know if others are using this extension. It is marked as experimental. Does
that mean the api might change in PHP4? I'm guessing it won't - I do
un
Test.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 2 Nov 2003 00:06:46 +0100, you wrote:
>if($bok==1)
>{$query = "select compno,thCompany from main_company where thCompany LIKE
>'%0123456789%'";}
>
>I have looked in the DB and i see quite a few companies have a number in the
>beginning, but still this returns me no rowsany ideas why?
Ken Tozier wrote:
I can't get even the test script to run on my Mac.
I turned personal web sharing on, checked the httpd.config file (all
is well) type 127.0.0.1/test.php in the browser and get a "source
view" of the page (ie: shows up in the browser
winbdow).
What am I doing wrong?
Thanks
K
On Sat, 1 Nov 2003 20:19:13 -0500, you wrote:
>Inappropirate but intruiging nonetheless. I've always been curious
>how Amazon handles the amount of traffic their site generates and now
>I've got a slightly better idea. I know eBay uses CGI as I've already
>seen discussion of it.
Amazon mostly l
On Sat, 1 Nov 2003 11:25:09 -0600, you wrote:
>I feel really stupid posting this but I can't seem to find the correct
>syntax in the language guide. I have a string which has been progressively
>built during a FOREACH loop through an array (a SELECT statement in which
>the WHERE part is built with
Ken Tozier wrote:
I can't get even the test script to run on my
Mac. I turned personal web sharing on, checked the httpd.config file
(all is well) type 127.0.0.1/test.php in the browser and get a
"source view" of the page (ie: shows up in the
browser winbdow).
What am I doing wrong?
Thanks
K
Ken Tozier wrote:
Ken Tozier wrote:
I can't get even the test script to run on my
Mac. I turned personal web sharing on, checked the httpd.config file
(all is well) type 127.0.0.1/test.php in the browser and get a
"source view" of the page (ie: shows up in the
browser winbdow).
What am I do
Odd. To be sure it's using the conf file you want, have you tried
starting Apache with the command.?
/path/to/httpd -f /path/to/httpd.conf
I tried your suggestion but the system won't let me modify it even with
su permissions. I'm too tired and frustrated to continue tonight.
Clearly, the
71 matches
Mail list logo