Re: [PHP] PostTrack Reminder

2008-11-24 Thread [EMAIL PROTECTED]
On Nov 24, 2008, at 3:00 PM, Daniel P. Brown wrote: On Mon, Nov 24, 2008 at 2:49 PM, Wolf <[EMAIL PROTECTED]> wrote: Sure Dan, just pad your metrics with yet another post... :) Much like you just did. ;-P Nahhh If we was going for that he would just get it stuck in an e

Re: [PHP] how can I make an email bounce

2008-11-24 Thread [EMAIL PROTECTED]
If you don't have such access, let me know, and I can probably help out with it. -- Jason Pruim [EMAIL PROTECTED] 616.399.2355

[PHP] Need Programmers for Projects

2008-10-17 Thread [EMAIL PROTECTED]
I am looking for some help with projects. Please let me know if you're interested.

[PHP] Modifying Arbitrarily Deep Arrays with SPL

2008-07-19 Thread [EMAIL PROTECTED]
Does anyone know how to use SPL to modify the keys and values of an arbitrarily deep array? Specifically, I want to utf8_encode() the keys and values of arbitrarily deep array before passing it to json_encode(). This would seem to be the perfect job for SPL. Thx, Chris -- PHP General Ma

[PHP] survey request

2008-06-19 Thread [EMAIL PROTECTED]
-berlin.de/pepper/survey/ Thank You!!! Contact: [EMAIL PROTECTED] -- View this message in context: http://www.nabble.com/survey-request-tp18010941p18010941.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] PostTrack Updates

2008-04-05 Thread [EMAIL PROTECTED]
Original Message: - From: Robert Cummings [EMAIL PROTECTED] Date: Sat, 05 Apr 2008 22:14:44 -0400 To: [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], php-general@lists.php.net Subject: Re: [PHP] PostTrack Updates On Sat, 2008-04

Re: [PHP] LDAP in php

2008-04-03 Thread [EMAIL PROTECTED]
Nathan Nobbe schrieb: > I am 100% aware of the fact that LDAP is a read optimized database > (though I am not sure where this optimization goes when back end is > PostgreSQL, for example - the LDAP "commands" seem simple and > re-writing them into SQL can't be so much overhead; the

Re: [PHP] LDAP in php

2008-04-03 Thread [EMAIL PROTECTED]
Richard Lynch schrieb: You probably wouldn't run it through Apache, but you probably COULD run an LDAP server of sorts using http://php.net/sockets Yes... this starts to sound as a solution... Sorry, I hope I do not sound lazy, I just need a bit of a help to locate the starting point. I tho

Re: [PHP] LDAP in php

2008-03-31 Thread [EMAIL PROTECTED]
Chris schrieb: If ldap can already use a database backend, just use the normal ldap_* functions to do all of the work, don't re-invent it all. http://www.php.net/ldap Just wanted to avoid installing and maintaining a LDAP server and mapping all the data. Perhaps I am underestimating it, bu

[PHP] LDAP in php

2008-03-30 Thread [EMAIL PROTECTED]
As LDAP can have SQL back-end (I saw an example with PostgreSQL) - is it a very wild idea to implement (a simple) LDAP server in php? We have all the address data already in PostgreSQL and a php application managing all of it. I am thinking of simple uses, such as providing LDAP address books

[PHP] De-Duplicate A Query Result List

2008-03-23 Thread [EMAIL PROTECTED]
Newbie Question: Using let's say, a contacts database table - I would like to get a unique list of categories for whatever was selected. So, let's say I chose to find everyone in California - then I would like to create a unique list of categories (for California) - with no duplicates - (to be u

Re: [PHP] Newbie ' If Statement' Question

2008-03-16 Thread [EMAIL PROTECTED]
Thank you everybody for these great tips! -- Thanks - RevDave Cool7 @ hosting4days . com [db-lists] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Newbie ' If Statement' Question

2008-03-14 Thread [EMAIL PROTECTED]
Hello Folks, I would like to be able to wrap a 'form' inside a php 'if statement' - so that the form will appear if the 'if condition' is met. - most likely I cannot have a getField('testfield') !="") { print " ";}else {print "Non Print";} ?> -- Thanks - RevDave Cool7 @

[PHP] php-5.2.5 glibc detected *** free()

2008-02-23 Thread [EMAIL PROTECTED]
Hello all I got "glibc detected" errors about several php extensions on my debian box both by executing php-cgi or php-cli. Config: # cat /proc/version Linux version 2.6.24-rc7-vs2.2.0.5.0.7 ([EMAIL PROTECTED]) (gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)) #2 S

Re: [PHP] flash with PHP

2008-02-03 Thread [EMAIL PROTECTED]
Alain Roger wrote: Hi, i would like to have a flash menu in my PHP website. this is no problem. My problem is how to exchange data between PHP andFlash (in both direction). i found a lot of posts on this theme, but nothing with really works under ActionScript 3 and PHP. does anyone already sol

Re: [PHP] php competion

2008-02-03 Thread [EMAIL PROTECTED]
doc wrote: come on people try you skills at http://www.rhwebhosting.com/comp/index.php Are these people joking ;o) This sounds more like "hey, give us 4-5 great products for free, and we may award you" ;o) I thought competitions usually give some more or less "abstract" tasks, where peop

Re: [PHP] Encryption failing

2008-01-17 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
(forgot to copy the list) On Jan 16, 2008, at 5:08 PM, Richard Lynch wrote: Is it possible that 4% of the time, you have spaces on the start/end of the string, which get trimmed before encryption? In this case, no. In trying to simplify the situation to narrow the possibilities of error,

Re: [PHP] Encryption failing

2008-01-16 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Many thanks, Mike --- yours works great... 0 errors. On Jan 16, 2008, at 9:24 AM, mike wrote: function data_encrypt($data) { if(!$data) { return false; } return base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $GLOBALS['config']['salt'], $data, 'cbc', md5($GLOBALS['config'][' s

Re: [PHP] Encryption failing

2008-01-16 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
--- 70: String: 5214006139804600 -|- Enc: Ϊ%bÇCsšB>sìD%Å#z[ä . m…‡¿m§ð -|- Dec:àc8 -|- Nope 75: String: 1034702254251899 -|- Enc: !:Ã2ºÍé×»àe2s? :Ù0LµŒÕ[« -|- Dec:à`*' -|- Nope 89: String: 8245007043826594 -|- Enc: µÆ Íãd-‘Á´E3½yÍ×v‹,ZØW"éûqüŽ‚ó -|

Re: [PHP] Encryption failing

2008-01-16 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jan 15, 2008, at 10:48 PM, Casey wrote: It returns the correct value. If you look at the last example, and run base64_decode on "MDAwMzEwMDI0NDA0MTMyOQ==", you will get "0003100244041329". Oops. "Haste makes crappy programming." Ken -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Encryption failing

2008-01-15 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jan 15, 2008, at 11:08 PM, Andrés Robinet wrote: I second that, you should base64 encode values before encrypting and base64 decode them after decrypting to be safe. Thanks for the idea. Like this? Fails 500/500 times on my test. if ($EorD == "D")

Re: [PHP] Encryption failing

2008-01-15 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jan 15, 2008, at 11:08 PM, Andrés Robinet wrote: -Original Message- From: Bastien Koert [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 16, 2008 12:55 AM To: Ken Kixmoeller -- reply to [EMAIL PROTECTED]; php- [EMAIL PROTECTED] Subject: RE: [PHP] Encryption failing are you

Re: [PHP] Encryption failing

2008-01-15 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jan 15, 2008, at 7:06 PM, Casey wrote: Maybe you could echo the results of the failed ones and compare. I did that at first, thinking that "something about these strings might cause the problem." But then I realized: I can't blame the data. I don't have any control over what users use

[PHP] Encryption failing

2008-01-15 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hey --- - - I am in the process of upgrading the encryption technology I am using from (64 bit) blowfish to (256 bit) rijndael. The code (and some explanations) is below, but the results are, um, unusual, and I can't see what I am doing wrong. For testing, I have a program that generates

[PHP] searching in multidimensional array for a date

2008-01-12 Thread [EMAIL PROTECTED]
Hello to everybody, I am using the following function in order to search in multi-dimensional array, as per note added on http://it.php.net/array_search, [code] function array_search_recursive($data0, $FinRecSet, $a=0, $nodes_temp=array()){ global $nodes_found; $a++; foreach ($FinRecSet as $

Re: [PHP] utf-8 in $_POST

2008-01-08 Thread [EMAIL PROTECTED]
Olav Mørkrid wrote: i specify iso-8859-1 in both header and body: if two different people post the norwegian phrase "Godt nytt år" (happy new year), it may appear in the following variations: [CONTENT_TYPE] => application/x-www-form-urlencoded;charset=iso-8859-1 $_POST["input"] = "Godt nytt

Re: [PHP] utf-8 in $_POST

2008-01-07 Thread [EMAIL PROTECTED]
Olav Mørkrid wrote: hello does php have any built-in functions to convert post data from whatever format it arrives in to whatever format i wish? example: i use iso-8859-1 internally, and even specify accept-charset=iso-8859-1 in my html, but some browsers (phones) send utf-8 anyway. do i hav

Re: [PHP] Question about authenticating people...

2007-11-28 Thread [EMAIL PROTECTED]
Jason Pruim wrote: Set the main page, so that when you login, it accesses a master database, which has the username, password, and database name stored in it. Write the database name to a session variable, which I could then use in my mysql connect file for the database... This sounds complet

[PHP] Is there a 'Beginner's' PHP List

2007-11-14 Thread [EMAIL PROTECTED]
Come to think of it - if there is a more basic 'newbie' forum list (for PHP beginners like myself) that anyone knows of (I found a few listed below) - please let me know and I'll use that instead for these 'basic' questions... Until I get up to speed... I found these 2 - any others (better)? http

Re: [PHP] Newbie question - current date - time

2007-11-14 Thread [EMAIL PROTECTED]
Thanks Folks, The date function worked great! -- Thanks - RevDave Cool7 @ hosting4days . com [db-lists] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Newbie question - current date - time

2007-11-14 Thread [EMAIL PROTECTED]
Hi Folks, Newbie question : - how do I get and display the current date? - how do I get and display the current time? I see the getdate function - but I'm not sure if this is the right function or how to display it http://www.php.net/manual/en/function.getdate.php -- Thanks - RevDave Coo

Re: [PHP] PHP Programmers Needed

2007-11-12 Thread [EMAIL PROTECTED]
quite a few freelancers looking to make a little extra money or people out of jobs. My intentions were only the best. If you're not interested please take Wolf's advice and delete it. On Nov 12, 2007 7:53 AM, Daniel Brown <[EMAIL PROTECTED]> wrote: > On Nov 12, 2007 10

[PHP] PHP Programmers Needed

2007-11-11 Thread [EMAIL PROTECTED]
I am looking to hire PHP programmers to help me in various projects I have going on. They all involve PHP, MySQL extensive knowledge and JavaScript would be a plus. Please email me if you're interested. Please include references for people you've done jobs for in the past, work history, knowledg

Re: [PHP] PHP ide?

2007-11-08 Thread [EMAIL PROTECTED]
Andrew Peterson wrote: I'll try installed it again with none of the other nonsense. PDT has the so called ALL-IN-ONE thing, however I don't really trust it. I would suggest the following - a) Be sure you have the latest Java. b) Get the normal, traditional Eclipse. c) Update it (Help > Soft

Re: [PHP] PHP ide?

2007-11-08 Thread [EMAIL PROTECTED]
George Pitcher wrote: I used Eclipse a few years ago when I was pretending to be a java developer. I use Eclipse for 1 1/2 year now and just lately it became nice for what I need (decent PDT, decent Subclipse). Can't imagine what it looked like few years ago. Since then I've mainly been us

Re: [PHP] measuring script execution time

2007-11-08 Thread [EMAIL PROTECTED]
Daniel Brown wrote: > By name alone (a recursive acronym), PHP stands for PHP Hypertext > Preprocessor. That means, before the HTML or other output is sent to > Apache to be served to the client, PHP has parsed, interpreted, > processed, and returned all of the code, and then terminated the PHP >

Re: [PHP] PHP ide?

2007-11-08 Thread [EMAIL PROTECTED]
Andrew Peterson wrote: Does anyone else find the Eclipse programs run EXTREMELY slow? Maybe there's some sort of configuration I'm missing. -Andrew Eclipse is Java based. You need a decent machine and decent amount of RAM. More tips - a) Install only what you need Eclipse is a universe of

Re: [PHP] PHP ide?

2007-11-08 Thread [EMAIL PROTECTED]
Hulf wrote: > Just wondering if anyone uses an IDE and if so what ones? > > Ta, > > H. Eclipse w/ PDT is great. Excellent integration with Subversion (Subclipse). Shows the changed files in the file browser, extremely easy diff, history, etc. Iv -- PHP General Mailing List (http://www.php.ne

[PHP] measuring script execution time

2007-11-08 Thread [EMAIL PROTECTED]
Hello, running php 5.x as Apache module (both 1.3.x and 2.2.x) seems to report longer execution time when users sit on slower connection. Is it possible that end of script execution is when the last bit is passed to the user by Apache and the connection is closed? Any workaround around that?

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Sep 6, 2007, at 1:17 PM, Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: Aesthetically, though, even though I used the "horizontal" classes, it comes out vertical Never mind (not that you did) -- got it working fine --- -- PHP General Mailing List (http://www.ph

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Sep 6, 2007, at 10:47 AM, Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: Just wondering, though, if you have ever created PHP code to generate these menus on-the-fly? Never mind === I got it working. (Mechanically) -- Aesthetically, though, even though I used the "horiz

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Sep 6, 2007, at 11:02 AM, Edward Kay wrote: You may want to take a look at Yahoo's YUI menu: http://developer.yahoo.com/yui/menu/ These can be defined using standard XHTML markup. Thank you --- I will do that -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

Re: [PHP] Generating foldout menus in php

2007-09-06 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Sep 3, 2007, at 12:42 PM, tedd wrote: that would be more complicated than just using css with js, like so: http://sperling.com/examples/menuh/ http://sperling.com/examples/menuv/ Why complicate your life? Hey, tedd - - - - I like this tool, and am playing with it -- -- Just wonderin

Re: [PHP] Time formatting issues

2007-07-16 Thread [EMAIL PROTECTED]
Melissa W. Dickens wrote: Thank you VERY much Jay, Chris and Gary! I tried the php code to change it and that worked Great, as Chris suggested I am about to see how it flies with changing the SQL DB directly as Gary suggested. I might even just ADD a new DB field for the new format... The mkt

Re: [PHP] Time formatting issues

2007-07-16 Thread [EMAIL PROTECTED]
Melissa wrote: I have a DB with a field type DATE (called TideDATE) and a field type TIME (one of which is called highFIRST) How can I format the time fields from displaying 00:00:00 (a 24 hour clock) to HH:MM am/pm format? The DATE function has all kinds of neat formatters, but I do no

Re: [PHP] leaving UA trace when getting XML from URI

2007-06-27 Thread [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote: hello, i wrote a small RSS reader using file_get_contents to get the XML from the URI - however i noticed that this does not leave trace (User Agent) in the remote server logs. is there a way in PHP to get XML from URI and leave UA trace in the remote server logs

[PHP] leaving UA trace when getting XML from URI

2007-06-27 Thread [EMAIL PROTECTED]
hello, i wrote a small RSS reader using file_get_contents to get the XML from the URI - however i noticed that this does not leave trace (User Agent) in the remote server logs. is there a way in PHP to get XML from URI and leave UA trace in the remote server logs? thanks, iv -- PHP Genera

[PHP] parsin XML with DOM

2007-06-26 Thread [EMAIL PROTECTED]
hello, could somebody give me some direction here. i am trying to build a RSS 2.0 parser using DOM. what puzzles me is the following - i get the XML - $RSS_XML = file_get_contents($params['uri']); then i instantiate a DOM object - $RSS_DOM = new DomDocument(); then i load the XML - $RSS_

Re: [PHP] Removing a row from an Array

2007-06-08 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jun 5, 2007, at 5:20 PM, Richard Lynch wrote: am I missing something (other than a few brain cells)? http://php.net/unset As in, unset($array['goner']); Yup, that's the one. Thanks to you, too. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/

Re: [PHP] Re: Removing a row from an Array

2007-06-04 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jun 4, 2007, at 3:27 PM, Al wrote: What determines the rows you want to keep? User selection. The array is essentially a "shopping cart"-type of object. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Removing a row from an Array

2007-06-04 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jun 4, 2007, at 3:29 PM, Peter Lauri wrote: You could use unset() for the rows you don't want to keep. Ah --- yes, that looks like it would do it. I was expecting something to find something array-specific. Thank you, Pater and Roberto -- PHP General Mailing List (http://www.php.net

Re: [PHP] Removing a row from an Array

2007-06-04 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jun 4, 2007, at 2:25 PM, Jay Blanchard wrote: http://us2.php.net/manual/en/function.array-pop.php Thanks, Jay --- I did see that function, but forgot about it when I asked the question. I should have added that *any* array row among many could be the one that needs to be removed. I co

[PHP] Removing a row from an Array

2007-06-04 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hey - - - - - - -- To do this, I am: - looping through the array - copying the rows that I want to *keep* to a temp array, and - replacing the original array with the "temp' one. Seems convoluted, but I couldn't find any function to remove a row of an array. Am I missing something (other t

[PHP] Using PHP to retrieve and display file from MySQL database

2007-05-25 Thread [EMAIL PROTECTED]
I am trying to download a file from MySQL and display it using the following PHP script, but it isn't displaying the file just a list of files in the database. Please help. Code Begin Download File From MySQL "; } else { while(list($id, $name) = mysql_fetch_array($result)

[PHP] Downloading a file from MySQL

2007-05-25 Thread [EMAIL PROTECTED]
I am trying to download a file from MySQL using the following code, but it doesn't display a file just a list of files in the database. Anyone have any suggestions? Code Begin Download File From MySQL "; } else { while(list($id, $name) = mysql_fetch_array($result))

[PHP] Uploading Files into MySQL

2007-05-24 Thread [EMAIL PROTECTED]
I am working on a script to upload files into MySQL db. The following script uploads to a file system how do I go about uploading the file into the DB? Where do I put the SQL statement in the code below? 10) { die("File exceeds allowed size.");

Re: [PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread [EMAIL PROTECTED]
/CPU bandwidth. There will probably be far more files stored than accessed. Hope this helps everyone else with their opinions. On 5/20/07, Richard Davey <[EMAIL PROTECTED]> wrote: Hi benc11, Monday, May 21, 2007, 2:16:19 AM, you wrote: > I am in the process of adding a part to my webs

[PHP] Uploading Files Should I use MySQL or Server for storage?

2007-05-20 Thread [EMAIL PROTECTED]
I am in the process of adding a part to my website which would include pictures, pdf files, txt files, and excel files. The files sizes could be anywhere on average of 100k to 2mb. Do you think I should be uploading the files to a MySQL database or to my server? I have head that there are pros

[PHP] PHP 5.2 array() == null

2007-05-15 Thread [EMAIL PROTECTED]
Hi people i was just curios to ask whether array() == null should always return true. and then why i'm testing this with php 5.2.2 greetings dominic letz -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Recursive function for array task?

2007-04-27 Thread [EMAIL PROTECTED]
2, $group)) $foundGroups[] = $i; $newGroup = $keys; foreach($foundGroups as $i) { $newGroup = array_merge($newGroup, $groups[$i]); unset($groups[$i]); } $groups[] = $newGroup; } foreach($groups as &$group) $group = array_unique($group); prin

Re: [PHP] Recursive function for array task?

2007-04-27 Thread [EMAIL PROTECTED]
oup = true; break; } else if (in_array($key2, $group)) { $group[] = $key1; $foundGroup = true; break; } } if ($foundGroup == false) $groups[] = $keys; } foreach($groups as &$group) $group = array_un

Re: [PHP] Find a what class a variable is

2007-04-27 Thread [EMAIL PROTECTED]
echo get_class($JC1); Am 27.04.2007, 09:41 Uhr, schrieb John Comerford <[EMAIL PROTECTED]>: Hi Folks, Is is possible to detect what class a variable is eg. $JC1 = new Button(); $JC2 = new TickBox(); Is it possible to find out what class $JC1 is ? TIA, JC -- PHP General M

Re: [PHP] sorting multi array

2007-04-25 Thread [EMAIL PROTECTED]
array_multisort accepts column arrays but here you try to sort row based arrays. try this: $b[self::$sortMember]; } } ArrayUtility::sortByMember($array, 'quantity'); ?> Am 25.04.2007, 12:36 Uhr, schrieb Frank Arensmeier <[EMAIL PROTECTED]>: Jon, I would suggest t

[PHP] performance down

2007-04-24 Thread [EMAIL PROTECTED]
Hello everyone, recently we tested upgrading our systems from: apache 2.0.55 php 5.1.6 eacclerator 0.9.5 to: apache 2.2.3 php 5.2.0 eaccelerator 0.9.5 but we always get worse performance than before. So maybe it is the newer apache version which

Re: [PHP] Capture the whole URL

2007-02-23 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 23, 2007, at 7:46 AM, tedd wrote: On Feb 22, 2007, at 10:26 PM, tedd wrote: Print out these three and you'll see your problem. $_SERVER['SERVER_NAME'] $_SERVER['QUERY_STRING'] $_SERVER['REQUEST_URI'] Thanks, Tedd - - REQUEST_URI still generates a "Undefined Index" error SERVER_NAME

Re: [PHP] Capture the whole URL

2007-02-23 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 22, 2007, at 4:33 PM, Jochem Maas wrote: do a var_dump($_SERVER); or phpinfo(); to see what you do have available. 'REQUEST_URI' doesn't show. Now I see the line in the documentation that says "You may or may not find any of the following elements..." How do I find out whether

Re: [PHP] Capture the whole URL

2007-02-23 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 23, 2007, at 12:18 AM, Jim Lucas wrote: diddly.com?id=fred&total=goof First of forgoing the http:// missing, this still isn't a qualified URL Yeah, I was just giving an example of what I wanted. echo $_SERVER['REQUEST_URI']; and see what it returns I said in the post, it

Re: [PHP] Capture the whole URL

2007-02-23 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 22, 2007, at 10:26 PM, tedd wrote: Print out these three and you'll see your problem. $_SERVER['SERVER_NAME'] $_SERVER['QUERY_STRING'] $_SERVER['REQUEST_URI'] Thanks, Tedd - - REQUEST_URI still generates a "Undefined Index" error SERVER_NAME on my testing server returns its IP ***

[PHP] Capture the whole URL

2007-02-22 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hey - - I must be missing something, but in a URL such as: diddly.com?id=fred&total=goof $_SERVER['PHP-SELF'] gives me the diddley.com part. I want to capture the whole URL. The documentation makes it seem like $_SERVER['REQUEST_URI'] is supposed to do that, but I get an "Undefined Index

[PHP] Sessions working/not

2007-02-07 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hey - -- - Would anyone be so kind as to un-stick my brain? I can't get sessions to work on my development machine (localhost). They work fine on my testing server (an internal IP). Development: W2K, Testing Server W2K Server, both using IIS 5, PHP 5.2. The php.ini SESSION settings are the

Re: [PHP] Executing scripts from a table

2007-02-03 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 3, 2007, at 9:32 AM, Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: I'm not putting any core code into tables, just code which generates page content. The access rights to that page content, as well as security code and application objects are not there. That code is o

Re: [PHP] Executing scripts from a table

2007-02-03 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Feb 2, 2007, at 6:59 PM, Richard Lynch wrote: Putting PHP source into MySQL is the WRONG way to go for security and efficiency... Thank you, Richard -- I appreciate your advice. Here is a qualifier: I'm not putting any core code into tables, just code which generates page content. The a

Re: [PHP] Executing scripts from a table

2007-02-02 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Yeah, that was it. Thanks, Thomas. (dang it, I should have been able to figure out that myself!) Ken On Feb 2, 2007, at 11:32 AM, Thomas Pedoussaut wrote: Ken Kixmoeller -- reply to [EMAIL PROTECTED] wrote: Hi, folks -- - - For security and efficiency, I am trying to store PHP scripts in

[PHP] Executing scripts from a table

2007-02-02 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hi, folks -- - - For security and efficiency, I am trying to store PHP scripts in MySQL tables. Only problem: I can't get them to execute. In a template: $php_code = $this->ApplicationObject->GetStoredCode($whichpage); echo $php_code; // doesn't exec

Re: [PHP] Can a class instance a property of another class

2007-02-02 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Thanks to all -- got all of this working fine. Mostly my syntax was a bit off. Your examples helped me mend my ways. Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Can a class instance a property of another class

2007-01-27 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
OK, Jochem, I adapted your example and got it working. Thank you very much. I am still playing with it to better understand. One thing I don't yet understand is the necessity for the getFoo()/getBar() "handshake," especially the getbar() in the BAR class. That doesn't seem to serve any pu

Re: [PHP] Can a class instance a property of another class

2007-01-27 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Thanks for your help, guys. I had to leave my office last evening before I had a chance to try any of them. I am sneaking in some office time today. I'll let you know (with complete scripts and error messages). Ken -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

[PHP] Can a class instance a property of another class

2007-01-26 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hey - -- - Here I am again. Anybody still working on a Friday? I would like to have a class instance be the property of another class, like can be done in other languages. For example: I would like to have a "Connections" class which contains all of the database connection logic and query

Re: [PHP] Creating an array as a property of an object

2007-01-26 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
On Jan 26, 2007, at 3:08 PM, Robert Cummings wrote: $this->foom_array[$line['WHAM_ID']] = $line; Cheers, Rob. Thank you so much, Rob. That did it. (Kickin' the cobwebs out of my head...) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Creating an array as a property of an object

2007-01-26 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
Hello, folks -- lurking for a while, first post -- I'm relatively new to PHP but doing database design work for nearly 20 years. I've RTFM'ed (+ books + other resources) a bunch of times but I have a mental block around doing this: I want to have an multidimensional array as a property of

[PHP] LDAP & Active Directory Authentication

2006-12-04 Thread [EMAIL PROTECTED]
Hello list, I am going to need to build LDAP and AD modules for a project that I'm working on. Could any of you who have delt with PHP/LDAP/AD point me in the direction of some decent resources/papers/books? Thanks.

[PHP] several sites sharing the same script

2006-11-29 Thread [EMAIL PROTECTED]
Hello all, I am writing new php application which will be used by several sites. All sites will use same script (all files), but every will have its own config.php file. I would like to place all necessary files to separate directory and all sites should share them, so all sites will be updated.

[PHP] Attaching File to be Emailed

2006-11-23 Thread [EMAIL PROTECTED]
I need to take a word document or pdf file from either a MySQL db or from a directory, which will then be sent via php script. How can I go about doing this? Can anyone provide sample code or point me in the right direction.

Re: [PHP] Coding...

2006-11-18 Thread [EMAIL PROTECTED]
There are a lot of good books to go by. I suggest getting one that incorporates both PHP & MySQL, not just php. On 11/18/06, Jeff <[EMAIL PROTECTED]> wrote: I am pretty new with PHP, but what I've learned in the last 3 weeks is pretty good I think so far! What I'm looki

[PHP] Re: PHP Programmers

2006-11-18 Thread [EMAIL PROTECTED]
jotspot was a good tool, but it is closed due to the acquisition by Google. If anyone has been faced by this problem, I would be very interested to see how they worked through this. I should be organized and ready to go in the next couple weeks. On 11/18/06, [EMAIL PROTECTED] <[EMAIL PROTEC

Re: [PHP] php cli and mysql

2006-11-14 Thread [EMAIL PROTECTED]
You could make a new php.ini for flexibility like Jochem stated. To make things easy, just copy the file over: cp /usr/local/php5/lib/php.ini /etc/php.ini And that should do it. James Tu wrote: > Please see below > > On Nov 14, 2006, at 2:24 PM, [EMAIL PROTECTED] wrote: > >>

Re: [PHP] php cli and mysql

2006-11-14 Thread [EMAIL PROTECTED]
> > -James > > On Nov 14, 2006, at 1:17 PM, cajbecu wrote: > >> touch /var/mysql/mysql.sock >> chmod 777 /var/mysql/mysql.sock >> >> On 11/14/06, James Tu <[EMAIL PROTECTED]> wrote: >>> I'm running a php script from the command line (I

[PHP] Problem with PHP 5.2.0

2006-11-13 Thread [EMAIL PROTECTED]
Hi. I just installed PHP 5.2.0 and I'm running into some strange problems. I have a rather large program which uses sockets, pcntl, posix, pdo (mysql), and is fully object oriented. The program is rather large and is about 75,000 lines of code. When I run the application with PHP 5.1.6, I can exe

Re: [PHP] Re: PHP 5.1.6 on Mac OSX 10.4.8 w/MySQL 5.0.27 support

2006-11-02 Thread [EMAIL PROTECTED]
Read through the forums. The default packages are meant for default installs of OSX, not roll your own installs. There are instructions on getting it configured for Apache2. All the pieces you need are there. Tim Stiles Watchmaker, Icomex.com On Nov 2, 2006, at 9:02 AM, Ed Lazor wrote:

Re: [PHP] Functions

2006-06-30 Thread [EMAIL PROTECTED]
= "abc's"; echo $var; How would I return the results here, I tried various different ways none of them worked? On 6/29/06, Chris <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > I am trying to create a function to clean up variables that are user > inputted fro

[PHP] Functions

2006-06-29 Thread [EMAIL PROTECTED]
I am trying to create a function to clean up variables that are user inputted from a form. I am not getting this script to work. Can anyone help. ---Start Script--- function cleaner($var) { trim(strip_tags(ucfirst(addslashes($var; } $var = "abc's"; echo $var; ---End Script--- When I run

[PHP] Picture for Form Security

2006-04-30 Thread [EMAIL PROTECTED]
Does anyone know of a good script for form security, where someone goes to login and then they have to type a number, disabling automated scripts from logging in versus a physical user. It is widely used by domain registrars who protect the identity of a domain name.

[PHP] PHP AJAX Framework - Suggestions Please

2006-04-03 Thread [EMAIL PROTECTED]
Hi, Anyone can suggest me which PHP AJAX framework you are using, for what reason(s), what are pros and cons of your particular choice. I found many, and now facing difficult choice. BTW, how do you pass session id between calls to PHP from JavaScript (cookies or explicit foo.php?PHPSESSSION

Re: [PHP] how to learn php

2006-02-11 Thread [EMAIL PROTECTED]
tedd wrote: hello i have been trying to learn php. what is the best approach to learning php for someone who has no programming experience? -snip- any advice and/or opinions would be greatly appreciated. thanks. Here's a tutorial I found useful, and would be good for someone without a pr

[PHP] php.ini version changed, code broke

2006-02-08 Thread [EMAIL PROTECTED]
Hello all from a newbie. We have a Nitix server (from Net Integration Technologies, Inc.) that hosts various web site. Recently they released a software upgrade, and in the release notes was this warning: "A number of PHP options (in the php.ini file) were changed, either to improve security or

Re: [PHP] Upgrading to 4.4.2

2006-01-22 Thread [EMAIL PROTECTED]
Hi Amol, On 1/23/06, Amol Hatwar <[EMAIL PROTECTED]> wrote: Just make sure a phpinfo() before and after the upgrade match :) That _just_ crossed my mind! This will help in making sure I setup all the settings correctly. Thanks Tim -- PHP General Mailing List (http://www.p

[PHP] Upgrading to 4.4.2

2006-01-22 Thread [EMAIL PROTECTED]
Hello I've started work for a client who has their own server running PHP 4.1.1. If I upgrade them to PHP 4.4.2, will there be any issues I'd need to look out for? Is there a general process (or checklist) I should follow when upgrading PHP versions to find where potential the may be potential c

[PHP] PHP 4.4.2 Update Issues?

2006-01-20 Thread [EMAIL PROTECTED]
Hello I've started work for a client who has their own server running PHP 4.1.1. If I upgrade them to PHP 4.4.2, will there be any issues I'd need to look out for? Is there a general process (or checklist) I should follow when upgrading PHP versions to find where potential the may be potentia

[PHP] XML Reader

2005-12-28 Thread [EMAIL PROTECTED]
Is there any easy php script to run to view an xml file such as new headlines like so: http://news.google.com/?output=rss or can anyone point me in the right direction for good online tutorials or books.

[PHP] Re: R: [PHP] Date Function Questions

2005-12-11 Thread [EMAIL PROTECTED]
Is the system time through Linux, Apache or through the php.ini file? On 12/11/05, Sebastian En3pY Zdrojewski <[EMAIL PROTECTED]> wrote: > > afaik it's the system time. > > Cheers > > En3pY > > > Sebastian Konstanty Zdrojewski > > __

  1   2   3   4   5   6   >