Re: [PHP] Off the wall - sub-domain question

2013-08-22 Thread Dan McCullough
So its indexing http://www.domain.com/subdomain/page.php and you would rather it index http://subdomain.domain.com/page.php. If that is the case then what Willie said holds true User-agent: * Disallow: /subdomain Place a robots.txt in the domain.com public root directory. To Googles indexer

Re: FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread Dan McCullough
Web bots can ignore the robots.txt file, most scrapers would. On Mar 13, 2013 4:59 PM, Jen Rasmussen j...@cetaceasound.com wrote: -Original Message- From: Dale H. Cook [mailto:radiot...@plymouthcolony.net] Sent: Wednesday, March 13, 2013 3:38 PM To: php-general@lists.php.net Subject:

Re: [PHP] Your Amazon.com order confirmation.

2012-06-08 Thread Dan McCullough
I was hoping for a TV On Fri, Jun 8, 2012 at 10:19 AM, wrote: Your Order with Amazon.com Thanks for your order, php-db-h...@lists.php.net!Did you know you can view and edit your orders online, 24

Re: [PHP] Upload using FTP commands

2010-08-26 Thread Dan McCullough
Take a look here: http://us.php.net/manual/en/ref.ftp.php You might have some issues with the memory limit in PHP so that might have to be boosted for 20MB files. On Thu, Aug 26, 2010 at 12:24 PM, Matthew Croud m...@obviousdigital.comwrote: Hi, I want to give my client the ability to upload

Re: [PHP] blog design issue...

2010-03-20 Thread Dan McCullough
Table is the way to go for all the reasons that Rob mentioned. This is going to be a small blog to start, but I guess I should always be looking at performance, security, maintainability right? Good way to start is start small and build a strong base around a good database, good

Re: [PHP] Change styling depending on var value

2009-11-20 Thread Dan McCullough
To add to what Ashley said about $row[3], remember that when you are returning from the db the counter for fields will start at 0 not 1, so if its the 3rd field that will be $row[2]. You might also want to do switch rather then elseif but thats always a good debate. On Fri, Nov 20, 2009 at 3:16

Re: [PHP] What PHP version are you using?

2009-10-29 Thread Dan McCullough
Like Israel it depends on the client I am doing several projects for a client now that the hosting company is still using 4.0.6 - and its been a headache. Most of the personal projects and many of my other clients are on 5.1 or higher. On Thu, Oct 29, 2009 at 12:22 PM, Tom Barrett

Re: [PHP] Web Service Server in PHP

2009-10-21 Thread Dan McCullough
I believe NuSoap is still available source: http://sourceforge.net/projects/nusoap/ http://greghuet.blogspot.com/2007/12/soap-php5-and-nusoapphp.html You can also look here at PHPs SOAP functions http://php.net/manual/en/refs.webservice.php On Wed, Oct 21, 2009 at 9:26 PM, Daniel Echalar

Re: [PHP] Printing

2008-12-17 Thread Dan McCullough
I did something similar, but it was some work I did for a company and the application was an internal application that used PHP and a Java applet to send the file to a workers local printer since it cant be accomplished by PHP itself. On Wed, Dec 17, 2008 at 3:30 PM, Dan Shirah

Re: [PHP] Project Management

2007-05-24 Thread Dan McCullough
On 5/24/07, Christian Haensel [EMAIL PROTECTED] wrote: Hi Edward, thanks for your comment. I use a lab book too... And already fille two of them in the last 8 weeks I just wanna use the project management thing to collect my ideas, and write a howto for future generation developers who may

Re: [PHP] Creating a table for login system

2007-05-03 Thread Dan McCullough
http://www.devshed.com/c/a/PHP/Logging-With-PHP/ enjoy! On 3 May 2007 18:38:02 GMT, Karl James [EMAIL PROTECTED] wrote: Team, Can you provide a very accurate tutorial on how to create a login system. I am using website to control a fantasy football league and teams. one sign in only for each

Re: [PHP] Staff log-in

2006-11-10 Thread Dan McCullough
I do a lot of work for non-profits a lot of them are really good clients, pay well and on time, but I know most of them pretty well and know that they are truly non-profits, so just because you said you were a non-profit where we supposed to assume that you wanted it for free and supported

Re: [PHP] Remote Robot Control with PHP

2006-10-31 Thread Dan McCullough
Cool! On 10/31/06, Prathaban Mookiah [EMAIL PROTECTED] wrote: Hello List, I thought of sharing my experience of writing a controller to remotely control a robot through a webserver using PHP. Though I could not use PHP alone to do the entire job due the high delay it takes to connect to the

Re: [PHP] Shopping cart

2006-08-22 Thread Dan McCullough
There are many payment processing script/classes/examples available that you could use. Just google around for your gateway provider, like PHP and Authorize.net, etc, or go to their site and look for a developer, API or something like that to see if they have done some examples. On 8/22/06,

Re: [PHP] Shopping cart

2006-08-22 Thread Dan McCullough
Commercial product that is good http://www.x-cart.com/ On 8/22/06, Ryan A [EMAIL PROTECTED] wrote: It really looks like I will have to write this myself :( I know it will be good for experience but like someone else has pointed out, I would rather work with someone elses code for the payment

Re: [PHP] Shopping cart

2006-08-22 Thread Dan McCullough
I believe you can find those out there as well, most of what you need will be available out there, you will be able to find them and then take what you need to work it into your cart, probably would be a good idea to think of all the different pieces and then find the different

Re: [PHP] Shopping cart

2006-08-22 Thread Dan McCullough
McCullough [EMAIL PROTECTED] wrote: I believe you can find those out there as well, most of what you need will be available out there, you will be able to find them and then take what you need to work it into your cart, probably would be a good idea to think of all the different pieces and then find

Re: [PHP] Re: Recommendations for PHP debuggers?

2006-08-21 Thread Dan McCullough
How is this different then what they try and sell you for $249. I have eclipse for Java development, and was looking at Zends package for PHP development, but if they are basically selling me the same thing then I would go with eclipse. On 8/21/06, Colin Guthrie [EMAIL PROTECTED] wrote: Larry

Re: [PHP] Zend Studio, phpMyAdmin, and mysql.sock

2006-07-14 Thread Dan McCullough
in phpmyadmin config.default.php you can specify the socket that it should be looking for. have you tried that? On 7/14/06, Dave M G [EMAIL PROTECTED] wrote: David Tulloh, This sounds like a Zend Studio problem and question. It could possibly be a MySQL or even a phpMyAdmin question. It

Re: [PHP] url obfuscation

2006-07-13 Thread Dan McCullough
For me it doesnt matter I dont want Google in the section that I'm obfuscation. On 7/13/06, Richard Lynch [EMAIL PROTECTED] wrote: On Fri, July 7, 2006 10:56 pm, Anas Mughal wrote: My URLs are constant. They are not changing. All my dynamic pages are indexed nicely on Google. I agree that a

Re: [PHP] Debugging Log

2006-07-12 Thread Dan McCullough
I wrote my own, very simple, very easy. I think the code is in the archive somewhere. Otheres have written similar functions. CODE +++ function logError ($logentry, $lgname) { // simple function to log errors to text/log file. $logfile =

Re: [PHP] Debugging Log

2006-07-12 Thread Dan McCullough
Ahh yes I do that as well, I knew there was another other then syslog. On 7/12/06, Jochem Maas [EMAIL PROTECTED] wrote: Michael B Allen wrote: What is the standard method of logging debug info? Should I just fopen a file for append and write the message or is there a facility provided? there

[PHP] url obfuscation

2006-07-06 Thread Dan McCullough
Looking for a good way to obfuscation the name value pairs in a URL, so it might be something like http://www.domain.com/page=fjdsaflkjdsafkfjdsakfjdsalkfjsda983dsf or something like that, I was looking at base64_encode, but was wondering what others might do or use. It doesnt have to be super

Re: [PHP] PHP Bug Tracking

2006-07-06 Thread Dan McCullough
This one? http://dev.mysql.com/downloads/other/eventum/ On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote: Can anyone point me in the direction where I can find a place to download the bug track system that PHP/PEAR PECL uses. I seem to remember it is available but can't find it anymore! Ta!

Re: [PHP] PHP Bug Tracking

2006-07-06 Thread Dan McCullough
I just installed it so its fresh in my mind. :) On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote: Dan McCullough wrote: This one? http://dev.mysql.com/downloads/other/eventum/ On 7/6/06, Chris Hemmings [EMAIL PROTECTED] wrote: Can anyone point me in the direction where I can find

Re: [PHP] Re: Update site through email

2006-06-29 Thread Dan McCullough
There are several blog software packages and cms packages that do something like this you might want to download and take a peek. Wordpress one that comes to mind. On 6/29/06, Mathieu Dumoulin [EMAIL PROTECTED] wrote: How i'd do it is not simple, i'm sure there is an easier method but here

Re: [PHP] Re: creating a threaded message system--sorting messages

2006-06-29 Thread Dan McCullough
I've come into this discussion pretty late so please bear with me if I go over something that has been ruled out. You are trying to print out in a threaded method the first post in a thread followed by each post after that, that is a child/reply to that post. Is that correct? So something like

[PHP] rss feeds from db

2006-06-22 Thread Dan McCullough
I'm having some problems where some undefined entity are getting in, these entities are usually html entities. sad thing isquot;brvbar;bringing in these large chains is putting the xml doc points to the in ;brvbar as the problem. what do I need to do to get this stuff cleaned up? -- PHP

Re: [PHP] User Login Problem

2006-06-20 Thread Dan McCullough
Or make your own, might be easier to do. On 6/20/06, suresh kumar [EMAIL PROTECTED] wrote: Hi, I am facing one problem in my project.i want to restrict more than one user login in the same account .Is there any functions available to check r we can implement using session.

[PHP] parsing/replacing for special MS Word characters

2006-05-24 Thread Dan McCullough
I have a friend who I wrote some very simple publishing software, basically he takes his writtings and puts them online. Well his writtings are in Word and so he has alot of special characters that he inputs, some unknowingly, into the database. Are there any classes or samples of what others

Re: [PHP] looking for shopping cart

2006-04-09 Thread Dan McCullough
X-Cart, ZenCart (osCommerce like), http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/index.html if you look in the archives you will find similar questions with a lot better response. On 4/8/06, Lisa A [EMAIL PROTECTED] wrote: I need a shopping cart for a website that once I install

Re: [PHP] ?=? style

2006-04-06 Thread Dan McCullough
Short tags in the php.ini file. On 4/6/06, Dallas Cahker [EMAIL PROTECTED] wrote: What is that called and where in the php.ini file do I enable it? Sorry if this is a stupid question but since I dont know what its called it makes it difficult to google it. -- PHP General Mailing List

Re: [PHP] php security

2006-04-06 Thread Dan McCullough
I would look here for an idea. http://phpsec.org/projects/guide/ I think you'll find many opinions on the matter. One thing to remember is that once the app goes live your job doesnt stop there you'll need to be just as stringent about security and checking logs and errors as you were when you

Re: [PHP] server/PHP security

2006-04-06 Thread Dan McCullough
http://www.hardened-php.net/advisory_202005.79.html check this out On 4/6/06, Wolf [EMAIL PROTECTED] wrote: I woke up on thanksgiving morning to find my server hacked through a hole left by a file upload area of my site. I restored the backup and placed a few blocks in place on the server,

Re: [PHP] server/PHP security

2006-04-06 Thread Dan McCullough
WHat types of files were they, if you dont mind me asking? On 4/6/06, Wolf [EMAIL PROTECTED] wrote: I woke up on thanksgiving morning to find my server hacked through a hole left by a file upload area of my site. I restored the backup and placed a few blocks in place on the server, so they

Re: [PHP] php security

2006-04-06 Thread Dan McCullough
php.ini-anal-retentive-paranoid. I'm editing mine for that right now, everything is off, the sever has a keyboard, mouse, monitor no cd/dvd, no floppy, no usb and is unplugged from the network, there are 6 security guards that surround you and they give you 5 minutes on a timer. On 4/6/06, Kevin

Re: [PHP] php security

2006-04-06 Thread Dan McCullough
Cool Chris I'm going to take a look at that movie. Dallas there is a section at the top of the ini file that lists some directives and their status to address security or performance issues, but as Chris mentioned your code could be as big of a risk as anything so pay attention to that. On

Re: [PHP] help with some logic.

2006-04-04 Thread Dan McCullough
hey Dallas, have you thought about breaking this up and making two seperate functions one the checks the cookie and one that checks the session information? I'm not sure if that is what you were looking for as far as an answer but it might be a good start. On 4/4/06, Dallas Cahker [EMAIL

[PHP] date from YYYY-MM-DD to current date

2006-03-15 Thread Dan McCullough
I need to loop from a date in the past to current date getting all dates in between. Anyone have an idea on how to do that? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: [SOLVED] [PHP] date from YYYY-MM-DD to current date

2006-03-15 Thread Dan McCullough
is prohibited. If you have received this transmission in error, please notify the sender by reply e-mail and destroy all copies of this transmission. -Original Message- From: Dan McCullough [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 15, 2006 10:22 AM To: Shaunak Kashyap Subject: Re

Re: [PHP] Blogger post failed?

2006-02-14 Thread Dan McCullough
Got one yesterday, was very odd. On 2/14/06, Kevin Kinsey [EMAIL PROTECTED] wrote: Jay Blanchard wrote: Is anyone else getting these messages? Yes. Very annoying. Yes. Barry wrote: ] Sometimes. ] Proably the server is reaching its limits :P Seems doubtful; if I read the

Re: [PHP] What's a Blog?

2006-02-14 Thread Dan McCullough
Or code and give back to the project On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote: On Tuesday 14 February 2006 16:18, Kim Christensen wrote: On 2/14/06, Duncan Hill [EMAIL PROTECTED] wrote: WordPress is free, has a neat WYSIWYG editor in version 2, and has a good support community. 5

Re: [PHP] What's a Blog?

2006-02-13 Thread Dan McCullough
Wordpress is free and easy to setup. On 2/13/06, Sam Smith [EMAIL PROTECTED] wrote: I have a client who wants to blog or he wants a blog on his website. I don't know anything about these blogs except it's sort of a fad I think. Isn't a blog just a simple web form with a big textarea on the

Re: [PHP] Recompile PHP on pre-installed system

2006-02-08 Thread Dan McCullough
you can use php-odbc make sure you have unixODBC or like install on the system, once you do that its a piece of cake, been doing that here for a few months. On 2/8/06, Justin Cook [EMAIL PROTECTED] wrote: Yes, we are using RHE 4 with a support contract. I need to get db2 support compiled in so

[PHP] load testing tools

2005-12-27 Thread Dan McCullough
Anyone have any opinions or suggestions on cheap/free load testing tools for dynamic sites? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: asianwhiteskin beauty product

2005-12-20 Thread Dan McCullough
Maybe this is a disk space product, increases disk space on all types of drives. On 12/20/05, Michelle Konzack [EMAIL PROTECTED] wrote: Am 2005-12-15 15:00:41, schrieb Dan McCullough: Is this some sort of new Zend product? :) Can this implemented? I have only 75A and do not like become

Re: [PHP] asianwhiteskin beauty product

2005-12-15 Thread Dan McCullough
Is this some sort of new Zend product? :) On 12/15/05, Michelle Konzack [EMAIL PROTECTED] wrote: Am 2005-12-13 10:09:41, schrieb Raz: Can I have some breast enlarger please? :-) Me too... Greetings Michelle -- Linux-User #280138 with the Linux Counter, http://counter.li.org/

Re: [PHP] PHP/MySql noob falls at first hurdle

2005-12-09 Thread Dan McCullough
I would hate to see a time clock that tabulated how many hours I wasted with typos and stupid things like that. On 12/9/05, Rory McKinley [EMAIL PROTECTED] wrote: Paul Jinks wrote: Rory McKinley wrote: Paul Jinks wrote: snip ? while($ouput_row =

Re: [PHP] testing on a local server

2005-11-18 Thread Dan McCullough
Well Jay was showing you where you could pick up everything you needed. On Windows XP the IIS server is not installed by default you have to select it as a component to install, so I'm not sure if you would have IIS installed either. If you want a simple and quick solution go to the link that

Re: [PHP] Testing on the local server

2005-11-18 Thread Dan McCullough
Coincidence On 11/18/05, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] I use Dreamweaver and I try to test the files on the local host, but the page doesn't even show up. This maybe a stupid question..but to test on a local server, would I just need to download PHP? [/snip] Deja Vu?

Re: [PHP] Cookies

2005-11-17 Thread Dan McCullough
Tried and true is to set a cookie and then attempt to read it, if you cant read it then cookies are not on. On 11/17/05, Ben Miller [EMAIL PROTECTED] wrote: Is there a way to test if a user has cookies turned on or not so that I can use cookies if the user allows them and use the URL if the

Re: [PHP] Cookies

2005-11-17 Thread Dan McCullough
You can check on every page load, but I'm sure thats over kill for most public facing sites to catch some Yahoos who have too much time on their hands. On 11/17/05, Richard Davey [EMAIL PROTECTED] wrote: Hi Ben, Thursday, November 17, 2005, 3:26:04 PM, you wrote: Is there a way to test if a

Re: Re[2]: [PHP] Cookies

2005-11-17 Thread Dan McCullough
:) why of course On 11/17/05, Richard Davey [EMAIL PROTECTED] wrote: Hi Dan, Thursday, November 17, 2005, 3:56:43 PM, you wrote: You can check on every page load, but I'm sure thats over kill for most public facing sites to catch some Yahoos who have too much time on their hands. Is

Re: [PHP] Error Messages, Windows, and Tequila

2005-11-16 Thread Dan McCullough
Also check to make sure that its the right php.ini file, I have had a problem in the past when the installer has put the php.ini file in the WINDOWS directory and there is an existing one in the PHP directory as well. I would check phpinfo and see where the php.ini file is located. On 11/16/05,

Re: [PHP] Developement Environment for PHP?

2005-11-16 Thread Dan McCullough
Zend Studio PHPEclipse LAMP + Notepad :) On 11/16/05, Tom Cruickshank [EMAIL PROTECTED] wrote: Hello, I'm not sure if this has been asked before or not (probably has) but I can't seem to find it. I'm looking for a Development Environment for PHP other then vi. What I'm looking for is an

Re: [PHP] Cannot find bison and Flex even when those are installed

2005-11-11 Thread Dan McCullough
You might have to change the configure option from with-bison=/usr/local/bison to with-bison=/usr or even with-bison= Happens to me alot. This would also be a better email for the PHP INSTALL list On 11/11/05, Jurgen [EMAIL PROTECTED] wrote: Dear group I tried to install php 4.3.11 on Linux

Re: [PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-10 Thread Dan McCullough
That could get messy On 11/10/05, George Pitcher [EMAIL PROTECTED] wrote: It means that you have two colons not being used correctly its a good thing this mailinglist is not about the practice of medicine ;-) If it was, I suppose you would recommend 'colonic irrigation' then?

Re: [PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-10 Thread Dan McCullough
LOL coding mirrors life. On 11/10/05, Jay Blanchard [EMAIL PROTECTED] wrote: [snip] It means that you have two colons not being used correctly its a good thing this mailinglist is not about the practice of medicine ;-) If it was, I suppose you would recommend 'colonic

Re: [PHP] Unable to send variables to MySQL table

2005-11-09 Thread Dan McCullough
print $add_to_db; should print out the entire insert line and you can just double check that your values are full, otherwise like Jay said I would check and make sure the user you have in your connect string can write to the db. On 11/9/05, Stewart Priest [EMAIL PROTECTED] wrote: Hi folks... a

Re: [PHP] Unable to send variables to MySQL table

2005-11-09 Thread Dan McCullough
What is the structure of that table? On 11/9/05, Stewart Priest [EMAIL PROTECTED] wrote: snip print $add_to_db; /snip Thanks for all your replies! I didn't expect to get one so quick, so thanks! After I did the above, I pasted the output into MySQL. Guess what? It didn't work! I was

Re: [PHP] T_PAAMAYIM_NEKUDOTAYIM

2005-11-09 Thread Dan McCullough
t_paamayim_nekudotayim is Hebrew for term twice colon I believe that its saying that you need to use the :: operator. On 11/9/05, Unknown Unknown [EMAIL PROTECTED] wrote: I was working with objects, and suddenly i got this error: *Parse error*: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in

Re: [PHP] reg ex help

2005-11-04 Thread Dan McCullough
Whos responsible for putting all that information into one field. LOL On 11/4/05, conditional motion [EMAIL PROTECTED] wrote: The name like Roch Small Sum and others dont change, they will be in there whether there is a value associated with them or not. On 11/4/05, conditional motion

[PHP] getting rid of bad characters

2005-10-31 Thread Dan McCullough
I having been looking for some snippet to help me with changing MS Word double, quotes, single quotes and other characters to acceptable HTML safe characters. The problem comes about when the people using the forms paste large articles from Word into the form, I do a normal check and add slashes

Re: [PHP] XML-RPC Error:-32300:transport error - could not open socket

2005-10-28 Thread Dan McCullough
It was the version of class-IXR.php, there was a small bug in that library and the fix had just come out, so it was until I went back and download some updates that it worked. On 10/22/05, Richard Lynch [EMAIL PROTECTED] wrote: On Sat, October 22, 2005 10:19 am, Dan McCullough wrote: I'm

[PHP] XML-RPC Error:-32300:transport error - could not open socket

2005-10-22 Thread Dan McCullough
I'm having any issue finding out why this is happening and how to fix it. Is it a permissions problem between php and the server or something else? Help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] XML-RPC Error:-32300:transport error - could not open socket

2005-10-22 Thread Dan McCullough
Tried Google and the guy who created the snippet they had no helpful information about the error. On 10/22/05, Torgny Bjers [EMAIL PROTECTED] wrote: Dan McCullough wrote: I'm having any issue finding out why this is happening and how to fix it. Is it a permissions problem between php

Re: [PHP] test

2005-10-14 Thread Dan McCullough
did it work ;) On 10/14/05, Alan Lord [EMAIL PROTECTED] wrote: please ignore -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Help with logic :(

2005-10-14 Thread Dan McCullough
Not a problem, good to see. On 10/14/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: NEVERMIND. Solved it. Thanks!!! A Hi all, Just wondering how one would do multiple rows? Instead of me me copying and pasting the same row of code 15 times (multiple data entry form), I just

Re: [PHP] automatic login..

2005-10-14 Thread Dan McCullough
some logic and information. set the cookie to expire after 120 days or so, or never. you will have to set a cookie with the username and password, preferably a md5 encrypted password. also remember to have the logout function to remember those cookies. On 10/14/05, ganu [EMAIL PROTECTED] wrote:

Re: [PHP] Mark Email as Urgent

2005-10-13 Thread Dan McCullough
add a header in the mail function between 1 - 5, 1 being the highest $headers .= X-Priority: 1\n; On 10/13/05, Nathaniel Hall [EMAIL PROTECTED] wrote: I have a PHP script that automatically sends an e-mail when accessed. Is there any way to mark the e-mail that is sent as urgent or flagged?

Re: [PHP] Help with logic :(

2005-10-11 Thread Dan McCullough
. Appreciate your thoughts. Aaron On Mon, October 10, 2005 3:24 pm, Dan McCullough wrote: create a function to check if the rndnumber=couponcode row count = 0 if not then redo rndnumber if it does = 0 then insert rndnumber N! You are creating a RACE CONDITION

Re: [PHP] Help with logic :(

2005-10-11 Thread Dan McCullough
randon code and keep going until one is available? I can do this all intenrally without the customer knowing/seeing anything? Hope I am making some sense. Not trying to confuse the issue. Thanks. Appreciate your thoughts. Aaron On Mon, October 10, 2005 3:24 pm, Dan McCullough wrote

Re: [PHP] Help with logic :(

2005-10-11 Thread Dan McCullough
$result = mysql_query($query) or die(mysql_error()); On 10/11/05, Silvio Porcellana [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: ?php include (../utils.inc); $date = date(U); $dateExpire = $date + 90 * 86400; $code = jack; $query = INSERT

Re: [PHP] Obsession with BC

2005-10-11 Thread Dan McCullough
None of my code breaks from 4 to 5, I also run a small hosting company and I upgrade when I see improvements to the software that would warrent an upgrade. MySQL 4.1.12, Apache 2, PHP5. I also think its a cop out by those who dont have alot of time to upgrade their 30+ servers. Another stall or

Re: [PHP] Obsession with BC

2005-10-11 Thread Dan McCullough
. James Kilbride -Original Message- From: Dan McCullough [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 11, 2005 2:04 PM To: php-general@lists.php.net Subject: Re: [PHP] Obsession with BC None of my code breaks from 4 to 5, I also run a small hosting company and I upgrade

[PHP] onChange js running a php function

2005-10-11 Thread Dan McCullough
Its been awhile since I tried this so I was wondering if anyone had any luck with this. I need to get a list of tables from a database, which means I have to run a function, I would like to have an onChange event run when I change my selection in a select menu, that would send the value for the

Re: [PHP] Help with logic :(

2005-10-10 Thread Dan McCullough
create a function to check if the rndnumber=couponcode row count = 0 if not then redo rndnumber if it does = 0 then insert rndnumber On 10/10/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hey guys, Having trouble coming up with a solution to this idea I am trying to implement. I have a

[PHP] ODBC and DB2 functions (PDO_ODBC)

2005-09-28 Thread Dan McCullough
Anyone have any experience with DB2 over ODBC or JDBC from PHP on Linux? Looking for some idea of what I will need to be able to connect to a DB2 server on our network. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fwd: Re: [PHP] How to delete text with replies for archive pages

2004-12-28 Thread Will McCullough
be: And finding out how to delete that with the in front is my problem --- Jason Wong [EMAIL PROTECTED] wrote: On Tuesday 28 December 2004 13:26, Will McCullough wrote: We are writing a web archive to a mail list server. We want to be able to delete the footer that comes through

[PHP] How to delete text with replies for archive pages

2004-12-27 Thread Will McCullough
Hey Everyone, We are writing a web archive to a mail list server. We want to be able to delete the footer that comes through on every email so that we don't end up with those long footers that are 4x repeated sometimes like in the example here: - PHP General Mailing List

[PHP] xml question

2004-12-06 Thread Dan McCullough
Question. I need to get one value out of an xml document. ... categories catDesserts/cat/categories ... what do I need to do? $xml_parser = xml_parser_create(); xml_parser_set_option($xml_parser, XML_OPTION_CASE_FOLDING, true); xml_set_element_handler($xml_parser, cat, /cat);

[PHP] access database best pratice

2004-10-28 Thread Dan McCullough
I have a client who wants to update their access database that sits on their XP/IIS box. I plan on using PHP/ODBC connection to do this, however I am not up-to-speed on pitfalls or best pratices concerning access and odbc over the web or if I should suggest a better course of action, since I

Re: [PHP] Thanks but problem Again! (MySQL PHP database script PLEASE)

2004-10-22 Thread Dan McCullough
Its been awhile since I did any PHP but I would look at if you need to excape some of those double quote or encapsulate your sql in a single quote. Sugimoto [EMAIL PROTECTED] wrote:Thank you for two of you. Im amazed how quick the replys were. Very pleased. When I simply inserted the PHP

[PHP] parsing a string

2004-10-20 Thread Dan McCullough
Hey everyone Having a bit of trouble with something. I have a string which has known patterns. $stringCampusBob (Williams)~\toms more crap)~\blah blah blah)~\; What I am looking for is Location which is Campus

[PHP] url

2004-10-20 Thread Dan McCullough
I have this old script I wrote 2-3 years back. I gets arguments from the url. index.php?area=blah The client moved the code to another server and some odd happened. Nothing seems to be parsing from the URL anymore. The top code is ? if (!isset($area)) { ? HTML THis code no longer

Re: [PHP] Re: parsing a string

2004-10-20 Thread Dan McCullough
('#([^|]*)[|]+([^|]*)~[\]+([^\]*)~[\]+([^\]*)~[\]+#Ui', $string, $res); $campus = strpos($string, $res[1]); $bob = strpos($string, $res[2]); $crap = strpos($string, $res[3]); $blah = strpos($string, $res[4]); ? Dan McCullough wrote: Hey everyone Having a bit of trouble with something. I have

Re: [PHP] Re: parsing a string

2004-10-20 Thread Dan McCullough
]); $crap = strpos($string, $res[3]); $blah = strpos($string, $res[4]); ? Dan McCullough wrote: Hey everyone Having a bit of trouble with something. I have a string which has known patterns. $stringCampusBob (Williams)~\toms more crap)~\blah blah blah

Re: [PHP] multi dimension array

2004-09-13 Thread Dan McCullough
] or 610.555.5151 Order #: 2013, 2124, 2158 -- any help? thoughts? --- Greg Donald [EMAIL PROTECTED] wrote: On Fri, 10 Sep 2004 13:33:37 -0700 (PDT), Dan McCullough [EMAIL PROTECTED] wrote: So I have orders and customers. I

Re: [PHP] multi dimension array

2004-09-13 Thread Dan McCullough
#: -- --- Greg Donald [EMAIL PROTECTED] wrote: On Mon, 13 Sep 2004 07:14:31 -0700 (PDT), Dan McCullough [EMAIL PROTECTED] wrote: here is the code. $sql = select * from dealer, orders where orders.status='10

[PHP] multi dimension array

2004-09-10 Thread Dan McCullough
I believe that would be the correct term for what I need. Here is what I have been trying to do. I have orders and customers. Customers are required to do a few things before we can process the order. Some times they are very slow in doing so. So I wanted to write a little reminder script

[PHP] get all except 1

2004-07-20 Thread Dan McCullough
on that page. So can I do something like $story_sql=SELECT * FROM story WHERE approved = 1 AND editionId = $eid EXCEPT nid = $nid; $nid is the id of the story whos detail page we are on Am I thinking correctly? dan mccullough tf: 866.298.3991 w: 603.444.9808

RE: [PHP] get all except 1

2004-07-20 Thread Dan McCullough
Anything wrong with SELECT * FROM story WHERE approved = 1 AND newsId != $newsId AND editionId = $eid ORDER BY newsSortOrder ASC dan mccullough sr. engineer url: heathermccullough.com tf: 866.298.3991 w: 603.444.9808 There is no such thing as a problem

RE: [PHP] get all except 1

2004-07-20 Thread Dan McCullough
Thanks. Discovered some old code after writing. Boy its been awhile. dan mccullough sr. engineer url: heathermccullough.com tf: 866.298.3991 w: 603.444.9808 There is no such thing as a problem, unless the servers are on fire. Sometimes great opportunity

RE: [PHP] Re: Looking For Easy To Use Shopping Cart

2004-05-14 Thread Dan McCullough
There are several tutorials that are just the cart, probably some minimal code typing and fixing for your needs. MyMarket found on SourceForge is one. There was one on Monkey Junkies. FreeTrade is good. dan mccullough sr. engineer url: heathermccullough.com tf: 866.298.3991 w: 603.444.9808

RE: [PHP] Re: Looking For Easy To Use Shopping Cart

2004-05-14 Thread Dan McCullough
That's very simple. If you don't mind writing a bit of specific code you could do it in about an hour, there are many snippets of code for payment processors that you could use. Try Hotscripts.com. dan mccullough sr. engineer url: heathermccullough.com tf: 866.298.3991 w: 603.444.9808

RE: [PHP] Re: Looking For Easy To Use Shopping Cart

2004-05-14 Thread Dan McCullough
-Users-with-Sessions/623 http://tutorialized.com/tutorials/PHP/E-Commerce/tutorial/Building-an-E-Comm erce-Site-Part-3-Catalogs-and-Shopping-Carts/624 A little more involved. dan mccullough sr. engineer url: heathermccullough.com tf: 866.298.3991 w: 603.444.9808

[PHP] Doing things in the background

2004-03-02 Thread Dan McCullough
Have a script where I need to submit a form and then while its doing its magic show a animated gif and then display the results. Also anyone know a good site for a document in indexing tables in mysql. dan mccullough sr. engineer url: heathermccullough.com tf: 866.298.3991 w: 603.444.9808

RE: [PHP] Turck MMcache - still continuing or dead?

2004-01-31 Thread Dan McCullough
I'm jumping in kinda late, and I have been using it on two small production site, and countless small projects. While I do not use the full array of its features, even the base features make it a great product. Never had any problems -Original Message- From: Binay [mailto:[EMAIL

[PHP] mail list/outbound email

2004-01-31 Thread Dan McCullough
with php scripts to handle outbound email like those of responsys and other big boys? dan mccullough sr. engineer url: heathermccullough.com http://www.heathermccullough.com/ tf: 866.298.3991 w: 603.444.9808 There is no such thing as a problem, unless

[PHP] write failed

2003-12-07 Thread Dan McCullough
Just wanted to see if this was correct. To me this is saying that /tmp cannot be written to as there is no space left on device. Warning: Unknown(): write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown(): Failed to write session data (files). Please verify that the

  1   2   >