[PHP] FW: No Subject

2013-03-16 Thread Ryan S
http://www.coachholidays.co.uk/ramlm/hfoqauyyvomdvio.kaxkucbebccxpzq

Re: [PHP] Wrong time being displayed by PHP!

2012-10-22 Thread Richard S. Crawford
On Thu, Oct 18, 2012 at 2:12 AM, Ford, Mike m.f...@leedsmet.ac.uk wrote: From: underp...@gmail.com [mailto:underp...@gmail.com] On Behalf Of Richard S. Crawford Sent: 17 October 2012 19:29 To: PHP-General You can see the current output of the above code here: http

Re: [PHP] Wrong time being displayed by PHP!

2012-10-17 Thread Richard S. Crawford
that even make sense? -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

[PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Richard S. Crawford
The value of date.timezone in php.ini is set to America/Los_Angeles. The local time is 11:02 a.m. Yet the output of date(h:i a e) is: 02:02 pm America/Los_Angeles which is three hours ahead of the real time. Why is this? What's going on? -- Sláinte, Richard S. Crawford (rich...@underpope.com

Re: [PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Richard S. Crawford
I double checked the server time. It is set to America/Los_Angeles as well. On Tue, Oct 16, 2012 at 11:07 AM, Adam Richardson simples...@gmail.comwrote: On Tue, Oct 16, 2012 at 2:02 PM, Richard S. Crawford rich...@underpope.com wrote: The value of date.timezone in php.ini is set to America

Re: [PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Richard S. Crawford
PM, Richard S. Crawford rscrawf...@mossroot.com wrote: I double checked the server time. It is set to America/Los_Angeles as well. On Tue, Oct 16, 2012 at 11:07 AM, Adam Richardson simples...@gmail.com wrote: On Tue, Oct 16, 2012 at 2:02 PM, Richard S. Crawford rich

Re: [PHP] Wrong time being displayed by PHP!

2012-10-16 Thread Richard S. Crawford
On Tue, Oct 16, 2012 at 2:05 PM, Daniel Brown danbr...@php.net wrote: On Tue, Oct 16, 2012 at 4:19 PM, Richard S. Crawford rscrawf...@mossroot.com wrote: Thanks for the suggestion. Unfortunately the problem seems to be that PHP thinks the America/Los_Angeles timezone is the same as EDT

Re: [PHP] Friday - Return of Brain Teasers

2012-10-05 Thread Richard S. Crawford
/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

[PHP] get question

2012-08-27 Thread Jack S
Hello All, Trying to figure out why when I include the page that contains this code, I'm not able to get the $calling_page populated with any values. Any help appreciated... ? # Dynamic Content based in page $calling_page = $_GET['page']; # Home Page

Re: [PHP] Re: MySQL and PHP weirdness - RESOLVED

2012-02-15 Thread Richard S. Crawford
This has been resolved. A previous programmer had snuck in a function that would convert the value of the description field to a date value if it contained the word Date. This has been fixed. On Tue, Feb 14, 2012 at 5:44 PM, David Robley robl...@aapt.net.au wrote: Richard S. Crawford wrote

[PHP] MySQL and PHP weirdness

2012-02-14 Thread Richard S. Crawford
mediumtext to text but this didn't work. If anyone has any ideas as to why this might be happening -- or if I just wasn't clear -- please let me know. -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Twitter: http://twitter.com/underpope Facebook: http

[PHP] Hi!

2011-11-24 Thread Jay S
their current advertiser. I would love have you run a test on our network. :) When would be a good time to chat? Skype: jay.installmonetizer Yahoo: dhaliwal.jasjeet Thanks for your time! -- Sincerely, Jay S. j...@installmonetizercorp.com j...@installmonetizer.com Skype: jay.installmonetizer Yahoo

Re: [PHP] Upgrade or Die?

2011-06-24 Thread Richard S. Crawford
periodically displays. I will never understand this mindset. Full story : http://www.technewsworld.com/edpick/72739.html Richard L. Buskirk -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http

Re: [PHP] WHERE field = a range of values (value

2011-05-25 Thread Paul S
On Tue, 24 May 2011 23:47:47 +0700, Paul S pau...@roadrunner.com wrote: On Tue, 24 May 2011 21:09:34 +0700, Richard S. Crawford rscrawf...@mossroot.com wrote: On Tue, May 24, 2011 at 6:51 AM, Paul S pau...@roadrunner.com wrote: I'd like to check a table to retrieve rows for which one field

[PHP] WHERE field = a range of values (value

2011-05-24 Thread Paul S
I'd like to check a table to retrieve rows for which one field equals one of a set of values #get products(fields) in category list while ($row = $db_connect-fetch_array($productsincategory_list)) { $product = $row ['selection']; $fields = $fields . $product,; }

Re: [PHP] WHERE field = a range of values (value

2011-05-24 Thread Richard S. Crawford
On Tue, May 24, 2011 at 6:51 AM, Paul S pau...@roadrunner.com wrote: I'd like to check a table to retrieve rows for which one field equals one of a set of values #get products(fields) in category list while ($row = $db_connect-fetch_array($productsincategory_list)) { $product

Re: [PHP] WHERE field = a range of values (value

2011-05-24 Thread Paul S
On Tue, 24 May 2011 21:09:34 +0700, Richard S. Crawford rscrawf...@mossroot.com wrote: On Tue, May 24, 2011 at 6:51 AM, Paul S pau...@roadrunner.com wrote: I'd like to check a table to retrieve rows for which one field equals one of a set of values #get products(fields) in category

[PHP] Odd array_push issue

2011-05-11 Thread Richard S. Crawford
to think that perhaps my own code is at fault. -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com

Re: [PHP] Odd array_push issue

2011-05-11 Thread Richard S. Crawford
On Wed, May 11, 2011 at 1:30 PM, Peter Lind peter.e.l...@gmail.com wrote: On 11 May 2011 22:23, Richard S. Crawford rich...@underpope.com wrote: I'm encountering what appears to be a bug in array_push when I try using that function to add objects to an array. For example... A = Object 1

Re: [PHP] Custom function

2011-05-02 Thread Richard S. Crawford
: I'm not sure what you mean by optional flag? Do you mean an optional parameter? Richard -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

[PHP] How to write a PHP coding to list out all files and directories as links to them?

2011-04-14 Thread Mikhail S
How to write a PHP coding to list out all files and directories as links to them? This is somewhat similar to some index pages. When new file or folder is added to the directory, HTML page should display the newly created file/folder together with previous ones after it is being refreshed.

Re: [PHP] newbie - function is undefined

2011-04-01 Thread Richard S. Crawford
On Fri, Apr 1, 2011 at 2:32 PM, Jim Giner jim.gi...@albanyhandball.comwrote: function. Try something like: ... echo 'heaading contains: scriptgetText(h2)/script'; ... I tried it - no better. Did you still get the function undefined error? -- Sláinte, Richard S. Crawford (rich

Re: [PHP] How is this possible???? (addslashes)

2011-02-17 Thread Paul S
On Thu, 17 Feb 2011 07:50:45 +0700, Daniel Brown paras...@gmail.com wrote: No offense, but are you kidding me? The host disables phpinfo() for security reasons, but keeps 4.4.4 running? Talk about running, Paul run away from them. Fast. AND they have a condition (this reported)

[PHP] How is this possible???? (addslashes)

2011-02-16 Thread Paul S
Can anyone please tell me how the addslashes output (note = Everyone''s a card on the \earth) in the following example is possible. It is addslashes output but this result is consistent with the output from post when runtime is set: 1): a single quote is inserted before a single quote and nothing

Re: [PHP] No SMTP server? Can't get mail()

2011-01-24 Thread Paul S
On Sun, 23 Jan 2011 12:40:25 +0700, David Robley robl...@aapt.net.au wrote: Paul S wrote: I'm a little new to PHP. David starts: Nobody seems to have mentioned it, but the SMTP info is only needed on a Win system. The following is an extract from a default php.ini file: Well, I have

Re: [PHP] No SMTP server? Can't get mail()

2011-01-22 Thread Paul S
'); echo brbr; ? ?php $link = mysql_connect('localhost', 'xx', 'xx'); if (!$link) { die('Could not connect: ' . mysql_error()); } printf(MySQL server version: %s\n, mysql_get_server_info()); echo brbr; ? ?php phpinfo

[PHP] Script mysteriously restarting

2011-01-21 Thread Richard S. Crawford
with Apache 2 on a Linux server. -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com

Re: [PHP] Script mysteriously restarting

2011-01-21 Thread Richard S. Crawford
Ah, sorry. It's a browser-based script. On Fri, Jan 21, 2011 at 1:28 PM, Jim Lucas li...@cmsws.com wrote: On 1/21/2011 12:37 PM, Richard S. Crawford wrote: I've got a massive PHP script which takes nearly an hour to run. Sometimes, when it comes close to the end, it mysterious restarts

[PHP] No SMTP server? Can't get mail()

2011-01-20 Thread Paul S
I am having problems with mail(). The problem is that the email just never gets there. Mail appears to be working. To start, I am investigating the SMTP server. I can't understand some things. 1) I am sure that the smtp server is and is set to localhost, but I want to verify this ...

[PHP] 400 Cannot connect to NNTP server

2011-01-20 Thread Paul S
400 Cannot connect to NNTP server 76.75.200.58 (76.75.200.58:119), connect error 10060 I do not seem to be having any problems getting to this newsgroup :-) but this message keeps popping up. Just to let u know, no need for replies. Thanks for a great resource! -- Using Opera's

Re: [PHP] No SMTP server? Can't get mail()

2011-01-20 Thread Paul S
On Fri, 21 Jan 2011 12:28:16 +0700, Paul M Foster pa...@quillandmouse.com wrote: On Fri, Jan 21, 2011 at 10:45:46AM +0700, Paul S wrote: I am having problems with mail(). The problem is that the email just never gets there. Mail appears to be working. To start, I am investigating the SMTP

[PHP] Stripping carriage returns

2011-01-11 Thread Richard S. Crawford
internally, so I decided to give those a try as well.) and $content = str_replace(array('\n','\r','\r\n'),$content) all to no avail; these all leave the line break intact, which means my preg_replace('/p.*/','p',$content) line still breaks. Anyone have any ideas? -- Sláinte, Richard S. Crawford

Re: [PHP] Stripping carriage returns

2011-01-11 Thread Richard S. Crawford
; that was indeed a typo when I was copying the code over into my email. Ashley, I've already been using strip_tags to eliminate all but p, ol, ul, and li tags. On Tue, Jan 11, 2011 at 11:24 AM, David Harkness davi...@highgearmedia.comwrote: On Tue, Jan 11, 2011 at 11:13 AM, Richard S. Crawford rich

Re: [PHP] PHPInfo disabled due to security

2010-12-16 Thread Paul S
On Thu, 16 Dec 2010 00:13:31 +0700, Daniel P. Brown daniel.br...@parasane.net wrote: Well, phpinfo() does, by default, divulge some things that could be considered security concerns --- particularly in poorly-managed environments. Primarily, this is by giving a synopsis of versions and

[PHP] PHPInfo disabled due to security

2010-12-15 Thread Paul S
Warning: phpinfo() has been disabled for security reasons in /home/.../php/phpinfo.php on line 2 My ISP has disabled phpinfo and has not answered my tech requests on this for over a month. They seem to never have a thing to do but play games with silly security issues. In a day some phone

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Cris S
At 13:03 18 10 10, a...@ashleysheridan.co.uk wrote: There's nothing wrong with using em as it indicates emphasised text, which is semantic. Use span tags with classes only when the content you're styling has no semantic alternative. strongimportant message/strong is much better for machines

Re: [PHP] Formatting an ECHO statement.

2010-10-18 Thread Cris S
At 15:12 18 10 10, Shreyas Agasthya wrote: Thanks all for their input. Some of the learnings from the thread : 1. i tag is getting deprecated. Not in HTML5. 2. Use em and strong Both? Read that shit again, buckwheat. And by that shit I do mean the standards, not what Joe Bloe told you.

Re: [PHP] Looking for open source Learning Management System suggestions

2010-08-31 Thread Richard S. Crawford
://www.php.net/unsub.php -- Sláinte, Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

[PHP] Database vs. Array

2010-03-16 Thread Richard S. Crawford
. This is not an issue I've come across before, so any thoughts would be much appreciated. Thanks in advance. -- Richard S. Crawford (rich...@underpope.com) http://www.underpope.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com)

Re: [PHP] pear for fedora 11

2010-03-09 Thread Edward. S. P. Leong
Ashley Sheridan wrote: On Tue, 2010-03-09 at 23:06 +0800, Edward. S. P. Leong wrote: Ashley Sheridan wrote: On Mon, 2010-03-08 at 22:39 +0800, Edward. S. P. Leong wrote: Ashley Sheridan wrote: On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote: Dear All, Which can we

Re: [PHP] pear for fedora 11

2010-03-09 Thread Edward. S. P. Leong
Ashley Sheridan wrote: On Mon, 2010-03-08 at 22:39 +0800, Edward. S. P. Leong wrote: Ashley Sheridan wrote: On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote: Dear All, Which can we download pear ann install into fc 11 system ? Thank for your help ! Edward. I'm

Re: [PHP] pear for fedora 11

2010-03-08 Thread Edward. S. P. Leong
Ashley Sheridan wrote: On Mon, 2010-03-08 at 01:07 +0800, Edward. S. P. Leong wrote: Dear All, Which can we download pear ann install into fc 11 system ? Thank for your help ! Edward. I'm not sure I understand your question. Do you mean what Pear components can be installed

[PHP] pear for fedora 11

2010-03-07 Thread Edward. S. P. Leong
Dear All, Which can we download pear ann install into fc 11 system ? Thank for your help ! Edward. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with regex (search/replace) please

2010-02-06 Thread Ryan S
Hey guys, As many of you might know, i totally suck at regex..so would really appreciate some help here. Basically i have a html page with a lot of textboxes,radios,checkboxes etc i need your help in the form of a regex so that when i give it the name and value it gives me the entire code of

[PHP] Help with regex (search/replace) please

2010-02-06 Thread Ryan S
Hey guys, As many of you might know, i totally suck at regex..so would really appreciate some help here. Basically i have a html page with a lot of textboxes,radios,checkboxes etc i need your help in the form of a regex so that when i give it the name and value it gives me the entire code of

Re: [PHP] Help with regex (search/replace) please

2010-02-06 Thread Ryan S
Hey Ash,Bastien! clip Rather than a regex, you're probably better off using something like DomDocument, where you can iterate over all of the input elements in the document, and check the attributes of each one to check if they match your criteria. /clip @Ash, You're kinda reading my mind...

Re: [PHP] DOM TextArea (and dom chart please)

2010-02-03 Thread Ryan S
I think what you are looking for is $input2-textContent in PHP. Hey Andrew (and everyone else was was kind enough to write back) ! Found the solution, this is what i am using (and it works!), and i hope it helps anyone else who finds themselves in the spot i found myself $inputs2 =

[PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Ryan S
Hey Guys, Coming from a C and Java background I just loved PHP and have been programming with it for years thanks in a large part to the kind people on this list... present and past (Immediately the name John Holmes comes to mind.. i hope the dude is well) but now I have have to leave PHP or

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Ryan S
open source falls back a bit compared to M$'s offerings. MS shoehorning something into dotnet sounds interesting, will ask my pal google what he can bring up ;) I did read about FLEX but i have pretty much complete php scripts that i want to use in a desktop environment, FLEX wouldnt do for my

Re: [PHP] Thinking of moving to .NET because of standalone... any suggestions?

2010-02-03 Thread Ryan S
Thanks for the links and advise guys! Of all I found this most interesting as it would run native: check out http://www.php-compiler.net/doku.php unfortunately I think this project is dead or at best stagnant because the server is slower than a 99 year old on weed and forums link dead.

[PHP] DOM TextArea (and dom chart please)

2010-02-02 Thread Ryan S
Hey! i'm just starting with PHP's DOM-XML and need a little help please. Basically, first i am trying to see if a input like a textbox has a 'VALUE=' associated with it, if yes, i leave it be, if no, i add a default value. This *is working* as can be seen by the attached code below. But a bit

Re: [PHP] DOM TextArea (and dom chart please)

2010-02-02 Thread Ryan S
// I have even tried this instead of the above: foreach ($inputs2 as $input2) { if(!$input2-getAttribute(defaultValue)==) { $input2-setAttribute(defaultValue,it works!); } } but no joy. I'm betting its pretty simple but i dont have a DOM chart for php, the

[PHP] Read directory; store filenames found in mySQL table?

2010-01-13 Thread Rahul S. Johari
Ave, This is what I'm trying to do; I want to read a directory (eg: W:\Test \) and take all the filenames found in the directory (eg: 1.vox, 2.wav, 3.txt) and store them in a simple mySQL table. Can I do this? --- Rahul Sitaram Johari Founder, Internet Architects Group, Inc. [Email]

Re: [PHP] Read directory; store filenames found in mySQL table?

2010-01-13 Thread Rahul S. Johari
On Jan 13, 2010, at 9:56 AM, Warren Windvogel wrote: On 2010/01/13 04:25 PM, Rahul S. Johari wrote: Ave, This is what I'm trying to do; I want to read a directory (eg: W: \Test\) and take all the filenames found in the directory (eg: 1.vox, 2.wav, 3.txt) and store them in a simple mySQL

Re: [PHP] Read directory; store filenames found in mySQL table?

2010-01-13 Thread Rahul S. Johari
On Jan 13, 2010, at 10:07 AM, Kenneth Sande wrote: Ashley Sheridan wrote: On Wed, 2010-01-13 at 09:25 -0500, Rahul S. Johari wrote: Ave, This is what I'm trying to do; I want to read a directory (eg: W: \Test \) and take all the filenames found in the directory (eg: 1.vox, 2.wav, 3

[PHP] Why does CURLOPT_FOLLOWLOCATION require open_basedir to be turned off?

2009-12-13 Thread Alex S Kurilo
I was wondering why CURLOPT_FOLLOWLOCATION requires open_basedir and safe_mode to be turned off. The following was found in the changelog(http://www.php.net/ChangeLog-5.php): Disabled CURLOPT_FOLLOWLOCATION in curl when open_basedir or safe_mode are enabled. (Stefan E., Ilia) Also I read

Re: [PHP] Why does CURLOPT_FOLLOWLOCATION require open_basedir to be turned off?

2009-12-13 Thread Alex S Kurilo
I can't see any conceivable benefit to this restriction when using open_basedir, as I thought that related to the local file system - unless CURL can use file:// URLs to access the local system? That's the problem. I always use open_basedir (not all the sites on my servers are safe enough).

Re: [PHP] Re: dbase_get_record_with_names; Very slow search!!!

2009-11-30 Thread Rahul S. Johari
On Nov 30, 2009, at 11:07 AM, Bob McConnell wrote: From: news even though the dbf has 10K records Fox can't spend minutes to found a match by the way, its very strange to have 35 columns in a table/dbf or whatever pay attention to the comment of Ashley in Fox, you should: SELECT

Re: [PHP] Re: dbase_get_record_with_names; Very slow search!!!

2009-11-30 Thread Rahul S. Johari
On Nov 30, 2009, at 11:41 AM, Bob McConnell wrote: From: Rahul S. Johari On Nov 30, 2009, at 11:07 AM, Bob McConnell wrote: From: news even though the dbf has 10K records Fox can't spend minutes to found a match by the way, its very strange to have 35 columns in a table/dbf or whatever

[PHP] dbase_get_record_with_names; Very slow search!!!

2009-11-24 Thread Rahul S. Johari
Ave, I'm connecting to a foxpro database (dbase) and simply running a search to retrieve a record. It's a very simple code. The problem is, as the database is growing, the search is becoming ridiculously slow ... and I mean it's taking minutes. When the dbase had 10,000 records ... search

Re: [PHP] dbase_get_record_with_names; Very slow search!!!

2009-11-24 Thread Rahul S. Johari
On Nov 24, 2009, at 8:59 AM, Ashley Sheridan wrote: On Tue, 2009-11-24 at 08:40 -0500, Rahul S. Johari wrote: Ave, I'm connecting to a foxpro database (dbase) and simply running a search to retrieve a record. It's a very simple code. The problem is, as the database is growing, the search

Re: [PHP] Re: dbase_get_record_with_names; Very slow search!!!

2009-11-24 Thread Rahul S. Johari
of 2 millions of records and the speed is amazing -- using indexes of course! regards, ks Rahul S. Johari escribió: Ave, I'm connecting to a foxpro database (dbase) and simply running a search to retrieve a record. It's a very simple code. The problem is, as the database is growing

Re: [PHP] Re: dbase_get_record_with_names; Very slow search!!!

2009-11-24 Thread Rahul S. Johari
see you are scanning the whole dbf file from php Fox cant help you in this way if there is not another option for scan a dbf the row by row method is very slow Rahul S. Johari escribió: Your post definitely gives me hope. It's possible I'm doing something wrong! I definitely have the foxpro

Re: [PHP] Re: dbase_get_record_with_names; Very slow search!!!

2009-11-24 Thread Rahul S. Johari
/01/php_connect_dbf_file.html Rahul S. Johari escribió: I do believe that what I'm doing is scanning the foxpro dbase row by row to get the match ... which is why it's returning the results very slow. But I don't know if there's any other way to do this. Basically the FoxPro DBF has 75,000

Re: [PHP] Re: dbase_get_record_with_names; Very slow search!!!

2009-11-24 Thread Rahul S. Johari
to Original Topic: Still no solution for a faster search through the dbf via PHP. On Nov 24, 2009, at 11:11 AM, keyser soze wrote: uhh, i don't know (time ago Fox was multi-platform unix/mac/dos) did you found that on the web? Rahul S. Johari escribió: Keyser, It gets better -- I'm on a Mac

Re: [PHP] dbase_get_record_with_names; Very slow search!!!

2009-11-24 Thread Rahul S. Johari
Quite right. Unfortunately there doesn't seem to be any available ODBC Drivers for FoxPro available for Mac OS X either!! I'm hitting a brick wall no matter what direction I take. On Nov 24, 2009, at 12:22 PM, Olav wrote: Ashley Sheridan wrote: I would assume that any indexes created

Re: [PHP] dbase_get_record_with_names; Very slow search!!!

2009-11-24 Thread Rahul S. Johari
wrote: Rahul S. Johari wrote: Quite right. Unfortunately there doesn't seem to be any available ODBC Drivers for FoxPro available for Mac OS X either!! I'm hitting a brick wall no matter what direction I take. Convert to SQLite and don't look back ;) Unless your DBF files are still in use

Re: [PHP] dynamic meta tag and title app?

2009-11-19 Thread Jack S
, Nov 19, 2009 at 10:09 AM, tedd tedd.sperl...@gmail.com wrote: At 11:30 AM -0500 11/18/09, Jack S wrote: Hello All, Does anyone have a reference to a program that may be out there to help with using a single header.php for a site, but then dynamically loads different keywords , titles etc

[PHP] dynamic meta tag and title app?

2009-11-18 Thread Jack S
Hello All, Does anyone have a reference to a program that may be out there to help with using a single header.php for a site, but then dynamically loads different keywords , titles etc based on what page is including the header file? Sample: If home page include it knows the title and other

Re: [PHP] php-ldap works in commandline but not through browser

2009-10-15 Thread chima s
Hi, ldap extension was loaded in the php.ini file. php -i |grep ldap /etc/php.d/ldap.ini, ldap RCS Version = $Id: ldap.c,v 1.161.2.3.2.14 2008/12/31 11:17:39 sebastian Exp $ Regards Chima.s On Thu, Oct 15, 2009 at 7:17 PM, xfe...@gmail.com wrote: Did you check both php.ini files? -- PHP

[PHP] php-ldap works in commandline but not through browser

2009-10-14 Thread chima s
Hi All, I am using tring with sample program to connect the ldap using php. Below is the sample code: == ?php echo $test=ldapAuthenticate('username','password','domainname'); function ldapAuthenticate($username,$password,

Re: [PHP] moving to quad core

2009-09-15 Thread Rahul S. Johari
On 9/15/09 10:54 AM, Andres Gonzalez and...@packetstorm.com wrote: I have an application developed that uses alot of PHP. Currently, it is running on a Ubuntu 8.04 , single core CPU host. We are moving to a quad core host for this application. Is there anything special that I need to do

[PHP] ereg_replace to preg_replace translation

2009-08-11 Thread m a r k u s
for tranlation or alternative ? Thanks -- m a r k u s -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Ridiculous ..won't print or echo ...(RESOLVED)

2009-07-31 Thread ej S(ibr(ina on...@mojestopa.cz
need to have $P printed to the page like this: @$p2118 S. Campbell Ave So in my php which is going to be grabbing this info and formatting it for the Quarkisn't echoing that $p all I get is the @ I have tried several things: $p = $p $p = print($p) $p is trying to interpolate

Re: [PHP] Ridiculous ..won't print or echo ...(RESOLVED)

2009-07-31 Thread ej S(ibr(ina on...@mojestopa.cz
I'm sorry for this post. It's only testing. Thanks for understand. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Making several variables into 1 variable

2009-07-28 Thread Richard S. Crawford
field that is formatted like 00/00/00 Try: $past_date = date(m/d/y, $pastDays) Or even: $past_date = date (m/d/y, time() - 2592000) (where 2592000 is 30 * 86400, and 86400 is the number of seconds in one day.) -- Richard S. Crawford (rscrawf...@mossroot.com) http://www.mossroot.com Publisher

Re: [PHP] Font problem

2009-07-28 Thread Richard S. Crawford
. -- Richard S. Crawford (rscrawf...@mossroot.com) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] str_to_date equivalent in PHP

2009-07-28 Thread Richard S. Crawford
but I don't have PHP 5.3.0 installed in any of my systems to test it and the function/method is not well documented yet. So I will have to write a workaround this. Has anybody tried this? Does strtotime() not work for you? -- Richard S. Crawford (rscrawf...@mossroot.com) http

Re: [PHP] str_to_date equivalent in PHP

2009-07-28 Thread Richard S. Crawford
On Tue, Jul 28, 2009 at 10:09 AM, Jim Lucasli...@cmsws.com wrote: Richard S. Crawford wrote: 2009/7/28 Thodoris t...@kinetix.gr: Hi gang,   I've been looking for a str_to_date (mysql) equivalent in PHP. I've noticed that these are matching the description: http://www.php.net/manual/en

Fwd: [PHP] newbie: problem with $_Post[]

2009-07-27 Thread Richard S. Crawford
'];     if(($user==myname)($pass=mypass)) {     echo access granted;     } else {     echo access denied;     } ? Hope that helps. -- Richard S. Crawford (rscrawf...@mossroot.com) http://www.mossroot.com Publisher and Editor in Chief, Daikaijuzine (http://www.daikaijuzine.com) -- PHP General Mailing List

[PHP] How do I Upload XML file using cUrl?

2009-06-12 Thread Rahul S. Johari
Ave, I have a client who used Lead360.Com to manage their Leads. We have a Leads Management application in place that creates an XML file of the lead which give the client manually to download. What are client is requesting is to POST the XML File directly to their Leads360.Com account.

[PHP] PHP as Server Side for a Web Database Application.

2009-06-09 Thread R. S. Patil
Hi, We are in phase of evaluating PHP as Serverside technology for our first web application. We have finalized Flex for user interface and Birt as reporting engine. Now the data services are to be evaluated. Flex forums recommended us using PHP for this. We would like to implement SOA for

Re: [PHP] Problems with HTTPS and maybe an .htaccess???

2009-05-05 Thread Alex S Kurilo aka Kamazee
RewriteRule . index.php Add an asterisk after the dot: RewriteRule .* index.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems with HTTPS and maybe an .htaccess???

2009-05-05 Thread Alex S Kurilo aka Kamazee
No, adding * after the period had no affect at all. Still goes to the live site. Sorry, I misunderstood you. I'm too lazy to read all the message :) http and https may be handled by different virtual hosts. http for http://dev.sitename.com/ seems to be configured properly (Virtual host at

Re: [PHP] How to deal with identical fields in db

2009-05-05 Thread Richard S. Crawford
want to do some normalization on this task; otherwise, you end up with a giant table of books, with multiple rows duplicating the title of the book, leading to a huge books table, and nobody wants that. -- Richard S. Crawford (rscrawf...@mossroot.com) http://www.mossroot.com Publisher and Editor

[PHP] Extract variable out of a Class - Function

2009-04-23 Thread Rahul S. Johari
); echo $justTT; } } } I need to use $justTT. How do I get the value of $justTT into a different variable outside of this class/function so I can use it in a different class? --- Rahul S. Johari Supervisor, Internet Administration Informed Sources, Inc

Re: [PHP] Extract variable out of a Class - Function

2009-04-23 Thread Alex S Kurilo aka Kamazee
I have a function within a class. There is a variable inside that function which I need to access use outside of the class/function. For example ... Class Test { function showOutput { if ($this-url) { $justTT = substr($this-url,-10,7);

Re: RES: [PHP] Extract variable out of a Class - Function

2009-04-23 Thread Rahul S. Johari
) { $this-justTT = substr($this-url,-10,7); } } } $myvar=new Test(); $myvar-showOutput(); $othervar=$myvar-justTT; echo $othervar; $otherClass=new anotherclass($othervar); Is that u want? Zechim SP/Brazil -Mensagem original- De: Rahul S. Johari

Re: [PHP] self in inherited methods

2009-04-21 Thread Alex S Kurilo aka Kamazee
Is it right that 'self' in inherited method still points to the parent? If it is, can you explain it? It makes me worry :) Up until 5.3 this was just the way it was. It has been fixed in 5.3. See here for more info: http://php.net/lsb Thanks. It seems that 'static' keyword (instead of 'self')

[PHP] self in inherited methods

2009-04-19 Thread Alex S Kurilo aka Kamazee
Is it right that 'self' in inherited method still points to the parent? If it is, can you explain it? It makes me worry :) A piece of code below for example ?php class MyParent { const NAME = 'MyParent'; public function get_instance() { return new self; }

[PHP] Connecting to dBase using ODBC on Mac OS X

2009-04-09 Thread Rahul S. Johari
Ave, Does anyone have any knowledge on connecting a FoxPro table (.dbf, dbase) using ODBC on a Mac OS X? I've been googling but not much is turning up. Some information is available on ODBC Connections using PHP ... very little on Mac OS X ... and absolutely none to do with a FoxPro

[PHP] Writing to dbase (dbf) deletes index (cdx)

2009-03-25 Thread Rahul S. Johari
Ave, I noticed something peculiar and I can't find a solution for this. I'm wondering if anyone can help me out. I'm using the dbase functions to read write from dbf (foxpro) tables. The DBF tables usually have an Index which is contained in filename.cdx. It appears that anytime I Write

[PHP] Export/Write rows from DBF to CSV

2009-03-13 Thread Rahul S. Johari
Ave, I'm trying to retrieve data from a DBF database and write it to a CSV file in a comma delimited format. I'm able to get the data and write it to CSV, but it only writes the last row/record ... not all the records. I know I don't have the correct code and I'm hoping someone can help

Re: [PHP] Export/Write rows from DBF to CSV

2009-03-13 Thread Rahul S. Johari
On Mar 13, 2009, at 10:01 AM, Bastien Koert wrote: On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari sleepwal...@rahulsjohari.com wrote: Ave, I'm trying to retrieve data from a DBF database and write it to a CSV file in a comma delimited format. I'm able to get the data and write

Re: [PHP] Export/Write rows from DBF to CSV

2009-03-13 Thread Rahul S. Johari
On Mar 13, 2009, at 11:44 AM, Shawn McKenzie wrote: Rahul S. Johari wrote: On Mar 13, 2009, at 10:01 AM, Bastien Koert wrote: On Fri, Mar 13, 2009 at 9:56 AM, Rahul S. Johari sleepwal...@rahulsjohari.com wrote: Ave, I'm trying to retrieve data from a DBF database and write

[PHP] Re: Extract result from a https remote server response

2009-02-13 Thread m a r k u s
Shawn McKenzie wrote: m a r k u s wrote: Hi all, Example : https://www.moneybookers.com/app/email_check.pl?email=t...@toto.comcust_id=123546password=123 The MB server response displayed is : Illegal operation. We would like to put the result below in a php variable and process it . An idea

[PHP] Re: Extract result from a https remote server response

2009-02-13 Thread m a r k u s
Shawn McKenzie wrote: Shawn McKenzie wrote: m a r k u s wrote: Hi all, Example : https://www.moneybookers.com/app/email_check.pl?email=t...@toto.comcust_id=123546password=123 The MB server response displayed is : Illegal operation. We would like to put the result below in a php variable

Re: [PHP] Re: Extract result from a https remote server response

2009-02-13 Thread m a r k u s
Sorry all, I was testing in a Windows environment. I feel like an idiot... :) Thanks to all. -- m a r k u s Bruno Fajardo wrote: Assigning the return of file_get_contents to a variable? Didn't get your point... 2009/2/13 m a r k u s queribus2...@hotmail.com Shawn McKenzie wrote: Shawn

[PHP] Extract result from a https remote server response

2009-02-12 Thread m a r k u s
Hi all, Example : https://www.moneybookers.com/app/email_check.pl?email=t...@toto.comcust_id=123546password=123 The MB server response displayed is : Illegal operation. We would like to put the result below in a php variable and process it . An idea ? PS: The server is secured. The php

Re: [PHP] Re: help with end of line charater

2009-01-30 Thread Konstantin S. Kurilov
Hello Adam! $list2 = explode(\n, $list); // \n not \r\n $list = implode(\r\n, $list2); foreach ... - not need with the best regards - Konstantin Kurilov Shawn McKenzie wrote: Adam Williams wrote: I have staff inputting email addresses into a textarea named $list on a form and when they

  1   2   3   4   5   6   7   8   9   10   >