[PHP] Preperation for News CMS?

2002-12-23 Thread Steve Jackson
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

[PHP] Re: fgets() question?

2002-12-22 Thread Steve Yates
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

[PHP] Email problems.

2002-12-22 Thread Steve Jackson
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

[PHP] Re: real time output

2002-12-21 Thread Steve Yates
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

[PHP] JavaScript or browser detection

2002-12-19 Thread Steve Vernon
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

[PHP] Security issues with file uploads

2002-12-18 Thread Steve Fitzgerald
, 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

[PHP] Image resize with database

2002-12-16 Thread Steve Vernon
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

RE: [PHP] Odd Strpos Behavior

2002-12-16 Thread Steve Keller
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

[PHP] Update query

2002-12-12 Thread Steve Jackson
', 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

Re: [PHP] 2 dates, difference in days AARGH!!

2002-12-12 Thread Steve Yates
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

RE: [PHP] Update query

2002-12-12 Thread Steve Jackson
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

RE: [PHP] Odd Strpos Behavior

2002-12-12 Thread Steve Keller
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

Re: [PHP] Smarty + css + dreamweaver

2002-12-12 Thread Steve Yates
. - 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

[PHP] Re: Mail() Not working right

2002-12-12 Thread Steve Yates
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

[PHP] Rename an upload

2002-12-11 Thread Steve Jackson
: .$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

RE: [PHP] Rename an upload

2002-12-11 Thread Steve Jackson
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

[PHP] Populating form value fields.

2002-12-11 Thread Steve Jackson
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

RE: [PHP] Populating form value fields.

2002-12-11 Thread Steve Jackson
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

Re: Fwd: RE: [PHP] Odd Strpos Behavior

2002-12-11 Thread Steve Keller
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

[PHP] Looping through Form Elements in a form

2002-12-11 Thread Steve Vernon
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

RE: [PHP] Odd Strpos Behavior

2002-12-11 Thread Steve Keller
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 =

[PHP] Theoretical - Device server using PHP - Is this possible?

2002-12-10 Thread Steve Jackson
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

[PHP] server problems.

2002-12-10 Thread Steve Jackson
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

[PHP] How do I populate a select?

2002-12-10 Thread Steve Jackson
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

[PHP] Different output on two different servers

2002-12-09 Thread Steve Jackson
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

[PHP] Odd Strpos Behavior

2002-12-09 Thread Steve Keller
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

Fwd: RE: [PHP] Odd Strpos Behavior

2002-12-09 Thread Steve Keller
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

[PHP] Cookies help please

2002-12-06 Thread Steve Vernon
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

Re: [PHP] Cookies help please

2002-12-06 Thread Steve Vernon
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

[PHP] Cold Fusion conversion issues: app vars and cached queries

2002-12-03 Thread Steve W
in advance, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Prevent storing data when reload

2002-12-03 Thread Steve Yates
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

[PHP] Re: mcrypt 2.4.x - trouble with small data fields?

2002-12-03 Thread Steve Yates
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

Re: [PHP] Bad File Mode?

2002-11-29 Thread Steve Keller
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.

[PHP] Bad File Mode?

2002-11-27 Thread Steve Keller
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 =

Re: [PHP] Multiple page form

2002-11-27 Thread Steve Keller
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

[PHP] mcrypt 2.4.x - trouble with small data fields?

2002-11-27 Thread Steve Yates
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

[PHP] Re: Making verification code harder to OCR?

2002-11-26 Thread Steve Edberg
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

Re: [PHP] Newbie mail () question

2002-11-22 Thread Steve Keller
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.

[PHP] No Reply From cURL

2002-11-21 Thread Steve Keller
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,

Re: [PHP] No Reply From cURL

2002-11-21 Thread Steve Keller
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,

Re: [PHP] No Reply From cURL

2002-11-21 Thread Steve Keller
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

Fwd: RE: [PHP] No Reply From cURL

2002-11-21 Thread Steve Keller
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. :(

Re: [PHP] No Reply From cURL

2002-11-21 Thread Steve Keller
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.

Re: [PHP] Re: cURL with PHP Help?

2002-11-20 Thread Steve Keller
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

[PHP] copying tables

2002-11-20 Thread Steve Buehler
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

[PHP] Expert Paid Help Needed

2002-11-19 Thread Steve Buehler
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

Re: [PHP] catching a robot or spider - asking too

2002-11-19 Thread Steve Vernon
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

[PHP] cURL with PHP Help?

2002-11-19 Thread Steve Keller
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

Re: [PHP] decode

2002-11-18 Thread Steve Keller
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

RE: [PHP] newbie's question

2002-11-15 Thread Steve Keller
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

RE: [PHP] newbie's question

2002-11-15 Thread Steve Keller
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

[PHP] query question

2002-11-14 Thread Steve Buehler
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

Re: [PHP] query question

2002-11-14 Thread Steve Buehler
. - ; // 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

Re: [PHP] query question

2002-11-14 Thread Steve Buehler
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

Re: [PHP] query question

2002-11-14 Thread Steve Buehler
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

RE: [PHP] PHP and MySQL sorting using COUNT

2002-11-13 Thread Steve Edberg
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

[PHP] mysql/php large integer query oddity

2002-11-13 Thread Steve Edberg
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

[PHP] NEVERMIND: mysql/php large integer query oddity

2002-11-13 Thread Steve Edberg
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

[PHP] Online Booking System/Framework question

2002-11-10 Thread Steve Purkiss
://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

RE: [PHP] Help me learn! with an explanation of these two functions.

2002-11-07 Thread Steve Jackson
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

Re: [PHP] Regular Expression

2002-11-07 Thread Steve Edberg
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

RE: [PHP] Help me learn! with an explanation of these two functions.

2002-11-07 Thread Steve Jackson
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

RE: [PHP] Help me learn! with an explanation of these two functions.

2002-11-06 Thread Steve Jackson
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

RE: [PHP] Help me learn! with an explanation of these two functions.

2002-11-06 Thread Steve Jackson
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

RE: [PHP] New to PHP, and stuck

2002-11-06 Thread Steve Bradwell
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

RE: [PHP] Help me learn! with an explanation of these two functions.

2002-11-06 Thread Steve Jackson
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';

[PHP] Help me learn! with an explanation of these two functions.

2002-11-05 Thread Steve Jackson
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

RE: [PHP] Help me learn! with an explanation of these two functions.

2002-11-05 Thread Steve Jackson
($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

[PHP] Address array?

2002-11-04 Thread Steve Jackson
]; $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

Re: [PHP] Re: Cookies disabled, new session ID each click!

2002-11-04 Thread Steve Fatula
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

Re: [PHP] Cookies disabled, new session ID each click!

2002-11-03 Thread Steve Fatula
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

[PHP] Re: Cookies disabled, new session ID each click!

2002-11-03 Thread Steve Fatula
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

[PHP] Re: Cookies disabled, new session ID each click!

2002-11-03 Thread Steve Fatula
? 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

[PHP] Cookies disabled, new session ID each click!

2002-11-02 Thread Steve Fatula
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

[PHP] Simple Problems taking me hours to solve!

2002-11-01 Thread Steve Jackson
? 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

[PHP] Help please.

2002-11-01 Thread Steve Jackson
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

[PHP] Get shipping problem continued!

2002-11-01 Thread Steve Jackson
) { $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

Re: [PHP] Who can tell me where I can get the cracked Zend Encoder3.0 ?

2002-11-01 Thread Steve Keller
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

[PHP] How do you select?

2002-10-31 Thread Steve Jackson
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

[PHP] Anything wrong with this function?

2002-10-31 Thread Steve Jackson
='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

[PHP] At last an error message!

2002-10-31 Thread Steve Jackson
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

RE: [PHP] Yahoo moves to PHP

2002-10-30 Thread Steve Bradwell
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

[PHP] Php web hosting

2002-10-30 Thread Steve Jackson
sites with a feature rich hosting solution? Any examples of Phpwebhosting welcomed as well. regards steve.

[PHP] Displaying one of three functions.

2002-10-28 Thread Steve Jackson
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

[PHP] New Error?

2002-10-28 Thread Steve Jackson
; } 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

[PHP] Re: confirm subscribe to php-general@lists.php.net

2002-10-28 Thread Steve Purkiss
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

Re: [PHP] Re: confirm subscribe to php-general@lists.php.net

2002-10-28 Thread Steve Purkiss
Whoops! Sorry about that. Hello everyone -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Anyone used Luke Welling Laura Thompsons shopping cart?

2002-10-27 Thread Steve Jackson
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

[PHP] Error?

2002-10-27 Thread Steve Jackson
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, ,

[PHP] Can anyone help please.

2002-10-27 Thread Steve Jackson
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

[PHP] Here's a weird one!

2002-10-27 Thread Steve Jackson
= 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.

[PHP] Adding to cart function.

2002-10-25 Thread Steve Jackson
[$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

[PHP] Weight function.

2002-10-17 Thread Steve Jackson
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

RE: [PHP] Weight function.

2002-10-17 Thread Steve Jackson
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

RE: [PHP] Weight function.

2002-10-17 Thread Steve Jackson
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

[PHP] Shipping problem...

2002-10-15 Thread Steve Jackson
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

Re: [PHP] lynx and crontab

2002-10-15 Thread Steve Buehler
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

[PHP] Function to remember costs.

2002-10-11 Thread Steve Jackson
($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

[PHP] Re: Undefined variable

2002-10-09 Thread Steve Yates
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

[PHP] Session 3

2002-10-08 Thread Steve Vernon
??!! 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

<    4   5   6   7   8   9   10   11   12   13   >