a preview function? I was thinking that I should add checkbox
which makes the article live so that the user could preview the page
first from a link but is there any better way to do it?
Thanks for your help.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED
ccording to
http://www.php.net/manual/en/function.fgets.php. Also try using '===' (3 =
signs) as the operator, which enforces type checking on a comparison).
- Steve Yates
- If you only have a nail every tool looks like a hammer.
~ Taglines by Taglinator - www.srtware.com ~
--
PHP General
I have generated a page on our server using PHP (from within a CMS system)
which I renamed the output .html to use in an html email.
My problem is when I cut and paste the HTML into the email (Outlook) it
either:
displays the code,
displays the html email and then when it's sent, sends it as an
ce I got the Perl script to not buffer, which would imply it's
not a browser issue.
- Steve Yates
- A fool and his money are soon popular.
~ Taglines by Taglinator - www.srtware.com ~
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
for JavaScript,
so ignore this bit of the file.
Thanks,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
,
and would it make any difference if this directory was also
password-protected?
Is there anything else I have not covered or should be aware of?
Thanks
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the function below would work to do to
return a text resized version.
It does sort of works, but makes a picture where only part of it is the
picture (top part), the rest is blank.
Any help would be gr8!
THanks,
Steve
function shrink_picture($tmp_name,$size,$name
At 12/14/2002 12:50 AM, John W. Holmes wrote:
And here's a good example of why you should always test each solution
and time it to see what's better. I was recommending a
preg_replace_callback solution which I thought, as a lot of other people
would also think, is a lot faster that your own
',
price = '$price',
description = '$description'
shortdesc = '$shortdesc'
where ItemCode='$oldItemCode';
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General
ally use ? ? on each line? Wouldn't that just slow down
processing as PHP jumps in out of code mode?
- Steve Yates
- When you do a good deed get a receipt, in case heaven is like the IRS.
~ Taglines by Taglinator - www.srtware.com ~
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
It doesn't work in that it doesn't update the database.
I have a form which when loaded takes a variable ItemCode from the
previous page (which gets the Itemcode from the DB) and puts it into a
hidden field which I call oldItemCode, then when I try to update the
$ItemCode row in the database with
At 12/11/2002 08:09 PM, you wrote:
Okay, so how do you know what to replace something like [author] with?
What exactly are you doing again? I've forgotten the original question.
:)
Ok, got a sentence, like:
a pile of [metal] 600 feet wide and 30 feet tall. On top of it is
a
.
- Steve Yates
- Remember, you're unique. Just like everybody else.
~ Taglines by Taglinator - www.srtware.com ~
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
s = mail(...);
if (!$mailsuccess) {
echo oops;
}
- Steve Yates
- How often should we practice sex before it is safe?
~ Taglines by Taglinator - www.srtware.com ~
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
:
.$HTTP_POST_FILES['userfile']['tmp_name']
}
?
TIA.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday 11 December 2002 17:30, Steve Jackson wrote:
I'm trying to rename an uploaded file with the value of a select I
have in the uploaded form. Can someone point me in the right
direction. The PHP.net rename manual isn't helping a lot? My code:
What is the problem?
I can't
do I select everything from the database
sorted by ItemCode and then displayed in a form as shown above.
Regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Cheers Jason.
Sorted.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: 11. joulukuuta 2002 17:17
To: [EMAIL PROTECTED]
Subject: Re: [PHP
At 12/10/2002 03:43 PM, you wrote:
John's suggestion of using '{', and '}' as the tag delimiters was to simplify
the regex. You can continue to use '[', and ']' as your delimiters, just
change the regex accordingly -- and don't forget that '[', and ']' needs to
be escaped.
Ah, all right. That
to check all the elements in a form in PHP would be nice,
then if it fails it would return an array with the wrong fields, and the
error, this could then be used to make a page where they correct there
mistakes.
Thanks!
Love,
Steve
--
PHP General Mailing List (http://www.php.net
At 12/9/2002 07:20 PM, you wrote:
It'd be easier to use a regular expression for something like this.
Something like this would work (from PHP Architect):
$s = I am going to be {a} years old on the {b}th of November, {c}.;
$a = array(
a = one hundred,
b = seventeen,
c = two thousand two);
$z =
in advance.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
will work OK. Any ideas?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
catname FROM categories ORDER BY catid);
But I want to give each catname in the DB a unique name in a form select
and don't know how to go about it.
Tutorials or tips anyone?
Regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343
another field to the database on the production server. Where
should I start looking to de-bug this?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
I'm getting a really weird return from Strpos. What I'm doing is this, and
anyone familiar with any of the table-runner programs for RPG's will know
what I'm getting at here, I have a fields, like [adjective], [noun], etc.,
which I need to pull out and replace with values from included php
At 12/9/2002 07:20 PM, John W. Holmes wrote:
It'd be easier to use a regular expression for something like this.
Something like this would work (from PHP Architect):
I appreciate that, but considering I'm working from about 1200 files that
already exist and use [] to denote table names, I
if I have not explained it right, I want a feature like amazon
where you go back to a site and you are still logged in.
The test member has rememberpassword as y.
The code below keeps my sessions but the cookie bit dosent work.
Thanks,
Steve
XX
/* Check a session is valid
Thanks a million, must of had something else on my mind ;-)
Love,
Steve
XX
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in advance,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Lars Espelid [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
When I reload the page the data gets stored once more.
if (record already exists) {
echo hey you hit reload!
} else {
[save record to database]
}
- Steve Yates
- I know a good tagline when
encrypted. Mcrypt also apparently needs the
extra characters when decrypting.
- Steve Yates
- If at first you don't succeed, lower your standards.
~ Taglines by Taglinator - www.srtware.com ~
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
At 11/28/2002 01:51 PM, Ernest E Vogelsinger wrote:
?
$data = mtype=XMLDOCoutfile=true;
$dataFile =
http://www.healthtvchannel.org/courses/pay/data/test.xml;;
$fileSize = filesize($dataFile);
Ah. It is a local file, I was just using an absolute reference for it.
I'm still trying to get a file posted to another server, but I seem to have
run across an odd snag, and I was hoping someone can point out where I've
gone wrong. Here's the code:
?
$data = mtype=XMLDOCoutfile=true;
$dataFile =
At 11/26/2002 10:42 AM, Shane wrote:
It's been a while since I have done any PHP work. I am creating an online
employment application using multiple forms for a client. I was going to use
PHP. I don't remember if I need to pass variables along with the form for
each page, or can I just call
between
PHP 4.1.2 and mcrypt 2.4.x?
- Steve Yates
- Do trees moving back and forth make the wind blow?
~ Taglines by Taglinator - www.srtware.com ~
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
one, perhaps combined with the color technique below.
-steve
At 8:09 AM +0100 11/26/02, Derick Rethans [EMAIL PROTECTED] wrote:
Leif K-Brooks wrote:
I'm using a verification code image to stop automated sign ups, but
two hackers seem to be OCRing it. I've looked through the
registration
At 11/22/2002 04:30 PM, Duncan Ellwood wrote:
Can I personalise this a bit to display the From: as the email address that
the user has supplied i.e $Email
You can specify the FROM field in the headers before you call the mail()
function.
It's all in the manual.
I apologize for being a pest about this, I'm just not getting it.
I'm attempting to open a connection to NetLedger to post an XML file. I'm
attempting this basic code, which is pretty much what I find everywhere:
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,
At 11/21/2002 11:55 AM, greg R wrote:
I don't think cURL is very intuitive.
Well, I'm glad to see someone else say that. Makes me feel less retarded.
Can you at least echo a response code from your
function, such as
$res = curl_setopt($ch, CURLOPT_URL,
At 11/21/2002 03:18 PM, Bret L Conard wrote:
Really appreciate the help Bret. But I've still got some problems:
(FYI - I am using authorize.net, so some of the response parameters may be
different for you)
Actually, I appreciate the fields demonstration because it made me realize
I was
At 11/21/2002 05:16 PM, Jonathan Rosenberg wrote:
I suspect your problem is that CURL is not built with SSL support. To test
this, replace the https:/.../ with a reference to a non-SSL URL
(http://.../). If you get a return that, you need to build CURL with SSL
support.
Indeed it does. :(
At 11/21/2002 06:21 PM, Bret L Conard wrote:
one of these should work to import the file
The following options expect a file descriptor that is obtained by using the
fopen() function:
CURLOPT_FILE: The file where the output of your transfer should be placed,
the default is STDOUT.
At 11/20/2002 08:46 AM, you wrote:
Have you tried this:
http://curl.haxx.se/libcurl/php/examples/
Yeah. That's where you end up from the Sourcefourge site. There's a sample on there
for a multi-part post, but I'm confused as to how it works.
Would help if you posted some code, or errors or
of it,
then I need a copy of that table for a subroutine that will be running
multiple times and need the same information to start off with.
Thanks for any help
Steve
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
ow3
--
PHP
if that would help. We have some people that work for
us JUST for web/server space.
Steve Buehler
IT Director
Internet Business Applications, LLC
11638 W. 90th St.
Overland Park, Kansas 66214
913-438-3074 x 7
steve @ vespro.com
the home page
and the robot page.
So you could do a page with your links on, that is linked from the home page
but hard to click on! And do the meta tags on other pages to stop robots.
Could work?!
Love,
Steve
XX
does anybody know a way to make a distinction
between robots and users
Ok, I'm going to break down and ask for help.
I'm trying to post an XML file to NetLedger through HTTPs, but cURL isn't
returning any errors when I run through PHP, and the file isn't getting there.
Can someone point me in the direction of a site with some *good* help on
how to do file posting
At 11/18/2002 07:55 AM, you wrote:
I have document in encryption type : B*C*N**N but I don't know how do
abbab abbab
Well, assuming that the above isn't someone sending you The Kinks, and
flogging myself for replying to an off-topic post...
A simple Google search should have directed you
At 11/15/2002 06:09 PM, you wrote:
Don't know about a correct way but you can use if(empty($variable))
I may be crazy, but wouldn't if ($variable) work just as well? If the
string is empty it'll return a negatory on that check.
Lemme double check that.
$testVar = ;
if ($testVar) {
echo
Err... sorry. The logic was there but my fingers got a bit ahead of my
brain. The check works, but if you want to just check if it's empty turn
the conditional to a negative, like so:
if (!$testVar) {
etc.
}
That makes it If NOT $testVar
I may be crazy, but wouldn't if ($variable) work
the temporary table
function droptemptable(){
$result=mysql_query(DROP TEMPORARY TABLE playabletimes);
}
Thank You in advance for any help that you can give me on the problem.
Steve
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
ow3
--
PHP
. - ; // print this
time as new start
}
$i = $tmp; // keep this new time for next loop
}
}
echo $row-min .br\n; // print last row
}
At 07:09 PM 11/14/2002 +0100, you wrote:
Untested, but should work
Steve Buehler wrote:
function
Problem is that it isn't giving me just the start and end times. I will
keep working on it.
Thanks
Steve
At 12:48 PM 11/14/2002 -0600, you wrote:
Thanks for the help, but that is not actually producing the desired
results either. This returns the following results:
00:00:05 - 00:00:05
00:00
Not sure if I wrote and thanked you or not, but this did the trick. THANK
YOU THANK YOU THANK YOU!!!
Steve
At 08:41 PM 11/14/2002 +0100, Marek Kilimajer wrote:
This is checked:
function getstart_end(){
$result=mysql_query(SELECT * FROM aplayabletimes ORDER BY min);
while
Actually, using your original query and referring to
$row['count(*)']
would work too. However, when using calculated fields I always use a
column alias as Rich recommends - it makes things a lot clearer.
-steve
At 1:54 PM + 11/13/02, Rich Gray [EMAIL PROTECTED] wrote:
try '... ,count
mysql client API 3.23.47
MySQL 3.23.47-log
Platform: SunOS 5.8 sun4u sparc SUNW,Sun-Fire-280R
Thanks in advance,
steve
--
++
| Steve Edberg [EMAIL PROTECTED] |
| University of California
repeatedly
-steve
I have a query oddity that looks like an integer overflow, but it shouldn't be.
Excerpt from my program:
snip
#DEBUG
echo \nbr$Querybr\n;
#DEBUG
$hResult = _do_query(__LINE__, $Query); # _do_query() simply
executes mysql_query, and does nice error
://www.belugablues.com (there's no events on it at the
moment - the content manager hasn't quite got round the concept of having to
keep a site up-to-date, but will do :O) - you can log in using the username
'testing' and password '123123'
Many thanks in advance for your advice and help,
Steve Purkiss
and ;
echo $row[orderid];
echo $row[ship_name];
}
}
}
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From: Jason Wong [mailto:php-general;gremlins.com.hk]
Sent
may want to investigate PHP's
file/directory functions instead:
http://php.he.net/manual/en/ref.dir.php
http://php.he.net/manual/en/ref.filesystem.php
-steve
At 10:33 PM -0800 11/6/02, Salman wrote:
Hi,
I have this ereg call
ereg(([-d])[rwxst-]{9}.* [0-9]* [a-zA-Z]+ [0-9: ]* (.+),$dirline
Of course you are correct.
I forgot to remove the $row[orderid] etc..
I was just testing the function and thought I'd post the code rather
than waste someones time answering me.
However thanks for the help. Much appreciated.
Steve Jackson
Web Developer
Viola Systems Ltd.
http
Ok this is starting to get complex! (For me anyway)
This is my function:
function get_order_numbers()
{
$conn = db_connect();
$query = select orders.orderid from orders, email where orders.orderid
= email.orderid and email.checked='no';
$result = mysql_query($query) or die(Error: cannot select
On Wednesday 06 November 2002 16:52, Steve Jackson wrote:
Ok this is starting to get complex! (For me anyway)
This is my function:
function get_order_numbers()
{
$conn = db_connect();
$query = select orders.orderid from orders, email where
orders.orderid = email.orderid
it from
there, it will tell you where your syntax is wrong.
HTH,
Steve Bradwell
MIS Department.
If you give someone a program, you will frustrate them for a day. If
you
teach them how to program, you will frustrate them for a lifetime.
-Original Message-
From: Markus Jäntti [mailto:janmark
My second query still doesn't return anything? Even with $orderid = $row
removed as Jason suggested.
This is my current function.
function get_order_numbers()
{
$conn = db_connect();
$query = select orders.orderid from orders, email where orders.orderid
= email.orderid and email.checked='no';
on this tomorrow so any help will be greatly appreciated.
Kind regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
($result))
{
extract($row);
$orderid = $row;
return $orderid;
}
}
What does it mean ambiguous? Cheeky error!
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
-Original Message-
From
];
$ship_country = $row[ship_country];
}
}
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to connect to the same machine
without cookies, same result.
Steve
Jason Wong wrote:
On Monday 04 November 2002 10:24, Steve Fatula wrote:
If you want to see a site where the small program works (and be SURE and
turn cookies off), click here:
http://www.thewebmakerscorner.com/snapmods_new
it does not work for me?
Steve
Chris Shiflett wrote:
Steve,
Check your php.ini file. PHP uses cookies for maintaining your Web
client's unique ID, and unless you have use_trans_sid set, it will not
attempt to pass the unique ID on the URL for those who have cookies
disabled.
Chris
Steve
Oleg and anyone else, PLEASE READ THE POST.
This is vendor software, this is what it does, it doesn't matter if it's
the way you would do it, if it is the best way, or anything else. So,
please tell me why the short program I uploaded as an example does or
does not work for you.
Steve
Oleg
? Logically, I don't
see any settings that could possibly affect the outcome using this
technique.
Steve
Steve Fatula wrote:
Oleg and anyone else, PLEASE READ THE POST.
This is vendor software, this is what it does, it doesn't matter if it's
the way you would do it, if it is the best way
is
IE5.5 with cookies disabled, running on NT. New session file is
generated even though one already existed. This happens every other
click as SID is blank every other click.
Please help me understand what the issue is.
Steve
?php
session_name('Steve');
session_start();
?
!doctype html public
?
It doesn't return anything however. Any ideas?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED]
Mobile +358 50 343 5159
it in another page by doing
get_shipping($shipping)
And then
Echo test $shipping;
But that doesn't work.
Ideas where I'm going wrong this time?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http
)
{
$conn = db_connect();
$query = mysql_query(SELECT MAX(receipt_id) from receipts);
$myrow = mysql_fetch_row($query);
$shippingvar = $myrow[shipping];
return $shippingvar;
}
Surely it can't be much more complicated than that?
Help please. Smoked 10 fags already!
Steve Jackson
Web Developer
Viola
At 10/31/2002 03:00 PM, John Wards wrote:
On Thursday 31 Oct 2002 3:00 pm, jianking wrote:
Who can tell me where I can get the cracked Zend Encoder 3.0 ?
Are you a muppet?
This list is run by the people who make Zend Encoder!
FOOL
Ah, my first laugh of the day.
--
S. Keller
UI Engineer
I want to the select the very last record from my MySQL DB. How do I do
it?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED]
Mobile +358 50 343 5159
='760' cellpadding='0'
background='images/shopbg.gif'trtdnbsp;/td/tr/table;
display_success_form();
//empty shopping cart
//session_destroy();
do_html_footer();
?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED
on
line 131
What does that mean?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED]
Mobile +358 50 343 5159
We're taking over.
Steve Bradwell
MIS Department.
If you give someone a program, you will frustrate them for a day. If
you
teach them how to program, you will frustrate them for a lifetime.
-Original Message-
From: Nick Wilson [mailto:nick;tioka.com]
Sent: Wednesday, October 30, 2002 8
sites with a feature rich hosting
solution?
Any examples of Phpwebhosting welcomed as well.
regards
steve.
but express= display function 2 or if
country isn't finland do 3?
Tried all morning and repeatedly failed!
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED]
Mobile +358 50 343 5159
;
}
do_html_footer();
?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED]
Mobile +358 50 343 5159
by
213.122.67.155.
--
Steve Purkiss
Freelance Net Strategist and Developer
http://www.purkiss.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Whoops! Sorry about that. Hello everyone
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am developing a shopping cart based on the above authors shopping cart fom
their book. (Book is a must by the way). I am still pretty new to PHP and
MySQL and need some help with the cart. Basically I need to add a form to
adjust the quantity in the cart instead of just incrementing by one and
I get the following error and I don't know why this is the code:
if($new)
{
$details = get_product_details($new);
if($details[catid])
$target = show_cat.php?catid=.$details[catid];
//line 55 is the bracket below.
}
$path = $PHP_SELF;
$path = str_replace(show_cart.php, ,
I have two test carts online at the moment.
This one works fine:
http://www.violasystems.com/shop/
this one is the one I want to get working
http://www.violasystems.com/shop_testing/
The code for the first shop basically increments the cart by one when the
submit button is added using the
= save value = true
input type = image src = \images/save-changes.gif\
border = 0 alt = \Save Changes\
/td
tdnbsp;/td
/tr;
}
echo /form/table;
}
Any help much appreciated.
rgds
Steve.
[$new])
$cart[$new]++;
Instead of incrementing by one how do I increment by a variable which
would be the form input?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net
defines the actual item
which would probably be more reasonable?
Thoughts?
Regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
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
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
working I'm scared of
messing with the code too much! I also need to have a combination of the
two products so the customer might buy 1 of category 2 and 35 of cat 1
etc.
Ideas to tackle this please?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile
dump. Your command should be:
lynx -dump http://www.mysite.com/test.php
Steve
At 01:11 PM 10/15/2002 +0100, you wrote:
my isp lets me control crontab so i've been trying to
run a php script every 30 mins.
the command is like this:
lynx - dump http://www.mysite.com/test.php
which gives the error
($shipping+$total_price, 2); ? to the amount hidden
field in the form.
Any ideas?
This is not all my code which is why I am having problems.
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com http://www.violasystems.com/
[EMAIL PROTECTED]
Mobile +358 50 343 5159
to your script or I added
secretpage.php?validuser=true
to the URL? Bet you wouldn't have checked...
- Steve Yates
- Can taglines have sequels? Hmmm.
~ Do you like my taglines? Add them to your messages and
~ laugh through hundreds more by downloading Taglinator
~ at www.srtware.c
??!! The following code refuses to
work. Always outputs Had to set it manually:
?php
session_start();
if( isset( $_SESSION['sspw'] ))
{
echo The session variable is .$_SESSION['sspw'];
}
else
{
echo Had to set it manually;
$_SESSION['sspw'] = test;
}
?
Thanks,
Steve
801 - 900 of 1626 matches
Mail list logo