php-windows Digest 13 May 2004 13:41:17 -0000 Issue 2248

Topics (messages 23681 through 23697):

Re: Best way to tell how many rows a query returns
        23681 by: Bobo Wieland
        23683 by: Svensson, B.A.T. (HKG)

Re:RE: [PHP-WIN] Photo gallery with description
        23682 by: Bobo Wieland

Photo gallery with description
        23684 by: Gryffyn, Trevor
        23686 by: Paul Menard
        23688 by: Gryffyn, Trevor
        23691 by: Jonathan Pilborough

Problems Configuring.
        23685 by: Alejandro C�sar Garrammone
        23690 by: Jason Barnett
        23694 by: Alejandro C�sar Garrammone

post TO sql routine
        23687 by: George Pitcher
        23689 by: Jason Barnett

Re: I a list of PHP 5 reserved words please!
        23692 by: Jason Barnett

Re: Windows vs. Unix - script incompatibilities?
        23693 by: Sonia Desbiens
        23695 by: Jordi Canals
        23696 by: NSR Nicki

Date format
        23697 by: Sudeep Zamudra

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 ---
Do this query first to get a variable that holds the total number of rows
matching your query....

count = mysql_result(mysql_query(SELECT COUNT(*) AS count FROM table WHERE
condition, $link_id),"count");

I think this is the correct syntax...

.bobo

----- Original Message ----- 
From: "Ross Honniball" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 10:30 AM
Subject: [PHP-WIN] Best way to tell how many rows a query returns


> Hi folks,
>
> I'm using a mysql query with a LIMIT clause. The problem is I would like
to
> know how many rows WOULD have matched had the limit clause not been in
> place. I realise that any solution is going to involve some over-head, but
> what's the most efficient way to find out?
>
> eg.
>
> SELECT * FROM table WHERE conditions LIMIT 30,30
>
> Say there are 200 records that match 'conditions', only 30 rows are
> returned (of course). How do I find out the total number (200 in this
case)
> that matched the conditions?
>
> Any ideas?
>
> . Ross Honniball                  JCU Bookshop Cairns Supervisor
> . James Cook Uni, McGreggor Rd, Smithfield, Qld. 4878, Australia
> . Ph:07.4042.1157  Fx:07.4042.1158   Em:[EMAIL PROTECTED]
> . There are no problems. Only solutions.
>
> -- 
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--- End Message ---
--- Begin Message ---
> Say there are 200 records that match 'conditions', only 30 rows are 
> returned (of course). How do I find out the total number (200 in this case) 
> that matched the conditions?
> 
> Any ideas?

SELECT COUNT(*) ....

--- End Message ---
--- Begin Message ---
Doesn't anybody do their own thing anymore? This is so boring, uninspiring
and depressing...
Does any of the suggested gallery code do exactly what Lenny asked for? In
my experience you always get a lot more then you want when using packages
like this. And if you want to do something different with it it's difficult
to find out where to add what because of the massive over-head of code...

Making a simple upload form and a db for the description shouldn't be to
hard, should it?


.bobo



You wrote:
>http://www.photopost.com
>
>Mie

>I am using CopperMine on a couple of my sites and it works great. I am
>using it as a PHPNuke module and my users love it.
>
>http://coppermine.sourceforge.net/
>
>
>Jim

>Gallery
>
>http://gallery.sf.net

>Another one:
>
>http://www.4homepages.de and look for 4images.
>It�s free, and in englich, Germany and spanish.
>
>I am using both 4images for foto gallery and photopost for FotoLog
>
>Mike


----- Original Message ----- 
From: "Lenny Davila" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 12:40 AM
Subject: [PHP-WIN] Photo gallery with description


I am trying to find a photo gallery (Preferrably PHP based) that I can set
up for a client that would allow him/her to upload their own photos, and
leave a caption under.  The client will update the album regularly and wants
to be able to do it on their own.  They wouold also like to have a
description of the photo underneath that they would also like to be able to
create themselves.  Kinda like the yahoo or msn group photos.
TIA
Lenny

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
I'm doing my own and plan to keep developing it.  I feel the same way,
those other scripts are really neat but they do WAY too much for what I
want.

The script that powers the link below is one file, no database setup
(currently and I'm thinking about keeping it that way... Or making a
PHP5 version using SQLLite), nothing fancy.

Current functionality:
1. Upload filename.[bmp|jpg|gif|png(?)|forget what other formats] to a
folder along with a "tn_filename.jpg" file as the thumbnail.  If no
thumbnail is available, it will try to use the full image as a thumbnail
but only if it's under a certain size (set in variable)
2. Dynamic # of columns to display (set in variable)
3. Auto-resizes thumbnails in <img> tag to fit in the table nicely..
Proportions are maintained
4. Displays full size image with forward/back/first/last/back to
thumbnails controls that ghost when you hit the beginning or end of the
images

Things left to do:
1. Have it dynamically scan the directories under the script's directory
for dirs with images and get dir descriptions and such.  Right now I
have a static menu that doesn't cover all the image directories I have
uploaded
2. Make it so each image can have it's own text description so you don't
have to rely on descriptive filenames.
3. Add an "upload" feature
4. Generate thumbnails serverside instead of requiring the user to
generate their own
5. Use text files or SQLLite to store description of files.  I think
many people under-estimate the power of a simple formatted text file as
a data storage device.   There's zero server overhead for using file()
to load a text file and you can parse it's data into arrays or whatever
as a simple micro flat database
6. Make it all a little nicer looking

Some of this functionality I already have in other scripts, just havn't
had time to incorporate it into my "Photohunt" script, so it's kind of
rough looking right now.

Here are the links -

Main Photohunt site with some stuff in it:
http://www.gryffyndevelopment.com/photohunt/

Photos from Hurricane Isabel's flooding of downtown Annapolis, MD
http://www.h18.org/photohunt/index.php?imagedir=flood
http://www.h18.org/photohunt/index.php?imagedir=flood2


I'll continue to develop this.. Just moved into a new house and have
tons of unpacking to do still though.

I wasn't going to post this because everyone else had such
uber-developed photo gallery scripts being posted but since it was
depressiong you, Bobo, to think that everyone was using pre-fabricated
scripts I thought I'd try to brighten your day a little. Haha.

My friends ask me why I choose to re-invent the wheel and write my own
scripts..  It's because it makes it MINE.. And I can it to do whatever I
want it to do.   And it's fun :)


-TG


> -----Original Message-----
> From: Bobo Wieland [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, May 12, 2004 5:04 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-WIN] Re:RE: [PHP-WIN] Photo gallery with description
> 
> 
> Doesn't anybody do their own thing anymore? This is so 
> boring, uninspiring and depressing...
> Does any of the suggested gallery code do exactly what Lenny 
> asked for? In my experience you always get a lot more then you want
when 
> using packages like this. And if you want to do something different
with it 
> it's difficult to find out where to add what because of the massive 
> over-head of code...
> 
> Making a simple upload form and a db for the description 
> shouldn't be to hard, should it?
> 
> 
> .bobo
> 
> ----- Original Message ----- 
> From: "Lenny Davila" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 12, 2004 12:40 AM
> Subject: [PHP-WIN] Photo gallery with description
> 
> 
> I am trying to find a photo gallery (Preferrably PHP based) 
> that I can set
> up for a client that would allow him/her to upload their own 
> photos, and
> leave a caption under.  The client will update the album 
> regularly and wants
> to be able to do it on their own.  They wouold also like to have a
> description of the photo underneath that they would also like 
> to be able to
> create themselves.  Kinda like the yahoo or msn group photos.
> TIA
> Lenny

--- End Message ---
--- Begin Message ---
Trevor,

So are you going to offer your gallery code for use by others? Just curious. I'm also 
working on
my own version of gallery software. I am using Gallery
(http://gallery.menalto.com/modules.php?op=modload&name=News&file=index) currently, 
but hate that
it does not easily integrate into my site. Would prefer to have components that I can 
just plug in
instead of having a stand alone gallery system. By the way Gallery does not 
use/require a database
to store photo information. It uses flat files. Though your point is valid about less 
server load
there is some I/O load 
in opening and reading these files to build the page

Also, as just a suggestion I would discourage you from using table in your HTML. Check 
out the new
book from Eric Meyer http://more.ericmeyeroncss.com In one of these chapters he 
actually build a
photo gallery. Note that he is presenting CSS instruction so there is no mention about 
the
dynamics of your backend language. It's more on how to display the photos using CSS 
instead of
HTML tables.

Don't want to start a whole wholly war discussion. Besides this is not a CSS list.

Paul   

--- "Gryffyn, Trevor" <[EMAIL PROTECTED]> wrote:
> I'm doing my own and plan to keep developing it.  I feel the same way,
> those other scripts are really neat but they do WAY too much for what I
> want.
> 
> The script that powers the link below is one file, no database setup
> (currently and I'm thinking about keeping it that way... Or making a
> PHP5 version using SQLLite), nothing fancy.
> 
> Current functionality:
> 1. Upload filename.[bmp|jpg|gif|png(?)|forget what other formats] to a
> folder along with a "tn_filename.jpg" file as the thumbnail.  If no
> thumbnail is available, it will try to use the full image as a thumbnail
> but only if it's under a certain size (set in variable)
> 2. Dynamic # of columns to display (set in variable)
> 3. Auto-resizes thumbnails in <img> tag to fit in the table nicely..
> Proportions are maintained
> 4. Displays full size image with forward/back/first/last/back to
> thumbnails controls that ghost when you hit the beginning or end of the
> images
> 
> Things left to do:
> 1. Have it dynamically scan the directories under the script's directory
> for dirs with images and get dir descriptions and such.  Right now I
> have a static menu that doesn't cover all the image directories I have
> uploaded
> 2. Make it so each image can have it's own text description so you don't
> have to rely on descriptive filenames.
> 3. Add an "upload" feature
> 4. Generate thumbnails serverside instead of requiring the user to
> generate their own
> 5. Use text files or SQLLite to store description of files.  I think
> many people under-estimate the power of a simple formatted text file as
> a data storage device.   There's zero server overhead for using file()
> to load a text file and you can parse it's data into arrays or whatever
> as a simple micro flat database
> 6. Make it all a little nicer looking
> 
> Some of this functionality I already have in other scripts, just havn't
> had time to incorporate it into my "Photohunt" script, so it's kind of
> rough looking right now.
> 
> Here are the links -
> 
> Main Photohunt site with some stuff in it:
> http://www.gryffyndevelopment.com/photohunt/
> 
> Photos from Hurricane Isabel's flooding of downtown Annapolis, MD
> http://www.h18.org/photohunt/index.php?imagedir=flood
> http://www.h18.org/photohunt/index.php?imagedir=flood2
> 
> 
> I'll continue to develop this.. Just moved into a new house and have
> tons of unpacking to do still though.
> 
> I wasn't going to post this because everyone else had such
> uber-developed photo gallery scripts being posted but since it was
> depressiong you, Bobo, to think that everyone was using pre-fabricated
> scripts I thought I'd try to brighten your day a little. Haha.
> 
> My friends ask me why I choose to re-invent the wheel and write my own
> scripts..  It's because it makes it MINE.. And I can it to do whatever I
> want it to do.   And it's fun :)
> 
> 
> -TG
> 
> 
> > -----Original Message-----
> > From: Bobo Wieland [mailto:[EMAIL PROTECTED] 
> > Sent: Wednesday, May 12, 2004 5:04 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-WIN] Re:RE: [PHP-WIN] Photo gallery with description
> > 
> > 
> > Doesn't anybody do their own thing anymore? This is so 
> > boring, uninspiring and depressing...
> > Does any of the suggested gallery code do exactly what Lenny 
> > asked for? In my experience you always get a lot more then you want
> when 
> > using packages like this. And if you want to do something different
> with it 
> > it's difficult to find out where to add what because of the massive 
> > over-head of code...
> > 
> > Making a simple upload form and a db for the description 
> > shouldn't be to hard, should it?
> > 
> > 
> > .bobo
> > 
> > ----- Original Message ----- 
> > From: "Lenny Davila" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, May 12, 2004 12:40 AM
> > Subject: [PHP-WIN] Photo gallery with description
> > 
> > 
> > I am trying to find a photo gallery (Preferrably PHP based) 
> > that I can set
> > up for a client that would allow him/her to upload their own 
> > photos, and
> > leave a caption under.  The client will update the album 
> > regularly and wants
> > to be able to do it on their own.  They wouold also like to have a
> > description of the photo underneath that they would also like 
> > to be able to
> > create themselves.  Kinda like the yahoo or msn group photos.
> > TIA
> > Lenny
> 
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
> So are you going to offer your gallery code for use by 
> others? Just curious. I'm also working on
> my own version of gallery software. I am using Gallery
> (http://gallery.menalto.com/modules.php?op=modload&name=News&f
> ile=index) currently, but hate that
> it does not easily integrate into my site. Would prefer to 
> have components that I can just plug in
> instead of having a stand alone gallery system. By the way 
> Gallery does not use/require a database
> to store photo information. It uses flat files. Though your 
> point is valid about less server load
> there is some I/O load 
> in opening and reading these files to build the page

Yes, I will be offering my various scripts up, probably on
http://www.gryffyndevelopment.com when I get a chance to get them
updated to where I want them to be ('finished' in a sense) and have a
chance to set up a page for people to access.   I wrote a pretty slick
(if I do say so myself) duplicate file scanner and a calendar app (yeah,
everyone has a calendar.. But everyone has a photo gallery too. Hah)
that I'd like to show off and share sometime.

Maybe I'll spam the PHP lists with a link when I get my humble code
gallery up.  I'm very proud of some of the scripts I've written and some
I have really big plans for at some point, but just need to find the
time.

As for the I/O load and all that, I'm not really sure what puts more
stress on a server, but if I find evidence one way or another, I'll lean
toward the side that has as little impact as possible.  Maybe you can
load the photo descriptions into an array and store it as a session
variable.  But file I/O isn't too bad on a small file that's probably
going to end up in the server's file cache anyway.   Lots of options, I
just don't know EXACTLY which method has the smallest impact.

> Also, as just a suggestion I would discourage you from using 
> table in your HTML. Check out the new
> book from Eric Meyer http://more.ericmeyeroncss.com In one of 
> these chapters he actually build a
> photo gallery. Note that he is presenting CSS instruction so 
> there is no mention about the
> dynamics of your backend language. It's more on how to 
> display the photos using CSS instead of
> HTML tables.
> 
> Don't want to start a whole wholly war discussion. Besides 
> this is not a CSS list.

Haha..  CSS is some really great stuff, I'm just slowly learning it and
still have faint twinges of "Is it going to be fully compatible with 99%
of the browsers that are going to hit it".   I started doing HTML on
Netscape 2.0 and really started doing a lot of HTML back in the late
90's when the Browser Wars were in full swing.  Tables work fine for
now.  They may be deprecated at some point (are they already?) but in
the meantime they're something I understand and know how to use so I
stick with what I know.

But thanks for the link.  I'll have to take a serious look at it
sometime soon.  I really do want to learn more CSS.  I'm just using it
for some basic formatting stuff right now but know it's great for
positioning things too.



Good luck!

-TG

--- End Message ---
--- Begin Message ---
wwww.fotopics.net

 

Regards

 Jonathan Pilborough



-- 
Please fill in my Business Questionnaire at http://www.businessq.tk

-- 
Pupil at Haybridge High School http://www.haybridge.worcs.sch.uk 





                
---------------------------------
  Yahoo! Messenger - Communicate instantly..."Ping" your friends today! Download 
Messenger Now

--- End Message ---
--- Begin Message ---
Hi all, I've a problem configuring my php on a Windows XP OS.
I do all the manual says...the Apache Server has service start and it seems it is 
working fine...but when the php try to connect to a mysql databases it's do nothing.
Before the XP I have a W98 running perfectly with Apache, PHP and Mysql and when I do 
not start mysql it notify that can't connect, but right now with this new operating 
system don't tell nothing...so i think the problem is in the configuration of the php.
Someone can help me?.

Sorry for my english,

Thx in advance,

Alex

--- End Message ---
--- Begin Message ---
Alejandro c�sar garrammone wrote:

Hi all, I've a problem configuring my php on a Windows XP OS.
I do all the manual says...the Apache Server has service start and it seems it is 
working fine...but when the php try to connect to a mysql databases it's do nothing.

I'm glad to hear you read the manual! :)

Before the XP I have a W98 running perfectly with Apache, PHP and Mysql and when I do 
not start mysql it notify that can't connect, but right now with this new operating 
system don't tell nothing...so i think the problem is in the configuration of the php.
Someone can help me?.

There's a lot of things that this *could* be. First of all, do you know if php is running or not? Just try phpinfo() and see if it tells you anything. If that's the case, then do you have PHP 5.0+? MySQL is no longer enabled by default, so you may need to get the library for it to function.

--- End Message ---
--- Begin Message ---
Hi Jason, the version of PHP I'm using is the 4.2.3.
In the Service Manager Section of the XP the apache service is running with
the description "Apache 1.3.27 with PHP 4.2.3 running"

I do what you said an the phpinfo() gives me the following:

System: Windows NT 5.1 build 2600
Build Date: Sep 6 2002 10:38:51
Server API: Apache
Virtual Directory Support: enabled
Configuration File (php.ini) Path : C:\Windows\php.ini
Debug Build: no
Thread Safety: Enabled

And a lot of information about the configuration of the Apache Web Server,
PHP, etc.

If you need some of this information, tell me and I will send you ASAP.

Can you still help me?

THX IN ADVANCE,

Alex
----- Original Message -----
From: "Jason Barnett" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 12, 2004 12:35 PM
Subject: [PHP-WIN] Re: Problems Configuring.


> Alejandro c�sar garrammone wrote:
>
> > Hi all, I've a problem configuring my php on a Windows XP OS.
> > I do all the manual says...the Apache Server has service start and it
seems it is working fine...but when the php try to connect to a mysql
databases it's do nothing.
>
> I'm glad to hear you read the manual!  :)
>
> > Before the XP I have a W98 running perfectly with Apache, PHP and Mysql
and when I do not start mysql it notify that can't connect, but right now
with this new operating system don't tell nothing...so i think the problem
is in the configuration of the php.
> > Someone can help me?.
>
> There's a lot of things that this *could* be.  First of all, do you know
> if php is running or not?  Just try phpinfo() and see if it tells you
> anything.  If that's the case, then do you have PHP 5.0+?  MySQL is no
> longer enabled by default, so you may need to get the library for it to
> function.
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

--- End Message ---
--- Begin Message ---
Hi,

Can anyone point me to a routine that will take the POST field and its value
and parse it into a suitable sql query.

For example:

$_POST['title'] is the post var and the user has entered "*good boy
+favour -witch".

It should produce the following sql snippet ( to form part of the full SQL
query when all fields have been parsed:

where ... title like '%goodboy' and title like '%favour%' and title not like
'%witch%'

I'm sure that someone must have developed something like this before. Over
my complete system I'd want to do this on about 300 different fields, so you
can see why I'd want to relegate it to a class or function.

MTIA

George in Oxford

--- End Message ---
--- Begin Message --- George, I haven't done this myself but you should be able to accomplish this with several preg_replace() statements. Just match from the wildcard characters you want to use and match until you find a whitespace character.

http://www.php.net/preg_replace
--- End Message ---
--- Begin Message --- Sonia, you will not have to rewrite all sections of code that use $this. However, when you try to *assign* to the variable $this then you run into problems (i.e. don't try to tell this object to change into another object). Just out of curiosity, why did you assign values directly to $this? We might be able to help you update your code faster.
--- End Message ---
--- Begin Message ---
Hi Nicki

I should asked what trouble you were having, I did test the script and found
many $variables are not defined. I also found that the script will not run
if....

register_globals = Off

If register_globals is 'on' it will work just fine. I am going to fix the
script so that it will run with register_globals 'off' and also fix all
those errors, I will post a link to the updated script in a hour or so! When
I post it give it a try and see if it will then work!

Sonia




"Nsr Nicki" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Sonia,
>
> Thanks for replying.
>
> I'm running CGI ... from what I've read about ISAPI, it didn't seem
feasible
> to bother with it, as this is on a production server (and CGI worked right
> off, heh).
>
>
> Thanks,
>
> --
> Nicki Sherer, Web Developer
>
> National Scouting Report
> Internet Department
> 128 Total Solutions Way
> Alabaster, AL 35007
>
> Phone: 1-800-354-0072
> FAX: 1-800-953-9006
>
> "Sonia Desbiens" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi
> >
> > I have installed this on Sambar about a month ago for a client and did
not
> > have any trouble. I have a copy of the script, when I get home I will
try
> to
> > run it on IIS5 2K/S4 with the version of PHP you are using....
> >
> > Oh, ya (1) question, are you running ISAPI or CGI?
> >
> > I'll post a reply of my findings later tonight!
> >
> >
> > Sonia...
> >
> >
> > "Nsr Nicki" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > I'm currently running PHP 4.3.6 on a Windows 2000 Advanced Server SP4
> box
> > > with IIS 5.0 and MySQL 4.0.18.  I was able to install everything ok
and
> > have
> > > phpMyAdmin running to admin the MySQL database (that script is a
> > godsend!).
> > >
> > > The problem I'm having is with a 3rd party PHP address book script
that
> > I'm
> > > trying to run and configure by Liqua Web Solutions called WBContacts.
I
> > > have been able to install, configure, and admin this script fine on a
> Unix
> > > test box, but have been unsuccessful so far in getting it to run
> > > successfully in a Windows environment.
> > >
> > > I've contacted the script's author and he's being a big help in trying
> to
> > > help me get this up and running, but I was wondering if anyone here
has
> > run
> > > into this kind of thing before?
> > >
> > > Thanks,
> > >
> > > --
> > > Nicki Sherer, Web Developer
> > >
> > > National Scouting Report
> > > Internet Department
> > > 128 Total Solutions Way
> > > Alabaster, AL 35007
> > >
> > > Phone: 1-800-354-0072
> > > FAX: 1-800-953-9006

--- End Message ---
--- Begin Message --- Sonia Desbiens wrote:
Hi Nicki

I should asked what trouble you were having, I did test the script and found
many $variables are not defined. I also found that the script will not run
if....

register_globals = Off

If register_globals is 'on' it will work just fine. I am going to fix the
script so that it will run with register_globals 'off' and also fix all
those errors, I will post a link to the updated script in a hour or so! When
I post it give it a try and see if it will then work!

If the problem is that the script needs register_globals = on, yo can have the same behaivor writting the followinc code at the top of your script:

if (!ini_get("register_globals")) {
        import_request_variables('GPC');
}

the function import_request_variables is available since PHP 4.1.0
More information at http://www.php.net/manual/en/function.import-request-variables.php


Hope this helps,
Jordi.

--- End Message ---
--- Begin Message ---
Sounds great, Sonia.  Thanks so much!

--
Nicki Sherer, Web Developer

National Scouting Report
Internet Department
128 Total Solutions Way
Alabaster, AL 35007

Phone: 1-800-354-0072
FAX: 1-800-953-9006

"Sonia Desbiens" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Nicki
>
> I should asked what trouble you were having, I did test the script and
found
> many $variables are not defined. I also found that the script will not run
> if....
>
> register_globals = Off
>
> If register_globals is 'on' it will work just fine. I am going to fix the
> script so that it will run with register_globals 'off' and also fix all
> those errors, I will post a link to the updated script in a hour or so!
When
> I post it give it a try and see if it will then work!
>
> Sonia
>
>
>
>
> "Nsr Nicki" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi Sonia,
> >
> > Thanks for replying.
> >
> > I'm running CGI ... from what I've read about ISAPI, it didn't seem
> feasible
> > to bother with it, as this is on a production server (and CGI worked
right
> > off, heh).
> >
> >
> > Thanks,
> >
> > --
> > Nicki Sherer, Web Developer
> >
> > National Scouting Report
> > Internet Department
> > 128 Total Solutions Way
> > Alabaster, AL 35007
> >
> > Phone: 1-800-354-0072
> > FAX: 1-800-953-9006
> >
> > "Sonia Desbiens" <[EMAIL PROTECTED]> wrote in message
> > news:[EMAIL PROTECTED]
> > > Hi
> > >
> > > I have installed this on Sambar about a month ago for a client and did
> not
> > > have any trouble. I have a copy of the script, when I get home I will
> try
> > to
> > > run it on IIS5 2K/S4 with the version of PHP you are using....
> > >
> > > Oh, ya (1) question, are you running ISAPI or CGI?
> > >
> > > I'll post a reply of my findings later tonight!
> > >
> > >
> > > Sonia...
> > >
> > >
> > > "Nsr Nicki" <[EMAIL PROTECTED]> wrote in message
> > > news:[EMAIL PROTECTED]
> > > > I'm currently running PHP 4.3.6 on a Windows 2000 Advanced Server
SP4
> > box
> > > > with IIS 5.0 and MySQL 4.0.18.  I was able to install everything ok
> and
> > > have
> > > > phpMyAdmin running to admin the MySQL database (that script is a
> > > godsend!).
> > > >
> > > > The problem I'm having is with a 3rd party PHP address book script
> that
> > > I'm
> > > > trying to run and configure by Liqua Web Solutions called
WBContacts.
> I
> > > > have been able to install, configure, and admin this script fine on
a
> > Unix
> > > > test box, but have been unsuccessful so far in getting it to run
> > > > successfully in a Windows environment.
> > > >
> > > > I've contacted the script's author and he's being a big help in
trying
> > to
> > > > help me get this up and running, but I was wondering if anyone here
> has
> > > run
> > > > into this kind of thing before?
> > > >
> > > > Thanks,
> > > >
> > > > --
> > > > Nicki Sherer, Web Developer
> > > >
> > > > National Scouting Report
> > > > Internet Department
> > > > 128 Total Solutions Way
> > > > Alabaster, AL 35007
> > > >
> > > > Phone: 1-800-354-0072
> > > > FAX: 1-800-953-9006

--- End Message ---
--- Begin Message ---
Hi everyone,
 
I want to convert a date 1965-12-25 into the format:  25-Dec-1965.
When i use mktime it works fine for any date after the year 1970. It doesn't work for 
any date before 1970. Help please. Is there any function that shows the date in the 
above required format.

                
---------------------------------
Do you Yahoo!?
Yahoo! Movies - Buy advance tickets for 'Shrek 2' 

--- End Message ---

Reply via email to