Anyone have any recommendations/Links to Shopping Cart Software that
will run on Windows/Apache/PHP ?
Thanks, -Pete
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I've understood, it's Windows.
If you added root php directory to Path environment variable it sometimes
does not take effect until you restart Windows. (???May be it's cached
somewhere?)
And don't forget to change in php.ini Extension Directory to ./ext or where
all extension dll's are placed.
T
I'm doing a little something for the mother earth, and I thought you
might like to join me:
http://friends.earthscreen.com/?r=UUF0GBMGMCdYB2cJAyMK&i=gmail&[EMAIL
PROTECTED]&p=2&z=1&tc=12
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Thanks.
I see it, I get it, it makes sense. But it seems like overkill.
So what version did this become necessary in?
> http://php.net/isset
New server, new version. Or I had errors turned off on the old server.
Thanks!
John
elseif (
(isset($_POST["number"])) and (isset($_POST["submitter"
Michelle Konzack wrote:
Hello,
I have coded a webinterface to a (Debian) pbuilder (i386, amd64, m68k,
powerpc, sparc, mips, hppa, ia64 and arm) which can check and backport
Debian sources.
Now I have some trouble, because some people have tried to let php5
download source tarballs of 30-400 MBy
Beauford wrote:
Hi,
I just upgraded to PHP 5.1.4 and now none of my sites will connect to MySQL.
I keep getting the error:
Fatal error: Call to undefined function mysql_connect()
I enabled php_mysql.dll in php.ini as one article suggested, but still no
go.
Firstly does the php_mysql.dll fil
[snip]
I know the imagemagick tools. I use convert when I need to perform operations
on images and gd is not available.
I'd like an alternative without having to install any extra packages specially
that in this case the scripts will be hosted in a win32 machine (windows xp).
[/snip]
Ah. We
> Robert Samuel White wrote:
>> Please let me know if this would be more appropriate to post in a PEAR
>> or
>> PECL forum. Today, I've been trying to install some extensions - in
>> particular, the GD library and the ZIP library. I've finally managed to
>> get
>> it all working, but there was on
Robert Samuel White wrote:
> Please let me know if this would be more appropriate to post in a PEAR or
> PECL forum. Today, I've been trying to install some extensions - in
> particular, the GD library and the ZIP library. I've finally managed to get
> it all working, but there was one issue that
At 3:46 PM -0500 5/22/06, Richard Lynch wrote:
On Sat, May 20, 2006 9:34 am, tedd wrote:
> 3. Place it in your working directory.
NO!
Place it in the directory where PHP expects it to be.
Not meaning to be argumentative, but I was simply repeating what was stated at:
http://www.washington.e
Now I get it. Must be the version change?
Richard Lynch a écrit:
On Fri, May 19, 2006 6:08 pm, John Taylor-Johnston wrote:
Any idea why this bit of code
if("yes" == $_POST['submitter'])
{
is provoking this message in my Apache error log?
[Fri May 19 19:05:10 2006] [error] PHP Notice: Und
Hi Jay,
I know the imagemagick tools. I use convert when I need to perform
operations on images and gd is not available.
I'd like an alternative without having to install any extra packages
specially that in this case the scripts will be hosted in a win32 machine
(windows xp).
On 5/22/06, Jay
[snip]
I am looking for sample code/class that can generate a thumbnail (can be
a
png/jpeg) image from a tiff image. So far I've only found examples
using
png/jpg/gif as input.
Any tips?
[/snip]
http://www.imagemagick.org/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Hi,
I am looking for sample code/class that can generate a thumbnail (can be a
png/jpeg) image from a tiff image. So far I've only found examples using
png/jpg/gif as input.
Any tips?
Hi,
I just upgraded to PHP 5.1.4 and now none of my sites will connect to MySQL.
I keep getting the error:
Fatal error: Call to undefined function mysql_connect()
I enabled php_mysql.dll in php.ini as one article suggested, but still no
go.
Any suggestions?
Thanks
Beauford
--
PHP General M
On Mon, May 22, 2006 3:05 pm, Brad Bonkoski wrote:
> So, when the magic_quotes goes away in future version, with
> stripslashes() also go away?
Probably not right away...
Some folks are bound to have a zillion records in their database that
already got inserted with TWO calls to
addslashes/Magic_
On Fri, May 19, 2006 6:41 pm, John Hicks wrote:
> It looks like 'application/x-httpd-php' is the default type for php4.
> Does php5 have a different type? Is there a way to explicitly assign a
> new type to a module?
It don't really matter what type it is if the functions within the two
binaries a
On Sat, May 20, 2006 9:34 am, tedd wrote:
> 3. Place it in your working directory.
NO!
Place it in the directory where PHP expects it to be.
http://php.net/phpinfo
will tell you where that is.
In recent Apache/PHP installs, there is an Apache directory to change
that, but in older versions, it
Safe Mode is one of those things that Systems Administrators don't
really want users turning on/off willy-nilly...
So it can only get set in php.ini and maybe httpd.conf, almost-for-sure.
Check the docs on what can be set where -- There's a nifty chart
somewhere on http://php.net
On Fri, May 19,
On Fri, May 19, 2006 6:08 pm, John Taylor-Johnston wrote:
> Any idea why this bit of code
>
> if("yes" == $_POST['submitter'])
> {
> mysql_select_db($db,$myconnection);
>
> $sql = "INSERT INTO `$db`.`$table`
> (name,email,comments,entrydate)
> values ('$name','$email','$comments','$entr
On Sat, May 20, 2006 3:43 am, Nanu Kalmanovitz wrote:
> Using Apache 2, MySQL ver. 4.0.15a, PHP 4.2.3 (NW6.5 sp1 - Netware \
> Novell ).
>
> I'm developing PHP files with Dreamweaver8 (Adobe-Macromedia).
>
> Trying to view a file (quote_insert.php) in a browser, it displays at:
>
>
> http://www.kal
On Sat, May 20, 2006 10:35 am, Lawrence Kennon wrote:
> --- Rory Browne <[EMAIL PROTECTED]> wrote:
> but does support Cardservice
> International.
These guys give you a PHP library that you http://php.net/include
which then provides functions you can call which you pass in the CC#
and they give yo
On Sat, May 20, 2006 5:06 pm, Beauford wrote:
> I am trying to get a program, Captcha v1.0, working and not having
> much
> luck. The program says I need PHP version 4.3.10 or later or PHP
> version 5
> and GD Library version 2.0 or later with JPEG support.
>
> I know I have PHP 5, but not sure abo
On Sun, May 21, 2006 1:45 am, Paul Goepfert wrote:
> I know this might be trivial problem but I can't seem to figure it
> out. Here is my problem I have a drop down menu where I have the
> months of year as menu items. I want to be able to have the current
> month be the selected month. I have t
On Sun, May 21, 2006 3:52 am, P. Guethlein wrote:
> I'm at one of those frustration levels can't seem to get a
> script working that will post and upload a file to the server. I"m
> working with the below. Can you help?
>
> $numoffile = 1;
>
>$file_dir = "d:/upload/";
>if ($
On Sun, May 21, 2006 8:52 am, Alain Roger wrote:
> i have 1 folder, in this folder sometime a file can be sometimes
> not...
>
> 1. i would like to detect if the folder contains a file or not.
> only 1 file can be in this folder but i do not know the name of this
> file,
> and the extension should
On Mon, May 22, 2006 12:12 am, Dave M G wrote:
> What I am trying to achieve is to output the path in which the current
> script is executing, without having the name of the file attached. I'm
> hoping to be able to do this without complicated code to truncate path
> names and whatnot.
>
> Either o
On Mon, May 22, 2006 4:37 am, Nirmalya Lahiri wrote:
> I am using getRow() method ob DB_Common class to get a single row
> from a table. As per document
> http://pear.php.net/manual/en/package.database.db.db-common.getrow.php
> this method return a single dimension array. But when I am using it,
>
On Mon, May 22, 2006 6:49 am, Michael Satterwhite wrote:
> I have a site that is using a shared ssl certificate. When running on
> the site, the host is of the form . When running in ssl
> mode,
> the domain is of the form ..com. ping shows that both
> resolve to the same ip address.
>
> Is there a
On Mon, May 22, 2006 10:55 am, suresh kumar wrote:
> I am facing one problem in my project.I am uploading an image
> .its get storing in DB.
This is your first problem :-)
Unless you are the CIA using a custom builtin SQL function to compare
images, what point is there in throwing this big b
On Mon, May 22, 2006 11:24 am, bob pilly wrote:
> I am trying to take a list of email addresses from my database and
> email them all in one email but not allow them to see individual email
> addresses. Im not sure of the best way to do it but im thinking that
> just having a large BCC: string made
Richard Lynch wrote:
On Mon, May 22, 2006 11:37 am, Brad Bonkoski wrote:
http://www.php.net/manual/en/function.stripslashes.php
if you have to dump that information back to the users.
If you are using http://php.net/stripslashes on data coming out of
your database, you are DEFINITEL
On Mon, May 22, 2006 6:53 am, Jonas Rosling wrote:
> Anyone know any good why to group date in a recordset in any good way?
> As if
> you categorize it in columns. Like:
>
> Category 1
> Row1 -> DataData
> Row2 -> DataData
> Row3 -> DataData
>
> Category 2
> Row1
On Mon, May 22, 2006 7:11 am, n.g. wrote:
> flock() with LOCK_NB not work under ,
> nor does fopen() with 'x' mode,
> my php is compiled as an apache module, and apache is running in
> prefork mpm.
> php version is 5.1.2
>
> my code is
>
> $haslock=0;
> if($lock=fopen('LOCK','w')){
This would wor
http://php.net/isset
On Mon, May 22, 2006 8:45 am, Jonas Rosling wrote:
> I don't know if I'm explaining things in a difficult way or not. But
> I'm
> gonna try to explaine what I want very clean and simple.
>
> 1. I wan't to check if an array is decleard or not, refering to a
> value in a
> row
On Mon, May 22, 2006 11:37 am, Brad Bonkoski wrote:
> http://www.php.net/manual/en/function.stripslashes.php
> if you have to dump that information back to the users.
If you are using http://php.net/stripslashes on data coming out of
your database, you are DEFINITELY doing something wrong acquirin
On Mon, May 22, 2006 11:25 am, [EMAIL PROTECTED] wrote:
> After the form is submitted, some fields are filled with single and/or
> double quote info (like: 1'2"x2'4", or sky's blue, or "cool" stuff).
> I validate what I got using mysql_real_escape_string() and then store
> the
> result in MySQL. An
On , [EMAIL PROTECTED] wrote:
> I see Paul N. solved your selection problem. But I'm wondering
> why you need to store month names in a database. You could
> get them using date() and mktime() and avoid a db hit:
>
> foreach (range(1, 12) as $i) {
> echo date('F', mktime(0, 0, 0, $i));
>
On 5/21/06, Paul Goepfert <[EMAIL PROTECTED]> wrote:
Hi all,
I know this might be trivial problem but I can't seem to figure it
out. Here is my problem I have a drop down menu where I have the
months of year as menu items. I want to be able to have the current
month be the selected month. I h
At 06:32 AM 5/22/2006, Jef Sullivan wrote:
$cur_month = date("m");
while ($r = mysql_fetch_array($month_query))
{
$v = $r["m_id"];
$out = $r["months"];
if( $cur_month = $v )
{
echo("".$out."")
}
}
You're definitely saving some
On 5/22/06, Jonas Rosling <[EMAIL PROTECTED]> wrote:
while($row=mysql_fetch_array($result)) {
if (!$$row[0]) {
$$row[0] = array();
$$row[0][$row[2]] = $row[1];
}
else {
$$row[0][$row[2]] = $row[1];
}
}
IMO
On 22 May 2006 17:37, Brad Bonkoski wrote:
> Looks good to me, just make sure you use:
> http://www.php.net/manual/en/function.stripslashes.php
> if you have to dump that information back to the users.
> (you might want to check out: addslashes() to add the slashes before
> your DB insert, just to
Brad Bonkoski wrote:
Looks good to me, just make sure you use:
http://www.php.net/manual/en/function.stripslashes.php
this is bad advice...
if you have to dump that information back to the users.
(you might want to check out: addslashes() to add the slashes before
having to use stripslashe
Brad Bonkoski wrote:
Looks good to me, just make sure you use:
http://www.php.net/manual/en/function.stripslashes.php
if you have to dump that information back to the users.
(you might want to check out: addslashes() to add the slashes before
your DB insert, just to keep those things under your
On 5/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hi to all!
After the form is submitted, some fields are filled with single and/or
double quote info (like: 1'2"x2'4", or sky's blue, or "cool" stuff).
I validate what I got using mysql_real_escape_string() and then store the
result in MySQL
At 5:24 PM +0100 5/22/06, bob pilly wrote:
Hi All
I am trying to take a list of email addresses from my database and
email them all in one email but not allow them to see individual
email addresses. Im not sure of the best way to do it but im
thinking that just having a large BCC: string made
At 4:39 PM +0200 5/22/06, Carles Xavier Munyoz Baldó wrote:
Hi,
Is there any free PHP class with which I can create lines and bars graphics ?
For example, for represent temperature samples over time, population of a
country over time, etc.
Greegints.
---
Carles Xavier Munyoz Baldó
Try:
http:
Looks good to me, just make sure you use:
http://www.php.net/manual/en/function.stripslashes.php
if you have to dump that information back to the users.
(you might want to check out: addslashes() to add the slashes before
your DB insert, just to keep those things under your command)
-Brad
[EMAI
Hi to all!
After the form is submitted, some fields are filled with single and/or
double quote info (like: 1'2"x2'4", or sky's blue, or "cool" stuff).
I validate what I got using mysql_real_escape_string() and then store the
result in MySQL. And, it will be stored as:1\'2\"x2\'4\", and sky\'s blue,
Hi All
I am trying to take a list of email addresses from my database and email them
all in one email but not allow them to see individual email addresses. Im not
sure of the best way to do it but im thinking that just having a large BCC:
string made of the addresses. If anyone has dealt with t
Your answer to your question can be found here
http://www.php.net/manual/en/ref.filesystem.php
"suresh kumar" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
> I am facing one problem in my project.I am uploading an image .its get
> storing in DB.i am storing images in /tmp
is it readable by nobody?
On 5/22/06, suresh kumar <[EMAIL PROTECTED]> wrote:
Hi,
I am facing one problem in my project.I am uploading an image .its get storing in
DB.i am storing images in /tmp folder as file.while i am retrieving a image its
displaying file permission error."fopen() cou
Hi,
I am facing one problem in my project.I am uploading an image .its get
storing in DB.i am storing images in /tmp folder as file.while i am retrieving
a image its displaying file permission error."fopen() could not open
socket.file permission error".
A slight bugfix/new feature release of Sparse. I'm still looking for
beta testers and for more ideas of where to spread the word! 8-)
--Daniel
--
Sparse - a new way to write MySQL-based programs with no actual programming.
http://sparse-php.sourceforge.net/
--
PHP General Mailing List (http:/
Hello,
I have coded a webinterface to a (Debian) pbuilder (i386, amd64, m68k,
powerpc, sparc, mips, hppa, ia64 and arm) which can check and backport
Debian sources.
Now I have some trouble, because some people have tried to let php5
download source tarballs of 30-400 MByte... This let my system
Thanks for the tips Chris.
Am 2006-05-15 23:32:32, schrieb chris smith:
> >1) How to code a daemon?
>
> This would be a good place to start.
>
> http://www.php.net/pcntl
>
> Depending on your app you might need to look at shared memory, but the
> main area to check out would be the process
Am 2006-05-14 00:11:09, schrieb Nick Wilson:
> Hi all,
>
> are there any security concerns with uploaded images?
>
> My thought is that it wouldnt be too hard to have some kind of script
> masquerade as a gif file, and perhaps cause damage.
>
> I cant find anyway to check a file really is a gi
-Ursprungligt meddelande-
Från: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Rabin
Vincent
Skickat: den 22 maj 2006 16:26
Till: Jonas Rosling
Kopia: PHP List
Ämne: Re: [PHP] HELP - Clean and simple
On 5/22/06, Jonas Rosling <[EMAIL PROTECTED]> wrote:
> :-) Sorry! I've been digging with thi
[snip]
Is there any free PHP class with which I can create lines and bars graphics ?
For example, for represent temperature samples over time, population of a
country over time, etc.
[/snip]
http://www.aditus.nu/jpgraph/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: ht
Hi,
Is there any free PHP class with which I can create lines and bars graphics ?
For example, for represent temperature samples over time, population of a
country over time, etc.
Greegints.
---
Carles Xavier Munyoz Baldó
[EMAIL PROTECTED]
http://www.unlimitedmail.net/
---
--
PHP General Mailing
On 5/22/06, Jonas Rosling <[EMAIL PROTECTED]> wrote:
:-) Sorry! I've been digging with this for a while now so I don't think I
have the best code left. But this is what I have for the moment:
while($row=mysql_fetch_array($result)) {
if (!$$row[0]) {
$$row[0] = array();
-Ursprungligt meddelande-
Från: chris smith [mailto:[EMAIL PROTECTED]
Skickat: den 22 maj 2006 15:49
Till: Jonas Rosling
Kopia: PHP List
Ämne: Re: [PHP] HELP - Clean and simple
On 5/22/06, Jonas Rosling <[EMAIL PROTECTED]> wrote:
> I don't know if I'm explaining things in a difficult way
[snip]
I don't know if I'm explaining things in a difficult way or not. But I'm
gonna try to explaine what I want very clean and simple.
1. I wan't to check if an array is decleard or not, refering to a value
in a
row/field ($row[0])
2. If it's not decleard I declear it and assign it's name by the
On 5/22/06, Jonas Rosling <[EMAIL PROTECTED]> wrote:
I don't know if I'm explaining things in a difficult way or not. But I'm
gonna try to explaine what I want very clean and simple.
1. I wan't to check if an array is decleard or not, refering to a value in a
row/field ($row[0])
2. If it's not d
I don't know if I'm explaining things in a difficult way or not. But I'm
gonna try to explaine what I want very clean and simple.
1. I wan't to check if an array is decleard or not, refering to a value in a
row/field ($row[0])
2. If it's not decleard I declear it and assign it's name by the value
$cur_month = date("m");
while ($r = mysql_fetch_array($month_query))
{
$v = $r["m_id"];
$out = $r["months"];
if( $cur_month = $v )
{
echo("".$out."")
}
}
Jef
-Original Message-
From: Paul Novitski [mailto:[EMAIL PROTECT
On 5/22/06, Michael Satterwhite <[EMAIL PROTECTED]> wrote:
I have a site that is using a shared ssl certificate. When running on
the site, the host is of the form . When running in ssl mode,
the domain is of the form ..com. ping shows that both
resolve to the same ip address.
Is there a way to c
[snip]
Although someone else has suggested you use JavaScript to set the
focus on a particular form field, I urge you instead to use HTML
tabindex property:
User Name:
Password:
HTML 4.01 Specification
17 Forms
17.11 Giving focus to an element
17.11.1 Tabbing navigation
http://www.w3.or
The easiest way I found to do this is using mktime().
If you don't care about the time for the date you can use this...
$yesterday = mktime(0,0,0,date("m"),date("d")-1,date("Y"));
This translates to yesterday morning after midnight.
If you want the present time, only 24 hours before, use this...
BTW.
what i want is
if one http session cannot obtain the lock,
then it fails IMMEDIATELY,
On 5/22/06, n. g. <[EMAIL PROTECTED]> wrote:
flock() with LOCK_NB not work under ,
nor does fopen() with 'x' mode,
my php is compiled as an apache module, and apache is running in prefork
mpm.
php version
flock() with LOCK_NB not work under ,
nor does fopen() with 'x' mode,
my php is compiled as an apache module, and apache is running in prefork mpm.
php version is 5.1.2
my code is
or
http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 5/22/06, Michael Satterwhite <[EMAIL PROTECTED]> wrote:
I have a site that is using a shared ssl certificate. When running on
the site, the host is of the form . When running in ssl mode,
the domain is of the form ..com. ping shows that both
resolve to the same ip address.
Is there a way to c
Hi,
I've pretty much given up trying to convert a perl
script to php, I have come a long way with it though,
but there are a few bugs that i have been unable to
squash. I need an _exact_ copy of the perl script in
php, unable to manage that.
If you are good with PERL and PHP and would like to
give
Michael Satterwhite wrote:
I have a site that is using a shared ssl certificate. When running on
the site, the host is of the form . When running in ssl
mode, the domain is of the form ..com. ping shows that
both resolve to the same ip address.
Is there a way to create a cookie in the unsecu
On 22/05/06, Jonas Rosling <[EMAIL PROTECTED]> wrote:
Anyone know any good why to group date in a recordset in any good way? As
if
you categorize it in columns. Like:
Category 1
Row1 -> DataData
Row2 -> DataData
Row3 -> DataData
Category 2
Row1 -> Da
Anyone know any good why to group date in a recordset in any good way? As if
you categorize it in columns. Like:
Category 1
Row1 -> DataData
Row2 -> DataData
Row3 -> DataData
Category 2
Row1 -> DataDate
Row2 -> DataData
Row3 -> D
I have a site that is using a shared ssl certificate. When running on
the site, the host is of the form . When running in ssl mode,
the domain is of the form ..com. ping shows that both
resolve to the same ip address.
Is there a way to create a cookie in the unsecured area and have it
availab
-Ursprungligt meddelande-
Från: nicolas figaro [mailto:[EMAIL PROTECTED]
Skickat: den 22 maj 2006 11:50
Till: PHP List
Ämne: Re: [PHP] Array name out of field value with data
Jonas Rosling a écrit :
> Not so sure if I've tried to work this out before in this list.
> I'm trying to make an
On 5/22/06, Nirmalya Lahiri <[EMAIL PROTECTED]> wrote:
Dear all,
I am using getRow() method ob DB_Common class to get a single row from a
table. As per document
http://pear.php.net/manual/en/package.database.db.db-common.getrow.php this
method return a single dimension array. But when I am us
Jonas Rosling a écrit :
Not so sure if I've tried to work this out before in this list.
I'm trying to make an array name by a field/row value and assigning values
to it. But I'm having some problems getting it to work.
Is it possible to do this? And if, what am I doing wrong? Or is there any
othe
Dear all,
I am using getRow() method ob DB_Common class to get a single row from a
table. As per document
http://pear.php.net/manual/en/package.database.db.db-common.getrow.php this
method return a single dimension array. But when I am using it, it returns a
two dimension array. I don't know w
Not so sure if I've tried to work this out before in this list.
I'm trying to make an array name by a field/row value and assigning values
to it. But I'm having some problems getting it to work.
Is it possible to do this? And if, what am I doing wrong? Or is there any
other way to do it?
while($ro
Hello!
I packed PHP 4.4.3RC1 today, which you can find here:
http://downloads.php.net/derick/
Windows downloads can be found here:
Please test it carefully, and report any bugs in the bug system, but
only if you have a short reproducable test case.
If everything goes well, we can release 4.4.3
83 matches
Mail list logo