[PHP] UPS / USPS shipping algorithm

2003-08-20 Thread Jason Stechschulte
for calculating UPS and USPS shipping rates, but all of them I've seen so far expect the package size to already be calculated. -- Jason Stechschulte [EMAIL PROTECTED] http://www.enormousplow.com Immortality -- a fate worse than death. -- Edgar A. Shoaff -- PHP General Mailing List (http

Re: [PHP] checkbox = POST = array??

2002-08-10 Thread Jason Stechschulte
On Sat, Aug 10, 2002 at 02:56:48PM -0400, PeterV wrote: What I have now: input type='checkbox' id='45' name='topic[]' value='45' doesn't return an array $topic?? Probaby due to register_globals. It should exist in $_POST['topic'] -- Jason Stechschulte [EMAIL PROTECTED] http

Re: [PHP] Re: May i?

2002-08-03 Thread Jason Stechschulte
, myself included, believe the ability to use numbers that were used previously is a bug, so in 3.23, once a number is used in an auto incrementing column it cannot be used again. At least mysql won't auto generate it again. -- Jason Stechschulte [EMAIL PROTECTED] http://www.ypisco.com -- To teach

Re: [PHP] Vote to ban Acer

2002-08-03 Thread Jason Stechschulte
ignore trolls like him. -- Jason Stechschulte [EMAIL PROTECTED] http://www.ypisco.com -- Campus sidewalks never exist as the straightest line between two points. -- M. M. Johnston -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] mail problems

2002-08-02 Thread Jason Stechschulte
. -- Jason Stechschulte [EMAIL PROTECTED] http://www.ypisco.com -- Do you think that illiterate people get the full effect of alphabet soup? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: My SQL speed.

2002-08-02 Thread Jason Stechschulte
On Sat, Aug 03, 2002 at 01:49:10AM -0300, Manuel Lemos wrote: Google has 1 billion pages and qurys in a few milliseconds... Real search engines do not use SQL databases. What do search engines use? Is there something out there that explains how they work? -- Jason Stechschulte [EMAIL

Re: [PHP] Extra spacing with br in HTML

2002-07-27 Thread Jason Stechschulte
in a situation like that? There might be an easier way, but you might just have to write your own code for this. Something along the lines of: (completely untested) ?php $line = ereg_replace((^li|^ul|^ol)\n, br /\n, $line); ? -- Jason Stechschulte [EMAIL PROTECTED] http://www.ypisco.com -- The brain

Re: [PHP] Drop Down Box Question

2002-07-23 Thread Jason Stechschulte
value='1'Red/option option value='2'Green/option option value='3'Blue/option /select Now in your PHP program, you can access them all with something like: ?php foreach($_POST['test'] as $test) { echo You selected $testbr /\n; } ? -- Jason Stechschulte [EMAIL PROTECTED] http://www.ypisco.com

Re: [PHP] Getting the day if given a date

2002-07-23 Thread Jason Stechschulte
On Tue, Jul 23, 2002 at 04:24:37PM -0800, Cirkit Braker wrote: Is there any way to get the day of the week given a date. Check out the date() function. -- Jason Stechschulte [EMAIL PROTECTED] http://www.ypisco.com -- Campus sidewalks never exist as the straightest line between two points

Re: [PHP] putting the result of PHP code into a string

2001-11-09 Thread Jason Stechschulte
= Test1; $code = td$var/td; $html = someFunction($code); Done. -- Jason Stechschulte [EMAIL PROTECTED] -- You can't have filenames longer than 14 chars. You can't even think about them! -- Larry Wall in Configure from the perl distribution -- PHP General Mailing List (http

Re: [PHP] comments

2001-11-02 Thread Jason Stechschulte
it wants. If you want your results to be in a certain order you should use the order by clause in SQL. -- Jason Stechschulte [EMAIL PROTECTED] -- Suppose you're working on an optimizer to render \X unnecessary (or rather, redundant, which isn't the same thing in my book). -- Larry

Re: [PHP] check if file is already in use before fopen

2001-10-04 Thread Jason Stechschulte
mydata.lock. You also have to be prepared to handle a situation where your program stops before removing the lock file. Usually with PHP, it is much easier to just use a database so all this file locking is dealt with by the database and not you. -- Jason Stechschulte [EMAIL PROTECTED] -- Sorry

Re: [PHP] How do I tell the mail function that the message content is HTML?

2001-09-19 Thread Jason Stechschulte
; charset=iso-8859-1\n; // Mime type -- Jason Stechschulte [EMAIL PROTECTED] -- Perl itself is usually pretty good about telling you what you shouldn't do. :-) -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] changing post variable names

2001-09-19 Thread Jason Stechschulte
($$blah)) { echo $$blah.br\n; } } ? -- Jason Stechschulte [EMAIL PROTECTED] -- Well, that's more-or-less what I was saying, though obviously addition is a little more cosmic than the bitwise operators. -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] Protecting variables and functions? Like C#

2001-09-19 Thread Jason Stechschulte
a feature like that would be nice in the eyes of many people, but saying it is a must and is needed to make the language professional is quite a joke. -- Jason Stechschulte [EMAIL PROTECTED] -- 'Course, that doesn't work when 'a' contains parentheses. -- Larry Wall in [EMAIL PROTECTED

Re: [PHP] PHP complains when using similar_text() as documented.

2001-09-07 Thread Jason Stechschulte
of by reference). -- Jason Stechschulte [EMAIL PROTECTED] -- If you want to see useful Perl examples, we can certainly arrange to have comp.lang.misc flooded with them, but I don't think that would help the advance of civilization. :-) -- Larry Wall in [EMAIL PROTECTED] -- PHP General

Re: [PHP] mysql timestamp field

2001-09-06 Thread Jason Stechschulte
this? The easiest way is to change the column type. Timestamp always updates itself whenever the row is updated. You could simply change the column type to datetime. -- Jason Stechschulte [EMAIL PROTECTED] -- The reason I like hitching a ride on strict vars is that it cuts down the number of rarely used

Re: [PHP] include error with no includes

2001-09-05 Thread Jason Stechschulte
') in Unknown on line 0 I could be way off, but it sounds like a permissions problem. The user that your webserver runs as probably no longer has access to the page. -- Jason Stechschulte [EMAIL PROTECTED] -- Portability should be the default. -- Larry Wall in [EMAIL PROTECTED] -- PHP

Re: [PHP] ereg_replace

2001-07-25 Thread Jason Stechschulte
( , + , $home_street); The input is 123 happy trail I need the output to be 123+happy+trail -- Jason Stechschulte [EMAIL PROTECTED] -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list

Re: [PHP] looking for a class that handles cookies and sessions

2001-06-27 Thread Jason Stechschulte
this. The University is at http://www.unoh.edu and the class you want is: DP237 - Programming Server-Side Scripts I -- Jason Stechschulte [EMAIL PROTECTED] -- And we can always supply them with a program that makes identical files into links to a single file. -- Larry Wall in [EMAIL PROTECTED

Re: [PHP] back from a search form

2001-06-27 Thread Jason Stechschulte
in order to get the results. how can i prevent this blank page. Don't use form method=post -- Jason Stechschulte [EMAIL PROTECTED] -- For the run-time caching, I was going to suggest cached (doh!), but perhaps once is more meaningful to ordinary people. -- Larry Wall in [EMAIL PROTECTED

Re: [PHP] sending e-mail with variables

2001-06-27 Thread Jason Stechschulte
should either pass them to the function: function($hostname, $domain, $tld, $fullname); or declare them as global inside of the function. function() { global $hostname, $domain, $tld, $fullname); -- Jason Stechschulte [EMAIL PROTECTED] -- Oh yeah. Forgot about those. Getting senile, I guess

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-27 Thread Jason Stechschulte
On Tue, Jun 26, 2001 at 09:18:49PM -0700, Marcus James Christian wrote: \' How can I filter out these backslashes so they don't appear on the final public viewable page? Perhaps stripslashes() would be helpful? http://www.php.net/manual/en/function.stripslashes.php -- Jason Stechschulte

Re: [PHP] PHP authenticating and session management

2001-06-22 Thread Jason Stechschulte
that it matches with the number in the cookie. Why not just check for username this way: ?php if(session_is_registered(username)) { // Do stuff } ? Then username has to be registered as a session variable so any hacker (sic) can't just send a username to see that page. -- Jason Stechschulte

Re: [PHP] Saving to a file

2001-06-20 Thread Jason Stechschulte
fputs http://www.php.net/manual/en/function.fputs.php fclose http://www.php.net/manual/en/function.fclose.php -- Jason Stechschulte [EMAIL PROTECTED] -- All language designers are arrogant. Goes with the territory... :-) -- Larry Wall in [EMAIL PROTECTED]

Re: [PHP] \nhelp

2001-05-18 Thread Jason Stechschulte
for \n4; but ... ? You could try something like this: ?php $file = file(file); for($i = 0, $k = 0; $i sizeof($file); $i++) { if(substr($file[$i], 0, 4) == 4;) { $newfile[$k - 1] .= $file[$i]; } else { $newfile[$k++] = $file[$i]; } } ? -- Jason Stechschulte [EMAIL PROTECTED

Re: [PHP] url_rewriter.tags PHPSESSID automaticly added to URLS

2001-05-18 Thread Jason Stechschulte
they are configured differently. In Linux, you can configure with: --enable-trans-sid There is probably an equivalent way to do it in the .ini file. -- Jason Stechschulte [EMAIL PROTECTED] -- 'Course, I haven't weighed in yet. :-) -- Larry Wall in [EMAIL PROTECTED] -- PHP General

Re: [PHP] Only have one session per user?

2001-05-14 Thread Jason Stechschulte
of the same web browser? IIRC, this will only work if you are not using cookies for your sessions. -- Jason Stechschulte [EMAIL PROTECTED] -- I surely do hope that's a syntax error. -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] Writing to files

2001-05-14 Thread Jason Stechschulte
administrators, e-mail: [EMAIL PROTECTED] -- Jason Stechschulte [EMAIL PROTECTED] -- If I don't document something, it's usually either for a good reason, or a bad reason. In this case it's a good reason. :-) -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] Does the array parameter of ereg actually return strings matched?

2001-05-11 Thread Jason Stechschulte
this code instead: ?php $contents=fread($readfile,10); $pattern=a href.*\; while(!feof($readfile)) { $contents=fgets($readfile,4065); if(eregi($pattern,$contents,$regs)) { for($i = 0; $i sizeof($regs); $i++) { echo $regs[$i]br; } } } ? -- Jason Stechschulte [EMAIL

Re: [PHP] array limits????

2001-05-11 Thread Jason Stechschulte
get 80 can anyone shed some light on this subject??? Seeing code sure would help. 100 values in a PHP array is nothing. -- Jason Stechschulte [EMAIL PROTECTED] -- Tcl tends to get ported to weird places like routers. -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List

Re: [PHP] split string

2001-05-11 Thread Jason Stechschulte
like that. Use arrays. $test = 1,2,3; $test = explode(,, $test); // $test[0] == 1; // $test[1] == 2; // $test[2] == 3; -- Jason Stechschulte [EMAIL PROTECTED] -- Well, that's more-or-less what I was saying, though obviously addition is a little more cosmic than the bitwise operators

Re: [PHP] Upload time vs. script execution time

2001-05-11 Thread Jason Stechschulte
to upload files that take longer time to upload (but without editing the php.ini). I'm fairly certain that the execution time of the script does not start counting until the file is uploaded. -- Jason Stechschulte [EMAIL PROTECTED] -- No prisoner's dilemma here. Over the long term, symbiosis

Re: [PHP] Variable question, yet another

2001-05-08 Thread Jason Stechschulte
the evaluated code will be echo [a href=\myscript.php?username={$userdata[\username\]}\]Goto MyScript.php[/a]; Why not just break out of the string to print the username? echo [a href=\myscript.php?username=.$userdata[username].\]Goto Myscript.php[/a]; -- Jason Stechschulte [EMAIL PROTECTED

Re: [PHP] Extracting Array value as variable

2001-05-07 Thread Jason Stechschulte
] = broccoli; $veg[1] = tomatoes; echo $$veg[0]. .$$veg[1]; // This will print 1 2 ? -- Jason Stechschulte [EMAIL PROTECTED] -- Anyway, my money is still on use strict vars . . . -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] passing variables + if case

2001-05-07 Thread Jason Stechschulte
On Fri, May 04, 2001 at 05:08:30PM -0700, Andras Kende wrote: Is this is a correct format ??? If you would tell us what you are trying to accomplish and why you think it doesn't work, we might actually be able to help you. -- Jason Stechschulte [EMAIL PROTECTED] -- Of course, I reserve

Re: [PHP] changing a file on the server using a web form

2001-05-04 Thread Jason Stechschulte
this is accomplished, you will realize just how easy your task really is. If you are looking for a tutorial, check out some links from here: http://www.php.net/links.php -- Jason Stechschulte [EMAIL PROTECTED] -- If this were Ada, I suppose we'd just constant fold 1/0 into die Illegal division by zero

Re: [PHP] slashes \ appearing

2001-05-04 Thread Jason Stechschulte
is configured with: --enable-magic-quotes -- Jason Stechschulte [EMAIL PROTECTED] -- But maybe we don't really need that... -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] Array help please

2001-05-04 Thread Jason Stechschulte
be defined as a constant and that could give unexpected results. -- Jason Stechschulte [EMAIL PROTECTED] -- : How would you disambiguate these situations? By shooting the person who did the latter. -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] how?

2001-05-03 Thread Jason Stechschulte
$lines; and i want ouput like: Key=test any idea? May not be the best way, but it works: ?php $lines = join('', file(myfile.txt)); $value = test; $lines = str_replace(\$value, $value, $lines); echo $lines; ? -- Jason Stechschulte [EMAIL PROTECTED] -- Well, enough clowning around. Perl

Re: [PHP] how?

2001-05-03 Thread Jason Stechschulte
... index.php: ?php $username=eddie; $site_name=stripmall; $admin_mail=[EMAIL PROTECTED]; include(myfile.txt.php); ? I'm not sure if this is what you want, but it will send this to the browser: Welcome eddie Enjoy your staying at stripmall Mail admin. at [EMAIL PROTECTED] -- Jason Stechschulte [EMAIL

Re: [PHP] Problems after reversing a guestbook

2001-05-01 Thread Jason Stechschulte
together or not. -- Jason Stechschulte [EMAIL PROTECTED] -- double value;/* or your money back! */ short changed; /* so triple your money back! */ -- Larry Wall in cons.c from the perl source code -- PHP General Mailing List (http://www.php.net

Re: [PHP] Content_Type is included in uploaded file!

2001-05-01 Thread Jason Stechschulte
this is a bug in some version(s) of apache. Someone I know ran into this probelem and said he found it was a bug, so he upgraded apache, reinstalled php and everything works fine. -- Jason Stechschulte [EMAIL PROTECTED] -- Almost nothing in Perl serves a single purpose. -- Larry Wall

Re: [PHP] replace functions add \

2001-05-01 Thread Jason Stechschulte
have no idea. I copied your code and it works as expected. This is a little test is printed out. -- Jason Stechschulte [EMAIL PROTECTED] -- : - cut in regexps I don't think we reached consensus on that. We're still backtracking... -- Larry Wall in [EMAIL PROTECTED] -- PHP General

Re: [PHP] variables within variables

2001-05-01 Thread Jason Stechschulte
string, then the '$' must be getting escaped somewhere along the line, or you are using ' instead of around the variable. http://www.php.net/manual/en/function.echo.php -- Jason Stechschulte [EMAIL PROTECTED] -- I'll say it again for the logic impaired. -- Larry Wall -- PHP General

Re: [PHP] suggestions for binary data in database

2001-04-30 Thread Jason Stechschulte
the directory structure, filename in the database. It is much easier on the database too. -- Jason Stechschulte [EMAIL PROTECTED] -- Unix is like a toll road on which you have to stop every 50 feet to pay another nickel. But hey! You only feel 5 cents poorer each time. -- Larry Wall

Re: [PHP] MySQL Results NULL Error

2001-04-16 Thread Jason Stechschulte
declaration? Why not just check how many rows are returned? mysql_num_rows() -- Jason Stechschulte [EMAIL PROTECTED] -- I wouldn't ever write the full sentence myself, but then, I never use goto either. -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http

Re: [PHP] online detection

2001-04-11 Thread Jason Stechschulte
to the Internet AND using their application. Checking if someone is online is much, much more difficult. -- Jason Stechschulte [EMAIL PROTECTED] -- : - cut in regexps I don't think we reached consensus on that. We're still backtracking... -- Larry Wall in [EMAIL PROTECTED] -- PHP General

Re: [PHP] Row colors

2001-04-09 Thread Jason Stechschulte
echo "TR\n"; for ($i =1;$imysql_num_fields($result);$i++) This works for me. echo "td ".($i 1 ? "bgcolor=c0c0c0" : "bgcolor=cc").""; -- Jason Stechschulte [EMAIL PROTECTED] -- Any false value is gonna be fairly boring in Perl, mathemat

[PHP] Ming and flash detection

2001-04-02 Thread Jason Stechschulte
s. So there must be a problem with the movie somewhere. In the getURL() function, I have tried many different things for the second argument. _self, _parent, _top. None of these makes any difference. Anyone have any ideas I could try?? -- Jason Stechschulte University of Northwestern Ohio [

Re: [PHP] rewrite one line in file

2001-03-29 Thread Jason Stechschulte
it currently. -- Jason Stechschulte [EMAIL PROTECTED] -- It's appositival, if it's there. And it doesn't have to be there. And it's really obvious that it's there when it's there. -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] escape sequences not recognized inside an .html

2001-03-27 Thread Jason Stechschulte
to .php everthing works fine. Anyone? Anyhelp? If you ar using a *nix system, you probably need to add: AddType application/x-httpd-php .html to you httpd.conf -- Jason Stechschulte [EMAIL PROTECTED] -- /* we have tried to make this normal case as abnormal as possible */ -- Larry

Re: [PHP] Problems passing data via GET and POST

2001-03-26 Thread Jason Stechschulte
stme'] // will have form info $testme // will be empty I could be completely wrong, but I think this is how that works. -- Jason Stechschulte [EMAIL PROTECTED] -- The prayer of serenity applies here. To both of us. :-) -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing Li

Re: [PHP] header redirection

2001-03-21 Thread Jason Stechschulte
uid . " where itemID = " . $itemid; $result = mysql_query($sql); $redirurl = "bid.php?uid=" . $uid . "itemid=" . $itemid; header ($redirurl); ? It appears your code is missing the "Location: " part of the header. -- Jason Stechschulte [EMAI

Re: [PHP] Running script on remote server

2001-03-19 Thread Jason Stechschulte
include("http://www.remoteimapserver.com/remote.php?neededvariable=neededvalue"); ? Anything the remote.php file outputs will be output into the HTML of the calling program. Anyone accessing the website has no idea that the page they are viewing is coming from 2 different servers.

Re: [PHP] Invalid or Valid because the same.

2001-03-19 Thread Jason Stechschulte
a snippet in your message? -- Jason Stechschulte [EMAIL PROTECTED] -- What about WRITING it first and rationalizing it afterwords? :-) -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [PHP] Repost URGENT: Can't see picture!!!!!!!!

2001-03-19 Thread Jason Stechschulte
ve don't work. I'll post my code below: The directory is probably not viewable from the web. Try putting the folder somewhere in the web tree. -- Jason Stechschulte [EMAIL PROTECTED] -- No, that'd be silly. -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/)

Re: [PHP] Editing Variables from another script.

2001-03-19 Thread Jason Stechschulte
to give you specifics, you will have to be more specific with what you are doing and what you have tried. -- Jason Stechschulte [EMAIL PROTECTED] -- Well, I think Perl should run faster than C. :-) -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net

Re: [PHP] pulldown population not getting the last value

2001-03-19 Thread Jason Stechschulte
ct_row["name"]; $option_contact .= "OPTION value=\"$name\"$name/OPTION\n"; } What gives? I have not seen anything wrong with this portion of code. Have you tried echoing $contact_row["name"] inside the loop to make sure this is the portion of you

Re: [PHP] Best way to pass SQL TEXT field via a link

2001-03-13 Thread Jason Stechschulte
file was uploaded. -- Jason Stechschulte [EMAIL PROTECTED] -- Let's say the docs present a simplified view of reality...:-) -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: [PHP] upload file problems

2001-03-13 Thread Jason Stechschulte
directory in /www/workbox/htdocs/upload.php on line 4 I'm no expert, but I would try adding a trailing slash. copy($userfile, "/www/workbox/htdocs/audio/"); -- Jason Stechschulte [EMAIL PROTECTED] -- if (instr(buf,sys_errlist[errno])) /* you don't see this */ -- Larry Wall in

Re: [PHP] Variable variables

2001-03-13 Thread Jason Stechschulte
; session_register($privs[$i]); } /horridcode -- Jason Stechschulte [EMAIL PROTECTED] -- I surely do hope that's a syntax error. -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: [PHP] displaying information

2001-03-09 Thread Jason Stechschulte
finished. I would try programming, that usually works for me. You will have to let the program know where you left off, you could pass it in the url, set a cookie, or put it to the session. Either way, just do a little programming and voila. -- Jason Stechschulte [EMAIL PROTECTED] -- Well, you can

Re: [PHP] help on select

2001-02-27 Thread Jason Stechschulte
1" how can i change that kind of format so i can compare the data in unix time stamp format Try this: ?php $date = mktime(0, 0, 0, 3, 12, 2001); $sql = "select * from table_name where unix_timestamp(date_column) " . " $date"; ? -- Jason Stechschulte [EMAIL P

Re: [PHP] Undefinded Index on Mysql Result under Win98/PWS

2001-02-23 Thread Jason Stechschulte
took it to mean that he wasn't using many if any constants. So it should not be a problem to change the error reporting level. -- Jason Stechschulte [EMAIL PROTECTED] -- There's some entertainment value in watching people juggle nitroglycerin. -- Larry Wall in [EMAIL PROTECTED

Re: [PHP] variable sent using pots is cat!

2001-02-22 Thread Jason Stechschulte
are posting from. Then put quotes around the form variables. -- Jason Stechschulte [EMAIL PROTECTED] -- If you remove stricture from a large Perl program currently, you're just installing delayed bugs, whereas with this feature, you're installing an instant bug that's easily fixed. Whoopee

Re: [PHP] array headaches

2001-02-21 Thread Jason Stechschulte
ot;url"] = $db-f("topic_id"); } Then you can access them through another loop. -- Jason Stechschulte [EMAIL PROTECTED] -- Reserve your abuse for your true friends. -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail:

Re: [PHP] Tough one?

2001-02-21 Thread Jason Stechschulte
, $updateString); That should take care of the trailing comma. -- Jason Stechschulte [EMAIL PROTECTED] -- One of the reasons Perl is faster than certain other unnamed interpreted languages is that it binds variable names to a particular package (or scope) at compile time rather than at run time.

Re: [PHP] HTTP authentication

2001-02-15 Thread Jason Stechschulte
ts Cancel button\n"; exit; } else { echo "Hello $PHP_AUTH_USER.P"; echo "You entered $PHP_AUTH_PW as your password.P"; } ? I'm not sure what is wrong. I copied and pasted this onto my system and it works just fine. -- Jason Stechschulte [EMAIL PROTECT

Re: [PHP] Get a variable from a variable.

2001-02-15 Thread Jason Stechschulte
ry this: myFunction($$a); It is a variable variable. http://www.php.net/manual/en/language.variables.variable.php -- Jason Stechschulte [EMAIL PROTECTED] -- Just don't create a file called -rf. :-) -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] Netscape not resolving $PHPSELF ??

2001-02-13 Thread Jason Stechschulte
simply reloads the current page. -- Jason Stechschulte [EMAIL PROTECTED] -- But you have to allow a little for the desire to evangelize when you think you have good news. -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

Re: [PHP] Regex help needed...

2001-02-12 Thread Jason Stechschulte
("(^ )|( $)", "_", $checkme); -- Jason Stechschulte [EMAIL PROTECTED] -- /* This bit of chicanery makes a unary function followed by a parenthesis into a function with one argument, highest precedence. */ -- Larry Wall in toke.c from the perl source code -- PHP Genera

Re: [PHP] Regex help needed...

2001-02-12 Thread Jason Stechschulte
", $start, $checkme); $fix = ereg_replace("( )+$", $end, $fix); echo "$fix"; -- Jason Stechschulte [EMAIL PROTECTED] -- How do Crays and Alphas handle the POSIX problem? -- Larry Wall in [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] mysql not reporting errors

2001-02-09 Thread Jason Stechschulte
and decide what to do. -- Jason Stechschulte [EMAIL PROTECTED] -- : I used to think that this was just another demonstration of Larry's : enormous skill at pulling off what other people would fail or balk at. Well, everyone else knew it was impossible, so they didn't try. :-) -- Larry

Re: [PHP] fread() a remote file

2001-02-09 Thread Jason Stechschulte
5)) { echo "$line"; } fclose($handle); -- Jason Stechschulte [EMAIL PROTECTED] -- One of the reasons Perl is faster than certain other unnamed interpreted languages is that it binds variable names to a particular package (or scope) at compile time rather than at run time.