Re: RE: [PHP] Creating pop-up window and passing variable toit?

2002-06-04 Thread Jason Soza
Couldn't you also do: a href=foobar.php?var1=1var2=2 target=_blankLink/a I think you can subsitute Resource Window for _blank and get the same effect. HTH Jason Soza - Original Message - From: Martin Towell [EMAIL PROTECTED] Date: Tuesday, June 4, 2002 3:55 pm Subject: RE: [PHP

[PHP] mysql_connect()

2002-06-08 Thread Jason Soza
is, this works with -just- mysql_connect(), and the user/pass combos I'm using I use just fine to maintain and update the database, i.e. these are known good user/pass combos. Any idea what's happening? Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] PHP/MySQL

2002-06-09 Thread Jason Soza
on my side, someone else want to take a look at it and see what they get? And any help for this? It's hard to troubleshoot things when results aren't immediately available. Thanks in advance, Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] self processing forms

2002-06-10 Thread Jason Soza
invalid. I'm using Win32, PHP v4.1.2 as a module (not CGI), Apache 1.3.something. Jason Soza - Original Message - From: Bill Hudspeth [EMAIL PROTECTED] Date: Monday, June 10, 2002 2:16 pm Subject: [PHP] self processing forms I am using the O'Reilly Programming PHP manual, and have copied

Re: [PHP] Different Problem [Re: Passing a Variable to PHP Viathe URL]

2002-06-11 Thread Jason Soza
: if($HTTP_GET_VARS[id]) {} Or alternately do: $id = $HTTP_GET_VARS[id] if($id) {} Although that's not necessary. Also, try using $_GET[id], as $HTTP_GET_VARS[] has been deprecated in newer versions. HTH, Jason Soza - Original Message - From: [EMAIL PROTECTED] Date: Tuesday, June 11

[PHP] Spam Bots/E-mail Addys

2002-06-13 Thread Jason Soza
this? Any PHP scripts, classes, functions that can 'hide' e-mail addresses? The site I'll be building needs to have the e-mail addresses available, but I don't want to subject users to more spam than they probably already get. Jason Soza -- PHP General Mailing List (http://www.php.net

Re: [PHP] Spam Bots/E-mail Addys

2002-06-13 Thread Jason Soza
, but I'm assuming it's more secure than just keeping a mailto:[EMAIL PROTECTED] link around. Thanks, Jason Soza - Original Message - From: Stuart Dallas [EMAIL PROTECTED] Date: Thursday, June 13, 2002 9:23 am Subject: Re: [PHP] Spam Bots/E-mail Addys Basic fact: If a normal (anonymous

[PHP] Code Structure/Errors

2002-06-15 Thread Jason Soza
) { print /tr\n; $i=0; } } Thanks! Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] Re: Code Structure/Errors

2002-06-16 Thread Jason Soza
Figured it was something simple. Part of the learning process, I suppose. Thanks for the help! Jason Soza -Original Message- From: Dan Koken [mailto:[EMAIL PROTECTED]] Sent: Saturday, June 15, 2002 11:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Code Structure/Errors Can simply set

[PHP] Stumped on a function

2002-06-21 Thread Jason Soza
this error in my successful application of this code. Any ideas? Thanks in advance... Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Stumped on a function

2002-06-21 Thread Jason Soza
To be honest, I didn't know I could format the date within my query. For some reason, I was under the assumption that since dates go into MySQL in a specific format, that's how they came out. Anyway, thanks for pointing this out to me! Very helpful. Jason Soza - Original Message

RE: [PHP] rounding a number

2002-06-23 Thread Jason Soza
I think what you're looking for is number_format() - you can set decimal places with it and used in combo with round(), ceil(), and/or floor(), you should be able to achieved the desired result. http://www.php.net/manual/en/function.number-format.php HTH, Jason Soza -Original Message

[PHP] Help and advice sought - search/replace

2002-06-26 Thread Jason Soza
assuming I'll have to create a while() or for() loop and use a regular expression for this? I'm not sure where to look. Any help would be great - just so I won't have to go in and manually separate first and last names. Thanks! Jason Soza -- PHP General Mailing List (http://www.php.net

RE: [PHP] Help and advice sought - search/replace

2002-06-27 Thread Jason Soza
, $tabSeparatedList); ? I think that'll do. I didn't test it thou.. :) Niklas -Original Message- From: Jason Soza [mailto:[EMAIL PROTECTED]] Sent: 27. kesäkuuta 2002 7:42 To: PHP-General Mailing List Subject: [PHP] Help and advice sought - search/replace Just looking for a pointer or functions

Re: [PHP]%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

2002-07-09 Thread Jason Soza
translation somewhere. Jason Soza - Original Message - From: Daniel Negron/KBE [EMAIL PROTECTED] Date: Tuesday, July 9, 2002 11:28 am Subject: Re: [PHP

[PHP] Erik Hergreberg

2002-07-09 Thread Jason Soza
list so no doubt thousands of people are beginning to get quite annoyed with Mr. Hegreberg. If there's anything you can do to assure that he won't continue doing this, it would be much appreciated. Thanks, Jason Soza

[PHP] (OT) Erik Hegreberg - need headers for abuse@online.no

2002-07-10 Thread Jason Soza
with by his ISP. Thanks, Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Table Making

2002-07-10 Thread Jason Soza
in a column... But, I'm in need of some guidance to get it right. I can't even begin to think where to start. Any help would be great - thanks! Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Table Making

2002-07-11 Thread Jason Soza
7 8 9 10 11 12 13 14 15 I want this: 1 6 11 2 7 12 3 8 13 4 9 14 5 10 15 Thanks again for the help, though. Jason Soza -Original Message- From: Analysis Solutions [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 10, 2002 10:13 PM To: PHP List Subject: Re: [PHP] Table

[PHP] (OT) No Punishment for Erik Hegreberg, Yet...

2002-07-11 Thread Jason Soza
/abuse (Norwegian only) Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Table Making

2002-07-11 Thread Jason Soza
/table\n; //end table on $i = 5 } $i+5; $grad_year=; //clear $grad_year } if ($i5) print /table\n; //end any rows with less than 5 columns Jason Soza - Original Message - From: Justin French [EMAIL PROTECTED] Date: Thursday, July 11, 2002 3:48 am Subject: Re: [PHP] Table

Re: [PHP] Table Making

2002-07-11 Thread Jason Soza
This is exactly what I was looking for. Now I wish I could just leave work now to test it out! Thanks everyone for your help on this, very appreciated! Jason Soza - Original Message - From: Chris Boget [EMAIL PROTECTED] Date: Thursday, July 11, 2002 9:05 am Subject: Re: [PHP] Table

Re: [PHP] Re: Table Making

2002-07-11 Thread Jason Soza
hoping the code I posted will create something like: table tr td table trtd1941/td/tr trtd1942/td/tr trtd1943/td/tr /table /td td table ... Make sense? Jason Soza - Original Message - From: Lazor, Ed [EMAIL PROTECTED] Date: Thursday, July 11, 2002 2:08 pm

[PHP] Re: Table Making - All done!

2002-07-11 Thread Jason Soza
)) { $a++; print $array[$a] . br; } } } print /td/tr/table; -Original Message- From: Lazor, Ed [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 3:05 PM To: 'Jason Soza'; Lazor, Ed Cc: [EMAIL PROTECTED] Subject: RE

[PHP] Using fopen()/fread()/fscanf()

2002-07-22 Thread Jason Soza
| fclose($filename); 71| ? Any ideas? Any other functions I could try instead of fscanf()? TIA, Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Using fopen()/fread()/fscanf()

2002-07-22 Thread Jason Soza
replacing fscanf($filename,...) with fscanf($contents,...) and got the same result. Thanks, Jason Soza -Original Message- From: David Robley [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 8:37 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Using fopen()/fread()/fscanf() In article

RE: [PHP] Re: Using fopen()/fread()/fscanf()

2002-07-23 Thread Jason Soza
, or at least what I intend for it to do, is grab everything between p style=padding-left: 45...b and /b/font - is my code structured for that? -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 10:16 PM To: 'Jason Soza'; David Robley; [EMAIL

RE: [PHP] Re: Using fopen()/fread()/fscanf()

2002-07-23 Thread Jason Soza
knowledge of reg expressions, which I don't, and a google search turned up a bunch of pages, none of which I could understand enough to be of help. So, any pointers would be appreciated. Thanks! Jason Soza -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002

Re: [PHP] Newbie: Reading unix directory information from PHP

2002-07-23 Thread Jason Soza
Maybe opendir() and readdir() would work for you? opendir(): http://www.php.net/manual/en/function.opendir.php readdir(): http://www.php.net/manual/en/function.readdir.php Jason Soza - Original Message - From: Paul Oh [EMAIL PROTECTED] Date: Tuesday, July 23, 2002 3:03 pm Subject

RE: [PHP] Re: Using fopen()/fread()/fscanf()

2002-07-23 Thread Jason Soza
noticed what the difference is with those last three - their lines don't break in the source. The other lines have breaks, so the /b/font land on the following line. Is there anything I can do to have preg_match_all 'connect' the lines? Any help would be great. Thanks! Jason Soza -Original

[PHP] Spambot Defense Code

2002-07-23 Thread Jason Soza
Worked on this a bit tonight, thought it might help someone out there! I looked at the bottomw of phpclasses.org at what they'd done to obfuscate their e-mail address using JavaScript. While theirs is much more complex, I couldn't figure a way to do it their way when you don't know the exact

[PHP] PHP/MySQL Query Prob

2002-04-15 Thread Jason Soza
Hey... new to the list, but didn't have time to lurk and watch the traffic, kind of in a bind here. I apologize in advance if I do something wrong... Using this code: ?php $link = mysql_connect() or die(Could not connect);

[PHP] Displaying Results

2002-04-16 Thread Jason Soza
Suppose I want a script that goes into a table, looks up all records in a given field, and groups and displays the results like so: match1 (1) match2 (5) match3 (6) So basically it looked at the field 'matches' and found a total of 12 records, 1 record for match1, 5 records for match2, and 6

Re: [PHP] Displaying Results

2002-04-16 Thread Jason Soza
comes after the ? in script.php?year=1991 ? Thanks in advance Jason - Original Message - From: Jason Soza [EMAIL PROTECTED] Date: Tuesday, April 16, 2002 2:49 pm Subject: [PHP] Displaying Results Suppose I want a script that goes into a table, looks up all records in a given field

RE: [PHP] Displaying Results

2002-04-17 Thread Jason Soza
]] Sent: Tuesday, April 16, 2002 9:58 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Displaying Results On Wednesday 17 April 2002 08:21, Jason Soza wrote: Sorry, I just noticed that the count() function will do at least the first part of my question, i.e. SELECT year, COUNT(*) FROM cars GROUP

[PHP] Arranging Data

2002-04-17 Thread Jason Soza
How would I have a script display results in a table, but make it so that once 3 or 4 results are displayed in one table row, a new table row would be started? Right now I have something like: printf(img src='%s'br,$pic1); And all the records for $pic1 come out into a single column which, if

Re: [PHP] Nasty DoS in PHP

2002-04-17 Thread Jason Soza
. A bug? Possibly. Bad coding? Yep. :) Jason Soza - Original Message - From: CC Zona [EMAIL PROTECTED] Date: Wednesday, April 17, 2002 6:21 pm Subject: Re: [PHP] Nasty DoS in PHP In article p05100304b8e3cee5ab0c@[210.49.237.250], [EMAIL PROTECTED] (Richard Archer) wrote: At 8:55 PM

RE: [PHP] Nasty DoS in PHP

2002-04-17 Thread Jason Soza
It shows the memory and CPU time being used by apache. I have PHP installed as a module, that may be why. (?) Jason Soza - Original Message - From: Martin Towell [EMAIL PROTECTED] Date: Wednesday, April 17, 2002 6:37 pm Subject: RE: [PHP] Nasty DoS in PHP Is that memory usage used

RE: [PHP] Nasty DoS in PHP

2002-04-17 Thread Jason Soza
limits, that would sure appear to be a PHP bug. (FWIW, I can't find an existing bug report about this behavior at bugs.php.net. Perhaps you and the OP could run backtraces and open a new bug report?) In article [EMAIL PROTECTED], [EMAIL PROTECTED] (Jason Soza) wrote: It shows the memory and CPU

RE: [PHP] Nasty DoS in PHP

2002-04-17 Thread Jason Soza
Mine produced the same error message as yours, Jason, but the memory and CPU usage continued until I hit the 'stop' button on the browser. It seemed to have overridden both time and memory limits, as it had racked up 320 megs of my RAM by the time I stopped it. Jason -Original Message-

RE: [PHP] Nasty DoS in PHP

2002-04-18 Thread Jason Soza
scripts, nor was I ever planning on it! :) -Original Message- From: Jason Murray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 10:13 PM To: 'Jason Soza'; [EMAIL PROTECTED] Subject: RE: [PHP] Nasty DoS in PHP Mine produced the same error message as yours, Jason

[PHP] Truncated files

2002-04-19 Thread Jason Soza
I don't have the code I used right in front of me, so I'm sorry that I can't give specifics, but maybe someone may have an idea about this off the top of their head. I have a script that processes a form on my site where people can submit information and upload files. The files don't upload

[PHP] Attachments

2002-04-19 Thread Jason Soza
I apologize in advance, this question most likely doesn't belong here, but if anyone can help that'd be great: Using both Perl and PHP to send mail with attachments from forms, the attachments get truncated. Since both Perl scripts and PHP scripts do this, I'm ruling out coding error, and since

RE: [PHP] Attachments

2002-04-20 Thread Jason Soza
? Thanks again. Jason -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Friday, April 19, 2002 8:36 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Attachments On Saturday 20 April 2002 12:29, Jason Soza wrote: Using both Perl and PHP to send mail with attachments from forms

RE: [PHP] Attachments

2002-04-20 Thread Jason Soza
They actually vary as to where they become truncated - some are at 633 bytes, some are at 1kb. The odd thing is that the PHP script I'm using to process the form actually pics up the correct filesize, it reports it to me under a $filesize variable I've setup. It'll report, say file2_filesize...:

RE: [PHP] Attachments

2002-04-21 Thread Jason Soza
: [PHP] Attachments On Sunday 21 April 2002 06:02, Jason Soza wrote: They actually vary as to where they become truncated - some are at 633 bytes, some are at 1kb. The odd thing is that the PHP script I'm using to process the form actually pics up the correct filesize, it reports it to me under

RE: [PHP] Attachments

2002-04-21 Thread Jason Soza
April 2002 01:51, Jason Soza wrote: I haven't been able to identify what process actually truncates the file. This should be the easiest to nail down. Add a bit of code so that when the file gets uploaded, it gets copied somewhere, then you can manually check its size. Obviously, if the filesize is OK

Re: [PHP] Attachments

2002-04-22 Thread Jason Soza
to an incoming directory with a timestamp prefix, so I can match the e-mails with the uploads. This should be a fairly straightforward task, correct? Jason Soza - Original Message - From: Jason Wong [EMAIL PROTECTED] Date: Monday, April 22, 2002 0:54 am Subject: Re: [PHP] Attachments snip

Re: [PHP] If else question

2002-04-23 Thread Jason Soza
it did, I started adding things, making sure it worked after each change until I got it where I wanted it. Once it did what I wanted, I copied it into my working script. Sometimes it works to just start over with something simpler, then work your way back up. HTH, Jason Soza - Original

[PHP] Question for Linux users...

2002-04-23 Thread Jason Soza
other suggestions or whatever, please share. Remember, NO HOLY WARS! Offlist is okay if you think your comments might spark something. :) Thanks in advance, Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question for Linux users...

2002-04-23 Thread Jason Soza
I actually need to apologize for this post. Wasn't intended for this list. If you do feel like responding, please offlist. Sorry, Jason Soza - Original Message - From: Erik Price [EMAIL PROTECTED] Date: Tuesday, April 23, 2002 1:49 pm Subject: Re: [PHP] Question for Linux users

[PHP] Combining Variables

2002-04-24 Thread Jason Soza
']['name']; that gets uploaded needs to 1) have the filename modified: Jason Soza '98 Black Grand Cherokee IAMB4U '92 Classic Red Miata IMB4U2 Juneau, Alaska http://www.phrog-net.com/miata/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Combining Variables

2002-04-24 Thread Jason Soza
in the right direction here? Thanks, Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Parse Error - Help?

2002-04-24 Thread Jason Soza
and functions are closed as far as I see. I guess I'm just looking for an unbiased eye here, I've been staring at this for a couple hours now. If you have comments on to how I could simplify this code, that'd be great too. Otherwise, I just need it to get it working. Thanks in advance - Jason Soza

RE: [PHP] Parse Error - Help?

2002-04-24 Thread Jason Soza
:22 PM To: Jason Soza; [EMAIL PROTECTED] Subject: Re: [PHP] Parse Error - Help? Copy and paste the parse error into your e-mail. Also, try placing another } at the end of the code. If you're missing a closing bracket somewhere, that will take care of it. Tyler Longren Captain Jack

RE: [PHP] Parse Error - Help? (AGAIN)

2002-04-24 Thread Jason Soza
! Jason -Original Message- From: Jason Soza [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 24, 2002 7:56 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Parse Error - Help? Found it - just added another curly brace to the end of the code and it worked, so I searched up from there and found

Re: [PHP] Parse Error - Help? (AGAIN)

2002-04-25 Thread Jason Soza
) statements later on without having PHP return Undefined Variable errors. Right? Thanks for your help, I'll work on my PHP listetiquette. Jason Soza - Original Message - From: 1LT John W. Holmes [EMAIL PROTECTED] Date: Thursday, April 25, 2002 5:35 am Subject: Re: [PHP] Parse Error - Help

Re: [PHP] Parse Error - Help? (AGAIN)

2002-04-25 Thread Jason Soza
Yeah, I think I'd rather fix the errors rather than just not see them. I'd still know they were there and it'd bug me! Thanks everyone for your help! Jason Soza - Original Message - From: Nathan [EMAIL PROTECTED] Date: Thursday, April 25, 2002 9:14 am Subject: Re: [PHP] Parse Error

[PHP] ereg

2002-05-02 Thread Jason Soza
Hoping someone can help me here. I'm working with someone else's code and I'm not familiar with ereg_replace(), can someone provide me an alternative to the following? ereg_replace([^a-z0-9._], , ereg_replace ( , _, ereg_replace(%20, _, strtolower($original_name; Basically, I want to enter

Re: [PHP] if cant use header what should i use? or how to dothis?

2002-05-03 Thread Jason Soza
I think it's because you need an absolute URL in there as opposed to the relative one you're using, i.e. Location: http://www.example.com/menu?pg=news; Try that, and try looking here: http://www.php.net/manual/en/function.header.php HTH, Jason Soza - Original Message - From: Mantas

[PHP] Sorting, sort of

2002-05-06 Thread Jason Soza
or the presence of multiple spaces, then use sort() on that array. Just looking for some guidance, maybe a specific function or bit of code. Anything that'd help. Or if this would be more easily addressed by reconfiguring my MySQL table, just let me know. Thanks, Jason Soza -- PHP General Mailing List

Re: [PHP] Sorting, sort of

2002-05-06 Thread Jason Soza
of the table, then update the table using the new txt file? Sorry for the newbie (and MySQL) questions - I'm not a programmer or DB admin by trade, just volunteered to make a website and got caught up with PHP and MySQL. I'm learning, really I am! (And having fun too!) Jason Soza - Original

Re: [PHP] File upload problem

2002-05-07 Thread Jason Soza
this correctly, it just went directly to a white screen, as if there were a parse error involved. I checked the error logs and it said that the 8M file limit was exceeded. But it did this without waiting for the entire file to be uploaded first. Jason Soza - Original Message - From: Jason

[PHP] Date Q

2002-05-09 Thread Jason Soza
section that describes this, that'd be great. Thanks! Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Date Q

2002-05-09 Thread Jason Soza
script w/o querying again? -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 09, 2002 8:59 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Date Q On Friday 10 May 2002 13:02, Jason Soza wrote: If I have a MySQL field full of dates and other info, and my PHP

[PHP] Layout Help

2002-05-10 Thread Jason Soza
be efficient and would I be able to use PHP effectively to retrieve all that information and display it correctly? Has anyone out there done a similar project? If so, what was your approach? Thanks in advance, Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Variable Prob

2002-05-12 Thread Jason Soza
than printing $first_name's it prints $first_name $last_name using the last name of the previous record! Am I missing something there? Do I need to clear out a variable somewhere? It seems like since $last_name isn't even called in the else statement, it shouldn't even be showing up! Jason Soza

RE: [PHP] Variable Prob

2002-05-12 Thread Jason Soza
. Thanks again. -Original Message- From: Miguel Cruz [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 11, 2002 11:06 PM To: Jason Soza Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Variable Prob It would seem the only way this could happen is if $last_name evaluates to true. Two suggestions: 1

RE: [PHP] help with sort problem

2002-05-12 Thread Jason Soza
and using PHP to do this for me seemed to be the easier choice. It's not, and doing it that way is far from efficient. HTH, Jason Soza -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 12, 2002 1:26 PM To: 'PHP-General' Subject: RE: [PHP] help with sort problem

Re: [PHP] Reading dir contents...

2002-05-13 Thread Jason Soza
Use opendir(), readdir(), and closedir() - http://www.php.net/manual/en/function.opendir.php HTH, Jason Soza - Original Message - From: Ashley M. Kirchner [EMAIL PROTECTED] Date: Monday, May 13, 2002 9:50 am Subject: [PHP] Reading dir contents... Take this function

Re: RE: [PHP] Genus who came up with Self Destruct Code Copy Pro tection

2002-05-13 Thread Jason Soza
doors with the biggest locks. Look at all the bank robberies that have taken place over the past century. I guess the bottom line, you can do what you want with your code, but that doesn't make it hack-proof (or anti-distributable!). Jason Soza - Original Message - From: SP [EMAIL

RE: [PHP] Genus who came up with Self Destruct Code CopyPro tection

2002-05-13 Thread Jason Soza
. Maybe they do anyway, but as it is, they find a hobby in 'exposing security flaws' in other's programs. Jason Soza - Original Message - From: Collins, Robert [EMAIL PROTECTED] Date: Monday, May 13, 2002 2:06 pm Subject: RE: [PHP] Genus who came up with Self Destruct Code Copy Pro tection

[PHP] Making Multiple Pages

2002-05-16 Thread Jason Soza
in the script, i.e. first count how many rows are in the MySQL table, if it's less than 25, just display them all. If there's more than 25, display only 1 - 25, then create a link to view 26 - 50, etc. Is that what I need to be looking into? Any other ideas would be appreciated. Thanks! Jason Soza

Re: [PHP] Making Multiple Pages

2002-05-16 Thread Jason Soza
script and set $i equal to that? Your help is appreciated. Thanks again. Jason Soza - Original Message - From: Kevin Stone [EMAIL PROTECTED] Date: Thursday, May 16, 2002 10:53 am Subject: Re: [PHP] Making Multiple Pages $query = SELECT * FROM mytable LIMIT $i, 20; Where 20 is the number

[PHP] ob_start() and ob_gzhandler

2002-05-17 Thread Jason Soza
is version 4.2.0 I think, Apache is 1.3.something. TIA Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ob_start() and ob_gzhandler

2002-05-17 Thread Jason Soza
(ob_gzhandler) would compress the output, then ob_implicit_flush() would display that compressed output at each call? Either way, is there any way to tell if my output is really being compressed by ob_gzhandler? Jason Soza - Original Message - From: Miguel Cruz [EMAIL PROTECTED] Date: Friday

[PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
tried looking in the manual, but I assume this is some C-type function, and I'm not familiar with C! Any helpers? Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
. -Original Message- From: Richard Baskett [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 7:15 PM To: Jason Soza; PHP General Subject: Re: [PHP] Feelin' dumb... Hmm... Wouldn¹t you just do this?: for ($i=1; $i=$num_pages; $i+20) { // print stuff here } Rick The vision must

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
[mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 7:36 PM To: Jason Soza; [EMAIL PROTECTED] Subject: RE: [PHP] Feelin' dumb... For each loop, I want to add 20 to $i, so after the first iteration, I have 21, then 41, 61, etc. I've tried $i+20, $i + 20, I've tried looking in the manual, but I

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
out $page = and put in $i where $page is in the printf() statement, I get the extra iteration again. Any ideas? -Original Message- From: Craig Vincent [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 7:56 PM To: Jason Soza; [EMAIL PROTECTED] Subject: RE: [PHP] Feelin' dumb... I

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
, May 17, 2002 7:40 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Feelin' dumb... Hi What you need is for ($i=1; $i=$num_pages; $i+=20) { // print stuff here } Tom At 01:19 PM 18/05/2002, Jason Soza wrote: Okay, I'm apologizing right now for this, but I hope it's at least tolerable. I have

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
- From: Jason Soza [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 8:24 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Feelin' dumb... When I use that, here: if ($num_pages = 2) { for ($i=1; $i=$num_pages; $i+=20) { echo $i

RE: [PHP] Feelin' dumb...

2002-05-18 Thread Jason Soza
1 - not cool, so I added $p into the loop, but started it at 1 so I'd have a variable to use for correct page numbers. Oh and I had to change $i=$num_pages to just $i$num_pages because with $i=0, I was getting an extra iteration. What a learning experience! Thanks again, Jason Soza -Original

[PHP] Using PHP for NULLs

2002-05-18 Thread Jason Soza
to sort $result to place all NULL values last? I'd check the PHP manual, but it seems to not be responding well at the moment. Thanks, Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: Using PHP for NULLs

2002-05-18 Thread Jason Soza
Thanks for the help! I spent more time looking at IFNULL() when I should've just been looking at IF(). Thanks again, sorry for the off-topic! Jason Soza -Original Message- From: Dan Koken [mailto:[EMAIL PROTECTED]] Sent: Saturday, May 18, 2002 11:16 AM To: [EMAIL PROTECTED] Subject

Re: [PHP] voting using text files

2002-05-22 Thread Jason Soza
each one, store their vote choice, their IP, and a timestamp. I don't know, I'm not an expert! Just throwing out ideas. Jason Soza - Original Message - From: 1LT John W. Holmes [EMAIL PROTECTED] Date: Wednesday, May 22, 2002 5:46 am Subject: Re: [PHP] voting using text files Use file

Re: [PHP] voting using text files

2002-05-22 Thread Jason Soza
didn't explain it. Seems that someone else came up with a simpler solution anyhow! Thanks for pointing out my idea's flaws... I'm a little biased, so I don't always see them myself. Jason Soza - Original Message - From: Miguel Cruz [EMAIL PROTECTED] Date: Wednesday, May 22, 2002 9:45 am

[PHP] Quick query question

2002-05-22 Thread Jason Soza
in advance. Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Quick query question

2002-05-22 Thread Jason Soza
: Wednesday, May 22, 2002 8:48 PM To: Jason Soza Subject: Re: [PHP] Quick query question On Thursday 23 May 2002 12:07, you wrote: I'm sorry. I'm used to other lists where occasional off-topic posts are tolerated a little more. Didn't know really how this list would react, but I thought I'd

RE: [PHP] Quick query question

2002-05-22 Thread Jason Soza
Well it just keeps getting better. I hit reply-to and the response went here. I apologize for this and my earlier off-topic post. I made a blatant mistake in judgement. Jason Soza -Original Message- From: Jason Soza [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 9:21 PM

[PHP] Graphs using PHP

2002-05-30 Thread Jason Soza
overlooking. I'm thinking doing some kind of image overlay is the way to go, but not sure. Any ideas or pointers would be great, links to sample scripts would be excellent. Thanks! Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Previous Next Navigation

2002-06-03 Thread Jason Soza
I don't know if it's possible (or faster, or more efficient), but could you query your millions of records for those 3k - 5k, insert them into a temp table, then do your LIMIT queries on that table for your prev/next pages? Just an idea! Jason Soza Juneau, Alaska - Original Message

[PHP] Re: stupid error, please kick me (and send me a solution)

2002-06-03 Thread Jason Soza
successfully been entered into the database!/fontbr; } HTH, Jason Soza - Original Message - From: Jule Slootbeek [EMAIL PROTECTED] Date: Monday, June 3, 2002 2:09 pm Subject: stupid error, please kick me (and send me a solution) Hey guys, i'm getting this error with the following

[PHP] preg_match help?

2002-08-17 Thread Jason Soza
? TIA, Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: Re[2]: [PHP] pop-up

2002-08-18 Thread Jason Soza
for 'javascript reference' - you will likely find the results handy. HTH Jason Soza -Original Message- From: Mantas Kriauciunas [mailto:[EMAIL PROTECTED]] Sent: Sunday, August 18, 2002 1:44 AM To: Justin French Cc: [EMAIL PROTECTED] Subject: Re[2]: [PHP] pop-up Hello Justin, i don't think