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 th
[$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/)
To
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:
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
$itemCode which 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 unsubscri
d the word
"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:
t as my shop is currently 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.violasystem
to our
site.
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
, how
would you know if that was POSTed 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
> From: Jule Slootbeek [mailto:[EMAIL PROTECTED]]
> register_globals to on, so i don't have to go through 15 pages of code
> and change all my variables to $_POST['foo']
Try extract($HTTP_POST_VARS) which will create $foo for you.
- Steve Yates
- Your karma just
deas?
If not I'm off for a cry!
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
Solved it!
Didn't add a temp directory for sessions!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
! The following code refuses to
work. Always outputs "Had to set it manually":
Thanks,
Steve
This might be off topic but I thought I'd give the list a try...
Does anyone know of any PHP or CSS or something which allows you to
change the appearance of scrollbars in Explorer and navigator?
Kind regards,
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[
following
code to check the session passwords etc are valid..
Thanks,
Steve
XX
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone help me? this is probably quite simple but I'm pretty new to PHP.
All I want to do it loop through some DB records and display them in the
format written in this PHP file:
Anyone see where I'm going wrong? the error I get says:
Warning: Unable to jump to row 0 on MySQL result index 2
";
ec
quot;;
echo "";
echo "";
blueFont( "Arial", "Send this file: ");
echo "";
echo "This file MUST be a JPEG (jpg) image.";
//adminFooter($Relative);
?>
Process the form:
Steve Jackson
Web Developer
Viola Systems Ltd.
http://w
s
> 2. any good suggestion to avoid this problem, such as that is it possible
> to configure 4.2.2 to compatible downward.
extract($HTTP_POST_VARS) will create all variables from that array.
- Steve Yates
- An unbreakable toy is only useful for breaking other toys.
~ Do you like my tagl
"Steve Yates" <[EMAIL PROTECTED]> wrote in message news:...
> "Jean-Christian Imbeault" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > How can I make my pages come out as .html instead of .php?
>
&g
"Jean-Christian Imbeault" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How can I make my pages come out as .html instead of .php?
Rename your pages to .html, and configure Apache to send all .html pages
through PHP:
--
PHP General Mailing List (http:
At 9/30/2002 06:17 PM, you wrote:
>Is there any version of php and apache for which there are no known
>vulnerabilities??
It's the vulnerabilities you don't know about that get you.
--
S. Keller
UI Engineer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Pkwy.
Anchorage
At 9/30/2002 04:39 AM, Rick Beckman wrote:
>On line "6", I have the list of musicians in the song.
>Example (ignore the quotes): "Doyle Lawson -- lead vocal; Dale Perry -- bass
>vocal"
>Is there a way to make it so that, when I include line 6 in my PHP template,
>the ";" will be replaced with a l
can tell me how not to do it in the future, or someone tells me they
need more information, in which case I'll do my best.
Thanks for the help,
~Steve-o
--
S. Keller
UI Engineer
The Health TV Channel, Inc.
(a non - profit organization)
3820 Lake Otis Pkwy.
Anchorage, AK 99508
907.770.6200
LOL, thanks for the laugh on a friday afternoon =].
-Original Message-
From: Julio Nobrega [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 27, 2002 3:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Multiple Inheritance Emulation
Julio Nobrega em Friday 27 September 2002 15:40 foi agra
Welcome Steve,
You'll need to do two things to get started, download apache and php for
windows, and configure 2 files - httpd.conf (apache), and php.ini. A good
tutorial can be found here :
http://softwaredev.earthweb.com/script/article/0,,12014_912381,00.html
After that create a .php fi
One thing that has helped me was to write a db class and use it to connect
to mysql, then all you have to do is change the class, and not all your code
when you change the db.
-Steve
-Original Message-
From: Brendon G [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 24, 2002 4:03 AM
or
in a book and playing with one of the more popular open source databases
such as MySQL or PostgreSQL.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ou can do this
other ways but the simplicity is nice. Although I am still a newbie, I would
also have to say there would be a speed issue, if you only wan't one row
returned versus reading enire file into memory then walking through it one
at a time, mysql's indexing can greatly spe
I'm having problems with headers being sent out that cause generated images
to become garbled, Does anypone have any ideas on how to stop certain
headers, such as Connection, Keep-Alive and Transfer-Encoding from going out
to the browser, or filtering them out of the output?
Im running apache 1.3
Lol. Here, Here!
-Original Message-
From: Adam Williams [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 19, 2002 11:06 AM
To: Gian Michele
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] editor php
/bin/vi
:)
Adam
On Thu, 19 Sep 2002, Gian Michele wrote:
> Hi,
Yes you can,
check http://www.php.net/manual/en/ref.com.php for examples.
HTH,
Steve.
-Original Message-
From: Matthew Tapia [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 17, 2002 9:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] PHP and Microsoft Office
Can you use PHP to add
via the -d command option:
php -d memory_limit=20M -f yourprogram.php
(3) Set it in your program with the ini_set() command:
http://php.he.net/manual/en/function.ini-set.php
-steve
At 11:29 PM -0500 9/9/02, Damian Harouff wrote:
>Fatal error: Allowed memory size of 8388
Hey there,
This is a page I wrote that does that with sessions, sorry its a little
messy but it should help you with the general idea.
HTH,
Steve.
//Copy the below into a php file and change all the variables and sql
statement to reflect your own data.
Error';
echo '1:Con
"Cirstoiu Aurel Sorin" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I tried to use $HTTP_SERVER_VARS['HTTP_HOST'] but the result is null.
I believe your web server has to set that variable. Does phpinfo() show
a val
te all the POST
variables for you. Works for GET and others, too.
- Steve Yates
- Psychology: the study of the id by the odd.
~ Do you like my taglines? Add them to your messages and
~ laugh through hundreds more by downloading Taglinator
~ at www.srtware.com today!
--
PHP General Mai
or print mysql_error();
}
inserts perfectly..
Steve Gaas
Sr. Systems Engineer, Carrier Markets
Riverstone Networks
972.668.8329 (follow-me)
877.713.7063 (pager analog dial)
[EMAIL PROTECTED] (interactive pager)
http://www.rstn.net / Nasdaq: RSTN
"Wisdom begins in wonder.&quo
7;,\'\',\'$row_num\',\'$last_update\'", $sql4)
or print mysql_error();
}
this is the output
You have an error in your SQL syntax near ''user', 'detaildesc', 'index',
'reference', 'date_added') VAL
Parse error: parse error, unexpected T_ECHO in
/var/www/html/actionreg/doupdate.php on line 24
Forgot I had that function.. I don't understand the error though..
Steve Gaas
Sr. Systems Engineer, Carrier Markets
Riverstone Networks
972.668.8329 (follow-me)
877.713.7063 (pager analog
Hello,
My code below always dies! I've tried just about every iteration of the
values, etc.. Can anybody show me how to insert into MySQL a value?
"INSERT INTO events ('user','detaildesc') VALUES ('$user','$details')"
I just don't get it!
if ($update_type == update_Williams) {
mysql_query("
OK, this works.. This is wonderful.. But I don't get it.. I assigned two
separate variables to that array function.. I don't understand why this
works now, but thanks a lot for the help.
I hope I don't inadvertently run into this again...
-steve
$sql2 = mysql_connect(&qu
Can anyone tell me what's wrong with my code? All I get output from this is
the LAST row of data from my Database. There are 2 rows, how do I make it
pull data from all of the rows? It's not going through the loop like it
should I need to be able to tell the mysql_fetch_array which row I w
w.webmin.com/
Looks very comprehensive, and I've seem a number of good
recommendations for it. I've been planning on doing a little testing
of it on my test server, but haven't had the time.
-steve
At 4:48 PM +0100 9/6/02, Tim Haynes wrote:
>Is there any easy way of
...read in
$file = preg_replace(
array('/[ \t]{2,}/', '/(\n|\r|\r\n){2,}/'),
array('/ /', '\r'),
$file
);
...write out
See
http://www.php.net/manual/en/function.preg-r
is_int($f) will return true if $f is an integer, false otherwise.
Check http://www.php.net/manual/en/function.is-int.php
HTH,
Steve.
-Original Message-
From: Fifield, Mike [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 4:04 PM
To: [EMAIL PROTECTED]
Subject: [PHP] check
) && !isset($b) ){
while ($a){
likeStatements(); //you could also pass any needed info to the function.
}
}elseif( isset($b) && !isset($a) ){
while ($b){
likeStatements();
}
}elseif( isset($a) && isset($b) ){
while ($a && $b){
likeStatements();
}
}
HTH,
Steve.
At 03:12 PM 8/30/02 , stu9820 wrote:
>what is php's request object?
>like in ASP - Request("variable")
Short answer:
$_REQUEST['variable']
(for PHP version >= 4.1.0)
Long answer:
http://www.php.net/manual/en/language.variables
though the set, or (if you
have version >= 4.0.5) you can use array_reduce() in conjunction with the
count() function.
If these values are coming from a database, most databases have aggregate
functions to do sums, averages, etc.
-steve
+-
pp) that says "Attempt to
access
http://foo.bar.org/goto.php?goto=area%3Dpersonnel%26sub%3Dpersonnel%26person
nel%3D1002566%26option%3Dedit failed".
So it seems that the browser in the failing case is trying to deal with the
URL in its encoded form.
Anyone have any idea
gt;updated;
}
}
$date=$b;
$year=substr($date,0,4);
$month=substr($date,4,2);
$day=substr($date,6,2);
$hour=substr($date,8,2);
$min=substr($date,10,2);
if($hour >= 12){$ap = "pm";}else{$ap = "a
I am using PHP with MySQL and have a timestamp field in my db table. What
would be the easiest way to get the newest timestamp out of the db?
Thanks in Advance
Steve
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
ow3
--
PHP
On Tue, 2002-08-27 at 14:45, Rasmus Lerdorf wrote:
> Known Apache 2.0 related bug. Not sure anybody is looking at it.
:( At least I can quit banging my head against my keyboard now :)
Thanks much Rasmus.
--
Steve Fox
IBM Linux Technology Center
http://www.ibm.com/linux/ltc
http://k-lug.
ues how this could happen? Is Red Hat's PHP
package messed up or am I missing some config thing somewhere?
Any help would be appreciated. Thanks.
--
Steve Fox
IBM Linux Technology Center
http://www.ibm.com/linux/ltc
http://k-lug.org
--
PHP General Mailing List (http://www.php.net
At 11:12 AM 8/26/2002 +0200, you wrote:
> I'm trying include .php files which reside in alternative directories or
> sub-directories. Such as a file which reside in www/chat/page.php, and for
> this page I would like to include a file which resides in www/forum/include/
Using $DOCUMENT_ROOT h
L and PHP so would like some advice, is the way I describe
(databases for each website function) a good way to design or should I
have all my functions in one large database?
Steve Jackson
Web Developer
Viola Systems Ltd.
http://www.violasystems.com
[EMAIL PROTECTED]
Mobile +358 50 343 5159
--
tabases if configured
correctly. To create a new database just type the name in the box on the
home page and click create, from there you can create new tables etc.
hth
Steve.
-Original Message-----
From: Steve Jackson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, August 20, 2002 3:12 PM
To: MYSQL; P
7;d rather have
seperate ones for seperate functions.. Ideas or advice? is the way I am
suggesting better or worse than the way my hosting company expects me to
work?
Thanks in advance.
Steve.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ya that's pretty much it. Just do:
mysql_query("BEGIN");
$sql = "Update bla...";
$result = mysql_query($sql);
if($result)
mysql_query("COMMIT");
else
mysql_query("ROLLBACK");
HTH
Steve.
-Original Message-
From: Randy Johnson [mailto:[EMA
A plea for help
Would anyone be willing to code the Halloween Documents so we could
print them as PDF files
http://opensource.org/halloween/
--
Steve Mallett | [EMAIL PROTECTED]
http://open5ource.net
"The more I contemplate death and my mortality, the
more it inspires me to
Hey all, I need a little help with moving a file on the server after an
upload.
Our company site is hosted, so I don't have full access to the
configuration files, but I can do a PHP_info dump if you need more
clarification. Using 4.0.1pl2.
What I'm doing is uploading a file from a form, and
I would suggest you write a method (called mydb() for example) that connects
to your database, and if needed, call it from your constructor like:
$this->mydb(); This way you can always reuse the method from other code.
hth,
Steve.
-Original Message-
From: Mark Armendariz [mailto:[EM
_globals is : ".ini_get('register_globals');
Something might be wrong with your PHP install if it's a recent
version and $_POST isn't there.. Try print_r($_POST);
PA> echo " HTTP_POST_VARS :".$_HTTP_POST_VARS["test"]."";
The deprecat
anks.
Steve Jackson
Phone +358503435159
Email [EMAIL PROTECTED]
Web http://www.webpage.co.uk/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
e
http://php.he.net/manual/en/function.socket-set-blocking.php
and
http://php.he.net/manual/en/ref.network.php
-steve
At 1:28 PM +1000 8/9/02, Martin Towell <[EMAIL PROTECTED]> wrote:
>use C and fork()
>php (AFAIK) can't do parallel programming
>
>-Original Message
quot;" and then set the line "extension = php_gd.dll" to
"extension=c:\PHP\extensions\php_gd.dll" but that don't work! What am I
doing wrong? The error attatched comes up...
Please don't send me to a URL because I can't find one that is helpful!
Ste
e error message. With
>register_globals ON, it works fine.
>
>I thought register_globals only affected session, cookie and get type
>variables? Why is PHP ignoring the variables passed via the URL?
'variables passed via the URL' = 'GET variables'
the alternative syntax, I recall several messages
about people having problems nesting both forms of syntax. Try using
all one style or the other.
Lastly, quadruple check that you haven't accidentally quoted or
double-quoted a { or ( or something that you THOUGHT was par
That did the trick. Thank you SO MUCH.
Steve
At 03:48 AM 7/29/2002 -0500, Richard Lynch wrote:
> >h. Ok. Can somebody explain this one? Why won't it work correctly?
> >
> >for($m=1;$m<=5;$m++){
> > $div_idd[$m]=${'row->sub' . $m . 'd
Install PHP on your desktop. You will need a web server too. I use
PHP/MySQL/Apache on my Laptop, Desktop, Servers and workstations.
Steve
At 07:56 AM 7/27/2002 -0700, you wrote:
>I guess I should reiterate;
>
>"What is the easiest way to test locally (on my desktop) wit
;$m++){
$div_id[$m]=$divid$m;
}
Can anybody tell me how to do this in a "for" statement?
Thanks In Advance
Steve
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
ow3
--
PHP General Mailing List (http://www.php.net/)
T
Ok. That makes since.
Thanks
Steve
At 04:20 PM 7/26/2002 -0500, you wrote:
>var names can only be letters, numbers, and underscores.
>
>Jim Grill
>Support
>Web-1 Hosting
>http://www.web-1hosting.net
>- Original Message -
>From: "Steve Buehler" <
}
From Martin:
for($i =0; $i < 5; $i++) {
$offset = $m + 1;
$divid[$m] = $div_id{$offset};
}
At 10:55 PM 7/26/2002 +0300, you wrote:
>- Original Message -
>From: "Steve Buehler" <[EMAIL PROTECTED]>
>To: "PHP" <[EMAIL PROTECTED]>
>Sent: Fr
rd to search for it if I don't know what it is called.
Thanks
Steve
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
ow3
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I am tring to refer to a web page using a function. What function refers to a web
page?
example: if (page=index.php)
{
print $something
}
What function should "page" be?
Thanks
Steve
: library thinks size is 372, caller expects 376
Hmmm, maybe the bundled gd has more bugs as the 'normal' 2.0.1 (Beta)
Version?!
Regards,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
help would be appreciated.
Steve Campbell
OU Physicians
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can you post this to php.announce as well?
Marko Karppinen wrote:
>
>PHP Security Advisory: Vulnerability in PHP versions 4.2.0 and 4.2.1
>
>
> Issued on: July 22, 2002
> Software: PHP versions 4.2.0 and 4.2.1
> Platforms: All
>
>
>The PHP Group has learned of a serious security vu
k if the $key is just a number or just a string
>
>C) $key += 1
Lastly, you _could_ just step through the array using each() in a
loop, and use only every OTHER array entry...but this is really funky
and you shouldn't
l Message-
From: Chris Crane [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 11:40 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Classes vs. Functions
Wow...this is pretty cool.
Do you HAVE to declareall your varibles ahead of time?
"Steve Bradwell" <[EMAIL PROTEC
e method that does
all the work so
$db1->setTransactionSwitch("false"); //you don't have to recode it.
If it fails roolback.
if($db1->getTransactionSwitch()=="false");{
$db1->rollback();
}else{
$db1->commit();
}
Classes al
cking a button. Check this link.
http://www.devguru.com/Technologies/ecmascript/quickref/evhan_onsubmit.html
Hope this helps,
-Steve.
-Original Message-
From: MindHunter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 16, 2002 2:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Submit code
t;... contents of myFile.xml ...\n");
fputs($fp, "--AaB03x--\n");
And again, I've only been doing PHP a week, so if I'm following a totally
wrong track here, feel free to smack me around.
As always, any help is greatly appreciated.
~Steve-o
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
fine.
Can anyone please help?
Thanks in advance,
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
way of a pointer to where I can go to read up on how I
can accomplish this. Is there a particular tutorial I can read that's
relevent? Perhaps a sample script available that I can peruse to see how
someone did something similar?
Any help would be appreciated.
~Steve-o
--
PHP Gener
agreed.
-Original Message-
From: Rick Emery [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 3:51 PM
To: [EMAIL PROTECTED]
Subject: [PHP] RE:
lets all spam Erik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Are you compiling php with the --with-gd=shared option?
Personally (Solaris 8, gcc 2.95.3 , php 4.1.1 and later) I've never
been able to get the gd shared object to work (gd.so load errors), so
I've always ended up compiling it into PHP.
-steve
At 1:23 PM -0400 7/9/02,
; substr()
or maybe regexps) to do that.
For more info, see:
http://www.php.net/manual/en/function.fopen.php
http://www.php.net/manual/en/function.fread.php
http://www.php.net/manual/en/function.bin2hex.php
-steve
At 9:08 AM -0700 7/9/02, JSheble wrote:
>I'm using a Zebra label
Thanks Justin, your solution is spot-on!
Regards
Steve
Justin French wrote:
>
> ?>>
> >
> ?>>
> } ?>>
> ?>>
> >
>
>
> Obviously this is labourios to code... you can do this a lot smarter/quicker
> w
value =''
This works fine except if the input type is a drop down box, in which
case the default is shown. Is there any way around this? How
can I show the user their previous choice in these boxes?
Any insights would be appreciated.
Steve
--
PHP General Mailing List (http://www.ph
Thanks, thats hit the nail on the head, and my headache is a whole lot better!
Steve
Cc Zona wrote:
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Steve Fitzgerald) wrote:
>
> > I have been struggling for a couple of hours now trying to write a
> > preg_mat
em to get right. This is what I have at the moment:
if (!preg_match("/[\d]+([\.]{1}[\d]{2})?/", $form_data[amount])) //
wrong amount
but it still allows invalid input. Can anyone help or is there a better
way to do it?
Thanks
Steve
one total (I
hope)? If it's not just one pass, is there another way I can accomplish
this same thing just going through the string in one pass?
Thanks,
Steve
--
Steve (www.stevemagruder.com)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
not cache
the picture in the web browser? I don't know how the cache works but my
friend says it asks the server for the data the file was generated and
the size, so I suppose with this is dosent?
Help!
Thanks,
Steve
--
PHP General Mailing List (http://www.php.net
nning of a script to create those variables. I presume $_SERVER
works as well.
- Steve Yates
- Peace. (subject to change without notice)
/ Taglines by Taglinator - www.srtware.com /
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
No,
I did think of it, but the page may end up with quite a few
pics, and I download of a modem...
Prefer if server has the load...
Steve
|-Original Message-
|From: Lazor, Ed [mailto:[EMAIL PROTECTED]]
|Sent: 02 July 2002 21:34
|To: '[EMAIL PROTECTED]
.
Thanks you!
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
"Chris Shiflett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Steve Yates wrote:
> >If you name them *.php then put anything in them inside a function, then
> >when the user browses to that file he/she won't see a
"Justin French" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> 1. Name all included files .inc
If you name them *.php then put anything in them inside a function, then
when the user browses to that file he/she won't see
which can return all values back to a script on your site to finish.
Pretty well documented too. We use it for web site hosting and domain name
registration orders.
http://www.teamITS.com/internet/credit_cards.html
- Steve Yates
- A Penny saved is a congressional oversight.
/ Tagli
do_something();
break;
case 2:
...
do_something();
break;
case 3:
do_something();
break;
}
function do_something() {
# this is the stuff that you want to do that is common to your
# cases 1, 2 and 3
}
This accomplishes the same
At 7:35 PM -0700 6/29/02, Brad Melendy wrote:
>Steve,
>Thanks very much.
You're welcome!
>This make total sense to me. Now, I was pretty sure that
>I was getting an array back from mysql_fetch_array because when I do a
>'print $myCourses' without specifyin
901 - 1000 of 1688 matches
Mail list logo