[PHP] Apache win question

2001-09-21 Thread Kevin
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 administrators

[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

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

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

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:

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

Re: [PHP] PHP Template Trouble

2006-10-26 Thread Kevin
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 related to Apache

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

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 actually equal

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

Re: [PHP] PHP Template Trouble

2006-10-26 Thread Kevin
is using the database name \{$db_name}\; print /body/html; ? 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 To: php-general@lists.php.net Subject: Re

[PHP] PHP Search Engine - Synonyms

2006-10-30 Thread Kevin
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
it would simply be: index.php?tn_id=5ln_id=4ts=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: http://www.php.net

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=5ln_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 variable

[PHP] 'View as HTML' Conversions

2006-11-07 Thread Kevin
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 dynamically, this is just in case

[PHP] Re: Spam using email on website

2006-11-07 Thread Kevin
an 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] 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

[PHP] Converting a query for use in a form

2005-06-08 Thread kevin
in 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

[PHP] Help with dates

2005-03-06 Thread Kevin
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 that would calculate dates from one calendar

[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 [EMAIL PROTECTED

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 one calendar to another. The normal

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-invent the wheel? It's part of a game

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 Javascript

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:[EMAIL PROTECTED] Kevin

[PHP] Call another program from withing a program

2003-03-20 Thread Kevin
': print META HTTP-EQUIV='refresh' content='0;URL=program_1.php'; 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
it in such a 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
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
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] 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 . br); print (B: . B::$CONFIG . br); -- 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,

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 for

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

2004-07-24 Thread Kevin
that work? Sorry if this is just dumb. Trying to learn. :) Kevin -Original Message- From: Robb Kerr [mailto:[EMAIL PROTECTED] Sent: Saturday, July 24, 2004 4:47 PM To: [EMAIL PROTECTED] Subject: [PHP] HTML Table display based upon field contents I have a complicated table that needs

[PHP] ImageColorAllocate Problem

2004-07-31 Thread Kevin
!, $textcolor); //imagecolordeallocate($im,$textcolor); $j=$j+10; } // output the image imagepng($im,try.png); ? Thanks for reading this far. Kevin. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] safe_mode restriction

2004-08-07 Thread Kevin
. -- 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 not allow me to make 'full1/1/1' and 'thumb/1/1' too. I also have

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
; $b = $b + 20; imagettftext($im, 10, 0, 0, $j, $textcolor, fonts/2.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

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 to

[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
' 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 Message- [SNIP] ... $Emp_Status_Rqmt

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

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

[PHP] Re: Object-oriented $_REQUEST?

2007-04-28 Thread keviN
?php class get { private $array; function __construct($array) { $this-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');

[PHP] Question about creating php files from a form

2010-05-13 Thread Kevin
, 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 accomplish: I am

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: snip /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'm putting that on the side

[PHP] hello

2001-01-15 Thread Kevin Cawthorne
subscribe

[PHP] kevin@intuitive.net

2001-01-15 Thread Kevin Cawthorne
subscribe

[PHP] calling perl from within php

2001-01-15 Thread Kevin McCarthy
in the perl script. I've worked with perl before, but it's been a while and I am trying to get back in the perl mind frame and I've never combined it with PHP so I could be off here. Any help would be greatly appreciated. TIA -- Kevin McCarthy Body Soul http://www.bodynsoul.com

Re: [PHP] checkboxes into MySQL

2001-01-15 Thread Kevin McCarthy
commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- 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 PR

[PHP] PHPLIB and PHPMyAdmin

2001-01-16 Thread Kevin Cawthorne
Hi, I want to install PHPLIB but one of the configuration notes says "turn off magic quotes in the php.ini file". OK But I'm, using phpMyAdmin, which I understand NEEDS magic quotes on to work. Has anyone done this using the two together? Kevin Cawthorne

[PHP] Forking email out

2001-01-16 Thread Kevin Cawthorne
is emailed. Do any of you know of a similar technique in PHP 4+ ? Kevin Cawthorne

Re: [PHP] Cobalt Raq/PHP Help Needed

2001-01-18 Thread Kevin Cawthorne
use ServerAlias in the httpd.conf file under the site you want it to point to. Ive got a RAQ3 and it works fine Kevin Cawthorne - Original Message - From: "Gareth Davies" [EMAIL PROTECTED] To: "PHP List" [EMAIL PROTECTED] Sent: Thursday, January 18, 2001 12:55 PM S

[PHP] Re: (PHP+Linux+Apache+MySQL)+(Windows+Explorer)

2001-01-18 Thread Kevin Leavell
I use PHP, Apache, MySQL, Explorer on my Win98 machine. I set up my client's sites as virtual hosts under Apache which is running in Windows. It works great for me aside from the normal Windows abnormalities. Someday I may grow up and get a Linux box going but this works well for now. Kevin

[PHP] string length?

2001-01-30 Thread Kevin Connolly
you can give me, Cheers, Kevin.

[PHP] encode string with spaces

2001-02-01 Thread Kevin McCarthy
. But if there are spaces in the string in between defined fields, it is thrown off. BTW, I tried both ereg_replace() and str_replace() with no luck as below: $my_string = "This is my dog, Jack"; str_replace(" ", "%20", $my_string); $my_string remains with space

[PHP] twig

2001-03-09 Thread Kevin Cawthorne
"Loaded Modules" of phpinfo(), as well as an entry under imap of; IMAP Support enabled IMAP c-Client Version 4.1 Can anyone shed some light on this for me? Kevin Cawthorne -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] Good Free PHP Editor?

2001-03-12 Thread Kevin Cawthorne
Edit Plus - every time !!! www.editplus.com I love it - syntax highlighting and great auto-indent features! 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 administrators

[PHP] Server side maps

2001-03-13 Thread Kevin Williams
Is it possible to use server side maps with PHP, as you can in CGI ? Also is it possible to determine the x y co-ords of a mouseclick ? regards

[PHP] separate php.ini files

2001-03-15 Thread Kevin Porter
Hi, I need to build two copies of a website on one machine - one for development and one for a backup. I want to be able to use different php.ini files with each copy of the site. Can I do this without compiling two Apache/PHP excutables? ie can it be done with virtual hosting somehow or by any

[PHP] Image background bleeding through text

2001-03-23 Thread Kevin Rose
on my output image. Here is the code I am using: $fontColor = ImageColorAllocate ($im,255,255,255); ImageTTFText($im,$fontSize,0,$fontX,$fontY,$fontColor,$fontFile,$fontText); Has anyone else experienced this? Thank you, Kevin

[PHP] Serializing/unserializing objects

2001-03-26 Thread Kevin Beckford
What I want to do is to use an object to create a site.I plan on initiaizing the object on my page index.php, and just recycling index.php with different variables, so that I get different pages. Ideally, I want the object to read a site config file, so that I can modify the site config file

Re: [PHP] Sending out mass mail without having timeout problems ..

2001-12-14 Thread Kevin Stone
in the GET string. This var refers to the next start row in your database. header(location:http://www.mydomain.com/myscript.php?row=$row;). Include an if() statement somewhere in there to break from the loop when you've reached the end of your database. Doable? -Kevin Stone On Thu, 2001-12-13 at 23:13

Re: [PHP] Miscount

2001-12-14 Thread Kevin Stone
I do not know if this will solve your problem but you should enclose each logical query segment with parenthesies... $shot_counts = SELECT COUNT(*) FROM statistik WHERE (shooter='$shooter_login' shot_one = '$t') || (shooter='$shooter_login' shot_two = '$t') || (shooter='$shooter_login'

Re: [PHP] Re: Returning html code-PROB SOLVED

2001-12-17 Thread Kevin Stone
Ahh.. I was about to reply but nevermind. The two functions you're talking about are addslashes() and stripslashes(). Yes those are very handy. :) snip Does anyone know of an easy way to store html code in a mysql database, and then retreive it, in such a way that it can display the

Re: [PHP] Need another verse

2001-12-20 Thread Kevin Stone
Okay you need to interject some emotion into your song... try something like... Now PERL's been sending emails, She sais she's feeling jealousy, Because I have a new friend, PHP -Kevin - Original Message - From: bill [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, December 20

[PHP] Using html-style tags to define a variable

2001-12-25 Thread Kevin Keeler
=http://www.m-w.com/cgi-bin/dictionary?va=$word$word/a follow me? a simple answer will do, or a point towards an appropriate turorial may serve me better in the long run thanks in advance --kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] easy quickie..

2002-01-02 Thread Kevin Stone
the expletive) is a friggin' pain in the ass. :) Esspecialy when you have to code dozens of pages. If the custom back button is implimented properly the user shouldn't ever know the difference between it and a link. -Kevin - Original Message - From: Seb Frost [EMAIL PROTECTED

Re: [PHP] array_multisort?

2002-01-02 Thread Kevin Stone
($product[1], $product[0], $product[2]); -Kevin - Original Message - From: Sebastiaan Timmers - Bean IT [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 02, 2002 6:47 AM Subject: [PHP] array_multisort? Hi List, I'm having a problem sorting the following array: $product

Re: [PHP] Holy Moly...

2002-01-03 Thread Kevin Keeler
. another GREAT source is the PHP manual itself - especially the user comments. http://www.php.net/manual/en/ ahoy and enjoy --kevin On Wed, 2 Jan 2002, Julie Hull wrote: Could someone please direct a total novice to the best PHP beginner news group. Just to many to choose from ~:) Thank

[PHP] Sessions

2002-01-03 Thread Kevin P
. I need to be able to add multple second pages while still maintaining the first page info and collecting the multiple second page info and then sending all the info to the database when the user finally clicks the finish button Can anyone help me with this Thanks Kevin -- PHP General Mailing

Re: [PHP] find all the numeric positions of a character that appears in a string multiple times

2002-01-03 Thread Kevin Stone
{ $str_list[$a] = $str_list2[$j]; // populate results list... $a++; } } } // print it out... for ($i=0; $icount($str_list); $i++) { echo $str_list[$i]br; } ? ... GAH! I second thought there's got to be a better way of doing this! Anyway hope it helps some. -Kevin Hi guys

Re: [PHP] pass variable from php script to another php script

2002-01-04 Thread Kevin Stone
the mail.php script manualy and you have access to $text by its short name if register_globals is turned on.. or by $HTTP_SESSION_VARS[text] if register_globals is turned off. Hope this helps. -Kevin - Original Message - From: toni baker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday

Re: [PHP] problem reading sessions

2002-01-04 Thread Kevin Stone
I'll add if you do not have register_globals set then you can access the variable by its long name, $HTTP_SESSION_VARS[blah]. -Kevin Is register_globals set to 'on' in php.ini? It needs to be for this coding style to work. Kirk -Original Message- From: Alastair [mailto:[EMAIL

[PHP] I am very new Question

2002-01-07 Thread Kevin P
Hello I am extremely new to PHP and I want to have a clickable item that will bring up a particular item from the database (i.e a menu) What is the proceedure here? Can anyone help me? Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [PHP] global generation

2002-01-07 Thread Kevin Stone
Wait until after the for loop has completed. for ($i=0; $i $num_results; $i++) { $variable[$i]; } global $variable; I need to call a generated variable global w/i a function but the following doesn't work: for ($i=0; $i $num_results; $i++) { global $variable[$i]; } I am trying to

[PHP] Newbie

2002-01-09 Thread Kevin P
by session or do I have to insert it into the database after each time? I would rather not put it into the database until the session is complete and they have a chance to verify their entry. Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Form Question

2002-01-10 Thread Kevin Stone
() the HTML form into the script. Then it's a simple matter of echoing the information in the Value fields of each form elements. First Name: input type=text size=30 name=first_name value=?echo $first_name;?br Last Name: input type=text size=30 name=last_name value=?echo $last_name;? That simple. -Kevin

Re: [PHP] does this work?

2002-01-10 Thread Kevin Stone
Hmm I believe that the mysql_query() function requires quotes around the query statement even it it is being passed as a variable.. mysql_query($tempsql, $db); -Kevin It seems that I have a parse error somewhere in the following code (since that's the only code in my script, it's a test

[PHP] How to get php to accept spaces in a file name?

2002-01-22 Thread Kevin Garrett
Hi guys, I've an index script which views the contents of a directory on a unix server. This unix server has also got file with windows naming convesion, which makes a file with spaces look like this /this\ is\ an\ example/. The file name itself appears fine but there is also a link to the

Re: [PHP] How to get php to accept spaces in a file name?

2002-01-22 Thread Kevin Garrett
Thanks Bogdan, From: Bogdan Stancescu [EMAIL PROTECTED] To: Kevin Garrett [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: Re: [PHP] How to get php to accept spaces in a file name? Date: Tue, 22 Jan 2002 15:30:39 +0200 rawurlencode() is the answer to your question. Bogdan Kevin Garrett wrote

[PHP] Problems with Parent Child References

2002-01-26 Thread Kevin Morris
conclusions are : 1. This is not possible in PHP due to safety mechanisms built into the language to safeguard against circular references (and infinite recursion). 2. I'm doing something wrong. Thanks to anyone willing to take a stab... Kevin Morris -- PHP General Mailing List (http://www.php.net

[PHP] Getting an include file into a string after PHP evaluates the vars?

2002-01-29 Thread Kevin Stone
with some Javascript of course eval() won't work on the string. Did I paint myself into a corner here? Or is there a way out that I just don't see. Thanks, Kevin Stone [EMAIL PROTECTED] www.helpelf.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED

RE: [PHP] Re: Getting an include file into a string after PHP evaluates the vars?

2002-01-30 Thread Kevin Stone
ob_get_contents() appears to be exactly what I needed. Thanks for putting me on the right track! :) -- Kevin Stone [EMAIL PROTECTED] www.helpelf.com -Original Message- From: CC Zona [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 6:49 PM To: [EMAIL PROTECTED] Subject

RE: [PHP] Getting an include file into a string after PHP evaluates the vars?

2002-01-30 Thread Kevin Stone
? tags within the HTML template. I must say this is a very cool set of functions. Thanks for the tip! -- Kevin Stone [EMAIL PROTECTED] -Original Message- From: Jim Lucas [php] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 6:42 PM To: Kevin Stone; [EMAIL PROTECTED] Subject

  1   2   3   4   5   6   7   8   9   10   >