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

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

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 endless

[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

[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]
?php $stfu = true; if($stfu == true) { stop_posting( ); }else{ post( ); } ? 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

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

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

[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

[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

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 ?php tag inside another one - and am sure I'm doing other things wrong also... - now I get the error - Parse error:

[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 SMP # gcc

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 people

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

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

Re: [PHP] Encryption failing

2008-01-16 Thread Ken Kixmoeller -- reply to [EMAIL PROTECTED]
-|- Enc: Ϊ%bÇCsšBsì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üŽ‚ó -|- Dec:[EMAIL PROTECTED] -|- Nope etc. Wrong: 23/500

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

[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

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

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

[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: meta http-equiv=Content-type content=text/html; charset=iso-8859-1/ form action=/ method=post accept-charset=iso-8859-1 if two different people post the norwegian phrase Godt nytt år (happy new year), it may appear in the

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

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

[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

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

Re: [PHP] PHP Programmers Needed

2007-11-12 Thread [EMAIL PROTECTED]
that their are 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:16 AM, mvh [EMAIL PROTECTED

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

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

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.net/)

[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

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

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

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

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:

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 horizontal

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.php.net

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

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

[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

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

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:

[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

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

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

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

[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 ? if(isset($_GET['id'])) { include 'library/config.php'; include 'library/opendb.php';

[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 ? if(isset($_GET['id'])) { include 'library/config.php'; include 'library/opendb.php';

[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? form method='POST' enctype=multipart/form-data input type=file name=myfile input

[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

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 website which would

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

Re: [PHP] Recursive function for array task?

2007-04-27 Thread [EMAIL PROTECTED]
($groups); ? Am 27.04.2007, 11:13 Uhr, schrieb Stewart Macdonald [EMAIL PROTECTED]: Hi all, I've got a bit of a logic problem that I can't figure out. I've got an array: Array ( [B] = X [C] = Q,K [D] = M [F] = V [G] = N [I] = X,M [K] = C [M] = I,V

Re: [PHP] Recursive function for array task?

2007-04-27 Thread [EMAIL PROTECTED]
27.04.2007, 11:57 Uhr, schrieb [EMAIL PROTECTED] [EMAIL PROTECTED]: What you want is strange... but this is the solution ? $left = Array ( B = array('X'), C = array('Q','K'), D = array('M'), F = array('V'), G = array('N'), I = array('X','M'), K = array('C'), M

Re: [PHP] sorting multi array

2007-04-25 Thread [EMAIL PROTECTED]
($array, array('ArrayUtility', 'compareMember')); } static function compareMember($a, $b) { return $a[self::$sortMember] $b[self::$sortMember]; } } ArrayUtility::sortByMember($array, 'quantity'); ? Am 25.04.2007, 12:36 Uhr, schrieb Frank Arensmeier [EMAIL PROTECTED]: Jon

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

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=fredtotal=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 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 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

[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=fredtotal=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

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

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 off

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

[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

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

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:

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

[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

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

[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

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

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

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 looking to do is create

Re: [PHP] php cli and mysql

2006-11-14 Thread [EMAIL PROTECTED]
, 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'm on OS X) and I'm getting ... Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/mysql

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: Run this command

[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

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]
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 from a form. I am not getting this script to work. Can anyone

[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

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

[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

[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

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.php.net

[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

[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] Date Function Questions

2005-12-11 Thread [EMAIL PROTECTED]
This maybe a dumb questions, but in php where is the information taken from for the date() function? Is it pulled through Apache or the hardware or in the php.ini file? I am having an issue to where the time arbitraly changed one day from PST to CST.

  1   2   3   4   5   6   >