[PHP] PHP vs. ASP

2002-01-09 Thread Jake
comparison. Keeping in mind that I need about the same amount of info on both PHP and ASP. Also if you could point me in the right direction by including some web links that deal with the topic. Thank You, Jake -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

[PHP] Email question

2007-10-31 Thread Jake
correctly formatted email from any standard client. In most of my tests, everything works fine, but a test with many spaces trying to wrap them, it gives a =20 in the email result. It's probably simple.. sitting here too long and its halloween!! Thanks, Jake function par

[PHP] Re: Email question

2007-10-31 Thread Jake
Jake wrote: while($begin < $end) { if ($start == 'false') { if (empty($temp[$begin])) { $start = 'true'; } } else { $data .= chop($temp[$begin]) . "\n"; } $begin++; } return "$from|$subject|

Re: [PHP] Scrape? (Fetch email)

2007-11-12 Thread Jake
edd I made one using procmail instead of aliases, but same idea... here is a snippet Jake $buffer = ''; $fp = fopen("php://stdin", "r"); if ($fp) { while(!feof($fp)) { $buffer .= fgets($fp, 4096); } fclose($fp); } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Trigger an action on session timeout - feature request?

2007-11-12 Thread Jake
Is there any possibility to trigger an action when the session is inactive for some time? I need to log users' login and logout, and so I need to know about logouts caused by timeout. Neither there seems to be a possibility of a workaround like walking through all my sessions for timeouted ones

Re: [PHP] Printing within functions

2007-11-12 Thread Jake
*better practice*? I'd say 98% of the time I return a value back so I can verify the result. You could verify the result within the function, but that would cause the function to become less portable, and most of the time I use the same function in more than one place, or try to. Jake -

Re: [PHP] String manipulation

2003-06-11 Thread Jake Johnson
Use the substr function to get the part you want. Then prefix/suffix the parts you want. //you may want to derive the positions as vars $rest = substr("abcdef", 1, 3); // returns "bcd" //you may want to put the link name into a var as well for below $rest = "the link&qu

Re: [PHP] How do I capture a POST responce

2003-06-12 Thread Jake Johnson
Try using this $_POST['var_name'] Jake Johnson http://www.plutoid.com On Thu, 12 Jun 2003, Joaco wrote: > I am writing a module that will allow a customer to process a credit card > refund thru a web interface that I am designing. The problem I am having is > that once

Re: [PHP] ie issue: when I do a forced redirect with the header()function the location bar does not change

2003-06-18 Thread Jake Johnson
Have you tried... https://www.google.com";) ; ?> Regards, Jake Johnson [EMAIL PROTECTED] -- Plutoid - http://www.plutoid.com Shop Plutoid for the best prices on Rims and Car Audio Products On Tue, 17 Jun 2003, Jeff Mea

[PHP] Sessions Question

2003-10-14 Thread Jake McHenry
27;t get it to work right. Whenever I try to go to another page, or submit a time, it either doesn't work at all, or it works, but the value that's in the variable is stuck there, and I can't change it without closing the browser and starting over. Can someone point me in the right direc

RE: [PHP] Sessions Question

2003-10-14 Thread Jake McHenry
ompare the two instead of all plain text. Thanks, Jake Database Error: Not Logged In, please try again"; } } else { echo "Error: You are already clocked in!"; } } else if ($inout == "out") { if ($error != 0)

RE: [PHP] session question

2003-10-14 Thread Jake McHenry
session_destroy() I'm pretty sure, from what I've read. Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com > -Original Message- > From: Frank Tudor [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 14, 2003 8:47 PM > To: [EMAIL PROTECTED] &g

RE: [PHP] Sessions Question

2003-10-14 Thread Jake McHenry
Mainly what my problem is, is that when I turn Register_Globals = Off, then my scripts stop working. I can't even get past the page I showed you, the login page. No errors, it's just like I didn't enter any data. Jake McHenry Nittany Travel MIS Coordinator http://www.ni

RE: [PHP] Sessions Question

2003-10-14 Thread Jake McHenry
g works. All of the variables in the index.php and all other script files are passed from either forms or in the url. I'm doing pretty much a complete overhaul of my app, I know this is going to take some time, but it needs to be done. Thanks, Jake Config.php: \n \nJMTimeSheet $version

RE: [PHP] Sessions Question

2003-10-14 Thread Jake McHenry
he browser and start over. Just to make sure, register_globals should be set to off for best security reasons, correct? I guess that should have been my first question. And will sessions still work if it's turned off? Right now it's turned on for all my stuff to work. Thanks, Jake McHenr

RE: [PHP] Sessions Question

2003-10-15 Thread Jake McHenry
> -Original Message- > From: Chris W. Parker [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 15, 2003 12:01 PM > To: Jake McHenry; [EMAIL PROTECTED] > Subject: RE: [PHP] Sessions Question > > > Jake McHenry <mailto:[EMAIL PROTECTED]> > on Tuesd

RE: [PHP] Sessions Question

2003-10-15 Thread Jake McHenry
> -Original Message- > From: Chris W. Parker [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 15, 2003 12:01 PM > To: Jake McHenry; [EMAIL PROTECTED] > Subject: RE: [PHP] Sessions Question > > > Jake McHenry <mailto:[EMAIL PROTECTED]> > on Tuesd

RE: [PHP] Sessions Question

2003-10-15 Thread Jake McHenry
Chris W. Parker wrote: > Jake McHenry <mailto:[EMAIL PROTECTED]> > on Wednesday, October 15, 2003 12:39 PM said: > >> Also, say on a separate page, how do I call the variabes stored in >> $_SESSION? Like this? $name = $_SESSION["name"]; > > Yes. Bu

RE: [PHP] looking for a verification...

2003-10-15 Thread Jake McHenry
.. */5 * * * * root /user/local/bin/php /path/to/cron/filename.php Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Time Calcuations

2003-10-15 Thread Jake McHenry
e = mysql_fetch_array($totaltime); } else { $timeresult = 0; $totaltime = mysql_query("SELECT SEC_TO_TIME($timeresult)"); $totaltime = mysql_fetch_array($totaltime); } Jake McHenry Nittany Travel MIS Coordinator http://www

Re: [PHP] Sessions.. (I'm learning), can't call a variable?

2003-10-16 Thread Jake McHenry
e is not the intended recipient or an agent > responsible for delivering it to the intended recipient, you are hereby > notified that you have received this document in error and that any > review, dissemination, distribution, or copying of this message is > strictly prohibited. If you h

RE: [PHP] $_POST in MySQL query issue...

2003-10-16 Thread Jake McHenry
g > > PS if anything here is not clear to you, please let me know and I'll > clarify as I can. Thanks again. Do this first: $elementName = $_POST["elementName"]; Then you don't have to change your sql statement. That's what I've been doing all day yesterd

[PHP] Session cookie issue...

2003-10-16 Thread Jake McHenry
e set to in php.ini. How can I fix this? Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Session cookie issue...

2003-10-16 Thread Jake McHenry
John W. Holmes wrote: > Jake McHenry wrote: >> In my original script, I had the main document using cookies. Now >> that I'm setting up session, when I retrieve the cookie and put it >> in the browser in my original script, I get NTCookie appended to the >> da

RE: [PHP] Session cookie issue...

2003-10-16 Thread Jake McHenry
John W. Holmes wrote: > Jake McHenry wrote: > >> Php 4.2.2 and yes, apache 2 > > You know that's not recommended, right? PHP is not stable > with Apache2 > yet. Either way, there is a bug with a specific version of PHP and > Apache2 that messes up request vari

RE: [PHP] Session cookie issue...

2003-10-16 Thread Jake McHenry
Jake McHenry wrote: > John W. Holmes wrote: >> Jake McHenry wrote: >> >>> Php 4.2.2 and yes, apache 2 >> >> You know that's not recommended, right? PHP is not stable with >> Apache2 yet. Either way, there is a bug with a specific version of >

RE: [PHP] Session cookie issue...

2003-10-16 Thread Jake McHenry
John W. Holmes wrote: > Jake McHenry wrote: > >> What should I be using then.. Apache 1.3? And will this fix the >> problem... Or is it in the version of php I have? > > Well, yes, you _should_ be using 1.3 and the latest version of PHP. I > think just upgrading PHP a

RE: [PHP] Filemanager v1.0

2003-10-17 Thread Jake McHenry
opyright Bas"; ?> --- > Change $dir to your dir > / is the root dir of your harddisk > > If you have any improvements(not deleting files, i have > planned that already), Post or mail me!!! > > You can run it with showindex.php and from there it runs > filemanager.php. > > I would like it if you make a p[osibbility to add files(with the same > structure) > > Regards, > > Bas Just my experience... I had a very nice program like this.. Had it protected with htaccess... Someone got into it somehow.. I don't know if it was on the inside or outside, but they really messed up my machine.. Had to reload Redhat :-( Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] addslashes() vs. magic_quotes_gpc

2003-10-19 Thread Jake McHenry
get sluggish when I do a select * from tablename. I need to recover all the speed I can. If anyone has any other little tweaks I can do to gain performance, that would be helpful. Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List

[PHP] Session migration problem...

2003-10-20 Thread Jake McHenry
es 25, and 26: $result = mysql_query("SELECT * FROM `users` WHERE `uname` = '".$_POST['username']."'"); $row = mysql_fetch_array($result); Do I have a typo somewhere or something? Or did I fudge something? Thanks, Jake McHenry Nittany Travel MIS Coor

RE: [PHP] Session migration problem...

2003-10-20 Thread Jake McHenry
> -Original Message- > From: Chris Shiflett [mailto:[EMAIL PROTECTED] > Sent: Monday, October 20, 2003 9:56 PM > To: Jake McHenry; [EMAIL PROTECTED] > Subject: Re: [PHP] Session migration problem... > > > --- Jake McHenry <[EMAIL PROTECTED]> wrote: >

RE: [PHP] Session migration problem...

2003-10-20 Thread Jake McHenry
> -Original Message- > From: Chris Shiflett [mailto:[EMAIL PROTECTED] > Sent: Monday, October 20, 2003 9:56 PM > To: Jake McHenry; [EMAIL PROTECTED] > Subject: Re: [PHP] Session migration problem... > > > --- Jake McHenry <[EMAIL PROTECTED]> wrote: >

RE: [PHP] Session migration problem...

2003-10-20 Thread Jake McHenry
> -Original Message- > From: Jake McHenry [mailto:[EMAIL PROTECTED] > Sent: Monday, October 20, 2003 10:32 PM > To: [EMAIL PROTECTED] > Subject: RE: [PHP] Session migration problem... > > > > -Original Message- > > From: Chris Shiflett [mailto:[

[PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jake McHenry
me. I have the time from the server in $LogInOutHours:$LogInOutMinutes:$LogInOutSeconds $LogInOutAmPm Thanks, Jake function startclock() { var thetime=new Date(); var nhours=thetime.getHours(); var nmins=thetime.getMinutes(); var nsecn=thetime.getSeconds(); var AorP=" ";

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jake McHenry
- Original Message - From: "Chris Shiflett" <[EMAIL PROTECTED]> To: "Jake McHenry" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 2:14 PM Subject: Re: [PHP] OT - Quick JavaScript Question > --- Jake McHenry <[EMAIL

Re: [PHP] OT - Quick JavaScript Question

2003-10-28 Thread Jake McHenry
- Original Message - From: "Eugene Lee" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 28, 2003 2:45 PM Subject: Re: [PHP] OT - Quick JavaScript Question > On Tue, Oct 28, 2003 at 02:27:28PM -0500, Jake McHenry wrote: > : "Chris Sh

[PHP] Array maybe? Or many SQL insert queries

2003-10-31 Thread Jake McHenry
anyone has a better way of an array or sql queries, that will work as well. :-) Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Array maybe? Or many SQL insert queries

2003-11-01 Thread Jake McHenry
> -Original Message- > From: Burhan Khalid [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 01, 2003 3:50 AM > To: Jake McHenry; [EMAIL PROTECTED] > Subject: Re: [PHP] Array maybe? Or many SQL insert queries > > > Jake McHenry wrote: > > > H

[PHP] RE: {Spam?} [PHP] Congratulations Yoiu are a Winner

2003-11-01 Thread Jake McHenry
What the? Can you say SPAM? Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com > -Original Message- > From: Francis Weeny [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 01, 2003 6:11 PM > To: [EMAIL PROTECTED] > Subjec

RE: [PHP] Array maybe? Or many SQL insert queries

2003-11-01 Thread Jake McHenry
> -Original Message- > From: Burhan Khalid [mailto:[EMAIL PROTECTED] > Sent: Saturday, November 01, 2003 11:16 AM > To: Jake McHenry; [EMAIL PROTECTED] > Subject: Re: [PHP] Array maybe? Or many SQL insert queries > > > Jake McHenry wrote: > >>-Origi

[PHP] How to remove a variable from an array

2003-11-02 Thread Jake McHenry
{ $array = array(); $new = "{$_POST['Frequent_Guest_Program']},{$_POST['Frequent_Guest_Number']}" ; $old = $_SESSION['Frequent_Guest']; $array = array_merge($old, $new); $_SESSION['Frequent_Guest'] = $array; } header

RE: [PHP] JavaScript question

2003-11-02 Thread Jake McHenry
ter the timer expires. What you would need to do is add this to your javascript at the position when the timer expires: document.formname.submit(); Of course replace formname with the name of your form. I believe this is correct. I didn't test it. Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] more proplems with passing arrays

2003-11-02 Thread Jake McHenry
rr >Digital IGUANA >Helping Digital Artists Achieve their Dreams http://www.digitaliguana.com http://www.cancerreallysucks.org Watch names and surnames. In your select, you have surnames, and in your input field, you have names. And since you put the surnames[] values into a hidden input element, it&#

RE: [PHP] Tristan Pretty is out of the office.

2003-11-05 Thread Jake McHenry
Man he's outta the office a lot! Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, November 05, 2003 11:00 PM > To: [EMAIL PROTEC

[PHP] OT-Javascript Question

2003-11-06 Thread Jake McHenry
on is basically justif 10_Accounting_Unit.length == 1 11_Accounting_Unit.focus; of course it's a function, and the variables are used.. etc.. but I was just wondering why this doesn't work on my php page. Thanks, Jake

Re: [PHP] OT-Javascript Question

2003-11-06 Thread Jake McHenry
Yes, I'm not going in and out of php, the entire html output is php... echo << To: "Jake McHenry" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 12:16 PM Subject: Re: [PHP] OT-Javascript Question > --- Jake McHenry <[EMAIL PROT

Re: [PHP] OT-Javascript Question

2003-11-06 Thread Jake McHenry
Will I have to change my entire page format? As I said, right now it's all being echo'd Jake - Original Message - From: "Chris Shiflett" <[EMAIL PROTECTED]> To: "Jake McHenry" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Thursday,

Re: [PHP] OT-Javascript Question

2003-11-06 Thread Jake McHenry
I got everything working now. For some reason when I put it inside php, it wouldn't work with my variables with the numbers in front (1_Accounting_Unit) so I renamed all of them with the number at the end and they work fine. Jake - Original Message - From: "Chuck Vose" &l

RE: [PHP] Errors running PHP from command line

2003-11-07 Thread Jake McHenry
List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > I used to get this, I would have a page and a half (about 3 times what you posted here) of errors when I would try to run from the command line. I never did figure it out, but they disappeared when I upgraded php. Sorry, not much of a help. Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] $_POST bug?

2003-11-12 Thread Jake McHenry
#x27;s not set then manually set the variable name to 0... Has anyone else run across this? Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] $_POST bug?

2003-11-12 Thread Jake McHenry
> -Original Message- > From: Jake McHenry [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 12:53 AM > To: [EMAIL PROTECTED] > Subject: [PHP] $_POST bug? > > > I have 5 fields, all 1 character in length, numbers being > entered. If zero's a

RE: [PHP] Calling PHP functions from within javascript

2003-11-12 Thread Jake McHenry
s you have your javascript continuously refreshing the page, and changing the url, or posting data. PHP is server side, so the only way for php script to be executed is when the page loads. It might be more productive if you create the functions you want executed in javascript instead of p

RE: [PHP] $_POST bug?

2003-11-13 Thread Jake McHenry
> -Original Message- > From: Eugene Lee [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 3:48 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] $_POST bug? > > > On Thu, Nov 13, 2003 at 12:59:11AM -0500, Jake McHenry wrote: > : > : >

RE: [PHP] $_POST bug?

2003-11-13 Thread Jake McHenry
/www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > I've tried it on opera, netscape, IE, and mozilla right on the server. It seems to be a php condition thing, not really what's in the $_POST array, as I just posted print_r($_POST) does contain the values, it

RE: [PHP] $_POST bug?

2003-11-13 Thread Jake McHenry
> -Original Message- > From: Eugene Lee [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 4:28 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] $_POST bug? > > > On Thu, Nov 13, 2003 at 04:04:16AM -0500, Jake McHenry wrote: > : > : print_r($_

[PHP] preg question

2003-11-13 Thread Jake McHenry
ss'] = $_POST['Travel_Request_Email_Address']; } } else { $errorcount++; $error = $error . "" . $errorcount .") Email Address field is empty\n"; } Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] preg question

2003-11-13 Thread Jake McHenry
> -Original Message- > From: Jake McHenry [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 2:50 PM > To: [EMAIL PROTECTED] > Subject: [PHP] preg question > > > Hi all, > > I am trying to do a simple validation of an email address > being s

RE: [PHP] preg question

2003-11-13 Thread Jake McHenry
y intranet, and I didn't really need to validate.. Now I'm on a project where it's public Thanks for the help Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com > -Original Message- > From: John Nichel [mailto:[EMAIL PROTE

RE: [PHP] preg question

2003-11-13 Thread Jake McHenry
> -Original Message- > From: zhuravlev alexander [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 3:26 PM > To: Jake McHenry > Cc: 'John Nichel'; [EMAIL PROTECTED] > Subject: Re: [PHP] preg question > > > On Thu, Nov 13, 2003 at

[PHP] New problem - HELP!

2003-11-13 Thread Jake McHenry
n when it is, it's not going into that condition. If both values are there, then it works fine, because it doesn't need to go into that condition. If anyone would like to contribute for a new pair of glasses so I can see what I'm doing... Please send to [EMAIL PROTECTED] LOL

RE: [PHP] New problem - HELP!

2003-11-13 Thread Jake McHenry
> -Original Message- > From: David T-G [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 5:09 PM > To: PHP General list > Cc: Jake McHenry > Subject: Re: [PHP] New problem - HELP! > > > Jake -- > > ...and then Jake McHenry said... > %

RE: [PHP] New problem - HELP! [SOLVED]

2003-11-13 Thread Jake McHenry
> -Original Message- > From: Jake McHenry [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 13, 2003 6:12 PM > To: 'David T-G' > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] New problem - HELP! > > > > -Original Message- > > From

[PHP] Similar functions?

2003-11-19 Thread Jake McHenry
easier way for me to find if any of the chars are not numbers? I could do: if (preg_match_all("/([0-9])/", $var, $match) == 16){} But AMEX cards are only 15 digits... It's for credit card verification. Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nit

RE: [PHP] Similar functions?

2003-11-19 Thread Jake McHenry
> -Original Message- > From: Bob Eldred [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 1:21 AM > To: Jake McHenry > Subject: Re: [PHP] Similar functions? > > > Wouldn't is_numeric work? > > - Original Message - > From: &

RE: [PHP] Similar functions?

2003-11-20 Thread Jake McHenry
> -Original Message- > From: RT [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 1:40 AM > To: Jake McHenry > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Similar functions? > > > I'm not sure if this is what you're looking for but i

[PHP] array_search

2003-11-20 Thread Jake McHenry
other options that I can think of would be to limit the textarea to one line (change it to a regular text input field) or do a regex on the posted data and replace the line returns with something else (which I have tried without success). Kinda stuck here.. Not sure what I should try next... Thanks,

RE: [PHP] array_search

2003-11-20 Thread Jake McHenry
> -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 2:48 PM > To: Jake McHenry; [EMAIL PROTECTED] > Subject: RE: [PHP] array_search > > > [snip] > I've been using array_search in my scripts for a whil

RE: [PHP] array_search

2003-11-20 Thread Jake McHenry
> -Original Message- > From: Jake McHenry [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 20, 2003 2:51 PM > To: 'Jay Blanchard' > Cc: [EMAIL PROTECTED] > Subject: RE: [PHP] array_search > > > > -Original Message- > > From: Ja

[PHP] Setting counter in variable name within foreach loop

2003-11-23 Thread Jake McHenry
or, unexpected T_VARIABLE in /var/www/secure/travelrequest/travel7.php on line 33 Is there a way I can do this? Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Important notice

2003-11-27 Thread Jake McHenry
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 27, 2003 12:30 AM > To: Php-general > Subject: [PHP] Important notice > Importance: High > > > > > Important notice > > > We have just charged your credit card for money laundry > ser

[PHP] Php shell scripting

2003-12-10 Thread Jake McHenry
basic shell scripting, the value of any parameters would be $1, $2, $3, etc.. within the script, but how can I do this with PHP? Is it even possible? Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

RE: [PHP] Php shell scripting [SOLVED]

2003-12-10 Thread Jake McHenry
> -Original Message- > From: Evan Nemerson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, December 10, 2003 9:32 PM > To: Jake McHenry; [EMAIL PROTECTED] > Subject: Re: [PHP] Php shell scripting > > > On Thursday 11 December 2003 12:31 am, Jake McHenry wrote: &g

[PHP] Sorting arrays

2003-12-13 Thread Jake McHenry
order instead of ascending as it was the first time around. The arrays contain dates, and I want them in ascending order. Is there a way to limit any of the sort routines to ascending only? Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List

RE: [PHP] Sorting arrays

2003-12-14 Thread Jake McHenry
> -Original Message- > From: Bronislav Klucka [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 14, 2003 1:52 AM > To: Jake McHenry; 'Php-general' > Subject: RE: [PHP] Sorting arrays > > > Try to explain a little bit more how the arrays could be >

RE: [PHP] Sorting arrays

2003-12-14 Thread Jake McHenry
> -Original Message- > From: Bronislav Klucka [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 14, 2003 2:22 AM > To: Jake McHenry > Cc: 'Php-general' > Subject: RE: [PHP] Sorting arrays > > > > > > > > Try to explain a little bit m

RE: [PHP] Sorting arrays

2003-12-14 Thread Jake McHenry
> -Original Message- > From: Justin Patrin [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 14, 2003 2:51 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Sorting arrays > > > Jake McHenry wrote: > > >>-Original Message- > >>Fr

RE: [PHP] Sorting arrays

2003-12-14 Thread Jake McHenry
> -Original Message- > From: Justin Patrin [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 14, 2003 2:55 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Sorting arrays > > > Jake McHenry wrote: > > >>-Original Message- > >>Fr

RE: [PHP] Sorting arrays

2003-12-14 Thread Jake McHenry
> -Original Message- > From: Justin Patrin [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 14, 2003 2:55 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Sorting arrays > > > Jake McHenry wrote: > > >>-Original Message- > >>Fr

RE: [PHP] Sorting arrays

2003-12-14 Thread Jake McHenry
> -Original Message- > From: Jake McHenry [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 14, 2003 3:14 AM > To: 'Justin Patrin' > Cc: 'Php-general' > Subject: RE: [PHP] Sorting arrays > > > > -Original Message- > >

RE: [PHP] Sorting arrays [SOLVED I THINK]

2003-12-14 Thread Jake McHenry
> -Original Message- > From: Jake McHenry [mailto:[EMAIL PROTECTED] > Sent: Sunday, December 14, 2003 3:14 AM > To: 'Justin Patrin' > Cc: 'Php-general' > Subject: RE: [PHP] Sorting arrays > > > > -Original Message- > >

[PHP] Sort flags

2003-12-14 Thread Jake McHenry
ning PHP v. 4.2.2-17.2 w/ apache v. 2.0.40-21.5 Any ideas? Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] UNUSUAL PROBLEM WHEN WRITING TO THE SCREEN

2003-12-22 Thread Jake McHenry
ps TINYBLOB, BLOB, MEDIUMBLOB, or LONGBLOB. The limits on the field sizes are as follows: TINYTEXT maximum length of 255 TEXT maximum length of 65535 MEDIUMTEXT maximum length of 16777215 LONGTEXT maximum length of 4294967295 Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytra

[PHP] Dilema

2003-12-22 Thread Jake McHenry
eler names in the single array? I was thinking of making a 2 dimentional array, but not sure how I could do this. I know how to create the arrays, but not sure how I can do it in my situation. If anyone needs any more info, ask away. Thanks, Jake McHenry Nittany Travel MIS Coordi

RE: [PHP] Dilema

2003-12-23 Thread Jake McHenry
> -Original Message- > From: Larry Brown [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 23, 2003 9:34 AM > To: Jake McHenry > Subject: RE: [PHP] Dilema > > > Can you describe the page that has all of the components you > want to send and what you expect t

RE: [PHP] Securing Free Scripts

2003-12-30 Thread Jake McHenry
parch.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > Encrypt the source code. I've been looking heavily into this recently. There were some great posts on here a while back. Search the archives. Thank

[PHP] XML?

2004-01-09 Thread Jake McHenry
it easy to implement? Does it make things easier on me in the future? Etc.etc. Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] XML?

2004-01-09 Thread Jake McHenry
t deals with asp. I know it is used with php as well. Guess I'm just curious what it can do, and how I could put it to use. I do a lot of importing and exporting to/from excel. I belive it could help me out here. How does php get the data from the xml docs? I guess I'm just looking for i

RE: [PHP] picturing webpage

2004-01-09 Thread Jake McHenry
spam emails sent to me, and in search engines. It takes a dynamic screen shot of the url and shows you the image. It's dynamic, I was playing with one I found, which I can't now, but I made changes to the site and it showed up on that page. I also thought it was very cool. I'll t

RE: [PHP] picturing webpage

2004-01-09 Thread Jake McHenry
iety and not sufficient moral > > courage. > > (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and > Health" > > http://justpickone.org/davidtg/ Shpx gur > Pbzzhavpngvbaf Qrprapl Npg! > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > This is where I saw it! They're using a script, pic.cfm on a windows box which somehow grabs a screenshot of the url. Any clues how this is done? Thanks, Jake McHenry Nittany Travel MIS Coordinator http://www.nittanytravel.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] picturing webpage

2004-01-09 Thread Jake McHenry
ociety and not sufficient moral > > courage. > > (work) [EMAIL PROTECTED] -- Mary Baker Eddy, "Science and > Health" > > http://justpickone.org/davidtg/ Shpx gur > Pbzzhavpngvbaf Qrprapl Npg! > > -- > PHP General Mailing List (http://www.php.net/) &

Re: [PHP] Making coockies valid for multiple domains possible?

2004-01-12 Thread Jake McHenry
the de.server.com sub domain. Or possibly try *server.com. I havn't played with this, since I only use cookies when I manually set them, not for sessions. Hope this helps, Jake -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] to array or not to array..

2004-01-12 Thread Jake McHenry
.. but you can just initialize the variable as 0, then if the box is checked it will have the new value. What's wrong with this? Jake -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] permissions with bash scripts in php?

2004-01-12 Thread Jake McHenry
> To unsubscribe, visit: http://www.php.net/unsub.php > is the apache user and group able to run the script from the command line? I know under rh9, you have to be root to start / stop / restart just about all the services. Just an idea. Jake -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] odd and even numbers

2004-01-16 Thread Jake McHenry
I have a random number being generated from 1 to 501, is there an easy way for me to tell if the result is an odd or even number? Thanks, Jake

Re: [PHP] odd and even numbers SOLVED

2004-01-16 Thread Jake McHenry
odulus operator, and take advantage of the fact that "0" is > false, and "1" is true: > > function isOdd ($value) { > return !((int)$value % 2); > } > > -- > [ joel boonstra | gospelcom.net ] > > -- > PHP General Mailing List (http://www.php.

Re: [PHP] Can I do this? If so why wont it work

2004-01-16 Thread Jake McHenry
erein do not > necessarily represent the view of the company. If you are not the > intended recipient of this e-mail you may not copy, forward, > disclose, or otherwise use it or any part of it in any form > whatsoever. If you have received this e-mail in error please > e-mail the sender. > ** > > > What is on line 24? Try this: while ($i <= 5) { $obj_ar[$i] = $_SESSION['obj[$i]']; $i++; } Jake -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] odd and even numbers

2004-01-16 Thread Jake McHenry
o rand that I could use to get one message to go to one person, then the next to the other? I'd like it to be as close to 50/50 as possible. any questions, let me know Thanks, Jake -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] odd and even numbers

2004-01-16 Thread Jake McHenry
- Original Message - From: "Katie Dewees" <[EMAIL PROTECTED]> To: "Jake McHenry" <[EMAIL PROTECTED]> Sent: Friday, January 16, 2004 4:44 PM Subject: RE: [PHP] odd and even numbers > Can you just set a value somewhere (in a flat file, or a database)

Re: [PHP] odd and even numbers

2004-01-16 Thread Jake McHenry
- Original Message - From: "joel boonstra" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 16, 2004 4:54 PM Subject: Re: [PHP] odd and even numbers > Jake, > > > This worked.. somewhat.. here is what I want to do though. > >

[PHP] stdin/stderr

2001-04-12 Thread Jake Fan
Is there a way to execute a system command and get both stdin and stderr into separate variables? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL

  1   2   3   >