[PHP] Call another program from withing a program

2003-03-20 Thread Kevin
switch ($page) { case '1': print ""; exit; break; } Is there a better way to do this? Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mysql_query maximum size

2002-11-04 Thread kevin
way that I don't have to worry about it. Thanks for any help Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Spawning a background process

2002-11-05 Thread kevin
to get it to run in the background but I can't seem to work out how to do it. Any pointers would be a great help Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cookies and Sessions

2002-11-08 Thread kevin
gnostic information, but would any of you bright bunnies be able to give me some pointers as to what I might want to look into to get more of a clue as to what is going on? Cheers for any assistance Kevin @TheConfused -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ImageFill Segmentation Fault

2002-11-11 Thread kevin
o.. I think in the mean time I am going to try using JPGs! :) Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] large file error

2002-04-11 Thread Kevin
is there some way to enable large file support for the fstat functions? when i try to do an fstat on a large file (4 gig) i get the following error: stat failed for /test/test.gz (errno=127 - Value too large to be stored in data type) -- PHP General Mailing List (http://www.php.net/) To unsubs

[PHP] MySQL Queries - Which to Use?

2001-08-17 Thread Kevin
I have been coding php for a while now but can't seem to get a grasp on which type of query I should use for a given situation. mysql_fetch_array mysql_fetch_object mysql_fetch_row Perhaps there is no right answer or perhaps the answer comes with experience. In any case, I would love to get som

[PHP] Sterilize user input function

2001-09-08 Thread Kevin
I am looking for general a function to that would render user input harmless. I would write my own but don't know what to strip from the input that could make it potentially damaging on linux boxes. I need to accept email and phone numbers. Thanks in advance, Kevin -- PHP General Ma

Re: [PHP] Sterilize user input function

2001-09-08 Thread Kevin
I think my question could be restated to: What characters are potentially lethal in user input. I can do the regex. But don't know what to parse out of the strings. would removing \ / . do the trick? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTE

RE: [PHP] Content management

2001-09-10 Thread Kevin
The following might help you in your quest. You may already be aware of them and perhaps they don't fit your bill but anyway, here it goes. I think phpwebsite is worth a look. http://phpwebsite.appstate.edu/ http://www.postnuke.org/ and have a look through here: http://www.hotscripts.com/PHP

Re: [PHP] find out names of keys in an array

2001-09-10 Thread Kevin
Below is a function I found in the manual or somewhere on php.net. I tried to find it to provide a link so the author would get some credit. Sorry but no luck. Anyway, this is a handy little function when you are trying to figure out the contents of an array. -kevin function array_tree

[PHP] Apache win question

2001-09-21 Thread Kevin
til I upgraded Apache. I am getting tired of restarting Apache 20 times a day. TIA, Sorry for the of topic question Kevin -- 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 administr

RE: [PHP] HTML Table display based upon field contents

2004-07-24 Thread Kevin
Hi Robb, I am a newbie so I wanted to ask a stupid question. In your code below if the first if statement is true it ends the php processing and then you reopen with a new before the first tag and the mailto:[EMAIL PROTECTED] Sent: Saturday, July 24, 2004 4:47 PM To: [EMAIL PROTECTED] Subject:

[PHP] ImageColorAllocate Problem

2004-07-31 Thread Kevin
Hi there, I am having a problem in ImageColorAllocate function. I am using this function in a loop. After some number of looping the function starts returning -1 value. I am attaching my code below. Can any one help me with this? Thanks for reading this far. Kevin. -- PHP General Mailing

[PHP] safe_mode restriction

2004-08-07 Thread Kevin
am able to make first two directories i.e 'full1/1' and 'thumb/1'. Script do not allow me to make 'full1/1/1' and 'thumb/1/1' too. I also have tried removing umask function. Waiting for an answer. Thanks a ton for reading this far. -- Kevin Javia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] safe_mode restriction

2004-08-07 Thread Kevin
Permissions are set to 0777. "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Saturday 07 August 2004 20:17, Kevin wrote: > > > I am able to make first two directories i.e 'full1/1' and 'thumb/1'. Script > > do n

Re: [PHP] safe_mode restriction

2004-08-08 Thread Kevin
> So after the directories are created, those are the actual permissions that > are on them? Did you actually check this or are you assuming it? If you can, > please show us the output of 'ls -al' of the directories in question. Yes, I have seen the permission and its rwx-rwx-rwx i.e 777. -- PHP

[PHP] ImageColorTransparent Problem

2004-08-08 Thread Kevin
.ttf", "Row number : $i | Color = " . $textcolor); $j=$j+12; } imagepng($im,"kk.png"); ?> Thanks a lot for reading this far. -- Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] ImageColorTransparent Problem

2004-08-08 Thread Kevin
"Jason Davidson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does IE even support PNG transparncy properly anyways??? maybe thats the > issue here? Yes, I have tried making the image with imagecreate() function and it was transparent. Using imagecreate() function I was only able

[PHP] Re: GD/PHP question

2004-08-09 Thread Kevin
This might be helpful to you. http://in2.php.net/manual/en/function.imagecopymerge.php Kevin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Variable just not Behaving Itself.

2004-08-10 Thread Kevin
'Contactor' and if not it then sets the $UserStatus to 'Flexible'. So if someone is Permanent this would still end up setting the $UserStatus to 'Flexible'. This might be the root of your problem. Excuse me if I have misread the code. :-( HTH Kevin -Original

[PHP] PHP Encoding

2004-08-11 Thread Kevin
Greetings, I have heard about PHP Encoding technique. What exactly it does and how is it useful? Any more help will really be appreciated. Thanks a lot for giving your time. -- Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Encoding

2004-08-11 Thread Kevin
How can I encode my string using my own key? Is there any method to do this? i.e. using base64_encode() and convert_uuencode() functions? -- Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] MySql DATABASE creation date

2004-08-18 Thread Kevin
Is there any way to find out MySql DATABASE creation date using PHP and MySql functions? -- Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] General copyright question

2004-09-01 Thread Kevin
make my script fall under copyright act. 3) Is it country dependent? Thank a ton for your time. -- Kevin Javia -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] static inheritance in a class object

2004-10-08 Thread Kevin
Anyone know why class static vars are inherited? (See code below) class A { public static $CONFIG = null; } A::$CONFIG = "A"; class B extends A { public static $CONFIG = null; } B::$CONFIG = "B"; print ("A: " . A::$CONFIG . ""); print ("B: " . B::$CONFIG . ""); -- PHP General Mailing

[PHP] Password Protecting

2007-03-20 Thread Kevin
assuming the password is correct, they will be forwarded to a certain page or directory. I think I need to use a DB but I am not sure anything more. Sorry it is such a simple question but hopefully all of you can help! Thanks in advanced!!! Kevin -- PHP General Mailing List (http://www.php.net/) To

[PHP] Question about creating php files from a form

2010-05-13 Thread Kevin
ope this makes sense, and thank you all for your time... - - Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Question about creating php files from a form

2010-05-13 Thread Kevin
Ashley Sheridan wrote: On Thu, 2010-05-13 at 23:07 -0400, Kevin wrote: Hello All, I am trying to figure out how to create files when a user submits a form ... I have seen something about '*fopen*' , is that the direction I should be going? Here is what I am trying to accompl

Re: [PHP] Question about creating php files from a form

2010-05-14 Thread Kevin
Paul M Foster wrote: On Thu, May 13, 2010 at 11:53:54PM -0400, Kevin wrote: /On a side note: I am having some issues with connecting to a SQLite database right now ... I'm getting the following error "Fatal Error: 'sqlite_open' is an unknown function" But I&#

[PHP] Help with dates

2005-03-06 Thread Kevin
s php provides only allow up to the unix epoch. Could you guys give me some pointers on how to accomplish this, accurately? Thanks a million! Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Help with dates

2005-03-06 Thread Kevin
. Would you know where I might find more info regarding this in stead? Yours, Kevin Well "Jason Barnett" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with dates

2005-03-06 Thread Kevin
Thank you.. duh... quite useful... not... Where do you think I check first? Yours, Kevin "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Sunday 06 March 2005 22:11, Kevin wrote: > > > Right now I'm working on a script th

[suspicious - maybe spam] [PHP] Re: [suspicious - maybe spam] Re: [PHP] Re: Help with dates

2005-03-06 Thread Kevin
Greetings Mr Mattias, I wish it was so simple. Because the dates that may need calculating can be before 1970. THis function I have.. and it's semi-working, but I've noticed irregularities during the conversion. Thanks for your suggestion!! Yours, Kevin "Mattias Thorslund&quo

Re: [PHP] Help with dates

2005-03-09 Thread Kevin
Mr Lynch, Thanks a lot for your help so far! I will answer or respond in message. Yours, Kevin "Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Kevin wrote: > > Right now I'm working on a script that would calculate dates from on

Re: [PHP] Help with dates

2005-03-14 Thread Kevin
Dear mr. Maas, First of all my appologies for taking so long to respond. I had a family death to attend to. I will respond to the message in message. Yours, Kevin "Jochem Maas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > ... > >> > >>Why

Re: [PHP] password Boxes

2005-03-15 Thread Kevin
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Does anyone know how to change the style of password boxes so when the > > characters are entered an asterisk appears rather that a smal circle? > > > > Or is this just determed by the OS and uncangable with CSS or Jav

Re: [PHP] Help with dates

2005-03-20 Thread Kevin
Dear Jochem and all the others who have offered help, Thank you all for your assistance! Thanks to all of you I have been able to reach the next step in the design process! Thanks ever so much! Most sincerely, Kevin "Jochem Maas" <[EMAIL PROTECTED]> wrote in message news:

[PHP] OT - Help creating Tables

2005-05-19 Thread kevin
have from 1 to 10 different sizes) Also need to track the transactions. Receipt Number for incoming inventory and Invoice number for outgoing. Can anyone help me figure out how to setup the tables? Once that is done, I think I can get the rest working. Thanks!!! Kevin

[PHP] OT - Table help needed~ PLEASE

2005-05-19 Thread kevin
from 1 to 10 different sizes) Also need to track the transactions. Receipt Number for incoming inventory and Invoice number for outgoing. Can anyone help me figure out how to setup the tables? Once that is done, I think I can get the rest working. Thanks!!! Kevin -- PHP General Mailing List

Re: [PHP] Object-oriented $_REQUEST?

2007-04-28 Thread keviN
""Buesching, Logan J"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] I feel that a 'request' class wouldn't be appropriate for the $_REQUEST array. The reason being, is that there isn't to that class other than the $_REQUEST array, and a bunch of 'get' methods. If this were t

[PHP] Re: Object-oriented $_REQUEST?

2007-04-28 Thread keviN
array = &$array; } public function get($key) { if (isset($this->array[$key])) return $this->array[$key]; return null; } } class request { private $types = array('COOKIE', 'REQUEST', 'GET', 'POST', 'SESSION'); function __construct() { foreach ($this->types as $type) { //do not link t

[PHP] Template Problems

2006-10-26 Thread Kevin
Hi, I have 3 domains: www.example1.com, www.example2.com www.template.com I have a PHP website on www.template.com with a database. in this database I have many tables one of which is sites, which has a list of the sites using the template with a site_id. Example of this data is: Site_id,

[PHP] PHP Template

2006-10-26 Thread Kevin
Hi, I have 3 domains: www.example1.com, www.example2.com www.template.com I have a PHP website on www.template.com with a database. in this database I have many tables one of which is sites, which has a list of the sites using the template with a site_id. Example of this data is: Site_id,

[PHP] PHP Template Trouble

2006-10-26 Thread Kevin
Hi, I am trying to have 1 template site and have an unlimited number of websites using this template site to call there own information. The sites are exactly the same except for the database, each of the sites also needs there own URL, for example one of these urls may be www.example1.com and

Re: [PHP] PHP Template Trouble

2006-10-26 Thread Kevin
sible however I'll look further into it but at the time being I have found no way. Thanks Frank Arensmeier wrote: Kevin, there is no need to post the same question three times to this list. Your chances on getting helpful responses won't increase. The issue you describe is more re

Re: [PHP] PHP Template Trouble

2006-10-26 Thread Kevin
I am looking for but its the $_SERVER[HTTP_HOST] variable that would need to be posted through correctly, even if using frames on www.example1.com (using them to load www.solution.com) $_SERVER[HTTP_HOST] would still equal www.example1.com Thanks Kevin Brad Fuller wrote: Hi, I am trying to

Re: [PHP] PHP Template Trouble

2006-10-26 Thread Kevin
Sorry, made a mistake in that last post: "even if using frames on www.example1.com (using them to load www.solution.com) $_SERVER[HTTP_HOST] would still equal www.example1.com " It would actually equal www.solution.com once its in the frame as well not www.example1.com which is what i've put

Re: [PHP] PHP Template Trouble

2006-10-26 Thread Kevin
Yes all the sites are located on a Windows 2003 Dedicated Server. Kevin wrote: Sorry, made a mistake in that last post: "even if using frames on www.example1.com (using them to load www.solution.com) $_SERVER[HTTP_HOST] would still equal www.example1.com " It would actu

Re: [PHP] PHP Template Trouble

2006-10-26 Thread Kevin
Yes all the sites are located on a Windows 2003 Dedicated Server. Kevin Brad Fuller wrote: Kevin, Are all these sites hosted on the same box? -Brad -Original Message- From: Kevin [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 9:37 AM To: php-general@lists.php.net

Re: [PHP] PHP Template Trouble

2006-10-26 Thread Kevin
tdocs example2's root dir would be c:\inetput\www\example2\htdocs Example2 cannot access the root dir of example because of the security, it gives a permission denied error and the same the other way around. Kevin Brad Fuller wrote: Cool, then what you want to do is make all the domains po

Re: [PHP] PHP Template Trouble

2006-10-26 Thread Kevin
"This site is using the database name \"{$db_name}\""; print ""; ?> If you can't get it to work using this method, I give up :P Cheers ;) - Brad -Original Message- From: Kevin [mailto:[EMAIL PROTECTED] Sent: Thursday, October 26, 2006 10:39 AM

[PHP] PHP Search Engine - Synonyms

2006-10-30 Thread Kevin
on how this would be implemented? Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] IIS Rewrite or Mod_Rewrite

2006-10-31 Thread Kevin
e it would simply be: index.php?tn_id=5&ln_id=4&ts=75 however if i run /contact/directions.html?ts=75 it doesn't work and comes up with a 404 page not found error. Is there anyway around this? Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

Re: [PHP] IIS Rewrite or Mod_Rewrite

2006-10-31 Thread Kevin
Jochem Maas wrote: Kevin wrote: Hi, I have created a website which is using the iis rewrite module to write the following: index.php?tn_id=5&ln_id=4 to something like /contact/directions.html and this works fine however I have a link at the bottom which needs to pass another vari

[PHP] 'View as HTML' Conversions

2006-11-07 Thread Kevin
as much of the styling as possible. Does anyone know how google have done this? or does anyone know any PHP equivalents, we are using the Windows IIS server. Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: 'View as HTML' Conversions

2006-11-07 Thread Kevin
Rosty Kerei wrote: "Kevin" <[EMAIL PROTECTED]> ???/ ? ?: news:[EMAIL PROTECTED] Hi, We are trying to create a script which (the same as google search and gmail) allows for PDF's, Doc's, Excel etc to be converted to HTML documents dynamic

[PHP] Re: Spam using email on website

2006-11-07 Thread Kevin
image on the fly showing 5 numbers, which the user needs to fill in in order to send, this would stop the bots from being automate your form. Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Read Through PHP Files

2006-11-10 Thread Kevin
the search results, however I would probably have to create the results first and then finally go through the results to try to weight them. Does anyone else have any experience in this or could help me out with any of the problems I am having? Thanks Kevin -- PHP General Mailing List

[PHP] Extension help

2004-11-07 Thread Kevin
Hello all, I have the source code for a C library who's functions i wish to expose to php. Ideally i'd like to be able to use dl() or put the library file location into php.ini to allow use of the functions. Is there a tutorial on how to do this? I've read over the Zend API stuff, an

Re: [PHP] loking for a item in string?

2004-11-07 Thread Kevin
On Sun, Nov 07, 2004 at 08:32:53AM -0600, Greg Donald wrote: > On Sat, 6 Nov 2004 21:58:49 -0600, Dustin Wish with INDCO Networks > preg_match() can do that. > > php.net/preg_match > Easiest possible way to do this ( for you the programmer ) is to slurp the whole file in as a string and search

[PHP] Converting a query for use in a form

2005-06-08 Thread kevin
writing to another table. I hope that comes across the way I mean. :-( Anyway, I think I used to use something called wddx with java to do this when I was coding in ColdFusion. Thanks!! Kevin Rose Valley Soaps

Re: [PHP] decimal places

2002-11-26 Thread Kevin Stone
Try.. printf("%.2f", $amount); -Kevin - Original Message - From: "Bryan Koschmann - GKT" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Tuesday, November 26, 2002 12:29 PM Subject: [PHP] decimal places > Hello, > > D

Re: [PHP] IE Problems: disappearing text with 'Back' button

2002-11-26 Thread Kevin Stone
S the way to do it. You should never rely on the browsers cache to re-input form values in a multi-page form. Allow me to clean that up for you a bit.. Hope that helps. Good luck. -Kevin - Original Message - From: "Andre Dubuc" <[EMAIL PROTECTED]> To: <[

[PHP] Re: How to give parameters to a console php-script?

2002-12-02 Thread Kevin Lowe
Hi, I want to do the same under unix:- > php myscript.php4 myparameter but the PHP CGI supplied by my ISP has register_argc_argv switched off. Is there any other way to access command line parameters when register_argc_argv is off? Thanks, Kevin -- PHP General Mailing List (h

[PHP] Re: How do I include specific files?

2002-12-02 Thread Kevin Lowe
file (into script.php) from the phpscripts directory using either require('/usr/home/www/riddie/phpscripts/myincfile.php') or require('../myincfile.php') but require('/phpscripts/myincfile.php') would not work as php does not work from paths set by the webserve

Fw: [PHP] formating numbers & date

2002-12-03 Thread Kevin Stone
To change the number of decimal places look into the number_format() function. To change the date/time structure the date() function will do what you need. Search for both on www.php.net -Kevin - Original Message - From: "Jeff Bluemel" <[EMAIL PROTECTED]> To: <[EMA

Re: [PHP] "x" as a multiplier

2002-12-03 Thread Kevin Stone
Is it possible you're mistaken somehow? x isn't an operator in PHP. Executing $a x $b will give you a parse error. Anything in quotes is automatically casted as a string. -Kevin - Original Message - From: "John Meyer" <[EMAIL PROTECTED]> To: <[EMAIL PROTEC

Re: [PHP] "x" as a multiplier

2002-12-03 Thread Kevin Stone
thing that it's not actually doing. Does that make more sense? :-\ John, please copy and paste the output of the following experiment.. $a = 1; $b = 2; echo "$ax$b"; echo $a."x".$b; echo $a.'x'.$b; -Kevin - Original Message - From: "John Meyer

Re: [PHP] Looping Addition

2002-12-05 Thread Kevin Stone
You simply need the absolute value of the difference. So taking Stephen's example below.. $total = 0; foreach( $_POST['nums'] as $number ) { $total -= $number;// if users inputs 5 as first value result equals -5 $total = abs($total); // result now equals 5 } - Original Message -

[PHP] PHP adding slash to MySql results

2002-12-06 Thread Kevin Lowe
a only? What do I need to change and can I do this within a .htaccess file so it can easily be applied to all my scripts without changing them? Many thanks, Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP adding slash to MySql results

2002-12-06 Thread Kevin Lowe
Forgot to say this is running in FreeBSD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP adding slash to MySql results

2002-12-06 Thread Kevin Lowe
Hi Marek, That is switched off. However, I was just having another look at the problem, and, it actually appears to be fixed! I didnt shange anything, so the ISP must have done something? Thanks, Kevin Marek Kilimajer <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]"&

Re: [PHP] Forms

2002-12-10 Thread Kevin Stone
This HTML is invalid. Is it the same way in your script? Mary Do instead. Mary -Kevin - Original Message - From: "Beauford.2002" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2002 2:36 PM Subject: [PHP] F

Re: [PHP] PHP and MySQL

2002-12-11 Thread Kevin Stone
x27;, '$login', '$password', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NOW())"; -Kevin - Original Message - From: "Pushpinder Singh Garcha" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, December 11, 2002 1:30 PM Su

Fw: [PHP] problems with jsp & php

2002-12-11 Thread Kevin Stone
I may be wrong about this becuase I don't program JSP but if the values in $_GET are strings then you may need to encase them in quotes. var action = ""; -Kevin - Original Message - From: "Jeff Bluemel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Se

[PHP] JSRS/PHP Calendar Script

2002-12-11 Thread Kevin Stone
ide-tracked. So if someone has already developed such a script I'd be very interested. Much thanks, Kevin Stone [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] php4 / sessions

2002-12-13 Thread Kevin Porter
Hi, I'm trying to get a session variable to work. Here's the code at the start of my script: session_name('CLIENTFILTER'); session_start(); session_register( 'client_filter' ); As I understand it, the variable $client_filter should now be available to me? But I can't see it with either just $cli

Re: [PHP] php4 / sessions

2002-12-13 Thread Kevin Stone
The variable must exist before you can register it in the session.. $client_filter = 'filter'; session_register('client_filter'); ..or simply.. $_SESSION['client_filter'] = 'filter'; -Kevin - Original Message - From: "Kevin Porter"

Re: [PHP] FTP Listings for HTML page

2002-12-13 Thread Kevin Stone
Yes it is doable. see. open_dir(); @ www.php.net You can also find a number of premade scripts on HotScripts.com or one of the class stores. Do a search on Google. -Kevin - Original Message - From: "Randum Ian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sen

Fw: [PHP] Question about "if" statement evaluating (0=="string") as TRUE

2002-12-13 Thread Kevin Stone
Now what you're asking is Does the string "0" equal the string "string". The answer is False. -Kevin - Original Message - From: "Scott Hurring" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 13, 2002 12:27 PM Subject: [PHP]

Fw: [PHP] Difference between 2 Dates

2002-12-13 Thread Kevin Stone
Oh dear. In what format are you storing the date in your database? If you can convert what you have into UNIX EPOCH then you can simply subtract your date against mktime(); then echo the result through getdate() and be done with it in three lines of code. -Kevin - Original Message

Re: [PHP] Difference between 2 Dates

2002-12-13 Thread Kevin Stone
ts2) { // .. blah blah blah. } -Kevin - Original Message - From: "Colin Bossen" <[EMAIL PROTECTED]> To: "vernon" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, December 13, 2002 2:50 PM Subject: Re: [PHP] Difference between 2 Dates &

[PHP] PHP Auto-Responder

2002-12-16 Thread Kevin Stone
niversial enough that somebody has come up with a solution. I appreciate any help tracking it down. -Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Variables - Help

2002-12-16 Thread Kevin Stone
Difficult to tell exactly what your problem is but to disassociate a varaible name to its place in memory you use, unset($varname); -Kevin - Original Message - From: "Beauford.2002" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Tuesday, D

Re: [PHP] PHP Auto-Responder

2002-12-16 Thread Kevin Stone
- Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 3:16 PM Subject: Re: [PHP] PHP Auto-Responder > On Tuesday 17 December 2002 04:16, Kevin Stone wrote: > > I need a solution to activate a PH

[PHP] Re: PHP Auto-Responder

2002-12-17 Thread Kevin Stone
Good suggestions. Thank you very much. -Kevin - Original Message - From: "Joel Boonstra" <[EMAIL PROTECTED]> To: "Kevin Stone" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, December 17, 2002 6:41 AM Subject: Re: PHP Auto-Responder &g

Re: [PHP] nested if in a for statement

2002-12-17 Thread Kevin Stone
Prepare the rubber glove... Chang this // $i <= count($userVars) To this // $i < count($userVars); Arrays start at index 0, not 1. -Kevin - Original Message - From: "James Brennan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 17

Re: [PHP] nested if in a for statement

2002-12-17 Thread Kevin Stone
Oops sorry didn't mean to add to the spam. LOL -Kevin - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 17, 2002 2:24 PM Subject: Re: [PHP] nested if in a for statement > Prepare the rubber

Re: [PHP] old getenv?

2002-12-18 Thread Kevin Stone
that suggested getenv() may not return certain values if Register Globals is turned on, but I do not believe it is true. -Kevin - Original Message - From: "Bryan Koschmann - GKT" <[EMAIL PROTECTED]> To: "PHP General" <[EMAIL PROTECTED]> Sent: Wednesday, Decembe

[PHP] Displaying first 20 characters of a comment

2002-12-19 Thread Kevin Meredith
thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] directory list function?

2002-12-27 Thread Kevin Stone
There is no builtin function to do this in one step but it's not in anyway difficult.. http://www.php.net/manual/en/function.opendir.php -Kevin - Original Message - From: "Dade Register" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, December 27,

Re: [PHP] PHP complied code

2003-01-02 Thread Kevin Stone
es are you don't have to. The benefits to the casual programmer are negligable. -Kevin - Original Message - From: "Manuel Ochoa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 1:46 PM Subject: [PHP] PHP complied code > > I

Re: [PHP] Session Question

2003-01-03 Thread Kevin Stone
call session_start() on another page it looks for the cookie, retrieves the session id, and makes the associated variables in the file available to your script. I suggest you read the manual. It's all there... http://www.php.net/manual/en/ref.session.php -Kevin - Original Message - Fro

Re: [PHP] Variables that persist through reload?

2003-01-03 Thread Kevin Stone
That's just the browser's cache, nothing to do with PHP. Not all browsers will cache succesfully. If you want to guarentee that variables will be stored for later retrieval (or for repopulating a form) then you need to use sessions or store the content of the variables in a databas

Re: [PHP] Variables that persist through reload?

2003-01-03 Thread Kevin Stone
Woops.. sorry I missed the crux of your post. I didn't read all the way down. :) -Kevin - Original Message - From: "Kevin Stone" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "David Chamberlin" <[EMAIL PROTECTED]> Sent: Friday, January 03, 200

Re: [PHP] One more form question

2003-01-03 Thread Kevin Stone
ho "$choice"; > } > echo ''; > > I've got to imagine there's a better way > > Thanks, > Dave Okay let me take another hack at one of your questions and maybe I won't screw up this time. ;-) PHP has no functional control over the HTML c

Fw: [PHP] Get your *own* IP...?!

2003-01-06 Thread Kevin Stone
In Apache it's $_SERVER['SERVER_ADDR'] But I don't know if this applies to IIS as well. -Kevin - Original Message - From: "Charles likes PHP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, January 06, 2003 1:45 PM Subject: [PHP] Get

[PHP] Warning: Unlink failed (Permission denied) in

2003-01-08 Thread Kevin Meredith
Please could someone let me know the cause of this error message "Warning: Unlink failed (Permission denied) in ...". Regards Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How can I redirect to another php page

2003-01-08 Thread Kevin Stone
http://groups.google.com/groups?num=30&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&; q=url+redirect+php -Kevin - Original Message - From: "Teo Petralia" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 08, 2003 1:46 PM Subject

  1   2   3   4   5   6   7   8   9   10   >