RE: [PHP] PHP on one box, Apache on another?

2003-07-01 Thread Dan Joseph
k the two together, and then map a network path to the files on the other server. I don't know what advantages this would really give someone, though... -Dan JOseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP on one box, Apache on another?

2003-07-01 Thread Dan Joseph
p. 1. Web Server, 2. File Server, 3. DB Server. After we all got done laughing him off the phone call, we setup 2 servers, 1. Web/Files, 2. DB. Fortunately he decided to listen that day. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: PHP user group

2003-07-02 Thread Dan Joseph
Searching google.com for 'php user groups' turns up dozens of links. -Dan Joseph > -Original Message- > From: Ray Hunter [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 02, 2003 2:22 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Re: PHP user grou

RE: [PHP] Get Rid of this Crook

2003-07-03 Thread Dan Joseph
No, they actually contact you, and scam you for about 2 trips to Europe, and $50,000. That's how they make their money. There have been several documentaries on cable about this stuff. -Dan Joseph > -Original Message- > From: Brian S. Drexler [mailto:[EMAIL PROTECTED] >

RE: [PHP] print html code

2003-07-03 Thread Dan Joseph
oes two wrongs don't make a right. There's no such thing. Its SQL servers, some support the full language, some don't. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Redirect to a different frame...

2003-07-03 Thread Dan Joseph
to make the target dynamic. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Redirect to a different frame...

2003-07-03 Thread Dan Joseph
Oh, yeah, that is correct. You'd need to use the tag and put some javascript in them to target the frames. I'm not up on the javascript enough though, check javascript.internet.com for more information. -Dan Joseph > -Original Message- > From: Grant Rutherford [mailto:

[PHP] mcrypt warning

2003-07-09 Thread Dan Joseph
0, needed: 8 in /usr/local/apache/htdocs-uat-retail/include/nocheck.iostream.class.php on line 87 I have read into mcrypt, tried a couple things, but nothing will get rid of that error. Could someone show me what I've done wrong? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] nested for loops

2003-07-09 Thread Dan Joseph
Hi, I did one once. It was similar to what you typed out here. Are you having troubles with this? -Dan Joseph > -Original Message- > From: Micah Montoy [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 09, 2003 1:56 PM > To: [EMAIL PROTECTED] > Subject: [PHP] n

RE: [PHP] mcrypt warning

2003-07-10 Thread Dan Joseph
Hi, > I use this to set iv to null so I don't need to worry about it :) > > $iv = pack("a".mcrypt_enc_get_iv_size($td),$iv); Ahh ok, I'll give that a try and let you know how it comes out. Thanks! -Dan Joseph -- PHP General Mailing List (http://www.ph

RE: [PHP] OnClick problem

2003-07-10 Thread Dan Joseph
e php generated on-the-fly. > Is this a php problem? Anyone has a clue? > I really don't want to use a submit button in this case. Are you using the variable $_SERVER['PHP_SELF'] for your link target? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] OnClick problem

2003-07-10 Thread Dan Joseph
ith me and explain. Yeah, it would be: If that doesn't work, could you paste in a few lines of code? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP POS program

2003-07-16 Thread Dan Joseph
ows based systems. There are also plenty of good web-based systems. To say that only MS-DOS applications can do POS properly is kind of niave. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] paypal and ecommerce

2003-07-18 Thread Dan Joseph
yment destinations? -Dan Joseph > -Original Message- > From: Ralph Guzman [mailto:[EMAIL PROTECTED] > Sent: Friday, July 18, 2003 2:57 PM > To: 'Edward Peloke'; '[EMAIL PROTECTED] Php. Net' > Subject: RE: [PHP] paypal and ecommerce > > > Maybe it'

RE: [PHP] a good PHP free forum?

2003-07-21 Thread Dan Joseph
phpBB is pretty good. -Dan Joseph > -Original Message- > From: Denis L. Menezes [mailto:[EMAIL PROTECTED] > Sent: Monday, July 21, 2003 11:57 AM > To: [EMAIL PROTECTED] > Subject: [PHP] a good PHP free forum? > > > Hello friends. > > Can someone s

[PHP] Array Sorting, 2 items...

2003-07-22 Thread Dan Joseph
101110 VISA 101998 Keep everything groupped together in their respective ba_type, and put the numbers in numeric order. I've looked at usort, and many examples of it. I can see how to use it to sort one column, but how would I sort a second to achieve this? -Dan J

RE: [PHP] Array Sorting, 2 items...

2003-07-22 Thread Dan Joseph
;) GROUP BY loan_info.id ORDER BY loan_info.loan_number ASC Maybe I'm doing something wrong there? -Dan Joseph > -Original Message- > From: Marek Kilimajer [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 22, 2003 11:25 AM > To: Dan Joseph > Cc: [EMAIL PROTECTED]

RE: [PHP] Array Sorting, 2 items...

2003-07-22 Thread Dan Joseph
nything wrong with that? Shouldn't that give me the sort I'm looking for without having to do a usort? -Dan Joseph > -Original Message- > From: Ford, Mike [LSS] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 22, 2003 11:39 AM > To: 'Dan Joseph'; [EMAIL PROTECTE

RE: [PHP] Array Sorting, 2 items...

2003-07-22 Thread Dan Joseph
:00' AND transactions.approved_date <= '2003-07-22 23:59:59') AND (loan_info.loan_number LIKE '101%' OR loan_info.loan_number LIKE '136%' OR loan_info.loan_number LIKE '707%') GROUP BY loan_info.id ORDER BY payment_methods.ba_type ASC, loan_info.loan_number ASC Any

RE: [PHP] Array Sorting, 2 items...

2003-07-22 Thread Dan Joseph
Hi, You know, this worked just fine, as did my order by. Its my brain that is completely wacked. I am going about this all wrong Thanks for all your help.. Take care.. I'll let you know how it goes. -Dan Joseph > -Original Message- > From: Marek Kilimajer [ma

RE: [PHP] Software Application Engineer WANTED (PHP/MySQL Guru)

2003-07-24 Thread Dan Joseph
Aww heck, just go AWOL? :) -Dan Joseph > -Original Message- > From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 23, 2003 5:51 PM > To: Richard Gabriel; [EMAIL PROTECTED] > Subject: Re: [PHP] Software Application Engineer WANTED (PHP/MySQL Guru) &g

[PHP] just looking for some opinions...

2003-07-24 Thread Dan Joseph
ould leave 1924, and everything else on the beginning would be gone. How would you setup your logic for this? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] just looking for some opinions...

2003-07-24 Thread Dan Joseph
Thanks John, You and 4 others (3 private direct replies) all gave me the same suggestion. I have no idea why I never think to use a regex... Appreciate the thought! -Dan Joseph > -Original Message- > From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] > Sent: Thursday

RE: [PHP] just looking for some opinions...

2003-07-24 Thread Dan Joseph
number processing, but I don't want to sit here all day and keep posting them as I come along, so I'm want to RTM... -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] just looking for some opinions...

2003-07-24 Thread Dan Joseph
Hi, > make me wonder why people are on the list if they all post answers > only back to the user. Probably just a case of hitting reply and not paying attention to it, or not realizing that it replies to the direct user. -Dan Joseph -- PHP General Mailing List (http://www.p

RE: [PHP] looking for scheduling program

2003-07-30 Thread Dan Joseph
Hi Chris, its always more fun to write your own, however, check php project our (might be spelled projekt, I can't remember). Should be on freshmeat or sourceforge. It might do what you want. -Dan Joseph > -Original Message- > From: Chris W. Parker [mailto:[EMAI

RE: [PHP] Opinions on Micro$oft .NET

2003-07-31 Thread Dan Joseph
ave a public news server if you don't. -Dan Joseph > -Original Message- > From: Jay Paulson [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 31, 2003 1:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Opinions on Micro$oft .NET > > > I know this is a little off

RE: [PHP] Opinions on Micro$oft .NET

2003-07-31 Thread Dan Joseph
. Windows Server runs fine on the same types of hardware that Linux does. -Dan Joseph > -Original Message- > From: Chris W. Parker [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 31, 2003 1:50 PM > To: Jay Paulson; [EMAIL PROTECTED] > Subject: RE: [PHP] Opinions on Micro$o

RE: [PHP] Opinions on Micro$oft .NET

2003-07-31 Thread Dan Joseph
Hi, Yeah, the framework does. The free editor is for web apps, the Visual Studio is for normal apps. -Dan Joseph > -Original Message- > From: Chris W. Parker [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 31, 2003 2:04 PM > To: Dan Joseph; Jay Paulson; [EMA

RE: [PHP] include help please

2003-07-31 Thread Dan Joseph
Hi, Take the quotes off around the $page variable. -Dan Joseph > -Original Message- > From: LoonySalmon [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 31, 2003 4:07 PM > To: [EMAIL PROTECTED] > Subject: [PHP] include help please > > > i am looking to

RE: [PHP] trying to match the front and end...

2003-08-09 Thread Dan Joseph
amic. I guess I just found it easier to go over it with a couple regular expressions, then got to thinking maybe I could combine it into one. What suggestion would you have? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] trying to match the front and end...

2003-08-10 Thread Dan Joseph
it into one regular express, instead of two. Can someone give me an example of matching the beginning and end at the same time? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Class Design Question...

2003-08-14 Thread Dan Joseph
ce, and something for me to think about. I have a habbit of learning something new, and then overusing it to death... I'm sure I'm guitly of making spaghetti. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Class Design Question...

2003-08-14 Thread Dan Joseph
ganized, but then again, if its sloppy in the performance area, I'll probably change my ways. So, I guess we're all right, depending on the situation, it could or hinder performance. As for more information right now, don't really have anything specific I could toss out there.

RE: [PHP] Class Design Question...

2003-08-14 Thread Dan Joseph
Hi, Are there any performance differences that are noticable in a 300-400 line PHP script if you overuse classes rather than straight functions? -Dan Joseph > -Original Message- > From: Chris W. Parker [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 06, 2003 1:0

RE: [PHP] trying to match the front and end...

2003-08-14 Thread Dan Joseph
my results in a day or two when I get it situated. Thanks to you both! -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] trying to match the front and end...

2003-08-14 Thread Dan Joseph
's will work if it can match the beginning and the end successfully. I should probably explain myself further. Sometimes there won't be anything to replace at the front, and sometimes nothing at the end. So it'd still need to do the front and/or end wether or not they both exist. Is there a way to tweak these to do that? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] anyone have any idea as to how to display a message after a page has started loading??

2003-08-22 Thread Dan Joseph
ve any ideas > on this?? BTW: at the time I am trying to display a message I have > already started output to the browser. Try looking up the flush() function on php.net. That _might_ do what you want. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] PHPSESSID Handling...

2003-04-01 Thread Dan Joseph
is a valid number, and if it is not, exit the application? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Auto escalation

2003-04-01 Thread Dan Joseph
er so many seconds. 3. When some levels are hit, and you want more features, just simply code them. I had it e-mail the Ops Manager when it hit level 4 (48 hours of no touches). Lemme know if that doesn't help. -Dan Joseph -Original Message- From: John W. Holmes [mai

[PHP] Opinion on a method....

2003-04-04 Thread Dan Joseph
tion? Is there something else? Are you doing something similar? All opinions greatly appreciated... -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Opinion on a method....

2003-04-04 Thread Dan Joseph
Ahh, good thought. I also have it outside the web site directory tree. -Dan Joseph -Original Message- From: Bryan Lipscy [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 2:14 PM To: 'Dan Joseph'; [EMAIL PROTECTED] Subject: RE: [PHP] Opinion on a method

RE: [PHP] Opinion on a method....

2003-04-04 Thread Dan Joseph
ated, or not). Should this do it? -Dan Joseph -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 2:20 PM To: Dan Joseph; [EMAIL PROTECTED] Subject: RE: [PHP] Opinion on a method Hi Dan, > I would like to get some opinions here on a m

RE: [PHP] Opinion on a method....

2003-04-04 Thread Dan Joseph
ks to everyone! -Dan Joseph -Original Message- From: Jon Haworth [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 3:08 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Opinion on a method Hi Dan, > the ini file looks like: hostip&user&password&databasename > after

RE: [PHP] Allowing punctuation marks in regular expressions

2003-06-06 Thread Dan Joseph
Hi, > return (preg_match("/^[a-z0-9]+$/i", $string)); That a-z0-9 is where you can do it. Just add ! or . or ? to the end: a-z0-9!?. Also, if you want upper case letters, make sure you add A-Z: A-Za-z0-9!?. -Dan Joseph -- PHP General

RE: [PHP] secure code

2003-05-29 Thread Dan Joseph
there should be some docs online. -Dan Joseph > -Original Message- > From: Tim Burgan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, May 27, 2003 7:52 PM > To: PHP Lists > Subject: [PHP] secure code > > > Hello, > > I'm wondering if you can recommend any reso

[PHP] session_regenerate_id()

2003-05-30 Thread Dan Joseph
Hi, I know this function is new, however, does anyone have any documentation on it? There is nothing on php.net... -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] A good function

2003-05-30 Thread Dan Joseph
Hi, Have a look at: http://us2.php.net/manual/en/function.ereg-replace.php That might do what you want. -Dan Joseph > What is a good function for striping white space and removing > \\..\.. and possible "," Anything that would be considered > unwanted use

RE: [PHP] Re: PHP OOP x Procedural Performance

2003-05-30 Thread Dan Joseph
. Its not a big deal, just bugs me. Its really personal preference though. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] CR in MySQL?

2003-05-31 Thread Dan Joseph
> How do you put a carriage return in a MySQL database and have it > display as a line break on the web page? str_replace ("\n", "", $var); -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] CR in MySQL?

2003-05-31 Thread Dan Joseph
Hi, > > str_replace ("\n", "", $var); > > > > -Dan Joseph > > > > Is CR == NL? What's wrong with nl2br()? Beats me, is it? nothing wrong with it I guess, I just didn't know about that function. -Dan Joseph -- PHP Gene

RE: [PHP] CR in MySQL?

2003-05-31 Thread Dan Joseph
Hi, > Just did a bit of checking.. > > NL == ASCII 010, CR == ASCII 015.. Ahh ok, so nl2br() would work. Cool, I guess you learn something new everyday. Is there a one for CR's? I noticed cr2br() wasn't listed in the manual. -Dan Joseph -- PHP General

[PHP] file output, columns, etc...

2003-06-05 Thread Dan Joseph
variables to it and have the line format itself w/o me having to calculate the length of each variable and put spaces at the end accordingly? I've tried search, but I don't have a clue what I am really looking for. Help is appreciate. -Dan Joseph -- PHP General Mailing List (http:

RE: [PHP] file output, columns, etc...

2003-06-05 Thread Dan Joseph
t did the trick, thanks! I haven't had much use for sprintf, and I didn't realize it formated things quite like that. I appreciate the help. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] new line question

2003-06-05 Thread Dan Joseph
hi, print (4+5) . "\n"; print ($num1 + $num2) . "\n"; -Dan Joseph > -Original Message- > From: Meay Santiglia [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2003 2:40 PM > To: [EMAIL PROTECTED] > Subject: [PHP] new line question > > >

RE: [PHP] Re: Migration once again

2003-06-05 Thread Dan Joseph
Hi, try changing your echo line to echo ' and then "; to '; -Dan Joseph > -Original Message- > From: Øystein Håland [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2003 3:16 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Re: Migration once ag

RE: [PHP] Re: Migration once again

2003-06-05 Thread Dan Joseph
Hi, > > myWin=window.open(\"$_SERVER[PHP_SELF]?skrivut=yeah&target=$target Actually, I see. the problem... that should read: myWin=window.open(\"' . $_SERVER['PHP_SELF'] . '?skrivut=yeah&target=$target also, use: echo '

RE: [PHP] how to make php working with asp?

2003-06-10 Thread Dan Joseph
ere is no reason for you to have to use ASP, then just use PHP by itself. If you must use ASP, you'll just have to use that. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] MSSQL - Previous/Next Paging Results

2003-06-10 Thread Dan Joseph
* FROM table You should be able to find some info under the msdn.microsoft.com page. Or, MS has several hundred newsgroups, they should have one for MSSQL. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Generate PHP using PERL???

2003-06-10 Thread Dan Joseph
resize work for you, and call it like... system ('/usr/local/bin/php resize.php'); ... in Perl. I don't prefer doing these kinds of things, but I guess I don't personally have a better solution to your problem. Maybe someone else does? -Dan Joseph -- PHP G

RE: [PHP] Best PHP books

2003-06-10 Thread Dan Joseph
Hi, I'll scond the O'Reilly books. I have Programming PHP and Web Apps w/PHP & MySQL -- both are excellent. Since you've went through one book, also keep in mind www.php.net is a great reference tool. -Dan Joseph > -Original Message- > From: Ryan A

RE: [PHP] shorthand "if" notation

2003-06-11 Thread Dan Joseph
;red") ? echo 'true' : echo 'false'; You'll find this comes in handy with things like printf and other places like that. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] array sort help...

2003-06-11 Thread Dan Joseph
ru 12 I want to sort the array by loan_info. Could someone please explain this to me? I kind of understand array sorting, but I am still lost... -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Good PHP Books

2003-06-16 Thread Dan Joseph
d fit your needs. -Dan Joseph > -Original Message- > From: Mark McCulligh [mailto:[EMAIL PROTECTED] > Sent: Monday, June 16, 2003 10:25 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Good PHP Books > > > Hi Other PHP Users, > > I have been asked to teach an intr

[PHP] functions, opinion...

2003-06-16 Thread Dan Joseph
ogramming style. Opinions? -Dan Joseph

RE: [PHP] functions, opinion...

2003-06-17 Thread Dan Joseph
s (ASP, PHP, etc) that I've "abused" functions a bit. I then got to thinking one day that maybe what I was doing was normal, but then I figured that it probably wasn't. At times it seems like it caused me to scramble all my logic. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] functions, opinion...

2003-06-17 Thread Dan Joseph
me, this makes sense. Thanks all for your opinions. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Naming a variable with a variable

2003-06-17 Thread Dan Joseph
Hi, > Ho can I create (name) a variable with other variables value? > > If $foo = "bar"; > > then the variable I want to create is $bar. $$foo = "blah"; that will set $bar equal to blah. -Dan Joseph -- PHP General Mailing List (http://

RE: [PHP] Re: Processing Form Data /w $_POST

2003-06-19 Thread Dan Joseph
e report, and thus writing only the last $report item that was built. .= would concat 'em all together. Am I misunderstanding? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] switch structure...

2003-06-19 Thread Dan Joseph
er way of doing this madness I've come up with? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] switch structure...

2003-06-19 Thread Dan Joseph
t sure is a relief to know that this list is here when I'm having bad PHP days.. which lately, is everyday... This solved my problem perfectly. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Month loop

2003-06-19 Thread Dan Joseph
Unless you just want to manually create an array with the month's names in it. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Cookies- peanut butter or chocolate??

2003-06-19 Thread Dan Joseph
Hi, > > 1. How do you setup a cookie that will not expire?? > > You can't however you could just set the year into the distance future a few years. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Chomp, Chomp, Chomp

2003-06-23 Thread Dan Joseph
Hi, chop and rtrim just take out white space. Perl's chomp takes off the last character no matter what it is. $foo = substr($foo, 0, -1); That will emulate Perl's chomp. -Dan Joseph > -Original Message- > From: Sparky Kopetzky [mailto:[EMAIL P

RE: [PHP] - Default Date

2003-06-23 Thread Dan Joseph
www.php.net has a few useful things on there, one of them is the date() function. -Dan Joseph > -Original Message- > From: Gary Ogilvie [mailto:[EMAIL PROTECTED] > Sent: Monday, June 23, 2003 9:22 AM > To: 'PHP General' > Subject: [PHP] - Default Date > > &

RE: [PHP] Date problem

2003-06-23 Thread Dan Joseph
Hi, That looks like a unix timestamp. Try this: Echo date("Y/m/d h:i:s", "1056044640"); www.php.net/date Check that link to see the lettering codes and the syntax, I might be off on what I typed up there, but you'll get the concept. -

RE: [PHP] Session problem

2003-06-24 Thread Dan Joseph
Hi, > I have a problem with php sessions. The following code works on my home PC > but doesn't work on my office PC. What can be the problem? Its possible you have cookies turned off on your office PC. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To

RE: [PHP] validation library?

2003-06-25 Thread Dan Joseph
ot;^[^@ [EMAIL PROTECTED]@ ]+\.[^@ \.]+$", $_POST["email"])) { $error = 1; $msg .= "Invalid e-mail address."; } -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Print '\n' not working

2003-06-25 Thread Dan Joseph
echo "blah\n"; I've noticed it does work. The difference? ' and ". -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Securing PHP code

2003-06-25 Thread Dan Joseph
rs, and exit() the script after your header redirects and things like that. That should get you started... -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Securing PHP code

2003-06-26 Thread Dan Joseph
low a hacker access to your docroot (not necessarily the entire system) through the web browser, and they can download all those files. Why leave the database connection information in there for him? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Securing PHP code

2003-06-26 Thread Dan Joseph
ues to worry about then where you have your mysql connect info! -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] if else if statement failed...

2003-06-26 Thread Dan Joseph
o it? That sounds kinda bizzare, how many elseif's did you have? also, were you using 'else if' or 'elseif'? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Certification

2003-06-27 Thread Dan Joseph
eve www.brainbench.com is still around. They're the only one that I can think of off hand. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP-programmers salary

2003-06-27 Thread Dan Joseph
Yo, > Can anybody tell me what is the avarage PHP-programmers salary? www.salary.com -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Variable from the form

2003-06-30 Thread Dan Joseph
register_globals set to off. If you have it on, you can use either, however, the second is more insecure. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php5 and mysql licences

2003-06-30 Thread Dan Joseph
Hi, Is the mysql client library going to be put back in for future betas? Or are we mis-reading the change log and its still there? -Dan Joseph > -Original Message- > From: Derick Rethans [mailto:[EMAIL PROTECTED] > Sent: Monday, June 30, 2003 1:05 PM > To: Chris

[PHP] Regular Expression

2003-07-01 Thread Dan Joseph
must only contain letters, numbers, #, or -."; } However, if I put any valid character as the first, and then any illegal characters ([EMAIL PROTECTED], etc) after that, it passes it as ok. Can someone tell me what I am doing wrong with the regex? -Dan Joseph --

RE: [PHP] Regular Expression

2003-07-01 Thread Dan Joseph
ice also, however, with the # and - being legal, things like ctype_alnum and others don't work out. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Regular Expression

2003-07-01 Thread Dan Joseph
Hi, > You're only checking for valid characters at the *start* of the > string, you > need to check to the *end* of the string as well: > > "^[A-Za-z0-9 #-]{1,20}$" > > ought to do it. It sure did do it. Thank you! I didn't realize that t

RE: [PHP] Regular Expression

2003-07-01 Thread Dan Joseph
Hi, That might actually be a good solution for another item I'm working with. Thanks for the tip. -Dan Joseph > -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 10:10 AM > To: Dan Joseph; [EMAIL PROTECTED] &g

RE: [PHP] Can't use strtotime for dates before 1970. Why not??

2003-09-10 Thread Dan Joseph
Hi, Unix time stamps are based on the number of ...minutes/seconds (one of the two)... between 1/1/1970 and Now(). -Dan Joseph > -Original Message- > From: Free Grafton [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2003 1:25 PM > To: [EMAIL PROTECTED] > Subje

RE: [PHP] PHP|Con insane pricing

2003-09-16 Thread Dan Joseph
unt a con like this one wtih keynote speakers (most likely paid), a large staff, a larger room (and probably multiple rooms), more food, more drinks, more advertising, and $495. That really isn't that bad. Expensive yet, but you have to ask yourself if the value is worth it for you. -

RE: [PHP] PHP|Con insane pricing

2003-09-16 Thread Dan Joseph
Hi, > > at least I dont live in a police state. I sure do.. Its a joke too.. > I hate the patriot act. You don't like illegal search and seizures? What's wrong with you? :) -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsub

RE: [PHP] PHP|Con insane pricing

2003-09-16 Thread Dan Joseph
Hi, Probably depends on location. My friend's was in Chicago, so everything was a little more expensive. -Dan Joseph > -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2003 9:39 AM > To: Dan Joseph > Cc: [EMAIL PROT

RE: [PHP] Attention: List Administrator

2003-09-19 Thread Dan Joseph
I got a few of those returns also. I also apparently launched an attack on the computer web server. Kinda hilarious if you ask me. Good excuse to install Norton also. -Dan Joseph > -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Friday, September 19

RE: [PHP] Attention: List Administrator

2003-09-19 Thread Dan Joseph
Hi, > s/Norton/linux+qmail/ haha.. that be a good solution for sure! -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] 3 mins of your time please...logic problem

2003-09-24 Thread Dan Joseph
Hi, Another way to restrict them to one vote is to set a cookie. Although not completely full-proof, its a method I've seen a lot of them use. -Dan Joseph > -Original Message- > From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 24

RE: [PHP] 3 mins of your time please...logic problem

2003-09-24 Thread Dan Joseph
Hi, > > Another way to restrict them to one vote is to set a > cookie. Although not > > completely full-proof, its a method I've seen a lot of them use. Ok, let's examine the part where I said its not full-proof... -Dan Joseph -- PHP General Mailing

[PHP] printf....

2003-10-01 Thread Dan Joseph
w arguments in /home/sites/site8/web/index_test.php on line 34 I cannot for the life of me figure out what the problem is. I've looked thru archives, examples, and pages of a book all about printf, and this just doesn't add up to me.. Anyone see the problem? -Dan Joseph --

  1   2   3   4   5   >