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

2002-08-18 Thread Jason Soza
d searching 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

[PHP] preg_match help?

2002-08-17 Thread Jason Soza
contents of the text file echo correctly before the preg_match, but the preg_match I've tried: preg_match("!]+>(.*)!", $contents, $story); Returns array(), so no matches are made. Any suggestions? TIA, Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsub

[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 user@

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

2002-07-23 Thread Jason Soza
y, I just noticed what the difference is with those last three - their lines don't break in the source. The other lines have breaks, so the 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 So

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

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

2002-07-23 Thread Jason Soza
the first time". The manual entries for preg_match and preg_match_all pretty much assume you have a working 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.

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

2002-07-22 Thread Jason Soza
st what I intend for it to do, is grab everything between mailto:[EMAIL PROTECTED]] Sent: Monday, July 22, 2002 10:16 PM To: 'Jason Soza'; David Robley; [EMAIL PROTECTED] Subject: RE: [PHP] Re: Using fopen()/fread()/fscanf() I'm thinking that you need to remove the: $contents = fread($

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

2002-07-22 Thread Jason Soza
nfo on this, I tried 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()/f

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

2002-07-22 Thread Jason Soza
y 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

[PHP] Re: Table Making - All done!

2002-07-11 Thread Jason Soza
) { if (isset($array)) { $a++; print $array[$a] . ""; } } } print ""; -Original Message- From: Lazor, Ed [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 3:05 PM To: 'Jason

Re: [PHP] Re: Table Making

2002-07-11 Thread Jason Soza
ific date. I'm hoping the code I posted will create something like: 1941 1942 1943 ... Make sense? Jason Soza - Original Message - From: "Lazor, Ed" <[EMAIL PROTECTED]> Date: Thursday, July 11, 2002 2:08 pm Subject: RE: [PHP] Re

Re: [PHP] Re: Table Making

2002-07-11 Thread Jason Soza
echo ""\n; //close secondary table at 10 cells } echo "\n"; //close main row/cell } echo "\n"; //close main table Jason Soza - Original Message - From: "Michael Davey" <[EMAIL PROTECTED]> Date: Thursday, July 11,

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 S

Re: [PHP] Table Making

2002-07-11 Thread Jason Soza
print "\n"; //end table on $i = 5 } $i+5; $grad_year=""; //clear $grad_year } if ($i<5) print "\n"; //end any rows with less than 5 columns Jason Soza - Original Message - From: Justin French <[EMAIL PROTECTED]> Date: Thur

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

2002-07-11 Thread Jason Soza
22 77 19 98 http://www.online.no/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-10 Thread Jason Soza
3 4 5 6 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: R

[PHP] Table Making

2002-07-10 Thread Jason Soza
int, but I just can't think it out. I'm guessing $i would be used to limit the amount of items 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

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

2002-07-10 Thread Jason Soza
properly dealt 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] Erik Hergreberg

2002-07-09 Thread Jason Soza
ge mailing 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.

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

2002-07-09 Thread Jason Soza
e's a Norwegian translation somewhere. Jason Soza - Original Message - From: "Daniel Negron/KBE" <[EMAIL PROTECTED]> Date: Tuesday, Jul

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

2002-06-26 Thread Jason Soza
Häkkinen, Mika " And there is no other commas in the list, you can do it something like this: 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 Lis

[PHP] Help and advice sought - search/replace

2002-06-26 Thread Jason Soza
mple. But I'm stuck on what to use to actually separate and rewrite each $name. I'm 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 manuall

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 Me

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 - Origin

[PHP] Stumped on a function

2002-06-21 Thread Jason Soza
P Warning: strtotime() called with empty time parameter in test.php on line 19 Line 19 is the 'return' line in the function. I do not get 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] 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] Code Structure/Errors

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

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

2002-06-13 Thread Jason Soza
sn't a new idea, 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 Ad

[PHP] Spam Bots/E-mail Addys

2002-06-13 Thread Jason Soza
to combat 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 Ma

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

2002-06-11 Thread Jason Soza
want the "id" variable in your if(), you need: 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. H

Re: [PHP] self processing forms

2002-06-10 Thread Jason Soza
the pathnames were 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

[PHP] PHP/MySQL

2002-06-09 Thread Jason Soza
is www.miatapix.net - I have it showing as working fine 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 Ma

[PHP] mysql_connect()

2002-06-08 Thread Jason Soza
ch gives me "server not found") and the actual hostname of my computer, which gives me the access denied. The weird thing 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/pa

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

2002-06-04 Thread Jason Soza
Couldn't you also do: Link 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] Creating pop

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

2002-06-03 Thread Jason Soza
sfully been entered into the database!"; } 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 wit

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 - Origin

[PHP] Graphs using PHP

2002-05-30 Thread Jason Soza
x27;s any easier way to do this that I'm 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] 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 To

RE: [PHP] Quick query question

2002-05-22 Thread Jason Soza
o:[EMAIL PROTECTED]] Sent: 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

[PHP] Quick query question

2002-05-22 Thread Jason Soza
iling list for one question. Please reply offlist. Thanks in advance. Jason Soza -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] voting using text files

2002-05-22 Thread Jason Soza
ing could be used here, I just 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 <[EM

Re: [PHP] voting using text files

2002-05-22 Thread Jason Soza
e3, inside 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:

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] Su

[PHP] Using PHP for NULLs

2002-05-18 Thread Jason Soza
to PHP? Or can I use some PHP function 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] Feelin' dumb...

2002-05-18 Thread Jason Soza
- 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 ---

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
Friday, May 17, 2002 8:30 PM To: Jason Soza; PHP General Subject: Re: [PHP] Feelin' dumb... That means $num_pages is equal to 2 so yes the if statement is true and it goes onto the the for loop. Now where you are having problems is on the second expression in the for loop.. This expression i

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
al Message----- 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) {

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
- From: Tom Rogers [mailto:[EMAIL PROTECTED]] Sent: Friday, 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

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
ut $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...

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
- From: Craig Vincent [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,

RE: [PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
.. Then it times out. -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

[PHP] Feelin' dumb...

2002-05-17 Thread Jason Soza
+20, $i + 20, I've 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] ob_start() and ob_gzhandler

2002-05-17 Thread Jason Soza
start("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 PROTEC

[PHP] ob_start() and ob_gzhandler

2002-05-17 Thread Jason Soza
doing something wrong? Shouldn't the ob_start() by itself just load all output into a buffer and not display it until I call ob_flush ()? And how would I know if ob_gzhandler works? I'm running PHP and Apache on Windoze, PHP is version 4.2.0 I think, Apache is 1.3.something. TIA Jaso

Re: [PHP] Making Multiple Pages

2002-05-16 Thread Jason Soza
=red&i=25 Then have a $_GET['i'] variable in my 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 Mul

[PHP] Making Multiple Pages

2002-05-16 Thread Jason Soza
to use some kind of row count language 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

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

2002-05-13 Thread Jason Soza
e a good programming job. 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]

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

2002-05-13 Thread Jason Soza
t around even the biggest 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 Me

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... > >

RE: [PHP] help with sort problem

2002-05-12 Thread Jason Soza
cause I was lazy 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' Subjec

RE: [PHP] Variable Prob

2002-05-11 Thread Jason Soza
d it works now, but I'm a little confused as to why it works. 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 cou

[PHP] Variable Prob

2002-05-11 Thread Jason Soza
s up has a NULL value for the last name, but rather 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

[PHP] Layout Help

2002-05-10 Thread Jason Soza
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

RE: [PHP] Date Q

2002-05-09 Thread Jason Soza
ur code into my 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 othe

[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] File upload problem

2002-05-07 Thread Jason Soza
server...' page. If I can remember 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

Re: [PHP] Sorting, sort of

2002-05-06 Thread Jason Soza
? I suppose the easiest way is to save/export the table as a tab- delimited txt file, make my first/last name changes that way, change the layout 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 tr

[PHP] Sorting, sort of

2002-05-06 Thread Jason Soza
nds after the space and put it into an array, then have some if/else statement to deal with the lack of a space 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 wou

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 - Origina

[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 wan

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

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

2002-04-25 Thread Jason Soza
d 0. Correct? Then I can use if($id) 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]> Dat

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

2002-04-24 Thread Jason Soza
ppreciated! 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

RE: [PHP] Parse Error - Help?

2002-04-24 Thread Jason Soza
f ( $found ) { echo "" . $message["invext"].""; $rc = 2; } This function should have another curly brace at the end. Aha! Thanks for your help! Jason -Original Message- From: Tyler Longren [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April

[PHP] Parse Error - Help?

2002-04-24 Thread Jason Soza
ason for it. All of my ifs 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 ge

RE: [PHP] Combining Variables

2002-04-23 Thread Jason Soza
I do this without writing separate filename, extension, existing, and uploading scripts? Can someone point me 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] Combining Variables

2002-04-23 Thread Jason Soza
;userfile1']['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] 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

[PHP] Question for Linux users...

2002-04-23 Thread Jason Soza
aning toward Debian or SuSe. If you have 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] If else question

2002-04-23 Thread Jason Soza
ere 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 Message - From: "Jennifer Downey" <[EMAIL PROTECTED]> Date: Tuesday, Ap

Re: [PHP] Attachments

2002-04-22 Thread Jason Soza
s and upload the files 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

RE: [PHP] Attachments

2002-04-21 Thread Jason Soza
lse { echo "" . $message["incomplete"].""; } Now why would this work but the e-mail scripts not? -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Sunday, April 21, 2002 10:13 AM To: [EMAIL PROTECTED

RE: [PHP] Attachments

2002-04-21 Thread Jason Soza
= "base64"; } if (!$hasBody) { $$msg->data("This is a MIME message with attachments"); } my $m = $$msg->attach(%$data); $m->attr("content-type" => $mime_t

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...: 6

RE: [PHP] Attachments

2002-04-20 Thread Jason Soza
other ideas or places I could check? 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] 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 m

[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 to

RE: [PHP] Nasty DoS in PHP

2002-04-17 Thread Jason Soza
ader("A") } into any of my 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 t

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- F

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

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 u

Re: [PHP] Nasty DoS in PHP

2002-04-17 Thread Jason Soza
hink so. 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] (Richar

[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("",$pic1); And all the records for $pic1 come out into a single column which, if I had many r

RE: [PHP] Displaying Results

2002-04-16 Thread Jason Soza
ent: 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

Re: [PHP] Displaying Results

2002-04-16 Thread Jason Soza
ery gets replaced by what 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, loo

[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] 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: generation; $year = $row->year; $owner = $row->owner;