|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: php3 Digest 6 Mar 2000 06:00:03 -0000 Issue 1520
From: php3-digest-help
lists.php.netDate: Mon Mar 06 2000 - 00:00:03 CST
- Next message: php3-digest-help
lists.php.net: "php3 Digest 6 Mar 2000 18:00:01 -0000 Issue 1521"
- Previous message: php3-digest-help
lists.php.net: "php3 Digest 5 Mar 2000 18:00:02 -0000 Issue 1519"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
php3 Digest 6 Mar 2000 06:00:03 -0000 Issue 1520
Topics (messages 79870 through 79929):
PHP and MySQL
79870 by: "Roberto Carvalho" <rac_beto
esoterica.pt>
79871 by: "Linux User" <linux
digital-salvage.net>
79872 by: "Henry F. Marquardt" <hank
yerpso.net>
79873 by: "Roberto Carvalho" <rac_beto
esoterica.pt>
79878 by: "Henry F. Marquardt" <hank
yerpso.net>
xml files usage
79874 by: "Manuel Lemos" <mlemos
acm.org>
Group Scheduling/Calendars?
79875 by: Jacob Stetser <jstetser
icongarden.com>
system call insecure?
79876 by: Chris Moewes-Bystrom <christopher
moewes.com>
Apache and PHP warnings
79877 by: Nicolas CROISET <nicolas.croiset
radio-campus.org>
Web hosting
79879 by: "The Sorcerer" <thesorcerer
clix.pt>
79890 by: brad <brad
kieser.net>
79895 by: "Glen Passman" <g.passman
lancaster.ac.uk>
79896 by: David Coulson <technoir
linux.com>
79899 by: brad <brad
kieser.net>
ChiPHPug Web Site Up ...
79880 by: "Henry F. Marquardt" <hmarq
interaccess.com>
ecommerce solution vs Minivend
79881 by: Ben-Nes Michael <miki
canaan.co.il>
79886 by: "Henry F. Marquardt" <hank
yerpso.net>
79905 by: Luca Perugini <l.perugini
libero.it>
permission denied for file upload
79882 by: Mark Lo <markloky
netvigator.com>
79883 by: "Henry F. Marquardt" <hank
yerpso.net>
79884 by: Ben-Nes Michael <miki
canaan.co.il>
Fax gateway
79885 by: Massimo Fubini <mfubini
elbalink.it>
"X-Powered-By: PHP/4.0b4 Content-Type: text/html"
79887 by: "Adi Ciutureanu" <adu
topedge.net>
79900 by: Zak Greant <zak
nucleus.com>
Searching NNTP
79888 by: "WL" <will
localads.net>
79892 by: Dan Stetser <dan
slider.net>
strange filename in tmp after uploading
79889 by: Mark Lo <markloky
netvigator.com>
File Upload??
79891 by: Mark Lo <markloky
netvigator.com>
79893 by: "Jason Cox" <jasonc
webpipe.net>
79894 by: Mark Lo <markloky
netvigator.com>
need sendform in mail
79897 by: Flavio Alberto <amd
whatlinux.com.br>
Error building PHP 3.0.15
79898 by: "Fernando Ronci" <fernando
waycom.com.ar>
79908 by: Fernando Ronci <fernando
waycom.com.ar>
GET and POST question
79901 by: "Kevin" <nobody2000
hotmail.com>
79903 by: RaTao von J <ratao
globalrede.com>
nultiple users and security fo data
79902 by: "Ray Todd Stevens" <raytodd
kiva.net>
FastTemplate and Dynamic Blocks
79904 by: rkurth
pacifier.com
Opsss! :-(
79906 by: Luca Perugini <l.perugini
libero.it>
Get Paid while receive Email
79907 by: Yuzz <yuzaimie
usa.net>
GDBM Sorting??
79909 by: "Linux User" <linux
digital-salvage.net>
PHP3.0.15 + libmcrypt + mhash
79910 by: "Roberto P.Martins Jr." <roberto
intermega.com.br>
Call Perl scipt from Php
79911 by: Lester Cabrera <lesterjune
rocketmail.com>
functions
79912 by: "JE" <webmaster
jediexchange.com>
79914 by: RaTao von J <ratao
globalrede.com>
FastTemplate and Dynamic
79913 by: rkurth
pacifier.com
PHP4 Differences
79915 by: "Mike Sheldon" <msheldon
desertraven.com>
databases
79916 by: Chris Toth <toth.22
osu.edu>
79917 by: Mike Fetherston <twist
accglobal.net>
installing php help!
79918 by: "digitsix" <php
digitsix.com>
examples for oracle (ora_*) use
79919 by: Mark Nold <markn
alverstone.com.au>
fopen and ssl
79920 by: plummerk
okinawa.usmc-mccs.org
79921 by: Matt Allen <matt
YourWeb.com.au>
FastTemplate and Dynamic block
79922 by: rkurth
pacifier.com
79923 by: rkurth
pacifier.com
79927 by: rkurth
pacifier.com
enroll
79924 by: seekme
zeenext.com
How can I know a session is end?
79925 by: "Robert Wane" <robertwane
hotmail.com>
msql link problem
79926 by: Justin Burdine <justin
cyburdine.com>
"require" (or "include") path problem.
79928 by: "Robert Wane" <robertwane
hotmail.com>
PHP3 and Win2000
79929 by: Chris Toth <toth.22
osu.edu>
Administrivia:
To subscribe to the digest, e-mail:
php3-digest-subscribe
lists.php.net
To unsubscribe from the digest, e-mail:
php3-digest-unsubscribe
lists.php.net
To post to the list, e-mail:
php3
lists.php.net
----------------------------------------------------------------------
attached mail follows:
I have PHP and MySQL installed in my computer. They are running under Windows 98, and i don´t have any problems running php pages and MySQL in my computer. But when I try to run PHP to access MySQL, it appears a messge error telling that the mysql_connect() command is unrecognized. Does anybody know what I have to do to solve this problem?
Thank you
attached mail follows:
Check the php3.ini file. You need to uncomment the line that loads the MySQL
DLL file.
----- Original Message -----
From: Roberto Carvalho
To: php3
lists.php.net
Sent: Sunday, March 05, 2000 1:05 PM
Subject: [PHP3] PHP and MySQL
I have PHP and MySQL installed in my computer. They are running under
Windows 98, and i don´t have any problems running php pages and MySQL in my
computer. But when I try to run PHP to access MySQL, it appears a messge
error telling that the mysql_connect() command is unrecognized. Does anybody
know what I have to do to solve this problem?
Thank you
attached mail follows:
Turn off HTML email please.
My guess is that you haven't uncommented the mysql support in the php.ini
file ... there are a series of php_XXXXX.dll assignments that cover a lot of
functionality that you have to uncomment. They are about halfway through
the ini file.
That is probably it.
Hank
-----Original Message-----
From: Roberto Carvalho [mailto:rac_beto
esoterica.pt]
Sent: Sunday, March 05, 2000 12:05 PM
To: php3
lists.php.net
Subject: [PHP3] PHP and MySQL
I have PHP and MySQL installed in my computer. They are running under
Windows 98, and i don´t have any problems running php pages and MySQL in my
computer. But when I try to run PHP to access MySQL, it appears a messge
error telling that the mysql_connect() command is unrecognized. Does anybody
know what I have to do to solve this problem?
Thank you
attached mail follows:
I had already did it. I uncommented de line that loads the MySQL DLL file
and also put all dll files in the PHP directory, in the Windows directory
and into the windows\system\ directory.
-----Original Message-----
From: Linux User <linux
digital-salvage.net>
To: Roberto Carvalho <rac_beto
esoterica.pt>; php3
lists.php.net
<php3
lists.php.net>
Date: Domingo, 5 de Março de 2000 18:14
Subject: Re: [PHP3] PHP and MySQL
>Check the php3.ini file. You need to uncomment the line that loads the
MySQL
>DLL file.
>
>----- Original Message -----
>From: Roberto Carvalho
>To: php3
lists.php.net
>Sent: Sunday, March 05, 2000 1:05 PM
>Subject: [PHP3] PHP and MySQL
>
>
> I have PHP and MySQL installed in my computer. They are running under
>Windows 98, and i don´t have any problems running php pages and MySQL in my
>computer. But when I try to run PHP to access MySQL, it appears a messge
>error telling that the mysql_connect() command is unrecognized. Does
anybody
>know what I have to do to solve this problem?
>
> Thank you
>
>
>
attached mail follows:
OK, how about posting the source - and if possible the browser error
message.
Hank
-----Original Message-----
From: Roberto Carvalho [mailto:rac_beto
esoterica.pt]
Sent: Sunday, March 05, 2000 12:45 PM
To: Linux User
Cc: php3
lists.php.net
Subject: Re: [PHP3] PHP and MySQL
I had already did it. I uncommented de line that loads the MySQL DLL file
and also put all dll files in the PHP directory, in the Windows directory
and into the windows\system\ directory.
-----Original Message-----
From: Linux User <linux
digital-salvage.net>
To: Roberto Carvalho <rac_beto
esoterica.pt>; php3
lists.php.net
<php3
lists.php.net>
Date: Domingo, 5 de Março de 2000 18:14
Subject: Re: [PHP3] PHP and MySQL
>Check the php3.ini file. You need to uncomment the line that loads the
MySQL
>DLL file.
>
>----- Original Message -----
>From: Roberto Carvalho
>To: php3
lists.php.net
>Sent: Sunday, March 05, 2000 1:05 PM
>Subject: [PHP3] PHP and MySQL
>
>
> I have PHP and MySQL installed in my computer. They are running under
>Windows 98, and i don´t have any problems running php pages and MySQL in my
>computer. But when I try to run PHP to access MySQL, it appears a messge
>error telling that the mysql_connect() command is unrecognized. Does
anybody
>know what I have to do to solve this problem?
>
> Thank you
>
>
>
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribelists.php.net To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
Hello Maarten,
On 04-Mar-00 13:01:48, you wrote:
>I'd like to experiment with XML files in PHP, but can't find too many >examples. >What i want is a webpage which makes a framework(graphics, tables etc.) and >reads the values >from the XML file as they are needed (like I do with databases most of the >time). >I can find some examples of xml usage in php, but not with this kind of >stuff..
>can someone point me to some docs or example code?
Maybe you would like to try this PHP generic XML parser class that comes with example code of how to use it to build a flat array with the whole structure of a XML data stream.
http://phpclasses.UpperDesign.com/browse.html/package/4
This class is also used by this package to parse database schema definition in a custom XML format that may be used to install or updated database schemas (tables, fields, indexes, sequences).
http://phpclasses.UpperDesign.com/browse.html/package/20
Regards, Manuel Lemos
Web Programming Components using PHP Classes.
Look at: acm.org">http://phpclasses.UpperDesign.com/?user=mlemos
acm.org
-- E-mail: mlemosacm.org URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --
attached mail follows:
Unfortunately, if you have any Mac users, you're in for a big surprise. The program breaks completely on the Mac.
At 10:17 AM -0800 3/3/00, moebius
ip-solutions.net wrote:
>Hey Auke,
> That is a great program. It's easy to look at, easy to navigate and
>pretty robust. Will you be posting update releases, or maybe sourceforge?
>Regards,
>
>Harry Hoffman
>Product Systems Specialist
>Restaurants Unlimited Inc.
>206.634.3082 x. 270
attached mail follows:
As with any call to the system you should be careful. However if the system call is NOT based on user input (i.e system ("cat " $uservar) ) you probably know exactly what call you are making and don't need to be too concerned about it.
On Thu, Mar 02, 2000 at 06:05:37PM +0000, Conor Boyd wrote:
> Hi,
> I am writing csv files to disk from mysql using php and want to compress them
> with gzip or something. What I was wondering is is the...
> system("blah")
> ...call
> insecure in any way?
>
> Should I use...
> system(EscapeShellCmd($cmd));
> ..???
>
> Thanks,
>
> -/|\-
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
---- Chris Moewes-Bystrom christopher
moewes.com http://www.moewes.com http://www.linuxnovice.org
Looking for a PHP User Group in your area? Check http://www.moewes.com/phpug.php3
attached mail follows:
Hi,
my configuration is Apache 1.3.12 and php 3.0.15 under linux redhat 5.2.
In my php3.in file I have this line : error_reporting = 5
So I can see only normal errors and parser errors.
When I launch for the first time httpd I see the warning with the function file() (file does not exist).
I restart httpd, the I reload the page and this message dissapear !!
what is the reason ?
Bye.
postmaster
radio-campus.org
http://www.radio-campus.org/
attached mail follows:
The Sorcerer ICQ:64678614
----- Original Message -----
From: Bill Herz <info
billonline.net>
To: PHP3 Email <php3
lists.php.net>
Sent: Sunday, March 05, 2000 1:32 PM
Subject: [PHP3] Web hosting
> Hello All, > > I've just a hosting question here: > Who may provide domain name based FREE web hosting services > with PHP3 support? > > Thanks in advance, > > Bill Herz > >
attached mail follows:
Brad
Bill Herz wrote:
> Hello All, > > I've just a hosting question here: > Who may provide domain name based FREE web hosting services > with PHP3 support? > > Thanks in advance, > > Bill Herz
- text/x-vcard attachment: Card for brad
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature
attached mail follows:
Erm, are you sure? That just leads to an advert for FreeNetNames...
Glen.
Brad wrote:
> http://www.uklinux.co.uk > > Brad > > Bill Herz wrote: > > > Hello All, > > > > I've just a hosting question here: > > Who may provide domain name based FREE web hosting services > > with PHP3 support? > > > > Thanks in advance, > > > > Bill Herz >
attached mail follows:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, 5 Mar 2000, Glen Passman wrote:
> Erm, are you sure? That just leads to an advert for FreeNetNames...
www.uklinux.net
- --
__ ___ . . . /\ . *
\ \ / /_\ Linux Systems >X< * ( * . / \/\ .
\ V / _ \ (o o) * . * /`/ / \ .
+-\_/_/-\_\---{ David Coulson }-----ooO--(_)--Ooo-------/`/ / / \-+
+---{ Themes.Org Lead Developer }-------{ technoir
sourceforge.net }---+
-----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use Comment: PGP Public Key - http://technoir.themes.org/public-key.txt Charset: noconv
iQA/AwUBOMLgkmvDGUu9kKufEQKIIQCfTgA5jaP1BYniNaQZg1U3YiZcFiIAoN4l Gn05yyePRinILJ91BP+Qm6Rs =rFTE -----END PGP SIGNATURE-----
attached mail follows:
David Coulson wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sun, 5 Mar 2000, Glen Passman wrote: > > > Erm, are you sure? That just leads to an advert for FreeNetNames... > > www.uklinux.net
DOH!
SOrry all! Yes, or .com!
:-(
Brad
>
>
> - --
> __ ___ . . . /\ . *
> \ \ / /_\ Linux Systems >X< * ( * . / \/\ .
> \ V / _ \ (o o) * . * /`/ / \ .
> +-\_/_/-\_\---{ David Coulson }-----ooO--(_)--Ooo-------/`/ / / \-+
> +---{ Themes.Org Lead Developer }-------{ technoir
sourceforge.net }---+
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGPfreeware 5.0i for non-commercial use
> Comment: PGP Public Key - http://technoir.themes.org/public-key.txt
> Charset: noconv
>
> iQA/AwUBOMLgkmvDGUu9kKufEQKIIQCfTgA5jaP1BYniNaQZg1U3YiZcFiIAoN4l
> Gn05yyePRinILJ91BP+Qm6Rs
> =rFTE
> -----END PGP SIGNATURE-----
- text/x-vcard attachment: Card for brad
- application/x-pkcs7-signature attachment: S/MIME Cryptographic Signature
attached mail follows:
Our second milestone (the first was actually having a meeting).
Anyway head over to http://chiphpug.php.net
There isn't a whole lot there yet, but we'll grow/mature over time.
Hank
attached mail follows:
Im using minivend and to be true im kinda getting out of my mind. Great platform !!! very very very very bad documentation and support.
So my Q is. What a the recommendation for heavy using commerce shop that support all the goodies like shipping, userdb, basket, backtrack ....
and obviously while using php :-) which is Great platform !!! Great Documents !!! And Great support :-)
-- -------------------------- Canaan Surfing Ltd. Internet Service Providers Ben-Nes Michael - Manager Tel: 972-6-6925757 Fax: 972-6-6925858 http://www.canaan.co.il --------------------------
attached mail follows:
Fishcart gets talked about a lot ...
http://www.fni.com/fcsql/ by FishNet®, Inc.
<soapbox mode=on> Conversely, this seems to be one wheel that clients like to reinvent - in my experience anyway ... it's kinda like advertising and artwork ... everybody is an 'expert' on what a shopping cart should do/be. </soapbox>
-----Original Message-----
From: Ben-Nes Michael [mailto:miki
canaan.co.il]
Sent: Sunday, March 05, 2000 1:59 PM
To: php
Subject: [PHP3] ecommerce solution vs Minivend
Im using minivend and to be true im kinda getting out of my mind. Great platform !!! very very very very bad documentation and support.
So my Q is. What a the recommendation for heavy using commerce shop that support all the goodies like shipping, userdb, basket, backtrack ....
and obviously while using php :-) which is Great platform !!! Great Documents !!! And Great support :-)
-- -------------------------- Canaan Surfing Ltd. Internet Service Providers Ben-Nes Michael - Manager Tel: 972-6-6925757 Fax: 972-6-6925858 http://www.canaan.co.il ---------------------------- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
On Sun, 05 Mar 2000, you wrote: Have a look at http://phpshop.sourceforge.net it seem's to be a good one.
Ciao
Luca
-- o0o -- o0o -- o0o -- o0o -- o0o -- o0o -- o0o -- o0o -- o0o --
Luca Perugini 0o0 Linux Consultant
Editor PHP Manual Italian language 0o0 mailto:perugini
php.net
SysAdmin 0o0 http://www.uisp.it
attached mail follows:
Hi everyone,
I can upload the file, but I can't copy the file into a new directory.
My script is follows;
<html> <body> <? if (isset($userfile)) {
print("Local File: $userfile<br>\n"); print("Name: $userfile_name<br>\n"); print("Size: $userfile_size<br>\n"); print("Type: $userfile_type<br>\n"); print("<hr>\n"); copy($userfile,"/home/marktwo/Co-Well/pic/$userfile_name");
}
?> </body> </html>
Then, I got some error messages stating that unable to create '/home/marktwo/Co-Well/pic/file.gig': Permission denied in home/httpd/html/upload_process.php3 on line 12
I wonder what is wong with it..
Also, I set my tmp dir in php.ini files as upload_tmp_dir="/tmp/pic/" <-----is the snytax correct.
Thank You
mark Lo
attached mail follows:
Just a guess here (but a decent guess;)) ... your php is running as 'nobody' under your web server and your permissions for the /home/.../pic directory are probably 750 or something ... do a chmod on the directory to 755 or so and that should fix it.
Hank
-----Original Message-----
From: root
imsp015.netvigator.com [mailto:root
imsp015.netvigator.com]On
Behalf Of Mark Lo
Sent: Sunday, March 05, 2000 1:46 PM
To: php3
Subject: [PHP3] permission denied for file upload
Hi everyone,
I can upload the file, but I can't copy the file into a new directory.
My script is follows;
<html> <body> <? if (isset($userfile)) {
print("Local File: $userfile<br>\n"); print("Name: $userfile_name<br>\n"); print("Size: $userfile_size<br>\n"); print("Type: $userfile_type<br>\n"); print("<hr>\n"); copy($userfile,"/home/marktwo/Co-Well/pic/$userfile_name");
}
?> </body> </html>
Then, I got some error messages stating that unable to create '/home/marktwo/Co-Well/pic/file.gig': Permission denied in home/httpd/html/upload_process.php3 on line 12
I wonder what is wong with it..
Also, I set my tmp dir in php.ini files as upload_tmp_dir="/tmp/pic/" <-----is the snytax correct.
Thank You
mark Lo
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribelists.php.net To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
Hi
You dont have permission to write to that directory
give it a chmod dir 777
Mark Lo wrote:
> Hi everyone,
>
> I can upload the file, but I can't copy the file into a new
> directory.
>
> My script is follows;
>
> <html>
> <body>
> <?
> if (isset($userfile))
> {
>
> print("Local File: $userfile<br>\n");
> print("Name: $userfile_name<br>\n");
> print("Size: $userfile_size<br>\n");
> print("Type: $userfile_type<br>\n");
> print("<hr>\n");
> copy($userfile,"/home/marktwo/Co-Well/pic/$userfile_name");
>
> }
>
> ?>
> </body>
> </html>
>
> Then, I got some error messages stating that unable to create
> '/home/marktwo/Co-Well/pic/file.gig': Permission denied in
> home/httpd/html/upload_process.php3 on line 12
>
> I wonder what is wong with it..
>
> Also, I set my tmp dir in php.ini files as upload_tmp_dir="/tmp/pic/"
> <-----is the snytax correct.
>
> Thank You
>
> mark Lo
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
-- -------------------------- Canaan Surfing Ltd. Internet Service Providers Ben-Nes Michael - Manager Tel: 972-6-6925757 Fax: 972-6-6925858 http://www.canaan.co.il --------------------------
attached mail follows:
Somebody know a php fax gateway solutions for NT4 ?
attached mail follows:
I am using PHP/4.0b4 + Apache/1.3.11 (Win32) and I have "X-Powered-By: PHP/4.0b4 Content-Type: text/html" in any PHP script. I set expose_php = Off and "X-Powered-By: PHP/4.0b4" does not appear, but "Content-Type: text/html" is still there. Please, help
attached mail follows:
At 10:34 PM 3/5/00 +0200, you wrote: >I am using PHP/4.0b4 + Apache/1.3.11 (Win32) and I have "X-Powered-By: >PHP/4.0b4 Content-Type: text/html" in any PHP script. I set expose_php = Off >and "X-Powered-By: PHP/4.0b4" does not appear, but "Content-Type: text/html" >is still there.
You must have the Content-type header. If you do not, then the client browser will not know what to do with the content that your server is sending it.
If you need to send out a different content-type header - (perhaps your are using php to send out process images ?) - then you can send out a different content-type header by using the HEADER function.
i.e. HEADER( 'Content-type: image/jpeg' );
HTH,
Zak
attached mail follows:
Hi,
This is for a future project I have in store; can anyone tell me if it's possible to connect to a NNTP server, and search through current and old messages?
That's all, thanks in advance.
Will
Web Developer and Programmer for Lukrative Media Ltd http://www.lukrative.com Domain Names-> http://CreativeNames.co.uk Classified Ads-> http://www.LocalAds.Net
attached mail follows:
I've used http://www.vhconsultants.com/nnrp/nnrp.htm successfully. The formatting is pretty rough but you could customize it to what you needed.
At 08:58 PM 3/5/00 +0000, will
localads.net wrote:
>This is for a future project I have in store; can anyone tell me if it's
>possible to connect to a NNTP server, and search through current and old
>messages?
-
PGP Key ID: 0xBCB6D4C7
Dan Stetser dan
panworld.net
PacInternet http://www.pacinternet.com/
attached mail follows:
Hi,
I got some strange file name after uploading ...
I set my upload_tmp_dir as /tmp... after upload the file...in my tmp dir i got the strange file name called "nsform38C2C66D04602C9" and my origional filename...phpXXXXX is removed--->this is true as stated in the manual....please correct me if i am wrong.
I would like to know why that strange file name is there? and is it a normal result generating that file from file uploading in php.
Thank you
mark lo
attached mail follows:
Hi,
I wonder that how can i limit the upload function for specific file type...such as gif or jpeg.
Thank You
Mark Lo
attached mail follows:
You could use JavaScript to check the value of the field containing the file before you upload it.
Jason
-----Original Message-----
From: root
imsp074.netvigator.com [mailto:root
imsp074.netvigator.com]On
Behalf Of Mark Lo
Sent: Sunday, March 05, 2000 2:30 PM
To: php3
Subject: [PHP3] File Upload??
Hi,
I wonder that how can i limit the upload function for specific file type...such as gif or jpeg.
Thank You
Mark Lo
-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribelists.php.net To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin
lists.php.net
_______________________________________________________ Site Design, Hosting, and E-Commerce at www.webpipe.net
attached mail follows:
Thank you for your quick response first.
What syntax or function should i use in JavaScript.
Thank You again.
Mark Lo
Jason Cox wrote:
> You could use JavaScript to check the value of the field containing the file
> before you upload it.
>
> Jason
>
> -----Original Message-----
> From: root
imsp074.netvigator.com [mailto:root
imsp074.netvigator.com]On
> Behalf Of Mark Lo
> Sent: Sunday, March 05, 2000 2:30 PM
> To: php3
> Subject: [PHP3] File Upload??
>
> Hi,
>
> I wonder that how can i limit the upload function for specific file
> type...such as gif or jpeg.
>
> Thank You
>
> Mark Lo
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to:
> http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
> _______________________________________________________
> Site Design, Hosting, and E-Commerce at www.webpipe.net
attached mail follows:
I`m need an sendformmail in mail, but not found in web.
-- Flavio Alberto Sacchetin Suporte Tecnico What? Linux? amdwhatlinux.com.br
attached mail follows:
Hi,
I was trying to build PHP 3.0.15 on SCO OpenServer 5.0.0 with gcc 2.95.2 Firstly I ran: ./configure --with-mysql=/usr/local/mysql --with-apxs=/usr/local/apache/bin/ apxs --with-apache=/usr/local/apache/bin/httpd --with-xml Apache 1.3.12 is installed and running. So is mysql 3.22.32. The ´configure´ script finished with no complaints at all. The problem came from ´make´, which aborted with the following error: . . . functions/filestat.c: In function `php3_diskfreespace´: funcions/filestat.c:151: storage size of `buf´ isn´t known make: *** [Functions/filestat.o] Error 1
After several hours trying to trace the problem, I finally gave up with 3.0.15 and went to php 4.0b4 PL1. Again, the ´configure´ script did its job but ´make´ aborted with the same error message as before.
I did a Dejanews and PHP archives search and found that other people came accross this same problem on SCO platforms. There´s still an open bug report #2751 on this subject.
PHP is the last software package I need to build to complete a project I´m working on. I will highly appreciate if someone can give me a hand to solve this problem. There must be an issue in the source code of filestat.c but I don´t know what to touch.
Thank you very much in advance,
Fernando Ronci
E-mail: fernando
waycom.com.ar
attached mail follows:
Hi,
I was trying to build PHP 3.0.15 on SCO OpenServer 5.0.0 with gcc 2.95.2 Firstly I ran: ./configure --with-mysql=/usr/local/mysql \ --with-apxs=/usr/local/apache/bin/apxs \ --with-apache=/usr/local/apache/bin/httpd \ --with-xml
Apache 1.3.12 is installed and running. So is mysql 3.22.32. The ´configure´ script finished with no complaints at all. The problem came from ´make´, which aborted with the following error: . . . functions/filestat.c: In function `php3_diskfreespace´: funcions/filestat.c:151: storage size of `buf´ isn´t known make: *** [Functions/filestat.o] Error 1
After several hours trying to trace the problem, I finally gave up with 3.0.15 and went to php 4.0b4 PL1. Again, the ´configure´ script did its job but ´make´ aborted with the same error message as before.
I did a Dejanews and PHP archives search and found that other people came accross this same problem on SCO platforms. There´s still an open bug report #2751 on this subject.
PHP is the last software package I need to build to complete a project I´m working on. I will highly appreciate if someone can give me a hand to solve this problem. There must be an issue in the source code of filestat.c but I don´t know what to touch.
Thank you very much in advance,
Fernando Ronci
E-mail: fernando
waycom.com.ar
attached mail follows:
For the GET method in PHP3, is there a limit of the length that a parameter can take?
Example:
4
123
42">http://www.myserver.com/myfile.php3?coordinate=14
4
123
42
.....................
As I remember, in ASP the maximum that a GET method can take is up to 255 in length, but I tried it in PHP3, it seems that it can take more than 255 chars!!!! So, what is that limit for php3?
THanks a lot.
attached mail follows:
Hi,
On 06-Mar-2000 Kevin wrote:
>
> For the GET method in PHP3, is there a limit of the length that a parameter
> can take?
>
> Example:
>
> 4
123
42">http://www.myserver.com/myfile.php3?coordinate=14
4
123
42
> .....................
>
> As I remember, in ASP the maximum that a GET method can take is up to 255 in
> length, but I tried it in PHP3, it seems that it can take more than 255
> chars!!!! So, what is that limit for php3?
>
AFAIK php doesn't impose a limit. But HTTP specs impose a limit of 8KB on URL's, so APACHE or your browser may kill the trailling chars..
> THanks a lot.
Have fun, ratao
----------------------------------
E-Mail: RaTao von J <ratao
globalrede.com>
Date: 06-Mar-2000
Time: 00:44:51
----------------------------------
attached mail follows:
I seem to remember and now I can't find it a way so that PHP3
scripts would be run with the access level of the user who created
them, not of the web server ID. The idea is to enable users to
secure their data from access except throught their web pages.
--------------------------------------------------------------------
Ray Todd Stevens Specialists in Network and Security Consulting
Senior Consultant Software audit service available
Stevens Services
R.R. # 14 Box 1400 Apt 21
Bedford, IN 47421
(812) 279-9394
Raytodd
tima.com
Thought for the day: Kids do what we do not what we say
For PGP public key send message with subject please send PGP key
If this message refers to an attachment the attachment may arrive as a seperate mail message depending on the type of mail client and gateway software you are using.
attached mail follows:
I seem to be having problems with this code below (sorry for the long message with all the code it's the only way I can explain my problem) I show the results I get and the results I want at the end of this message
<?php include ("setup.php3"); include "class.FastTemplate.php3"; # initialize FastTemplate class $tpl = new FastTemplate("."); $tpl->define(array( "table" => "table.tpl","main" => "main.tpl" )); $tpl->define_dynamic("row", "table");
$query = "SELECT catid, title FROM category order by title asc"; $result = mysql_db_query($dbName, $query); if ($result) { while ($r = mysql_fetch_array($result)) { $vcatid = $r["catid"]; $title = $r["title"]; $subquery = "SELECT subcatid, subtitle FROM subcategory Where catid = $vcatid order by subcatid asc limit 3 "; $subresult = mysql_db_query($dbName, $subquery); while ($s = mysql_fetch_array($subresult)) { $scatid = $s["subcatid"]; $stitle = $s["subtitle"]; $tpl->assign(array( VCAT => $vcatid, VTITLE => $title, SCAT => $scatid, STITLE =>$stitle )); $tpl->parse("ROWS", ".row"); $tpl->parse("CONTENT", "table"); $tpl->parse("GLOBAL", "main"); $tpl->FastPrint(); }}} mysql_free_result($result); mysql_free_result($subresult); ?>
table.tpl
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid={VCAT}& ptitle={VTITLE} TARGET=_top">{VTITLE}</A>
<A HREF="subcategory.php3?subcatid={SCAT} & stitle= {STITLE} & catid= {VCAT} TARGET=_top">{STITLE}</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br>
main.tpl
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
{CONTENT}
</BODY> </HTML>
THE RESULTS I GET
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A>
<A HREF="subcategory.php3?subcatid=101 & stitle= Mens & catid= 1 TARGET=_top">Mens</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br> etc etc .......
</BODY> </HTML>
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A>
<A HREF="subcategory.php3?subcatid=102 & stitle= Womens & catid= 1 TARGET=_top">Womens</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br>
The RESULTS I WANT
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A> <A HREF="subcategory.php3?subcatid=101 & stitle= Mens & catid= 1 TARGET=_top">Mens</A></td> <A HREF="subcategory.php3?subcatid=102 & stitle= Womens & catid= 1 TARGET=_top">Womens</A></td> <!-- END DYNAMIC BLOCK: row --> </table> <br> </BODY> </HTML>
THE TWOHOT MALL
http:/www.twohot.com
Richard Kurth
rkurth
pacifier.com
attached mail follows:
I'm sorry........ I've doubleclick on send... OPSSS!
Luca
-- -- o0o -- o0o -- o0o -- o0o -- o0o -- o0o -- o0o -- o0o -- o0o -- Luca Perugini 0o0 Linux Consultant Editor PHP Manual Italian language 0o0 mailto:peruginiphp.net SysAdmin 0o0 http://www.uisp.it
attached mail follows:
Hello, Sorry for post it here. All of you can get paid while receive email ..but if you all don't believe just sign up here...
http://www.sendmoreinfo.com/id/529961
____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=1
attached mail follows:
Hi,
I have a flat database in gdbm format that I am accessing with the PHP dba functions. I can't, for the life of me, figure out how to sort this thing. ANyone have any ideas of how to sort a gdbm data set with PHP?
Thanks!
attached mail follows:
Hi All,
I'm trying to build php3.0.15 with libmcrypt (2.3.1) and mhash (0.6.1) without success. When I compile with libmcrypt gcc complains about some #defines (DES, BLOWFISH, SAFER, etc) supposed to be declared in mcrypt.h. When I complile with mhash I get no compiling error, but Apache can't start php module. Does anybody know what happening?
Thanks, Roberto
attached mail follows:
I wanted to call a Perl script inside my Php page. My Perl script can either do the ff: 1. return a value and Php displays it 2. print a section of the page with the value it's supposed to return to Php.
How can I do this?
Thanks, lester __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com
attached mail follows:
What are the advantages of using functions in a script as opposed to just plain script (All the code in the script will always be executed). Am I missing something?
Sincerely, JE
attached mail follows:
you'll have the oportunitty to reuse the code and that is a Good Thing (c).
On 06-Mar-2000 JE wrote:
> What are the advantages of using functions in a script as opposed to just
> plain script (All the code in the script will always be executed). Am I
> missing something?
>
> Sincerely,
> JE
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
----------------------------------
E-Mail: RaTao von J <ratao
globalrede.com>
Date: 06-Mar-2000
Time: 03:47:27
----------------------------------
attached mail follows:
I seem to be having problems with this code below (sorry for the long message with all the code it's the only way I can explain my problem) I show the results I get and the results I want at the end of this message
<?php include ("setup.php3"); include "class.FastTemplate.php3"; # initialize FastTemplate class $tpl = new FastTemplate("."); $tpl->define(array( "table" => "table.tpl","main" => "main.tpl" )); $tpl->define_dynamic("row", "table");
$query = "SELECT catid, title FROM category order by title asc"; $result = mysql_db_query($dbName, $query); if ($result) { while ($r = mysql_fetch_array($result)) { $vcatid = $r["catid"]; $title = $r["title"]; $subquery = "SELECT subcatid, subtitle FROM subcategory Where catid = $vcatid order by subcatid asc limit 3 "; $subresult = mysql_db_query($dbName, $subquery); while ($s = mysql_fetch_array($subresult)) { $scatid = $s["subcatid"]; $stitle = $s["subtitle"]; $tpl->assign(array( VCAT => $vcatid, VTITLE => $title, SCAT => $scatid, STITLE =>$stitle )); $tpl->parse("ROWS", ".row"); $tpl->parse("CONTENT", "table"); $tpl->parse("GLOBAL", "main"); $tpl->FastPrint(); }}} mysql_free_result($result);
mysql_free_result($subresult);
?>
table.tpl
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid={VCAT}& ptitle={VTITLE} TARGET=_top">{VTITLE}</A>
<A HREF="subcategory.php3?subcatid={SCAT} & stitle= {STITLE} & catid= {VCAT} TARGET=_top">{STITLE}</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br>
main.tpl
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
{CONTENT}
</BODY> </HTML>
THE RESULTS I GET
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A>
<A HREF="subcategory.php3?subcatid=101 & stitle= Mens & catid= 1 TARGET=_top">Mens</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br> etc etc .......
</BODY> </HTML>
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A>
<A HREF="subcategory.php3?subcatid=102 & stitle= Womens & catid= 1 TARGET=_top">Womens</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br>
The RESULTS I WANT
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A> <A HREF="subcategory.php3?subcatid=101 & stitle= Mens & catid= 1 TARGET=_top">Mens</A></td> <A HREF="subcategory.php3?subcatid=102 & stitle= Womens & catid= 1 TARGET=_top">Womens</A></td> <!-- END DYNAMIC BLOCK: row --> </table> <br> </BODY> </HTML>
THE TWOHOT MALL
http:/www.twohot.com
Richard Kurth
rkurth
pacifier.com
attached mail follows:
Can someone point me to a summary of the changes from v3 to v4?
Michael J. Sheldon Internet Applications Developer Phone: 480.699.1084 http://www.desertraven.com/ PGP Key Available on Request
attached mail follows:
Greetings,
does anyone know of a good and preferably free database that works well with PHP for WinNT/2000?
Thankyou,
Chris Toth
attached mail follows:
I know MySQL works great on NT4, don't know about Win2k. It's worth a try though.
www.mysql.com
Chris Toth wrote:
>
>
> Greetings,
>
> does anyone know of a good and preferably free database that works well
> with PHP for WinNT/2000?
>
> Thankyou,
>
> Chris Toth
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
--Mike Fetherston twist
accglobal.net twist
earthling.net
attached mail follows:
Ok, I installed everything like specified in the INSTALL file that came with php 3.0.14 but when i put this in line httpd.conf:
LoadModule php3_module modules/libphp3.so
the server said:
Syntax error on line 207 of /usr/local/apache/conf/httpd.conf: Invalid command 'LoadModule', perhaps mis-spelled or defined by a module not included in the server configuration
What do i need to do to fix this? some one please help!
digitsix
attached mail follows:
Theodore,
Id love to hear if the [Oracle] sctions work as ive never bothered testing them, assuming they dont.
As far as ora_do and ora_fetch_into they are very similar to the OCI or MySQL calls with similar names. The only trick is if you want to fetch into an associative array with names (like $row["EMPLOYEE_ID"] = "0012334" instead of $row[1] = = "0012334") you have to include a certain constant.. the only way i found it was by looking through oracle.c source and its called ORA_ASSOC.. or something similar (sorry im nowhere near a php at the moment).
If you have troubles finding more detailed info mail me and ill send you some info once im back at work on Tuesday.
mn
On Monday, 6 March 2000 12:59, Theodore Hope
[SMTP:php
iguana.internexo.co.cr] wrote:
> We've got apache_1.3.12 + php_3.0.15 --with-oracle apparently
> working well under AIX. (Oracle 7.2.3, not 8). I'd like to
> know if there's any other info on using the "ora_do" and
> "ora_fetch_into" functions that appear in /functions/oracle.c.
> The documentation (/doc/*) is not quite complete, and doesn't
> talk about these functions.
>
> Also, I added the following to php3.ini, figuring that it should
> work just like the [Sybase] variables do. Any comments on
> other oracle.* variables that should be set?
>
> [Oracle]
> oracle.allow_persistent = On
> oracle.max_persistent = -1
> oracle.max_links = -1
>
>
> Sorry if this has been discussed on the list recently; I've been off
> the list and am just getting back on.
>
> Thanks, -T.H.
>
attached mail follows:
i need to retrieve the html from a https://address?blah=blah&blah=blah get command. is it possible to use fopen or is there some other solution?
Kit Plummer
attached mail follows:
Kit,
You'll need an external app to do that. The one I use is cURL.
Have a look at this link.
http://www.faqts.com/knowledge-base/view.phtml/aid/697/fid/105
Matta
plummerk
okinawa.usmc-mccs.org wrote:
> i need to retrieve the html from a https://address?blah=blah&blah=blah get
> command. is it possible to use fopen or is there some other solution?
>
> Kit Plummer
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
attached mail follows:
Message-Id: <200003060512.VAA23241
eclipse.pacifier.com>
From: rkurth
pacifier.com
To: php3
lists.php.net
Date: Sat, 5 Feb 2000 20:56:12 -0800
Subject: FastTemplate and Dynamic block
I seem to be having problems with this code below (sorry for the long message with all the code it's the only way I can explain my problem) I show the results I get and the results I want at the end of this message
<?php include ("setup.php3"); include "class.FastTemplate.php3"; # initialize FastTemplate class $tpl = new FastTemplate("."); $tpl->define(array( "table" => "table.tpl","main" => "main.tpl" )); $tpl->define_dynamic("row", "table");
$query = "SELECT catid, title FROM category order by title asc"; $result = mysql_db_query($dbName, $query); if ($result) { while ($r = mysql_fetch_array($result)) { $vcatid = $r["catid"]; $title = $r["title"]; $subquery = "SELECT subcatid, subtitle FROM subcategory Where catid = $vcatid order by subcatid asc limit 3 "; $subresult = mysql_db_query($dbName, $subquery); while ($s = mysql_fetch_array($subresult)) { $scatid = $s["subcatid"]; $stitle = $s["subtitle"]; $tpl->assign(array( VCAT => $vcatid, VTITLE => $title, SCAT => $scatid, STITLE =>$stitle )); $tpl->parse("ROWS", ".row"); $tpl->parse("CONTENT", "table"); $tpl->parse("GLOBAL", "main"); $tpl->FastPrint(); }}} mysql_free_result($result);
mysql_free_result($subresult);
?>
table.tpl
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid={VCAT}& ptitle={VTITLE} TARGET=_top">{VTITLE}</A>
<A HREF="subcategory.php3?subcatid={SCAT} & stitle= {STITLE} & catid= {VCAT} TARGET=_top">{STITLE}</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br>
main.tpl
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
{CONTENT}
</BODY> </HTML>
THE RESULTS I GET
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A>
<A HREF="subcategory.php3?subcatid=101 & stitle= Mens & catid= 1 TARGET=_top">Mens</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br> etc etc .......
</BODY> </HTML>
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A>
<A HREF="subcategory.php3?subcatid=102 & stitle= Womens & catid= 1 TARGET=_top">Womens</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br>
The RESULTS I WANT
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A> <A HREF="subcategory.php3?subcatid=101 & stitle= Mens & catid= 1 TARGET=_top">Mens</A></td> <A HREF="subcategory.php3?subcatid=102 & stitle= Womens & catid= 1 TARGET=_top">Womens</A></td> <!-- END DYNAMIC BLOCK: row --> </table> <br> </BODY> </HTML>
THE TWOHOT MALL
http:/www.twohot.com
Richard Kurth
rkurth
pacifier.com
attached mail follows:
I seem to be having problems with this code below (sorry for the long message with all the code it's the only way I can explain my problem) I show the results I get and the results I want at the end of this message
<?php include ("setup.php3"); include "class.FastTemplate.php3"; # initialize FastTemplate class $tpl = new FastTemplate("."); $tpl->define(array( "table" => "table.tpl","main" => "main.tpl" )); $tpl->define_dynamic("row", "table");
$query = "SELECT catid, title FROM category order by title asc"; $result = mysql_db_query($dbName, $query); if ($result) { while ($r = mysql_fetch_array($result)) { $vcatid = $r["catid"]; $title = $r["title"]; $subquery = "SELECT subcatid, subtitle FROM subcategory Where catid = $vcatid order by subcatid asc limit 3 "; $subresult = mysql_db_query($dbName, $subquery); while ($s = mysql_fetch_array($subresult)) { $scatid = $s["subcatid"]; $stitle = $s["subtitle"]; $tpl->assign(array( VCAT => $vcatid, VTITLE => $title, SCAT => $scatid, STITLE =>$stitle )); $tpl->parse("ROWS", ".row"); $tpl->parse("CONTENT", "table"); $tpl->parse("GLOBAL", "main"); $tpl->FastPrint(); }}} mysql_free_result($result);
mysql_free_result($subresult);
?>
table.tpl
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid={VCAT}& ptitle={VTITLE} TARGET=_top">{VTITLE}</A>
<A HREF="subcategory.php3?subcatid={SCAT} & stitle= {STITLE} & catid= {VCAT} TARGET=_top">{STITLE}</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br>
main.tpl
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
{CONTENT}
</BODY> </HTML>
THE RESULTS I GET
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A>
<A HREF="subcategory.php3?subcatid=101 & stitle= Mens & catid= 1 TARGET=_top">Mens</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br> etc etc .......
</BODY> </HTML>
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A>
<A HREF="subcategory.php3?subcatid=102 & stitle= Womens & catid= 1 TARGET=_top">Womens</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br>
The RESULTS I WANT
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A> <A HREF="subcategory.php3?subcatid=101 & stitle= Mens & catid= 1 TARGET=_top">Mens</A></td> <A HREF="subcategory.php3?subcatid=102 & stitle= Womens & catid= 1 TARGET=_top">Womens</A></td> <!-- END DYNAMIC BLOCK: row --> </table> <br> </BODY> </HTML>
attached mail follows:
I seem to be having problems with this code below (sorry for the long message with all the code it's the only way I can explain my problem) I show the results I get and the results I want at the end of this message
<?php include ("setup.php3"); include "class.FastTemplate.php3"; # initialize FastTemplate class $tpl = new FastTemplate("."); $tpl->define(array( "table" => "table.tpl","main" => "main.tpl" )); $tpl->define_dynamic("row", "table");
$query = "SELECT catid, title FROM category order by title asc"; $result = mysql_db_query($dbName, $query); if ($result) { while ($r = mysql_fetch_array($result)) { $vcatid = $r["catid"]; $title = $r["title"]; $subquery = "SELECT subcatid, subtitle FROM subcategory Where catid = $vcatid order by subcatid asc limit 3 "; $subresult = mysql_db_query($dbName, $subquery); while ($s = mysql_fetch_array($subresult)) { $scatid = $s["subcatid"]; $stitle = $s["subtitle"]; $tpl->assign(array( VCAT => $vcatid, VTITLE => $title, SCAT => $scatid, STITLE =>$stitle )); $tpl->parse("ROWS", ".row"); $tpl->parse("CONTENT", "table"); $tpl->parse("GLOBAL", "main"); $tpl->FastPrint(); }}} mysql_free_result($result);
mysql_free_result($subresult);
?>
table.tpl
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid={VCAT}& ptitle={VTITLE} TARGET=_top">{VTITLE}</A>
<A HREF="subcategory.php3?subcatid={SCAT} & stitle= {STITLE} & catid= {VCAT} TARGET=_top">{STITLE}</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br>
main.tpl
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
{CONTENT}
</BODY> </HTML>
THE RESULTS I GET
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A>
<A HREF="subcategory.php3?subcatid=101 & stitle= Mens & catid= 1 TARGET=_top">Mens</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br> etc etc .......
</BODY> </HTML>
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A>
<A HREF="subcategory.php3?subcatid=102 & stitle= Womens & catid= 1 TARGET=_top">Womens</A></td> </tr>
<!-- END DYNAMIC BLOCK: row --> </table> <br>
The RESULTS I WANT
<HTML> <HEAD> <TITLE>Test site - {PAGE_TITLE}</TITLE> </HEAD> <BODY TEXT="#FFFFFF">
<table width="158" border="1" cellspacing="0" cellpadding="0" bordercolor="#000000" bgcolor="#DBBC73"> <tr> <td colspan="2" align="center"><b><font face="'Times New Roman',Times,serif" size="4" color="#FF0000">Browse</font></b><br></td> </tr> <!-- BEGIN DYNAMIC BLOCK: row --> <tr> <td><A HREF="category.php3?catid=1& ptitle=Apparel TARGET=_top">Apparel</A> <A HREF="subcategory.php3?subcatid=101 & stitle= Mens & catid= 1 TARGET=_top">Mens</A></td> <A HREF="subcategory.php3?subcatid=102 & stitle= Womens & catid= 1 TARGET=_top">Womens</A></td> <!-- END DYNAMIC BLOCK: row --> </table> <br> </BODY> </HTML>
attached mail follows:
hello i would like to get enrolled for ur php news list.
attached mail follows:
Session is a good idea, How can I know a client session is over? For example, the client navigator is closed by user .Thanks a lot.
attached mail follows:
I am wanting to put these variables into a table that I setup. When I do it returns the error:
Warning: 0 is not a mSQL link index in /web/bob.org/sec/cal_add_complete.php on line 9
Warning: 0 is not a mSQL query index in /web/bob.org/sec/cal_add_complete.php on line 10
Warning: 0 is not a mSQL link index in /web/bob.org/sec/cal_add_complete.php on line 11
# cal_add_complete.php below <? $dblink = msql_connect("localhost"); $query = "insert into cal values ('$session_id', '$title', '$e_date', '$e_time', '$info')"; $result = msql_db_query("genesis_cal", $query, $dblink); msql_free_result($result); msql_close($dblink); ?>
has anyone seen this? I can't seem to find anything that mentions this. I configured php with msql and it seems to work fine other than this error...
thanks, Justin
attached mail follows:
I use php3.0.14, It seems that it requires the absolute path
"JUNG, SungYoung" <syjung
lgcit.com> wrote in message
news:7s7quj$e9a$1
www.php.net...
> I encountered path problem when using require()
>
> php file in the directory "./io" :
>
> io.php
> output.php
>
> source code "./io/io.php":
>
> ...
> require "output.php"
> ...
>
> Above has no problem. But the usage from other directory will cause error
>
>
> source code in directory "./" :
>
> ...
> require 'io/output.php';
> ...
>
> php result :
> Warning: Failed opening 'output.php' for inclusion (include_path='') in
> io/io.php ...
>
> It seems that php does not change current directory as requir/include
> command read from other directory.What Is the problem?
>
>
>
>
> --
> PHP 3 Mailing List <http://www.php.net/>
> To unsubscribe, send an empty message to php3-unsubscribe
lists.php.net
> To subscribe to the digest, e-mail: php3-digest-subscribe
lists.php.net
> To search the mailing list archive, go to:
http://www.php.net/mailsearch.php3
> To contact the list administrators, e-mail: php-list-admin
lists.php.net
>
attached mail follows:
Oh no, installing PHP 3 on Win2000 is actually harder than installing it on linux! I have Apache 1.3.9 and PHP 3.x and of course nothing works. I've read every doc I could find including the installation instructions on php.net. No matter what I do, I just get this back when I load my test PHP page:
<? print "welcome home"; ?>
It just spits out the code. My eyes are about to fall out, so I better go take a breather, but if anyone has any clues/tips, I'd love to read them.
Thanks, Chris
- Next message: php3-digest-help
lists.php.net: "php3 Digest 6 Mar 2000 18:00:01 -0000 Issue 1521"
- Previous message: php3-digest-help
lists.php.net: "php3 Digest 5 Mar 2000 18:00:02 -0000 Issue 1519"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]