[PHP] PHP/mySQL Developer Partner needed...

2012-07-02 Thread Don Wieland
for the work they do on the site ;-) If you are interested, please contact me PRIVATELY and include a few examples of your work (websites,etc...). Thanks. Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Simple Email System (SES) Provider

2012-06-01 Thread Don Wieland
on how many emails my server can send per hour. They recommended I find a 3rd party service provider with support PHP API connections. My budget is limited. Does anyone have any suggestions of companies that might work for my scenario? Any feedback is appreciated ;-) Don -- PHP General

[PHP] passing /n into query ERROR

2012-05-31 Thread Don Wieland
and paste into into my Sequel Pro query editor and run it - works perfectly. Can someone shone some light on this? Frustrating - to say the least. Don $csv = SELECT u.user_id, u.first_name AS u_first_name

[PHP] Little Info...

2012-02-29 Thread Don Wieland
) , 0) FROM tl_trans_pmt_items ip WHERE t.transaction_id = ip.inv_id GROUP BY ip.inv_id) as d, regardless of the combination I use, invalid relationships come back as NULL - need to return 0 so I can use it in a math formula. Probably simple - maybe ;-) Thanks, Don -- PHP General Mailing

[PHP] Partner needed...

2011-12-17 Thread Don Wieland
the services the site will provide to the public, but would require a NDA to be signed first. If you have interest in a potential back-end revenue stream in exchange for you time in coding, please contact me PRIVATELY. Thanks! Don Wieland D W D a t a C o n c e p t s -- PHP General Mailing List

[PHP] Convert Hours to Decimal

2011-10-17 Thread Don Wieland
Hey Tim, I got a select string: select timediff(cast(out_1 as time), cast(in_1 as time)) tHours FROM lm_tc_trans WHERE tc_trans_id = '42' result = 08:45:00 How do i convert that to a FLOAT (5,2) = 8.75 or result = 08:15:00 How do i convert that to a FLOAT (5,2) = 8.25 Don Wieland

[PHP] MP3 Player and PHP

2010-12-22 Thread Don Wieland
so i can insert it via PHP to mySQL 5) Work is most popular browsers Free would be nice but I am will to pay a bit if it offers everything I need. Any suggestions would be appreciated. Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Where is my array?

2010-12-15 Thread Don Wieland
here? Thanks! Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Little Assistance...

2010-11-30 Thread Don Wieland
Hi all, I am needing to find someone with extensive mySQL chops to assist me in building a few mySQL queries to run from PHP. Compensation, of course... Probably an hour or so of effort for qualified. Please contact me PRIVATELY if interested. Don -- PHP General Mailing List (http

[PHP] mySQL query assistance...

2010-11-29 Thread Don Wieland
Hi all, Is there a list/form to get some help on compiling mySQL queries? I am executing them via PHP, but do not want to ask for help here if it is no the appropriate forum. Thanks ;-) Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Strange Query Error...

2010-11-27 Thread Don Wieland
Hi gang, I am executing a query via PHP that gives me a PHP error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND m.`Preferred_First_Name` LIKE 'Don' AND m.`Preferred_Last_Name` LIKE 'Wielan

Re: [PHP] Strange Query Error...

2010-11-27 Thread Don Wieland
where now() DATE_ADD(DATE_SUB(concat(member_year + 1,'-07-01'), INTERVAL 1 DAY), INTERVAL 30 DAY) AND m.Preferred_First_Name LIKE 'Don%' group by m.AUCCIIM_ID order by m.preferred_last_name ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server

Re: [PHP] Strange Query Error...

2010-11-27 Thread Don Wieland
On Nov 27, 2010, at 10:08 AM, Daniel P. Brown wrote: one primary question: are you using the mysql_* family, mysqli_* family, or another method of interfacing with MySQL? mysql_ $results = mysql_query($query) or die(mysql_error()); Don -- PHP General Mailing List (http://www.php.net

Re: [PHP] Strange Query Error...

2010-11-27 Thread Don Wieland
on m.AUCCIIM_ID = my.member_id where now() DATE_ADD(DATE_SUB(concat(member_year + 1,'-07-01'), INTERVAL 1 DAY), INTERVAL 30 DAY) AND m.Preferred_First_Name LIKE 'Don%' group by m.AUCCIIM_ID order by m.preferred_last_name Don

Re: [PHP] Strange Query Error...

2010-11-27 Thread Don Wieland
On Nov 27, 2010, at 10:39 AM, Tommy Pham wrote: Don, Have you tried to run the query in either MySQL workbench or the command line to ensure that query is SQL syntax error free? From the error message, it sounds more like a SQL syntax error. If you're able to run the query fine

Re: [PHP] Strange Query Error...

2010-11-27 Thread Don Wieland
On Nov 27, 2010, at 11:35 AM, Daniel P. Brown wrote: Strange... I have no idea what to do. I got to run it via PHP. Don, on which table is the column `member_year` located? Is that on `Members`? it is Member_Years. I thought of that. I change the query: select m.* from Members m

Re: [PHP] Strange Query Error...

2010-11-27 Thread Don Wieland
of another part of the code --- hence why the query works externally. Thanks Daniel, I did search my code prior to call and found an illegal invisible character. Working now... Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Securing Use of PHP site

2010-11-17 Thread Don Wieland
with SESSION VARS. I am doing some experimenting. Any words of wisdom or resources would be helpful. Thanks! Don Wieland D W D a t a C o n c e p t s ~ d...@dwdataconcepts.com Direct Line - (949) 336-4828 Integrated data solutions to fit your business needs. Need assistance

[PHP] Open Source PHP/ mySQL Project Management

2010-11-11 Thread Don Wieland
echos (where a user can reply it will post back into the PM system and echo back email to assigned users - with file attachments) Suggestions? Thanks! Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP importing CVS data with field mapping

2010-11-06 Thread Don Wieland
be appreciated. Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Reply to an EMAIL get posted in a mySQL TABLE

2010-10-28 Thread Don Wieland
and parse the new emails and insert them in to DB. Obviously a cool feature, that I want to use in a few of my web apps. Anyone have any tips/resource links or a product I can use to do this. Any feedback is appreciated! Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Weird Behavior

2010-10-20 Thread Don Wieland
) $qCur = 1; if($CD = $q2s $CD = $q2e) $qCur = 2; if($CD = $q3s $CD = $q3e) $qCur = 3; if($CD = $q4s $CD = $q4e) $qCur = 4; it returns 4 Don Wieland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Firs Day Of Week UNIX

2010-10-19 Thread Don Wieland
of the week. So if my preference is Monday and Today's date is 10/19/2010, I want to return a value of: 1287374400 (which is 10/18/2010) if my preference is Wednesday and Today's date is 10/19/2010, I want to return a value of: 1286942400 (which is 10/13/2010) Appreciate any help. Don

[PHP] Firs Day Of Week UNIX

2010-10-19 Thread Don Wieland
of the week. So if my preference is Monday and Today's date is 10/19/2010, I want to return a value of: 1287374400 (which is 10/18/2010) if my preference is Wednesday and Today's date is 10/19/2010, I want to return a value of: 1286942400 (which is 10/13/2010) Appreciate any help. Don

[PHP] Fiscal Years and Quarters

2010-10-19 Thread Don Wieland
Current_Fiscal_Quarter - result will be 1, 2, 3,or 4 Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Little Parsing help...

2010-10-01 Thread Don Wieland
sure that EXACT Case is only changed. For example, there might be a chord like Asus add 9 where I would not want the a of add9 to change. Any suggestions would be appreciated. Don Wieland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Little Parsing help...

2010-10-01 Thread Don Wieland
these chords, just the NOTE should change: G# G#sus7 Bsus add9 C#maj7 Fm7 G Cdim no3 I am working on a function, but still not producing the proper results. Hopefully this break down is more clear and someone will bail me out ;-) Thanks again for the feedback. Don On Oct 1, 2010, at 7:02 AM

[PHP] PHP upload hangs on Safari

2010-08-14 Thread Don Wieland
should be looking at to remedy this hanging? Don Wieland D W D a t a C o n c e p t s ~ d...@dwdataconcepts.com Direct Line - (949) 305-2771 Integrated data solutions to fit your business needs. Need assistance in dialing in your FileMaker solution? Check out our

[PHP] Trapping for PDF Type and file size in a UPLOAD form...

2010-07-29 Thread Don Wieland
selects a PDF file greater than 1MB, display an javascript alert File uploads may not exceed 1M in file size. Please try again. I appreciate any help that can be offered. Thanks in advanced! Don Wieland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] Date Test...

2010-07-08 Thread Don Wieland
On Jul 8, 2010, at 10:09 AM, Ashley Sheridan wrote: thanks Ash, I figure it out. I was not entering the full year. date('y-m-d',strtotime($fval)) needed to be date('o-m-d',strtotime($fval)) Duh ;-) Thanks, Don On Wed, 2010-07-07 at 13:28 -0700, Don Wieland wrote: Hello all, I am

[PHP] Date Test...

2010-07-07 Thread Don Wieland
['f']):$_POST[$ffield['f']]; $query_values[] = '.mysql_real_escape_string($ffield['s']=='/' !empty($fval) ?date('y-m-d',strtotime($fval)):$fval).'; } Will anyone point out the problem with this CODE? Don Wieland -- PHP General Mailing List (http://www.php.net

[PHP] NULL Date Entries...

2010-07-01 Thread Don Wieland
','applicant_dob_3'), 'req'=0, 's'='/'), This enters in the DB fine when there is a DATE, but when these fields are left empty, it inserts into the the DB as 2069-12-31. How does one deal with this? Don Wieland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] PHP - Header ERROR

2010-06-13 Thread Don Wieland
'].comment=.$_POST['comment']); exit(); } Don Wieland D W D a t a C o n c e p t s ~ d...@dwdataconcepts.com Direct Line - (949) 305-2771 Integrated data solutions to fit your business needs. Need assistance in dialing in your FileMaker solution? Check out our Developer

Re: [PHP] PHP - Header ERROR

2010-06-13 Thread Don Wieland
On Jun 13, 2010, at 7:53 AM, Ashley Sheridan wrote: On Sun, 2010-06-13 at 07:50 -0700, Don Wieland wrote: Yeah - I thought about that, but I don't know how to do this. I have a partner who admins my virtual private server. Oh well ;-) It is probably something I need to do to the header

[PHP] CSS - Image or object Slide left/right and fade in using jquery

2010-05-09 Thread Don Wieland
Does anyone have any resources that demonstrates using jquery to have an image or object slide in from the left and then fade in. I would appreciate it. Thanks! Don Wieland D W D a t a C o n c e p t s ~ d...@dwdataconcepts.com Direct Line - (949) 305-2771

[PHP] PHP and schedules tasks/events

2010-04-16 Thread Don Wieland
this... Thanks! Don Wieland D W D a t a C o n c e p t s ~ d...@dwdataconcepts.com Direct Line - (949) 305-2771 Integrated data solutions to fit your business needs. Need assistance in dialing in your FileMaker solution? Check out our Developer Support Plan at: http

Re: [PHP] PHP and schedules tasks/events

2010-04-16 Thread Don Wieland
at 4/9/2010 @ 10:45am 1 month(s) = email sent at 3/16/2010 @ 10:45am 1 year(s) = email sent at 4/16/2009 @ 10:45am This is really what I need... Don Wieland D W D a t a C o n c e p t s ~ d...@dwdataconcepts.com Direct Line - (949) 305-2771 -- PHP General Mailing List

[PHP] Parse a string containing name and email

2010-03-06 Thread Don
Hi, I am pulling email values out of a database and the format is as follows: John Smithjohn.sm...@somedomain.com I need to parse the string into two variables as such $name = John Smith $email = john.sm...@somedomain.com What would be the easiest way to do this? Thanks. -- PHP General

[PHP] Stored Proc - Date not inserting into the Record

2010-02-25 Thread Don Wieland
. Frustrating. My code looks right and I echoed the value on the page and it is formatted properly. The field in mySQL is formatted as a DATE type. Little help please :-) Don Wieland D W D a t a C o n c e p t s ~ d...@dwdataconcepts.com Direct Line - (949) 305-2771

[PHP] PHP / mySQL Project...

2010-02-22 Thread Don Wieland
, AJAX, and JQuery. Developer may work remotely. Please contact me via email, PRIVATELY, with your skills and sample of online project you have done. Also, this will be an hourly job - so what Hourly Rate you expect to get paid would be nice. Thanks! Don Wieland D W D a t a C o n c e p

[PHP] Weird Array Issue...

2010-01-22 Thread Don Wieland
(CALL Get_OHC_Years()) or die(Records not found.); $yRow = $years-fetch_array(); echo pre; print_r($yRow); echo /pre; But the result it returns on my page is: Array ( [0] = 2007 [ohc_year] = 2007 What am I missing? Thanks! Don Wieland D W D a t a C o n c e p t s

[PHP] Create Days for a specified YEAR...

2010-01-21 Thread Don Wieland
a ERROR. If they are not existing, create ONE RECORD for each day in that year. If you can, please include the mySQL procedure code and the PHP that would call it. Appreciate any help that be offered. Don Wieland D W D a t a C o n c e p t s ~ d...@dwdataconcepts.com

RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-13 Thread Don O'Neil
changed in the port between 5.1.2 and 5.2.12 1.add WITHOUT_X11=yes in /etc/make.conf 2.remove X11BASE= from that file and 4.make all-depend-list 5.make clean all depend soft 6.make menuconfig set X11 disable 7.make make install 2010/1/12 Don O'Neil li

RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-12 Thread Don O'Neil
clean all depend soft 6.make menuconfig set X11 disable 7.make make install 2010/1/12 Don O'Neil li...@lizardhill.com: Ok.. just for grins I installed a new instance of 6.1, NO Patches, just straight off the ISO... I loaded the ports that came WITH the distro, and was able to make php

RE: [PHP] RE: Clean PHP 5.2.12 Build Core Dumping / Can't Build Port - FreeBSD 6.1

2010-01-11 Thread Don O'Neil
Ok.. just for grins I installed a new instance of 6.1, NO Patches, just straight off the ISO... I loaded the ports that came WITH the distro, and was able to make php 5.1.2 ok... When I did a portsnap fetch, portsnap extract, then went into the /usr/ports/lang/php5 and just typed make I get the

[PHP] RE: Clean PHP 5.2.12 Build Core Dumping

2010-01-10 Thread Don O'Neil
I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= and X11BASE=, but I still get the same error. Remove them. This makes sure they are not defined, not even empty (as in #define BLA - symbol 'BLA' is defined). Where to go from here? Do I have and old version of

[PHP] RE: Clean PHP 5.2.12 Build Core Dumping

2010-01-09 Thread Don O'Neil
: Friday, January 08, 2010 10:35 PM To: Don O'Neil Cc: php-general@lists.php.net; freebsd-questi...@freebsd.org Subject: Re: Clean PHP 5.2.12 Build Core Dumping On Fri, 8 Jan 2010 16:18:11 -0800, Don O'Neil li...@lizardhill.com wrote: Ok... more info on the problem... I started with a clean

[PHP] RE: Clean PHP 5.2.12 Build Core Dumping

2010-01-09 Thread Don O'Neil
Well, I hadn't edited the Makefiles, I was planning on it (but won't now that you pointed out the make option), but never got past making the generic port I tried adding WITHOUT_X11=yes to /etc/make.conf as well as X11BASE= and X11BASE=, but I still get the same error. Where to go from here?

[PHP] Clean PHP 5.2.12 Build Core Dumping

2010-01-08 Thread Don O'Neil
I'm trying to build a clean version of php 5.2.12 on my FreeBSD 6.1 box and even with NO OPTIONS, php core dumps during the make test phase. How do I go about tracking down what is causing this problem? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Clean PHP 5.2.12 Build Core Dumping

2010-01-08 Thread Don O'Neil
Ok... more info on the problem... I started with a clean untarred archive, ad just ran ./configure, make, make test I get a core dump. After running gdb on the core dump I noticed it was the sqlite stuff that was dumping, so I re-ran configure with --without-sqlite --without-pdo-sqlite

[PHP] Query based on Server offset TimeStamp

2009-11-23 Thread Don Wieland
ServerOffsetTimeStap = Row_Start_TimeStamp AND ServerOffsetTimeStap = Row_End_TimeStamp How would I do this? Appreciate any help you can offer. Thanks! Don Wieland D W D a t a C o n c e p t s ~ d...@dwdataconcepts.com Direct Line - (949) 305-2771 Integrated data

[PHP] File To Blob Corruption

2009-11-14 Thread Don Wieland
(file_get_contents($_FILES['img'] ['tmp_name'])); $db-query(UPDATE Areas SET Image = '$file') or die(1.$db-error); Has anyone else ever run into this type of UPDATE error with images and PDF? We really need to get this dealt with ASAP. Thanks! Don Wieland D W D a t a C o n c e p t s

[PHP] Suppress Right-Click and Hide hover URL

2009-11-09 Thread Don Wieland
want to REMOVE the assoication of this Area with this Inlet?')\\Remove/a Please let me know if this can be tweaked to work... Thanks! Don Wieland D W D a t a C o n c e p t s ~ d...@dwdataconcepts.com Direct Line - (949) 305-2771 Integrated data solutions to fit

[PHP] Build Categories based on an static Array

2009-11-09 Thread Don Wieland
(No Area found.); while($row2 = $results2-fetch_assoc()) { $AreasList .= option value='{$row2['Area_id']}'{$row2['Area']}/option; } $AreasList .= /optgroup; } $AreasList .= /select; Don Wieland D W D a t

[PHP] Function Not Working...Little help

2009-11-05 Thread Don Wieland
(user_list.php, user_list.php); There are parts of the code I was trying to debug. Any help would be appreciated. Don Wieland D W D a t a C o n c e p t s ~ d...@dwdataconcepts.com Direct Line - (949) 305-2771 Integrated data solutions to fit your business needs. Need assistance

[PHP] French characters

2009-10-19 Thread Don
Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] French characters

2009-10-19 Thread Don
code has a header about character-encoding in french -Original Message- From: Don [mailto:d...@program-it.ca] Sent: Monday, October 19, 2009 3:58 PM To: php-general@lists.php.net Subject: [PHP] French characters Hi, I use PHP to read data form a mysql 5 table. allow the user to edit

Re: [PHP] French characters

2009-10-19 Thread Don Proshetsky
Thanks. For the database, there are many UTF8 collations. Is this the recommended one? UTF8_unicode-ci? - Original Message - From: Mert Oztekin To: 'Don' ; php-general@lists.php.net Sent: Monday, October 19, 2009 9:13 AM Subject: RE: [PHP] French characters You may use

Re: [PHP] French characters

2009-10-19 Thread Don
. It is used more commonly. (almost seems to become a encoding standart) -Original Message- From: Don [mailto:d...@program-it.ca] Sent: Monday, October 19, 2009 4:08 PM To: php-general@lists.php.net Subject: Re: [PHP] French characters I am using the following code: meta http-equiv=Content-Type

Re: [PHP] French characters

2009-10-19 Thread Don Proshetsky
- Original Message - From: Phpster phps...@gmail.com To: Don d...@program-it.ca Cc: php-general@lists.php.net Sent: Monday, October 19, 2009 9:33 AM Subject: Re: [PHP] French characters On Oct 19, 2009, at 9:29 AM, Don d...@program-it.ca wrote: This doesn't not seem to be having

Re: [PHP] French characters

2009-10-19 Thread Don
Phpster phps...@gmail.com wrote in message news:587e29a7-9904-45f2-beb3-b818ed0ca...@gmail.com... On Oct 19, 2009, at 9:29 AM, Don d...@program-it.ca wrote: This doesn't not seem to be having an affect as the French characters are still written scrambled. Mert Oztekin mozte

Re: [PHP] redirect to a page the fist time a site is accessed

2009-04-15 Thread Don
Andrew Ballard aball...@gmail.com wrote in message news:b6023aa40904150926g3e6fb478s36b18b6a53ec3...@mail.gmail.com... On Tue, Apr 14, 2009 at 10:30 PM, Jason Pruim ja...@jasonpruim.com wrote: On Apr 14, 2009, at 10:11 PM, Don d...@program-it.ca wrote: Hi, I have some code in my index.php

[PHP] redirect to a page the fist time a site is accessed

2009-04-14 Thread Don
to redirect the users but what I want to do is redirect a user ONLY the first time the web site is accessed regardless of what page they first access. I would like to minimize overhead (no database). Can this be done? Thanks, Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread Don Collier
Lists wrote: :-) Donovan Is there going to be someone contacting me about my prize? :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] New to PHP question

2009-01-28 Thread Don Collier
in a browser. Here is the code that I am working with: ?php $hamburger = 4.95; $chocmilk = 1.95; $cola = .85; $subtotal = (2 * $hamburger) + $chocmilk + $cola; $tax = $subtotal * .075; $tip = $subtotal * .16; $total = $subtotal + $tip + $tax; print Welcome to Chez Don.\n; print Here is your receipt:\n

Re: [PHP] New to PHP question

2009-01-28 Thread Don Collier
Paul M Foster wrote: On Wed, Jan 28, 2009 at 12:05:34PM -0700, Don Collier wrote: I am just learning PHP from the O'Reilly Learning PHP 5 book and I have a question regarding the formatting of text. Actually it is a couple of questions. First, when I use the \n and run the script from

Re: [PHP] New to PHP question

2009-01-28 Thread Don Collier
Paul M Foster wrote: See? This is what I'm talking about. *I* understand what you're saying, Don, and I agree. But this guy is just learning PHP from what is arguably not one of the best books on PHP (IMO). And you're throwing MVC at him. Let him master the subtleties of the language first

Re: [PHP] New to PHP question

2009-01-28 Thread Don Collier
Paul M Foster wrote: On Wed, Jan 28, 2009 at 01:45:07PM -0700, Don Collier wrote: On that note, what would be a better book to learn from? I have always been a fan of the O'Reilly books, but I am open to differing flavors of kool-aid. One can never have too many resources

[PHP] Removing an element from the middle of an mdlti-dimentsional array

2008-08-14 Thread Don
as all the following elements and I am left with: $myArray = array(array('1','2','3')); when I really want: $myArray = array(array('1','2','3'), array('7','8','9'), array('10','11','12')); Thanks, Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Removing an element from the middle of an mdlti-dimentsional array

2008-08-14 Thread Don
Won't unset() destroy the entire array? mike [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Can't you unset() it? Sorry for top posting I'm on an iPhone On Aug 14, 2008, at 7:30 PM, Don [EMAIL PROTECTED] wrote: Hi, Let's say I have the following array: $myArray = array(array

Re: [PHP] Removing an element from the middle of an mdlti-dimentsional array

2008-08-14 Thread Don Proshetsky
Yup, thanks. Also execute: $array = array_values(array) in order to fix the indexes - Original Message - From: mike [EMAIL PROTECTED] To: Don [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Thursday, August 14, 2008 11:16 PM Subject: Re: [PHP] Removing an element from

[PHP] Using Ajax to populate a drop-down list

2008-08-07 Thread Don
an example of how to do this? Thanks, Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RSS Feed using PHP/MySQL errors

2008-08-06 Thread Don Mak
Trying to create an articles rss feed for my site and I keep getting an error that says: = A semi colon character was expected. Line: 7 Character: 60 linkhttp://www.chirunning.com/shop/pages.php?pageid=19id=383/link = I've tried every way imaginable to figure out why I am getting this

[PHP] Date formatting issue

2008-08-05 Thread Don Don
Hi all, I've got dates in the following formats e.g. August 05, 2008, 10:14 am (e.g. today's date) August 04, 2008, 7:08 am (e.g. yesterda's date) August 03, 2008, 9:08 am (e.g. in the past) I am trying to format these dates do I can display them like this Today at 10:14 am (today) Yesterday

[PHP] Store database password outside of public_html folder

2008-08-04 Thread Don Don
Hi All, I've been reading on the internet that is most secure to store your database details outside of the public accessible folder. I am a bit stuck on how to do this. I've got a folder db_details that contains the file dbdetails which contains the database login info. I normally include

[PHP] URL Rewrite not working for me

2008-07-25 Thread Don Don
Hi all, I've set up a url rewrite code below. Options +FollowSymLinks RewriteEngine on RewriteRule profile/username/(.*) profile.php?username=$1 It only works when I type in this url http://www.example.com/profiles/profile/username/baller/ If i do not then the normal url

Re: [PHP] URL Rewrite not working for me

2008-07-25 Thread Don Don
/profiles/profile/username/baller --- On Fri, 7/25/08, Per Jessen [EMAIL PROTECTED] wrote: From: Per Jessen [EMAIL PROTECTED] Subject: Re: [PHP] URL Rewrite not working for me To: php-general@lists.php.net Date: Friday, July 25, 2008, 3:15 AM Don Don wrote: Hi all, I've set up a url

[PHP] Creating user groups in social application (e.g. facebook group)

2008-07-25 Thread Don Don
Hi All, Has anyone created or has tips for the creation of user groups in a app. e.g. a Facebook group ? I am trying to create groups in a social application where users on the site can join a group etc its just much like a facebook group. Any help will be appreciated. Ta. --

[PHP] Getting nuequiz pro wo to work in php5

2008-01-28 Thread Don Don
http://nuedream.com/nuequizpro/ I cant get the above product to work in php5. The product works in php4 but has problems with a $this variable in the database class with php5. Has anyone used the above product in php5 and found a way arround it ? Cheers Don

Re: [PHP] Assistance needed with mysql query to achieve this php5

2008-01-25 Thread Don Don
you may need to swap member/friendwith as well... But why you are storing everybody's NAME twice is beyond me... Or maybe I'm guessing wrongly what the fields are... On Thu, January 24, 2008 10:49 am, Don Don wrote: Hi all I have a table below CREATE TABLE `friends` ( `id` int(11) NOT NULL

[PHP] Assistance needed with mysql query to achieve this php5

2008-01-24 Thread Don Don
Hi all I have a table below CREATE TABLE `friends` ( `id` int(11) NOT NULL auto_increment, `member_id` int(11) NOT NULL, `member` varchar(32) NOT NULL, `friendwith` varchar(32) NOT NULL, `friendWithId` int(11) NOT NULL, `status` varchar(32) NOT NULL, PRIMARY KEY (`id`) )

[PHP] Best way to allow users to post youtube video links ?

2007-12-20 Thread Don Don
plugins out there ? Cheers Don. - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

Re: [PHP] Is there any Open Source Mailing List Manager that works good

2007-12-20 Thread Don Don
phplist. its awesome, opensource and will support all your needs. srihari naidu [EMAIL PROTECTED] wrote: Hi, I am searching for a good open source php mailing list manager for some days. can any one suggest me one please. Thanks in advance. Regards, Sri.

[PHP] Concurrency in a multi-user environment

2007-11-21 Thread Don Proshetsky
anyone have any user friendly suggestions or can give me some URLs where I can read up on this? Thanks, Don -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] OpenSSL problem

2007-10-05 Thread Don O'Neil
Any time I compile PHP 4.4.7 with --with-ssl my apache 1.3.39 server core dumps on my FreeBSD 6.1 box. Anyone have a work around for this or suggestions where to look? I was having a similar problem with Curl, but once I told curl where the OpenSSL home dir was that solved that problem. The

[PHP] Core dumps with --with-openssl

2007-10-04 Thread Don O'Neil
I just tried rebuilding my apache php to the latest version and now whenever I try to start it it core dumps. If I remove the --with-openssl and build with 4.4.6 of php at least it starts. I can't even get my old version to build now... Is there a work-around for this? The setup is as follows:

[PHP] Any known security issues with IMAP?

2007-10-03 Thread Don O'Neil
Are there any known security issues/concerns with compiling PHP with imap/pop3 support? Such as hijacking php pages and relaying spam, etc...? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Any known security issues with IMAP?

2007-10-03 Thread Don O'Neil
Are there any known security issues/concerns with compiling PHP with imap/pop3 support? Such as hijacking php pages and relaying spam, etc...? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Open New URL window

2007-09-20 Thread Don Read
, daggummit! if ($_POST['pw'] != burgers ) ^^^ -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. -- PHP General Mailing List

[PHP] Cut text from a string

2007-08-02 Thread Don Don
hi all, am trying to cut some texts from a serries of string values e.g. this is how we do (50 cents feat. the game) give it to me (nelly feat timerland) let me hold you (bow wow feat omarion) i want to cut off the text between the comas and i've seen some examples ? $string = Hello world,

Re: [PHP] Cut text from a string

2007-08-02 Thread Don Don
I meant i want to get rid of the braces. e.g. get the text up to the start of the first brace and ignore anything from the first brace onwards Dan Shirah [EMAIL PROTECTED] wrote: Maybe I'm blind, but I don't see any commas in the text you are referring to. On 8/2/07, Don Don wrote: hi all

[PHP] Reading sub-elements using XML Reader

2007-07-18 Thread Don Don
I am reading the following xml data in a very large file using XML reader, the xml structure looks like the xample given below item enginehead/engine braketail/brake tireshead/tires chromespart head 1/chromes chromesPart head 2/chromes seatstail/seats /item item

[PHP] Displaying HTML characters in real format

2007-07-12 Thread Don Don
Hi all, Am kind of confused between htmlspecialchars and htmlentities. I've got data i need to display data on a page containing e.g. quot; but will like it to be displayed as htmlspecialchars or htmlentities or page character set ? Cheers - Take

[PHP] Pokeing functionality

2007-05-22 Thread Don Don
Hi All, am trying to integrate a poke me poke you functionality to a web 2.0 application am developing. I've got some ideas of how to do this but am not sure if its the best aproach. i am using the idea of a PM system since i've done that earlier. Does anyone have any way of implementing a

[PHP] Regular Expressions

2007-05-22 Thread Don Don
Hi all, am trying to run a regular expression to a list of user entered data on some forms. I've creating what i think is a matching pattern for each category as shown below: function validateEntry($regularExpression, $fieldValue) { if(preg_match($regularExpression, $fieldValue)) {

Re: [PHP] Pokeing functionality

2007-05-22 Thread Don Don
? This is an extremely general question, like I want users to be able to view each other's profiles, how?... --rob On 5/22/07, Don Don wrote: Hi All, am trying to integrate a poke me poke you functionality to a web 2.0 application am developing. I've got some ideas of how to do this but am not sure

[PHP] printing out this nested array

2007-05-14 Thread Don Don
I am having a bit of a confusion printing the values of an array i have. When i print_r this array it contains the following: Array ( [ValueA] = ValueA [ValueB] = valueB [TestValue] = TestValue [Errors] = Array ( [0] = Array ( [ErrorId] = AD27JH [ErrorMsg] = OK ) ) ) I can get the values

Re: [PHP] printing out this nested array

2007-05-14 Thread Don Don
oops ! [0] cheers Richard Davey [EMAIL PROTECTED] wrote: Don Don wrote: I am having a bit of a confusion printing the values of an array i have. When i print_r this array it contains the following: Array ( [ValueA] = ValueA [ValueB] = valueB [TestValue] = TestValue [Errors

[PHP] Disable Soap Client and Soap Server in php5

2007-05-09 Thread Don Don
How can i disable soap client and server for php5, reason is that i've got NuSOAP (which i must use) and its classes clash with that of PHP5. My php configuration (when using phpinfo() displays soap client and server enabled for php5. I need to disable if ..amd looking into the configs..to

Re: [PHP] Re: Disable Soap Client and Soap Server in php5

2007-05-09 Thread Don Don
I'm mistaken, is to recompile php with --disable-soap. I don't think you can do it from php.ini. -- itoctopus - http://www.itoctopus.com Don Don wrote in message news:[EMAIL PROTECTED] How can i disable soap client and server for php5, reason is that i've got NuSOAP (which i must use

  1   2   3   4   5   6   >