Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Brad Huskins
Thanks Tim. That is some very useful feedback. I am aiming to build something that is almost as easy to use as Notepad. Don't know if I'll be successful or not, but nice to know people value simplicity. --Brad. On 09/14/2011 08:18 AM, Tim Streater wrote: On 14 Sep 2011 at 12:4

Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Brad Huskins
Oh geez. Didn't mean to start a flame war... On 09/13/2011 08:56 PM, James Yerge wrote: On 09/13/2011 08:40 PM, Jim Lucas wrote: On 9/13/2011 5:23 PM, tamouse mailing lists wrote: On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings wrote: I'm a big fan of editors that work in the terminal. You

Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Brad Huskins
Daniel, Thanks for your response. That's the direction I was thinking of taking this, but wanted to get some input before I got ahead of myself. -Brad. On 09/13/2011 06:54 PM, Daniel Brown wrote: On Tue, Sep 13, 2011 at 18:50, Brad Huskins wrote: Thanks for the input. Brad, I

Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Brad Huskins
On 09/13/2011 04:35 PM, Robert Cummings wrote: On 11-09-13 03:56 PM, Brad Huskins wrote: Hello all you php coders out there, I'm doing an Open Source text editor (just a hobby) that's designed for PHP developers and is accessible through the web. This has been stewing for a whil

[PHP] Sorry!

2011-09-13 Thread Brad Huskins
My apologies for the triplicate errors. My newsgroup client is doing screwy things. Again, I am SO sorry for the multiple posts. /Brad. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Brad Huskins
currently structured. --Brad [ Yes, this is based on the layout of Linus' original post to comp.os.minix. ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] What would you like to see in a text editor?

2011-09-13 Thread Brad Huskins
the source code to try out. As well, the project can be found at github.com/bhus/scriptr. I have tried to make the README readable and yet comprehensive. --Brad [And yes, this message is modeled after Linus' original post to comp.os.minix] -- PHP General Mailing List (http://www.php.net/)

[PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Brad Huskins
currently structured. --Brad [ Yes, this is based on the layout of Linus' original post to comp.os.minix. ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How PHP handles memory on exit

2011-06-24 Thread Brad Lorge
seful! Regards, Brad

RE: [PHP] Upload Progress Meter

2011-03-24 Thread Brad Broerman
Essentially, they all require Flash or Java... Most use Flash... If you want one that is in Java, and is scriptable in JavaScript, I have one on my website: http://www.bbroerman.net/code.html -Brad -Original Message- From: Floyd Resler [mailto:fres...@adex-intl.com] Sent

Re: [PHP] Detecting Multi-Scope Variables

2011-02-01 Thread Brad Lorge
Hmm, would this then be a question for internals? On Wed, Feb 2, 2011 at 9:59 AM, Ashley Sheridan wrote: > "Brad Lorge" wrote: > > >Perhaps my question was not as succinct as it could have been. > > > >Basically, can you think of a means through which to dete

Re: [PHP] Detecting Multi-Scope Variables

2011-02-01 Thread Brad Lorge
Perhaps my question was not as succinct as it could have been. Basically, can you think of a means through which to detect whether or not a variable is currently present in multiple scopes. IE: On Tue, Feb 1, 2011 at 7:12 PM, Tommy Pham wrote: > > -Original Message- > >

[PHP] Detecting Multi-Scope Variables

2011-01-31 Thread Brad Lorge
o them by the calling code. I have thought of a method which simply makes a copy of all the parameters for each listener within call_action(), however what I would really love is a function which returns whether or not the supplied variable is available in multiple scopes or is in the original scope which it was initialized in. Does anyone know of a way to achieve this? Regards, Brad

RE: [PHP] Re: How safe is a .htaccess file?

2010-08-24 Thread Brad Broerman
One thing I would do, and I have done this in many of my applications: a) Store the username / password in a database. b) Encrypt passwords (with a salt) with AES-256 using a key stored in a file OUTSIDE the document path. c) Add code to the beginning of the included file to ensure it is

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Brad Fuller
On Fri, Oct 23, 2009 at 1:54 PM, Israel Ekpo wrote: > > > On Fri, Oct 23, 2009 at 1:48 PM, Ashley Sheridan > wrote: >> >> On Fri, 2009-10-23 at 13:45 -0400, Brad Fuller wrote: >> >> > On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan >> > wrote

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Brad Fuller
On Fri, Oct 23, 2009 at 1:48 PM, Ashley Sheridan wrote: > On Fri, 2009-10-23 at 13:45 -0400, Brad Fuller wrote: > > On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan > wrote: > > > On Fri, 2009-10-23 at 13:23 -0400, Brad Fuller wrote: > > > > I'm looking fo

Re: [PHP] regex pattern for extracting URLs

2009-10-23 Thread Brad Fuller
On Fri, Oct 23, 2009 at 1:28 PM, Ashley Sheridan wrote: > On Fri, 2009-10-23 at 13:23 -0400, Brad Fuller wrote: > > I'm looking for a regular expression to accomplish a specific task. > > I'm hoping someone who's really good at regex patterns can lend a quick ha

[PHP] regex pattern for extracting URLs

2009-10-23 Thread Brad Fuller
arbitrary attributes in the HTML tag Test it with the following examples: Continue Continue http://example.com/path/to/url.html"; class="link">Continue http://example.com/path/to/url.html"; onlick="someFunction('foo','bar')">Continu

[PHP] RE: Paypal and Php

2009-05-03 Thread Brad Broerman
into more detail later if you're interested. As others have mentioned, there are some more complex Zend framework classes for this, but you may opt for the simpler and more direct route... Cheers, Brad Broerman -Original Message- From: Matthieu [mailto:spama...@gmail.com] Sent: S

[PHP] RE: Multiple return statements in a function.

2009-04-23 Thread Brad Broerman
Well, the latter method is generally easier to understand later. Most programming style books preach this method, and it's the one that most of my previous employers use. Cheers... -Original Message- From: Peter van der Does [mailto:pvanderd...@gmail.com] Sent: Thursday, April 23, 2009 8:

[PHP] RE: AJAX with POST

2009-04-04 Thread Brad Broerman
Well, as the "A" in Ajax is asynchronous, there's no real way to make it wait. What you would normally do is use a callback: function createXHRObject( ) { if (typeof XMLHttpRequest != "undefined") { return new XMLHttpRequest(); } else if (typeof

[PHP] Issues with mcrypt (Rijndael 128) and external C application.

2009-03-14 Thread Brad Broerman
Hi, I am trying to encode a string using Rijndael-128 using a C application that I wrote, based on the BSD crypt/rijndael libarary and decode it in PHP using mcrypt_decrypt. Each part of the program works separately (I can encrypt with the c app, and decrypt with it, and I can encrypt with mcrypt_e

[PHP] strtr array replace issue...

2009-02-09 Thread Brad Freshour
Apache: 2.2.8 threaded PHP: 5.2.4-2 mySQL: 5.051.a Ubuntu 8.04 minimal with everything needed installed via apt-get. Using SMF forum, I'm having an issue with the strtr command... Here's the code... $ftp_file = strtr($filename, array ($_SESSION['pack_ftp']['root'] =>'')); The $_SESSION[

[PHP] running python in php timeout

2008-12-29 Thread brad
Hi, I'm executing a python script from php that runs quite a long time (15+ minutes) and ends up timing out. Is there a way I can execute the python code and move on executing the remaining php code on the page? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
. $headers = implode("\r\n", $headers); Implode Hmmm = build array here but, the usage of "\r\n" is already confusing me. The manual says to use it for Bcc Parse error says otherwise when not in you array. Why? Else "blame casey" Never, you are trying to help! Br

FW: [PHP] two small issues with php mail

2007-11-19 Thread Brad
-Original Message- From: Brad [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 9:48 PM To: 'Chris' Subject: RE: [PHP] two small issues with php mail Sir, I am trying... It just is not working... I am trying to implement the auth info, I go from parse error to n

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
Responses like that is encouragement to drop php and move straight to ruby! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 9:07 PM To: Brad Subject: RE: [PHP] two small issues with php mail I'm sorry, but if you have to ask

FW: [PHP] two small issues with php mail

2007-11-19 Thread Brad
-Original Message- From: Brad [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 9:34 PM To: '[EMAIL PROTECTED]' Subject: RE: [PHP] two small issues with php mail Thought it was a support forum! Support usually does not mean "piss off". Brad -Origin

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
PM To: 'Brad' Cc: php-general@lists.php.net Subject: RE: [PHP] two small issues with php mail Did I miss something or the following line in your code is useless? > $smtp = "localhost"; Brad, if you really need SMTP configuration, and you want to make your life easier with attachm

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
al Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 8:44 PM To: Brad Subject: RE: [PHP] two small issues with php mail well, you need to do some basic debugging. a) replace your mail() function with print statements and review the output to make certain

FW: [PHP] two small issues with php mail

2007-11-19 Thread Brad
_ From: Brad [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 8:26 PM To: 'David Giragosian' Subject: RE: [PHP] two small issues with php mail My original issue is trying to implement a Bcc and Emails are only making it to 50% of the recipients. Re

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
From: Philip Thompson [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 7:00 PM To: php-general@lists.php.net Subject: Re: [PHP] two small issues with php mail On Nov 19, 2007 5:52 PM, Brad <[EMAIL PROTECTED]> wrote: > Why are you being to belligerent? > English 101-104 I

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
: Monday, November 19, 2007 7:00 PM To: php-general@lists.php.net Subject: Re: [PHP] two small issues with php mail On Nov 19, 2007 5:52 PM, Brad <[EMAIL PROTECTED]> wrote: > Why are you being to belligerent? > English 101-104 I have aced. > Top secret security clearance I maintain

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
ED] Sent: Monday, November 19, 2007 6:23 PM To: Brad Cc: php-general@lists.php.net; 'Stut' Subject: RE: [PHP] two small issues with php mail Why is what? Sorry, you are going to have to go back and phrase this into a complete sentence. "it makes no sense" refers to what exactl

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
problems but has the potential to stop it working. Fin. -Stut ### -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 5:25 PM To: Brad Cc: php-general@lists.php.net Subject: Re: [PHP] two small issues with php mail Brad wrot

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
As per your email! # Brad wrote: > $headers = 'bcc: [EMAIL PROTECTED]'; > > Works but corrupts the "from" portion and changes it to "nobody" > Which I think goes back too the smtp portion. There is no bcc: h

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
zoneof5/public_html/temp.php _SERVER["REMOTE_PORT"] 1929 _SERVER["GATEWAY_INTERFACE"] CGI/1.1 _SERVER["SERVER_PROTOCOL"] HTTP/1.1 _SERVER["REQUEST_METHOD"] GET _SERVER["QUERY_STRING"] no value _SERVER["REQUEST_URI"] /temp.php _SERVER

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
I am very much aware of phpinfo() Which has nothing to do with being able to edit the php.ini file! -Original Message- From: Wolf [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 4:59 PM To: Brad; php-general Subject: RE: [PHP] two small issues with php mail 1. Always copy the

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
nal examination or how they got from point a to point d? -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 4:41 PM To: Brad Cc: php-general@lists.php.net Subject: Re: [PHP] two small issues with php mail Brad wrote: > This is why I am on this m

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
else where! -Original Message- From: Wolf [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 4:39 PM To: Brad Cc: php-general@lists.php.net; 'Stut' Subject: RE: [PHP] two small issues with php mail Since it is not in the assignment, find out how to do things within th

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
methods to solve my issue would be duly appreciated! -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 4:17 PM To: Brad Cc: php-general@lists.php.net Subject: Re: [PHP] two small issues with php mail Brad wrote: > This information is pulled directly

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
mber 19, 2007 3:43 PM To: Brad Cc: php-general@lists.php.net Subject: Re: [PHP] two small issues with php mail Brad wrote: > Implementing Bcc and smtp. "Here we go again" > #1 email is only being sent to a few recipients. > > I need to implement > > $smtp = ‘loca

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
PHP mailer is not in the assignment and will be counted against me! -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 3:43 PM To: Brad Cc: php-general@lists.php.net Subject: Re: [PHP] two small issues with php mail Brad wrote: > Implementing Bcc

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
en [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 1:55 PM To: php-general@lists.php.net Subject: RE: [PHP] two small issues with php mail Brad wrote: > $headers = 'bcc: [EMAIL PROTECTED]'; > > Works but corrupts the "from" portion and changes it to "no

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
;Content-Transfer-Encoding: 8bit'; $subject = 'Your free book!'; $body = 'http://www.zoneofsuccessclub.com/freePDF/autopilotebook.pdf";>"Click ME" Here is your FREE autopilot book'; mail($email, $subject, $body, $headers); ?> -Original Messa

RE: [PHP] two small issues with php mail

2007-11-19 Thread Brad
$headers = 'bcc: [EMAIL PROTECTED]'; Works but corrupts the "from" portion and changes it to "nobody" Which I think goes back too the smtp portion. Let me try that! Thank you! -Original Message- From: Jim Lucas [mailto:[EMAIL PROTECTED] Sent: Monday, Novem

[PHP] two small issues with php mail

2007-11-19 Thread Brad
Implementing Bcc and smtp. #1 email is only being sent to a few recipients. I need to implement $smtp = ‘localhost’; Somewhere, but I keep getting parse errors? #2 trying to do a Bcc but that gives me parse errors as well It should be as easy as? $Bcc [EMAIL PROTECTED]; $eol = "\r\n"

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
My bad, You do not need command line access! I should have read more. I just need to get this puppy working is all. Php should be able to do this by it's self! -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 9:46 AM To: Brad Cc: 'Da

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
No problem! -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 10:37 AM To: Brad Cc: php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink Brad wrote: > Thank you so much! > > It worked like a champ first try! > I woul

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
Not a single reference to sending a hyperlink on that page! -Original Message- From: Dimiter Ivanov [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 11:27 AM To: Brad Cc: Stut; php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink On Nov 15, 2007 5:34 PM, Brad

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
to post this code on the php website for others to reference! Thank you! -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 10:16 AM To: Brad Cc: php-general@lists.php.net Subject: Re: [PHP] Cannot send a hyperlink Brad wrote: > No access to

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
r-Encoding: 8bit".$eol.$eol; $body = "http://www.zoneofsuccessclub.com\";>link \n"; mail($email, $subject, $body, $headers); -Original Message- From: Per Jessen [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 9:48 AM To: php-general@lists.php.net Subjec

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
help that knows more than I and recommended on other help files. Why is php refusing to parse as html? -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Thursday, November 15, 2007 9:46 AM To: Brad Cc: 'Daniel Brown'; php-general@lists.php.net Subject: Re: [PHP] Can

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
s .= "Content-Transfer-Encoding: 8bit".$eol.$eol; $body = "http://www.zoneofsuccessclub.com\";>link \n"; mail($email, $subject, $body, $headers); -Original Message- From: Daniel Brown [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 11:09 AM To: Bra

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
ink \n"; mail($email, $subject, $body, $headers); Produces and email that does this. -- Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit http://www.zoneofsuccessclub.com";>link No virus found in this incoming message. Checked by AVG Free Edition.

RE: [PHP] Cannot send a hyperlink

2007-11-15 Thread Brad
quot;.$eol.$eol; $body.= 'http://www.zoneofsuccessclub.com'">link '; $msg .= $body.$eol.$eol; mail($email, $subject, $msg, $headers); Yields Parse error: parse error, unexpected T_STRING in /home/zoneof5/public_html/index.php on line 76 -Original Message-

RE: [PHP] Cannot send a hyperlink

2007-11-14 Thread Brad
iso-8859-1".$eol; $msg .= "Content-Transfer-Encoding: 8bit".$eol.$eol; $body.='link '; $msg .= $body.$eol.$eol; mail($to, $subject, $msg, $headers); ?> -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, November 11, 2007 7

RE: [PHP] Cannot send a hyperlink

2007-11-10 Thread Brad
sage, "From: $email" ); ?> (Send the mail, when I put $headers in, the function quits working all together.) I hope this helps explain where my head is! Brad -Original Message- From: Stut [mailto:[EMAIL PROTECTED] Sent: Saturday, November 10, 2007 4:55 PM To: Brad Cc: 'Jochem

RE: [PHP] Cannot send a hyperlink

2007-11-10 Thread Brad
I am reading up on it now. I am going to take your advice. Be prepared for a few questions as I make it past the learning curve! :o) -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Saturday, November 10, 2007 4:47 PM To: Brad Cc: php-general@lists.php.net Subject

RE: [PHP] Cannot send a hyperlink

2007-11-10 Thread Brad
t;\r\n"; mail( $email, "Your FREE book from Zone of Success Club .com", $headers, $message, "From: $email" ); ?> -Original Message- From: Jochem Maas [mailto:[EMAIL PROTECTED] Sent: Saturday, November 10, 2007 3:44 PM To: Brad Subject: Re: [PHP] Cannot send

RE: [PHP] re-post (unanswered) Tables, flash and text

2007-11-07 Thread Brad
yet? Please click here to join for FREE or push the button "Join now" below to apply and start networking with more then 35,000 members of GayMillionaire.net! -Original Message- From: Per Jessen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 07, 2007 8:20 AM To: php-general@lis

[PHP] header error without whitespace issue

2007-10-12 Thread Brad
Error = WARNING: Cannot modify header information - headers already sent by (output started at /home/zoneof5/public_html/index-dev.html:10) in line 1528 of file common.inc.php Which comes from me trying to take a login script and put it into an existing .html file with .htaccess configured to

Re: [PHP] adding "Back to Search results" link

2007-08-15 Thread Brad Bonkoski
Something like this might work: (To go back 1 page) Of course if this is a form post, it would repost the data resulting in that annoying pop-up on most browsers indicating the page is being re-posted. Maybe you could write out the post variables to the session variables, and have your page

Re: [PHP] Numbers, Numbers everywhere! Need some Dollar help.

2007-08-02 Thread Brad Bonkoski
Dan Shirah wrote: Greetins all, In my form I have an area where the user enters in the payment amount: This is all fine and dandy and works as generically as it can. BUT, the problem is that I need to make sure the user didn't fat finger any of the numbers. For instance, in my generic text f

Re: [PHP] Question about passing date in sql...

2007-08-01 Thread Brad Bonkoski
Payne wrote: Guys, Got a quick question. I got a sql statement works when I pass it from the cli. but if I try in php I get nothing. This is the statement. Select ip, date, time, CONCAT(city, ', ',country) as location from ips where country !=' ' and date='`date +%Y%m%d`' order by country

Re: [PHP] I'm prepared to feel like an idiot... But I just simply need the answer :)

2007-08-01 Thread Brad Bonkoski
Brad Bonkoski wrote: Jason Pruim wrote: On Aug 1, 2007, at 9:55 AM, Michael Preslar wrote: @mysql_connect('localhost', 'user', 'password') or die("Cannot connect to DB!" . mysql_error()); .. cannot connect to DB!Can't connect to local MySQL ser

Re: [PHP] I'm prepared to feel like an idiot... But I just simply need the answer :)

2007-08-01 Thread Brad Bonkoski
Jason Pruim wrote: On Aug 1, 2007, at 9:55 AM, Michael Preslar wrote: @mysql_connect('localhost', 'user', 'password') or die("Cannot connect to DB!" . mysql_error()); .. cannot connect to DB!Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)qs:/volumes/raider/webs

Re: [PHP] I'm prepared to feel like an idiot... But I just simply need the answer :)

2007-08-01 Thread Brad Bonkoski
I would start with suppling the entire path of for php in the cron. The path in the cron environment may be vastly different then the path in your shell environment... so: /path/to/php file.php See how that works for you, of course I am assuming it runs fine from your command line... -B Jaso

Re: [PHP] best technique to get the ID of the last inserted value

2007-07-20 Thread Brad Bonkoski
One easy solution would be to get the ID before you do the insert i.e. in Oracle you would run the query: select some_id_generating_seq.nextval from dual and then you would use that id to insert and you would know the id after that...and the DB would take care of locking and such. So, check

Re: [PHP] subtracting time from date and time

2007-06-18 Thread Brad Bonkoski
Something like this will get it into a time stamp...and then you can do your calculations with ease, and reformat... -Brad Richard Kurth wrote: I am trying to figure out what is the most accurate way to find the time after I subtract 5 min,15 min, 30 min 1 hour 2 hours and 5 hours from a

Re: [PHP] Edinburgh, Scotland: PHP Developer Position

2007-06-18 Thread Brad Bonkoski
Jochem Maas wrote: Edward Kay wrote: ... But the advert is for a GRADUATE developer ;) Whilst your messages to this list show you know a lot about PHP, I doubt you've managed to fit a degree in yet :) What does a graduate php developer earn in Scotland? and is it the the piece of pap

RE: [PHP] Re: File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Brad Fuller
of solution >>> doesn't seem to already exit. A solution where some applet etc. only >>> passes that information to php which is needed to move the file and >>> update the database. >> >> Indeed, that is what I'm suggesting. However, I *do* think th

RE: [PHP] Parse domain from URL

2007-06-08 Thread Brad Fuller
Tijnema wrote: > On 6/7/07, Brad Fuller <[EMAIL PROTECTED]> wrote: >> Robin Vickery wrote: >>> In that case you can't do it just by parsing alone, you need to use >>> DNS. >>> >>> >> function get_domain ($hostname) { >>> d

RE: [PHP] Parse domain from URL

2007-06-07 Thread Brad Fuller
[class] => IN [ttl] => 136 ) [2] => Array ( [host] => www.l.google.com [type] => A [ip] => 64.233.161.103 [class] => IN [ttl] => 136 ) [3] => Array (

RE: [PHP] Parse domain from URL

2007-06-06 Thread Brad Fuller
Daniel Brown wrote: > On 6/6/07, Brad Fuller <[EMAIL PROTECTED]> wrote: >> Hey guys, >> >> I'm faced with an interesting problem, and wondering if there's an >> easy solution. >> >> I need to strip out a domain name from a URL, and ignore

[PHP] Parse domain from URL

2007-06-06 Thread Brad Fuller
e a definitive list of all exceptions to go off of. Does anyone have any suggestions? Any advice is much appreciated. Thanks, Brad -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
Cheers! -Original Message- From: David Robley [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 4:02 AM To: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Christian Haensel wrote: +---+ .:\:\:/:/:. | PLEASE D

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
Your are layer 7 I am layer 2-3 You are WAY outside of your expertise with me my friend. -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:19 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Kinda says it all

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
Oh, come on, come to daddy! What cha got! Late night in Fort Lauderdale! Hehehehehehehe -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:19 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Kinda says it all

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
, and the day is great already! Worked for the DoD and stuff like that, and still doesn't know how to behave. You remind me of a 14 years old guy I knew from Bahrain... always trying to "mess" with the big boys. Go play outside :o) Mr DoD *ROFL* - Original Message -

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
Silly rabbit, Tricks are for kids! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:19 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Kinda says it all really. Oh - one other point. I don't think a sup

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
What ever script kiddy! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:09 AM To: Brad Sumrall; 'php-general@lists.php.net' Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: > You're an idiot! Yeh - thanks for making my po

RE: [PHP] RE: Bounty FYI

2007-05-15 Thread Brad Sumrall
No, I just think you are an ass! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 3:02 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty FYI Brad Sumrall wrote: > Food for thought! > > Respect the freedom. >

[PHP] RE: Bounty FYI

2007-05-14 Thread Brad Sumrall
Food for thought! Respect the freedom. Respect the Internet! We all benefit! Never abuse!

RE: [PHP] RE: Bounty

2007-05-14 Thread Brad Sumrall
Yeah, knuckle heads spoiled the fun! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:38 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty One problem: the PASSWORD DOES NOT WORK! On 5/14/07, Brad Sumrall

RE: [PHP] Bounty, NOW!

2007-05-14 Thread Brad Sumrall
specialist. Back off Big brother is watching! I come to the list as a legit person seeking intelligent minds. Not games. So yes, respond to me as a professional or an up and coming and let's talk business! Brad -Original Message- From: Tom Ray [Lists] [mailto:[EMAIL PROTECTED] Sent: Tu

RE: [PHP] RE: Bounty

2007-05-14 Thread Brad Sumrall
I was honestly surprised by the number of knuckle heads who would try there luck! -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 2:08 AM To: Brad Sumrall Cc: php-general@lists.php.net Subject: Re: [PHP] RE: Bounty Brad Sumrall wrote: > The bou

[PHP] RE: Bounty

2007-05-14 Thread Brad Sumrall
The bounty still applies Need a sharp php programmer on the fly. No joke!

[PHP] RE: Bounty

2007-05-14 Thread Brad Sumrall
Oh, come on. You guys quit trying Wuzzies!

RE: [PHP] Bounty, NOW!

2007-05-14 Thread Brad Sumrall
I got 5 IP breaking Federal Regulations. Hehehehe Do you think you are not being logged? Hehehehehe This is funny! -Original Message- From: Andrew Wilson [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 15, 2007 1:38 AM To: 'Robert Cummings'; 'Brad Sumrall&#

[PHP] RE: Bounty

2007-05-14 Thread Brad Sumrall
Does anyone want to answer the ad, or am I just going to be chasing knuckle heads? Brad

[PHP] RE: Bounty

2007-05-14 Thread Brad Sumrall
Knuckle heads don't even know they are going though a proxy!!! Hehehehe

[PHP] Bounty, NOW!

2007-05-14 Thread Brad Sumrall
My good friend dropped the ball! Here is the gig, and less than 48 to get it done. For those whom know phpbb and php, this should be a cake walk! Easy cash. http://www.123yachtdayworkers.com ftp user = onetwou9 ftp pass = garvitos accessing the mysql is

RE: [PHP] printing out this nested array

2007-05-14 Thread Brad Fuller
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] => Array ( [0] => Array ( [ErrorId] => > AD27JH [ErrorMsg] => OK )

RE: [PHP] escapeshellarg

2007-05-14 Thread Brad Fuller
Mohamed CHAARI wrote: > Hi all, > > I have to execute an external command, with an argument > (filename or directory name) given by user input (via a > form), ie something like this: > > exec('ls $_POST[...]') > > what do you think about using escapeshellarg() function in > this case ? > can I r

RE: [PHP] PhP and Java login trouble (can someone help a brother out whom is truely trying to understand?)

2007-05-10 Thread Brad Sumrall
with phpbb applications and outside php pages requiring phpbb related session controls, but fails sessions with the javascripting based FCKEditor. Sincerely, Brad #1 Working php/

RE: [PHP] sorting via PHP or MySQL?

2007-05-10 Thread Brad Fuller
James Tu wrote: > (I've cross posted at the MySQL list as well) > > Here's an example with a simple table: > > describe collection; > > +--+-+--+- > +-++ >> Field| Type| Null | Key | > Def

RE: [PHP] PhP and Java login trouble

2007-05-09 Thread Brad Sumrall
alue=="") This is why I am not catching your angle. PhP makes so much more sense. This javascript integration is really giving me a headache! Suggestions? Brad -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 09, 2007 2:16 AM To: Brad Sumrall Cc

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

2007-05-09 Thread Brad Fuller
Don Don wrote: > 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 > displays soap client and server enabled for php5. > I need to disable if ..amd looking into the co

RE: [PHP] sqlite AND OR query ?

2007-05-09 Thread Brad Fuller
[EMAIL PROTECTED] wrote: > Hello, > > I want to select two dates one being todays date and the > other being -00-00 which just a date in the database when > no proper date has been entered. > > Ive tried this but it does not work... > > $today = date('Y-m-d'); > $result = sqlite_query($db, "

  1   2   3   4   5   6   7   8   >