Re: [PHP] Re: stripping first comma off and everything after

2010-06-18 Thread Troy Oltmanns
http://php.net/manual/en/function.split.php I haven't tested for efficiency but splitting it will be great for assigning it easily into an array. On Fri, Jun 18, 2010 at 7:42 PM, Robert Cummings wrote: > shiplu wrote: > >> I'll use, >> >> list($data) = explode(",",$entries[$i]["dn"]); >> >> > It

[PHP] php forms - select menu selected behavior

2009-04-28 Thread Troy Oltmanns
I have the code below being used to rifle through a list of available categories and create select options for them. The code is being used to query the database and compare the product category to the current iteration, if there's a match, then add selected code so the category is prechosen. More

[PHP] A dumb question - Regarding a php cms

2005-09-17 Thread Troy Pieterman
Im trying to run Syntax desktop which is a php cms (on my own server win2003). In the installation readme it tells me to edit a cfg.php file, i have done this but the cms still does not load, i have a feeling its becuase it dosnt know where to load its files from, here is the code that tells it,

[PHP] New object model

2004-07-14 Thread Troy S
Is there an ini-file setting so that objects are passed by value as in PHP 4? If so, how long is this likely to be supported? Thanks, Troy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Removing security-problematic chars from strings

2003-11-21 Thread Troy S
Greetings, What is the best way to remove the characters from strings that may cause security problems? Namely, `, ', ", <, >, \ and all non-printing strings. Did I miss any? Thanks. Troy

[PHP] Testing..

2003-02-09 Thread Troy May
Just a quick test. I just re-signed up for this list after a 3 week vacation and I haven't seen even one message yet. So, reply if you get it please so I know this is working. Thanks, Troy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Executing a Perl/CGI program from PHP

2002-12-15 Thread Troy May
Hello, I have a logging program I wrote in Perl that writes basic info to a MySQL database. I can't get it working from within PHP. I've tried: print ""; echo (""); include("vislog.cgi"); Nothing works. What am I missing? Thanks, Troy -- PHP Gener

[PHP] Regex question

2002-12-12 Thread Troy May
How would take a regular non-formatted text link (http://www.link.com) and turn it into ready to post HTML? (http://www.link.com>http://www.link.com) Darn, Outlook formats it, but you get the idea. It would just be typed out normally. Any ideas? -- PHP General Mailing List (http://www.php.net

[PHP] Why all the returned emails from this list?

2002-12-01 Thread Troy May
I'm getting nailed with a bunch of returned emails like this: [EMAIL PROTECTED] - no such user here. There is no user by that name at this server. : Message contains [1] file attachments What's going on? Each one has a different address, but the terminalgmb.ru part is the same for each one.

RE: [PHP] Passing arguments to the same script

2002-12-01 Thread Troy May
Thanks, I got it working by adding "=1" -Original Message- From: Chris Wesley [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 01, 2002 8:08 PM To: 'PHP List' Cc: Troy May Subject: RE: [PHP] Passing arguments to the same script On Sun, 1 Dec 2002, Troy May wrot

RE: [PHP] Passing arguments to the same script

2002-12-01 Thread Troy May
Not sure which version, it's my ISP. Adding "=1" to the URL worked though. Thanks! -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 01, 2002 8:08 PM To: 'Troy May'; 'PHP List' Subject: RE: [PHP] Passing argu

RE: [PHP] Passing arguments to the same script

2002-12-01 Thread Troy May
uot;Main content goes here."; } The only thing that EVER gets displayed is the final else. (Main content goes here.) What am I doing wrong? Once again, the links are in this format: Any ideas? -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Sunday, Decemb

[PHP] Passing arguments to the same script

2002-12-01 Thread Troy May
Hello, I'm sure this is easy, but I'm drawing a blank. I need to have links at the bottom of the page that passes arguments to the same script (itself) when it gets reloaded. How do we do this? I have the links like this now: How do I determine what is passed? I need to do an "if" statement

RE: [PHP] Redirect opening in a new window

2002-11-30 Thread Troy May
l the pages/themes in one shot. -Original Message- From: Jeffrey B.Ferland [mailto:[EMAIL PROTECTED]] Sent: Saturday, November 30, 2002 12:02 PM To: Troy May Subject: Re: [PHP] Redirect opening in a new window On Saturday 30 November 2002 02:55 pm, you wrote: > Hello, > > I&#x

[PHP] Redirect opening in a new window

2002-11-30 Thread Troy May
Hello, I'm playing with a portal system now and I need to edit a module to redirect to another site/page. I have done this with a header() redirection, but it takes the current window. How can I do this and have it open a new window for the redirect? -- PHP General Mailing List (http://www.p

RE: [PHP] forum module for NUKE?

2002-11-25 Thread Troy May
Doesn't PHP-Nuke have support forums? It would be better to ask in there if they do. -Original Message- From: The Gabster [mailto:[EMAIL PROTECTED]] Sent: Monday, November 25, 2002 3:43 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] forum module for NUKE? Thanks Peter... I was there but

RE: [PHP] STRICTLY CONFIDENCIAL

2002-11-21 Thread Troy May
Oldest scam in the book. Nice try. -Original Message- From: desmond west [mailto:[EMAIL PROTECTED]] Sent: Sunday, November 17, 2002 4:30 PM To: [EMAIL PROTECTED] Subject: [PHP] STRICTLY CONFIDENCIAL #20 BOTHA CRESCENT, SADTON,JOHANNESBURG, SOUTH AFRICA. Tel/Fax:+:+27-834377724 E-mail:[

RE: [PHP] Opening a file to manipulate it

2002-11-20 Thread Troy May
Thanks Ed! Yes, another member here told me to use fread(), which is what your link led to if you're not using the CVS version of PHP. (whatever that is) I got it working with this: mailto:[EMAIL PROTECTED]] Sent: Saturday, November 16, 2002 9:29 PM To: Troy May Cc: [EMAIL PROTECTED] Su

RE: [PHP] MY CLIENT

2002-11-20 Thread Troy May
Sorry, I'm holding out for the 126 million. :) -Original Message- From: GEORGE EMEKA [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 10:18 PM To: [EMAIL PROTECTED] Subject: [PHP] MY CLIENT Importance: High GOLDEN BUSINESS OPPORTUNITY I am an Attorney and

[PHP] Opening a file to manipulate it

2002-11-16 Thread Troy May
id #1" at the top of the page. What is that?! :) I have also tried using file(). That displays "Array" on the screen. What am I doing wrong? Thanks! Troy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] testing

2002-11-12 Thread Troy May
I think it works. ;) -Original Message- From: pig pig [mailto:pigpig8080@;yahoo.com.sg] Sent: Tuesday, November 12, 2002 5:44 AM To: [EMAIL PROTECTED] Subject: [PHP] testing testing __ Do You Yahoo!? Great flight deals, travel info and p

RE: [PHP] re: echo w/ here document

2002-11-12 Thread Troy May
Newbie here. Works fine for me too. -Original Message- From: Marco Tabini [mailto:marcot@;tabini.ca] Sent: Tuesday, November 12, 2002 5:31 AM To: Aaron Gould Cc: Craig Buxton; Subject: Re: [PHP] re: echo w/ here document Works fine on my system. As Aaron said, make sure there are no sp

Re: [PHP] Globals bug??

2002-07-01 Thread troy
When I said "process" I meant "request". Sorry. Is it possible that the PHP globals are being used across requests (i.e., within the same process)? We noticed this when upgrading from a version of PHP (4.0.6?) prior to the new super-globals being added to PHP 4.1.2. The code in this case is so s

[PHP] Globals bug??

2002-06-30 Thread troy
We are seeing a rare bug that seems to imply that there is a bug in PHP's global variables across httpd processes. To make a long story short, it appears that on rare occassions our script gets the value of a HTTP_GET_VARS variable from another user's process. Is this possible? BTW, it seems to o

[PHP] PHP to create static images

2002-06-24 Thread Campano, Troy
you! Troy Campano

[PHP] Session Authentication etc...

2002-04-30 Thread Troy Lynch
e it looks like I wonna do session variables. Anways anyone either know of a decent authentication lib that I can use to check the users online and do authentication or can someone point me in the right direction in doing this? Thanks Troy -- PHP General Mailing List (http://www.php.net/)

[PHP] Getting ip address of client and displaying a number in decimal format.

2001-09-13 Thread Troy Lynch
I'm trying to find out how to do 2 things one. I'd like to get the ip address of the client machine so I can write it to a database. And then I'd like to convert a number to show 2 decmials to the right like for money etc Thanks Troy -- PHP General Mailing List (http://w

[PHP] mcrypt for win32

2001-07-10 Thread Troy Moreland
Can anyone explain how to install the Win32 version of mcrypt? I've downloaded the Win32 zip file and there are no docs on how to install. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] Encrypt Password for Session

2001-05-17 Thread Troy Moreland
g to write it to the session. Is that the right way to do it?? Thanks again! Troy Moreland ""Ethan Schroeder"" <[EMAIL PROTECTED]> wrote in message 012f01c0deeb$684950d0$e46c28ce@biff">news:012f01c0deeb$684950d0$e46c28ce@biff... > What I do is md5() encrypt the p

[PHP] Encrypt Password for Session

2001-05-17 Thread Troy Moreland
vance!! Troy Moreland -- 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 PROTECTED]

[PHP] Maintaining authentication credentials for session

2001-05-09 Thread Troy Moreland
osted to wrong forum! Troy Moreland -- 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 PROTECTED]