Thanks.
I have just this minute got it working.
Basically the same function I used for determining price of the cart
items could be used for determining weight. All I needed to do was
assign my DB with a field called weight and call that instead of price
from the DB so my calculate weight function
> Hi guys,
> Does anybody have a working example of doing the lists of 'People who
> searched this also searched this!' that I see on Amazon and other
> websites.
That is a very complex problem. It is not for PHP. PHP may only insert queries
and get results and another system computers all d
> Is the time set properly on your machine? Double check both the time AND
> the timezone. I went nuts trying to fix a similar problem once just to
> find out that someone had changed the timezone on the PC for a test and
> then forgot to put it back.
It is very easy to check. Set
$expires = 0
Hi!
I understand that it's easily possible to parse xml documents with php.
But what about changing them? With other xml parsers, I have the xml
document in a structure (usually a tree or an array) and when I change
something in the structure I can later "write out" the structure again
into a xml
On Thursday 17 October 2002 15:52, Steve Jackson wrote:
> Thanks.
> I have just this minute got it working.
> Basically the same function I used for determining price of the cart
> items could be used for determining weight. All I needed to do was
> assign my DB with a field called weight and call
As part of my new site I have created a php-driven guestbook. The guestbook
entries are stored in a file called guestbook.txt.
I found that in order to get the script to write to the file, I had to set
the directory permissions for the guestbook directory and the guestbook.txt
file to -rw-rw-rw-
In article <1034836283.1253.23.camel@dell>, [EMAIL PROTECTED] says...
> Hi
> I need to be able to see logs of all mysql queries from php scripts on
> my server.
> I have a multitude of virtual hosts on my RedHat server, with many mysql
> db's, and would like to be able to see what queries are done
if allow_url_fopen is not on, you can still use fsockopen(), and no it
doesn't affect security, if you don't open files based on unchecked user
input.
Alfonso Ballesteros wrote:
>Hello
>
>I'm a newcomer to PHP and I wish to know how to get the contents of a file
>located in an URL if the param
I'm using both variables called in another page.
Taking globals off causes weight not to be calculated in the shipping
cost?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
> -Original Message-
> From: Jason Wong [mai
I'm not 100% sure, but I think the answer you seek lies in the server,
and not php. You may have to set your webserver to reconize *.php as FP
files that it needs to parse, or set it to where it parses *.htm for
php. Is this running on IIS, Apache, or something else?
Shaun wrote:
> Hi ,
>
>
"Cameron Cooke" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi,
>
> I need a function to get a string in between two other strings. So you
would
> give the function the string to search and then you pass the first string
> and last string, and the function will return the str
can anyone point me in the direction of a good system that will cover all 3
of these points (Shopping Cart, Inventory Control, and Point of Sale) ?
Thank you,
**DAN**
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes. Frontpage can edit php files ( albeit not very gracfully ). So, if you
must ...
Open Front Page
Select Tools | Options
Select the Configure Editors tab and add the .php extension.
HTH,
Randy
-Original Message-
From: Shaun [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 17, 2002
On Thu, 17 Oct 2002, Cameron Cooke wrote:
>-I have looked at these, and they make no sense to me. I tried the substr
>-function, but it all went a bit pear shaped.
Try something like this, you can deal with the linewraps ;)
Reference:
http://au.php.net/manual/en/function.strpos.php
http://au.ph
_table WHERE TO_DAYS(datetime_column + INTERVAL 5 HOUR) =
TO_DAYS(20021017)
You can use DATE_FORMAT() in your query to reformat the MySQL timestamp, or
use UNIX_TIMESTAMP() to retrieve a unix timestamp instead and format it in
PHP. With the above query, the "5" and actual date "20021017&quo
A web based interface is pretty slow for POS isn't it???
phpshop.org might be a good start on the other two...
justin
on 17/10/02 11:56 PM, Daniel Negron/KBE ([EMAIL PROTECTED]) wrote:
> can anyone point me in the direction of a good system that will cover all 3
> of these points (Shopping Car
> I am working on a project which has plenty Gigabytes of data.
> I heard something about firebird.
> Is it much better than mysql?
> Can anybody compare the odds of both of them?
> Is it easy to use firebird from php?
> Thanx...
What kind of data are you storing? Is it going to be mostly reads o
> I know that php allows uploading , but does it support downloading.
>
> I want users to be able to download from my site , how do i go to
work.
>
> Please send me sample of code if possible.
Yes, it does.
Click here to download
---John Holmes...
--
PHP General Mailing List (http://www.p
I have looked at these, and they make no sense to me. I tried the substr
function, but it all went a bit pear shaped.
Cameron
"Noodle Snacks" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> "Cameron Cooke" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL
Hi,
Thursday, October 17, 2002, 10:33:43 PM, you wrote:
CC> I have looked at these, and they make no sense to me. I tried the substr
CC> function, but it all went a bit pear shaped.
Here is a way that will handle line breaks which tend to stuff up the
string functions:
";
echo "Str1: '$str1' ";
First of all... thanks for trying to help...
I'll show the full piece of code I made :
$file = "http://www.ivan.ivao.org/whazzup.txt";;
$fp = fsockopen($file, 80);
if (!$fp) {
echo "does not open";
} else {
echo $fp; -> Here is what I say it does't return anything. This
line is just
Hi ,
I used ms frontpage 2000 to make a website. When
i comepleted the site , i had to study php to enable database
capabilities. When i changed my login.htm file into login.php,
ms frontpage did not recognize the .php file. All the navigational
links/views were removed from the login.php file. C
http://myphpcalendar.sourceforge.net/
You may find something in www.oscommerce.com
Daniel Negron/Kbe wrote:
> can anyone point me in the direction of a good system that will cover all 3
> of these points (Shopping Cart, Inventory Control, and Point of Sale) ?
>
>
> Thank you,
>
> **DAN**
>
--
PHP General Mailing List (http://
Change xml into a different type of xml sounds like a job for the xslt
functions. Works like a charm
Michael Ransburg wrote:
>Hi!
>
>I understand that it's easily possible to parse xml documents with php.
>But what about changing them? With other xml parsers, I have the xml
>document in a struc
What is a good service to process credit card numbers for an E-Commerce
site?
To be specific I mean an easy interface with a PHP based system (maybe even
sample code) eg works well with curl... and second any personal
recommendations...
--
JJ Harrison
[EMAIL PROTECTED]
--
PHP General Mai
l records for Oct 17, 2002
> GMT+5, then you could do this:
>
> SELECT * FROM your_table WHERE TO_DAYS(datetime_column + INTERVAL 5 HOUR) =
> TO_DAYS(20021017)
>
> You can use DATE_FORMAT() in your query to reformat the MySQL timestamp, or
> use UNIX_TIMESTAMP() to retrieve a un
Is there any way to create ALT tags in secondary nav bars with rollover
images? (NOF 7)
Thanks in advance,
Brad
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
28 matches
Mail list logo