php-windows Digest 30 May 2003 21:34:11 -0000 Issue 1754
Topics (messages 20140 through 20144):
Re: Not rhetorical: Why upgrade php when current version is working fine?
20140 by: Brad Thomas
Re: Paging in PHP
20141 by: Warren Vail
20142 by: George Nicolae
Save As html problems
20143 by: Radovan Radic
dom xml extension questions
20144 by: Ken Sanderson
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Along with the other suggestions the other people have made, I would like to
suggest
that you look at mysql_select_db, and replace mysql_db_query with it.
I have a feeling the scripts you have relied on mysql_db_query for it's
database interaction,
and as mysql_db_query is now deprecated, it will not work in PHP5.
HTH
Brad
"Jim Beach" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I imagine there are some people with opinions on this list so I'd really
appreciate some commentary and philosophy on this subject if you want.
Deride me if you must.
For the past 3 months I've been learning PHP using 4.06, Apache 1.3.20,
MySQL 3.23, all running smoothly on Win98. I downloaded a package
containing these versions configured to run on windows, so admittedly I
didn't have much configuring to do on my own. So far it's been
difficult, rewarding and fun.
Last week I decided to upgrade to the current package containing PHP
4.2.3, Apache 1.3.27, MySQL 4. No problems with the download and install
except now my php pages no longer connect to my database and I'm getting
some errors I never got before.
I've been able to fix some of the problems but others persist. I
understand that I need to read the manuals, check the forums and consult
the books I've been using. If I would take more time to do this I'd be
better off for it. I have done that to a considerable degree and have
learned a lot. But I'm also a little pressed for time and have an
exciting website I want to get launched.
So now I'm pondering why should I upgrade when what I had was working
just fine?
Jim
--- End Message ---
--- Begin Message ---
If you are using MySQL check out the LIMIT n,n clause of the SELECT query.
http://www.mysql.com/doc/en/SELECT.html
Warren Vail
[EMAIL PROTECTED]
-----Original Message-----
From: Guru P Chaturvedi [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 5:16 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Paging in PHP
Hi all,
Are there anyways of implementing paging in PHP? it's basically displaying
results of a SQL query in logical blocks of 'n' records.... as u see in
search engines...
like 1 - 20 or 100
with Warm Regards,
Guru.
---------------------------------------
Phone: (+91)9845290270
URL: www.gangarasa.com
Yahoo IM: guru4vedi
MSN: [EMAIL PROTECTED]
---------------------------------------
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
here is a very good tutorial http://www.sitepoint.com/article/662/1
--
Best regards,
George Nicolae
IT Manager
___________________
PaginiWeb.com - Professional Web Design
www.PaginiWeb.com
"Guru P Chaturvedi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> Are there anyways of implementing paging in PHP? it's basically displaying
> results of a SQL query in logical blocks of 'n' records.... as u see in
> search engines...
>
> like 1 - 20 or 100
>
> with Warm Regards,
> Guru.
> ---------------------------------------
> Phone: (+91)9845290270
> URL: www.gangarasa.com
> Yahoo IM: guru4vedi
> MSN: [EMAIL PROTECTED]
> ---------------------------------------
>
>
--- End Message ---
--- Begin Message ---
Hi guys,
I have problems with Save As option from Internet Explorer. Pages are
generated by PHP, basically using include some lib scripts, header, footer
and generating contents from MySQL db.
I am using sessions, manually url rewriting, no frames.
When i click Save As from IE, and choose option "Web Page, complete (*.htm,
*.html)" i get page saved but it appears to be blank, only <html><!-- saved
from url...--><body></body></html>
Why is this happening?
When i choose option "Web Page, HTML only" it is saved correctly, but if i
would have pictures or css they couldnt be saved.
Anyone has experiences with this?
Radovan
--- End Message ---
--- Begin Message ---
Every time I uncomment the extension line for the dom xml extension my PHP
stops working, or atleast every PHP page I have times out before doing what
they are supposed to, regardless if it has any domxml functions or not.
I am running PHP 4.2.2. Taking a look at the manual it says you need to move
a iconv.dll file to your system 32 folder, which I did. I have rebooted the
machine a few times for good measure. What am I missing? Do I need to
install the GNOME libraries? I assumed it came with the package, perhaps I
am wrong?
Any other thoughts or suggestions?
Thanks,
Ken
--- End Message ---