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 that the session is still the right one and it's intact,
> something like this: if (!$_SESSION["id"]) // if no session
> id, return to the login page {
> header ("Refresh: 0; url=login.php"); //or
> // header ("location:http://www.mydomain.
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
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
7;September','October','November','December');
$MonthID =
array(1=>'01','02','03','04','05','06','07','08','09','10','11','12');
$Years =
array($
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
> -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
> -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
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
.. */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
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
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 16, 2003 8:36 AM
Subject: [PHP] Sessions.. (I'm learning), can't call a variable?
> Not sure if this is a MySQL Q. or a PHP one, but here goes...
>
> I'm just learning sessions...
> And I'm tr
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
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
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
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
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
>
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
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
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
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
> -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:
>
> -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:
>
> -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:[
I know this is a bit off topic, but does anyone know of a way I can take the server
time in php and get it into javascript? here is the code so far for my javascript
clock, but it uses the clients time. I either need to replace the Date() function with
another, or somehow import php's time. I ha
- 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
- 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
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
> -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
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
> -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
{
$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
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
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
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
Hi everyone, I know this is off topic, but I was hoping someone could explain this to
me. It may be something with php, not sure though.
I have this exact code on a regular html file and it works fine, copy paste to php
file, and it doesn't work.
*snip*
and the movefocus function is basi
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
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,
t;[EMAIL PROTECTED]>
To: "Jake McHenry" <[EMAIL PROTECTED]>
Sent: Thursday, November 06, 2003 3:30 PM
Subject: Re: [PHP] OT-Javascript Question
> You're fine to echo the whole thing, but remember that php happens
> before the page is ever created (server side as oppo
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
#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
> -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
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
> -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:
> :
> : >
/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
> -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($_
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
> -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
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
> -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
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
> -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...
> %
> -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
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
> -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: &
> -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
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,
> -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
> -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
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
> -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
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
> -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
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
> -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
>
> -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
> -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
> -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
> -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
> -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-
> >
> -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-
> >
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
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
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
> -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
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
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
nfo on how to use it with php.
Thanks,
Jake McHenry
Nittany Travel MIS Coordinator
http://www.nittanytravel.com
> -Original Message-
> From: Ray Hunter [mailto:[EMAIL PROTECTED]
> Sent: Friday, January 09, 2004 9:48 AM
> To: 'Php-general'
> Subject: Re: [PHP]
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
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
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/)
&
- Original Message -
From: "Merlin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 12, 2004 3:56 AM
Subject: [PHP] Making coockies valid for multiple domains possible?
> Hello everybody,
>
> I am working on translating my site into multiple languages (i18n). Each
> di
- Original Message -
From: "Matt Matijevich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, January 12, 2004 4:18 PM
Subject: RE: [PHP] to array or not to array..
> [snip]
> That works great, I am messing myself up, however because I am using
> checkboxes
- Original Message -
From: "Jas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, January 12, 2004 4:47 PM
Subject: [PHP] permissions with bash scripts in php?
> Something I have never tried... seems fairly straight-forward but I am
> running into problems.
>
> My problem is th
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
- Original Message -
From: "joel boonstra" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 16, 2004 3:35 PM
Subject: Re: [PHP] odd and even numbers
> On Fri, Jan 16, 2004 at 02:30:59PM -0600, Jeremy wrote:
> > function isOdd ($value) {
> > return (int)$value % 2 ? true
- Original Message -
From: "Alex Hogan" <[EMAIL PROTECTED]>
To: "PHP General list" <[EMAIL PROTECTED]>
Sent: Friday, January 16, 2004 4:20 PM
Subject: [PHP] Can I do this? If so why wont it work
> I am wanting to read in several session values at once.
>
>
>
> This is what I have so
- Original Message -
From: "joel boonstra" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, January 16, 2004 3:35 PM
Subject: Re: [PHP] odd and even numbers
> On Fri, Jan 16, 2004 at 02:30:59PM -0600, Jeremy wrote:
> > function isOdd ($value) {
> > return (int)$value % 2 ? true
- 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)
- 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.
> >
> > I have two people checking the same email
by id asc);
>
> But it will create the error.
>
> Parse error: parse error, unexpected T_STRING in
/www/docs/view_product.php
> on line 144
start the quotes again...
$specs_query = mysql_query("select title, information from spec where
product=".$id." order by i
Hi everyone.
Is there a way to explode by every character in the variable?
Example:
$var = "8";
$test = explode("", $var);
output would be
$test[0] = 0;
$test[1] = 0;
$test[2] = 0;
$test[3] = 0;
$test[4] = 8;
Can I get an array like that?
Thanks,
Jake McHenry
MIS
lol . i remember this from a 2nd semester quiz 5 years ago :)
I have a little script that prints a number out from 1 to 100
[php]
";
}
?>
[/php]
I just need to add code to print something different, say "foo" if the
output is a multiple of 5 or 10 for example. How do I go about doing
Are you only using 3 and 5? just echo 3 and 5 instead of Foo and Bar. and
for both, just have a 3rd condition including both ... if (($i%3 ==0) &&
($i%5 == 0)) echo both or foobar..
does this help?
Jake
- Original Message -
From: "Bruce Gilbert" <[EMAIL PROTECTED]>
To: "Martin
LOL I told'ya I rememberd it from my 2nd semester :)
Ok, this is commonly known as the FizzBuzz problem and is used a lot as a
university project or interview question. If you can't do it, be afraid!!
http://dev.stut.net/php/fizzbuzz.php
-Stut
--
PHP General Mailing List (http://www.php.net
You have to add the href tags in the html output for the text to be a
link
in your while statement or whatever your using to obtains the links from the
database already,
instead of just displaying $link_value, change it to
$link_value
Jake
- Original Message -
From: "Stai
concatenation changes?? I've noticed this too, you can either do what you
did, or put {} around variable within quotes..
- Original Message -
From: "Ross" <[EMAIL PROTECTED]>
To:
Sent: Thursday, March 08, 2007 4:57 AM
Subject: [PHP] why did it stop working?
Can someone explain
Sorry, I didn't even think about that. I use many php files as "shell"
scripts... and u need this for any interpreter your using if you want to
execute the file directly from the command line, otherwise you would have to
type
php scriptname.php from the command line.
- Original Message --
Hi everyone,
I was hoping a problem like this wouldn't arise, but it happened :(
After the dst updates on my fedora box, this broke, and worked fine before..
now gives me 3/10 instead of 3/11 for strtotime("last sunday") anyone
know why? 3/10 was saturday!
$recent_period = strtotime('l
yepper
date
Mon Mar 12 12:25:33 EDT 2007
- Original Message -
From: "Peter Lauri" <[EMAIL PROTECTED]>
To: "'Jake McHenry'" <[EMAIL PROTECTED]>; "'PHP-General'"
Sent: Monday, March 12, 2007 5:23 PM
Subject: RE: [PHP] d
1 - 100 of 196 matches
Mail list logo