[PHP] activex and PHP on linux

2003-07-14 Thread Jeremy
enly users must render the object and upload an image along with the object itself. However using activex controls, windows can access an imbedded thumbnail in the files. Can I access these imbedded thumbnails on a PHP/Linux system so that our users don't have to render and upload the images a

[PHP] incrementing string value

2003-07-25 Thread Jeremy
writing some client side javascript with some dynamic php, and I need to be able to print a dynamic number of variables to the javascript. I need to print: var a=""; var b=""; ...etc. Is there a way to increment a php $var much like $var++ would work? Jeremy -- PHP

Re: [PHP] incrementing string value

2003-07-25 Thread Jeremy
let me make sure I understand... $var = 'a'; $var++ print($var); would print "b" to the screen? Jeremy "Carl Furst" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Yep that should work as does $var-- > > > -Original Message-

Re: [PHP] Windows NT Server, FORK, SOCKETS, and seperate processe s

2002-07-22 Thread Jeremy
That's basically what happens in forking and threading. More "PHP.EXE" processes appear, even on *nix. - Original Message - From: "David Buerer" <[EMAIL PROTECTED]> To: "'Evan Nemerson'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 23, 2002 6:35 AM Subject: RE: [PHP] Windo

Re: [PHP] Formating datevariables...

2002-07-22 Thread Jeremy
Is the timestamp in UNIX format? if yes, try date() http://www.php.net/manual/en/function.date.php if no, try substr() hope that helps :) - Jeremy - Original Message - From: "Ragnar" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 23, 2002

[PHP] Help with sockets

2002-07-18 Thread Jeremy
How can I do the following with PHP? 1) Accept more than 1 connections without forking 2) socket_read and fgets from 2 connections at the same time please help! thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Syntax Error -> This is WEIRD!

2004-01-16 Thread Jeremy
Did the script accidently get saved in MS-DOS text format? -Original Message- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 8:53 AM To: [EMAIL PROTECTED] Subject: [PHP] Syntax Error -> This is WEIRD! There could be something you're not seeing and assuming it

RE: [PHP] odd and even numbers

2004-01-16 Thread Jeremy
function isOdd ($value) { return (int)$value % 2 ? true : false; } Returns true/false if the value is odd. Also rounds down floating point numbers given as the test value. -Jeremy -Original Message- From: Jake McHenry [mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 2

RE: [PHP] Generating an Excel file?

2004-01-19 Thread Jeremy
Google is your friend ;-) -J -Original Message- From: Ben Ramsey [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 5:41 PM To: [EMAIL PROTECTED] Subject: [PHP] Generating an Excel file? I'm pretty sure I know how to use header() create a CSV file for a client to download data fr

[PHP] Question concerning performance

2001-01-17 Thread jeremy
that has 1000 lines of code per page (hypothetically), everything begins to matter, and the more cpu-clicks I can save, the happier I'll be. The 2 examples will turn out the same results to the browser, but which will do it faster? Thanks for any comments/suggestions you can provid

RE: [PHP] refresh Browser

2001-01-17 Thread jeremy
e your page if you're really worried about the browser getting a cached version. But, even then, I've seen browsers ignore this for some odd reason (you've got to love the internet and the rules it plays by.) -- Jeremy Kelley <[EMAIL PROTE

RE: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread jeremy
don't name them .inc files. Name them blahblah.inc.php or something that will be parsed, and therefore not just gurped up by the server. blest, jeremy -- Jeremy Kelley <[EMAIL PROTECTED]> pgp keyid 0xAECBA355 Phil 1:21 www.ganooz.com C

RE: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread jeremy
) extension. -- Jeremy Kelley <[EMAIL PROTECTED]> pgp keyid 0xAECBA355 Phil 1:21 www.ganooz.com Car pour moi, la vie c'est le Christ, et la mort est un gain. > -Original Message- > From: Sebastian Stadtlich [mailto:[EMAIL PROTECTED]]

RE: Re[2]: [PHP] how do i hide my .inc files in apache??

2001-01-17 Thread jeremy
're right though, that out of the webserver tree is better. jeremy -- Jeremy Kelley <[EMAIL PROTECTED]> pgp keyid 0xAECBA355 Phil 1:21 www.ganooz.com Car pour moi, la vie c'est le Christ, et la mort est un gain. > -Original

RE: [PHP] Question concerning performance

2001-01-17 Thread jeremy
Now THAT's the kind of answer I was looking for. Thanks very much for checking that out. Mind if I ask what you used for your benchmarking/timing software-wise? blest, jeremy -- Jeremy Kelley <[EMAIL PROTECTED]> pgp keyid 0xAECBA35

RE: [PHP] I love/hate FrontPage - need another HTML editor.

2001-01-17 Thread jeremy
to. check it out at www.ultraedit.com It's actually the first piece of shareware that I had payed for, it's that good --something like $40 US, it's been a couple of years since I bought a license for it. Hmm, maybe I should go upgrade. jeremy -- Jeremy Kelley <[EMAIL PROTECTED]

RE: [PHP] Homepage

2001-01-17 Thread jeremy
Actually, You need to set this up in your httpd.conf file (if you're using apache). look for this line in your httpd.conf -[cut]- DirectoryIndex index.html index.php --[/cut] and if index.php isn't listed there, then add it. --jeremy -- Jeremy Kell

RE: [PHP] phpwebhosting.com

2001-01-18 Thread jeremy
I've had good experience with he.net They've got good prices, and I've been content with their speed and support. Unix, apache, php, etc. -- Jeremy Kelley <[EMAIL PROTECTED]> pgp keyid 0xAECBA355 Phil 1:21 www.ganooz.com

RE: [PHP] below10host.com as webhost?

2001-01-18 Thread jeremy
at least lurking on this list. I went to their site at the onset of the conversation and it did look _very_ promising. I'd like to hear something of a rebuttal from an employee of them. And preferably a tech of somekind. -Gray people make me nervous- --jeremy -- Jeremy Kelley <[EMA

[PHP] php and apache 2.0

2001-02-24 Thread jeremy
will php 4.0.4 build as a module with apache 2.0? - jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] PHP in HTML

2002-05-16 Thread Jeremy
Hi Folks, A simple question that has me puzzled, obviously I have a config file wrong somewhere.. Why does a filename.php file run as php and a filename.html with php code embedded not produce a php result? cheers, Jeremy Burton Senior Consultant PERTH TOURIST LOUNGE Level 2 Carillon City

[PHP] bitwise AND is acting strange

2001-07-22 Thread Jeremy
a mysql table as a standard INT, and they are not UNSIGNED or BINARY. Am I missing something? Jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Sending Pictures to Cell Phones

2007-11-14 Thread jeremy
Hey list, I'm doing some R&D for a project at my job and my boss wants the ability to send pictures to cell phones. I was wondering if anyone had any experience with this or could point me in the right direction to get started. Thanks, Jeremy -- PHP General Mailing List (http://ww

RE: [PHP] Tip For The Day

2004-01-27 Thread Jeremy
[snip] >Its all good, it's like inline braces versus dropped braces and every >other coding style debate :) There's no winner. [/snip] pfft. Inline braces wins hands down ;p -J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

php-general@lists.php.net

2004-01-28 Thread Jeremy
[snip] >[snip] >> is there any function that will always replace a "&" with a "&" in >a >> string? > >$string = str_replace('&', ' ', $string); >[/snip] > >Shouldn't this be > >$string = str_replace('&', '&', $string); > >? [/snip] I tried this and amazingly it worked! The robustness of php defie

RE: [PHP] creating file links on linux (ln) with php

2004-02-28 Thread Jeremy
RTFM. http://us2.php.net/manual/en/function.symlink.php -Original Message- From: Merlin [mailto:[EMAIL PROTECTED] Sent: Saturday, February 28, 2004 3:24 PM To: [EMAIL PROTECTED] Subject: [PHP] creating file links on linux (ln) with php Hi there, I do have a couple of hundred file links

RE: [PHP] Executing JavaScript

2004-03-04 Thread Jeremy
Of *course* you can do that with php! When the user clicks a link, with PHP respond like this: ... ... And voila! PHP closes the window! -J -Original Message- From: Richard Davey [mailto:[EMAIL PROTECTED] Sent: Thursday, March 04, 2004 9:58 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] E

[PHP] magic_quotes_sybase - Windows MSSQL

2004-03-10 Thread Jeremy
access to the php.ini file. Is there something like the .htaccess file that can be used on a Windows server? My ISP is using PHP v4.3.0. Thank you! Jeremy Markman -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Column count doesn't match value count at row 1?

2003-02-07 Thread Jeremy Bowen
Hey, I can't seem to figure this out. I am modifying some else's script I added some rows to the myself database and no I get this error when I try to add information to the database. I am searching the docs but I can't seem to find the answer. Thanks, Jeremy -- PHP Gener

Re: [PHP] Class not working after PHP 4.2.3

2003-07-01 Thread Jeremy Thibeaux
. Jeremy Mário_Gamito <[EMAIL PROTECTED]> wrote: Hi, I have this class for sending mail, which worked until PHP 4.2.3 Since 4.3.0 it stops functioning. No error message. The mail is simply not send. I've searched everywhere and found no explanation for this behaviour. Any help would be

[PHP] How to run PHP from a MySQL DB

2003-08-06 Thread Jeremy Darling
I have a database of code pages and was wondering if their is a way to actually run the code from the Database as if it was part of a page. Thanks, Jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to run PHP from a MySQL DB

2003-08-07 Thread Jeremy Darling
Thanks Alexandru, I just picked PHP back up and am quite a bit rusty on where to find information these days. Jeremy "Alexandru Costin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > Please take a look at http://php.weblogs.com/ their firs

Re: [PHP] Edit a page in PHP

2003-08-07 Thread Jeremy Darling
Thanks greatly thats exactly what I was looking for. "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jeremy Darling wrote: > > This is driving me nuts. I know it can be done, cuz I've seen it done > > before, but I can't fi

[PHP] Edit a page in PHP

2003-08-11 Thread Jeremy Darling
what I'm looking for. Thanks, Jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to run PHP from a MySQL DB

2003-08-14 Thread Jeremy Darling
to cache the PHP code in some PHP files that > are actually "required" when you need to execute them > > Alexandru > > -- > Alexandru COSTIN > Chief Operating Officer > http://www.interakt.ro/ > +4021 312 5312 > "Jeremy Darling" &

[PHP] Apache environment variables

2003-03-24 Thread Jeremy Russell
Hello list.. I have an issue.. I have users athenticating to apache using the ldap_mod_auth module, when they authenticate it populates the LDAP_USER variable. What I need is to also populate the REMOTE_USER variable for some other CGI's, I know I could change them, but there are several written

RE: [PHP] redirect using header

2003-03-27 Thread Jeremy Russell
Use ---> header("Location:http://newwebpage.com";); -Original Message- From: David Banning [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 1:15 PM To: [EMAIL PROTECTED] Subject: [PHP] redirect using header I have been trying to do a redirect with header; Optex Staging and

RE: [PHP] Internet Explorer toolbar

2003-03-27 Thread Jeremy Russell
Use javascript --> window.open("url","toolbar=no"); -Original Message- From: Manuel Ochoa [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2003 2:32 PM To: PHP General Subject: [PHP] Internet Explorer toolbar Is there any way of using php to launch a new browser without the IE toolba

Re: [PHP] Refreshing

2003-06-30 Thread Jeremy Thibeaux
rame rpc javascript" in google: http://www.google.com/search?hl=en&ie=UTF-8&oe=UTF-8&q=iframe+rpc+javascript You will still get the clicking, tho. But users' can disable it if it annoys them -- sometimes it is nice to know that something is going on. Hope this helps. Jeremy -- PH

Re: [PHP] Geting information from XML

2003-06-30 Thread Jeremy Thibeaux
Have you tried using the DOM XML functions? http://us3.php.net/manual/en/ref.domxml.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Refreshing

2003-06-30 Thread Jeremy Thibeaux
I can get religious about these kind of things. In the end, sometimes practical realities justify hacks. And, really, it is all a matter of degrees (I am not sure IFRAMES were designed for what I am proposing you use them for either). Jeremy --- Marco Tabini <[EMAIL PROTECTED]> wrote:

Re: [PHP] php-general as REPLY TO

2003-06-30 Thread Jeremy Thibeaux
ht require a little more work (cut & paste). I wonder how often the answers to questions don't make it on the list because somebody forgot to press "reply-all". My two cents. Jeremy --- Derick Rethans <[EMAIL PROTECTED]> wrote: > On Mon, 30 Jun 2003, Doug Essinger

Re: [PHP] Yahoo Stuff.

2003-06-30 Thread Jeremy Thibeaux
I am getting the same message, but I hadn't made the connection. Is anyone else seeing this? Jeremy --- Daryl Meese <[EMAIL PROTECTED]> wrote: > Does anyone know why I get an email from Yahoo > Groups everytime I submit to > this list? > > The email comes from: Yahoo!

[PHP] New commercial software needs beta testers

2002-11-13 Thread Jeremy Wilson
Intravative Software Corporation will be releasing a new commercial software application in January 2003 called iIPN. The software enables paypal sellers to sell and automatically deliver digital and non-digital products from their web site. The software is currently the most robust out of any othe

[PHP] RE: running php as cgi script

2002-11-18 Thread Jeremy Wilson
Change your ISP. For an ISP to be forcing you under this way is unrealistic. There are plenty of really good ISP's listed on the php site that all have the latest versions of php and have good setup packages. -Original Message- From: Scott [mailto:[EMAIL PROTECTED]] Sent: Friday, November

[PHP] Web Crawler

2002-11-18 Thread Jeremy Wilson
Does anyone know of a really good web crawler built in php using mysql for the database? I am looking to setup a php app that I can setup to crawl my own web site so I can have people search the site. I know there are plenty out there, but out of the ones I have tried, the results they return are

RE: [PHP] New commercial software needs beta testers

2002-11-18 Thread Jeremy Wilson
Well fine... by reading a bunch of your other posts when you talk to people, it looks like you are just a rude SOB... so I am really not offended. -Original Message- From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 13, 2002 2:20 PM To: Jeremy Wilson Cc: [EMAIL

[PHP] Date?

2002-06-08 Thread Jeremy Bowen
make no difference. Any ideas? Thanks, Jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Fw: Excel Spreadsheet

2002-06-09 Thread Jeremy Bowen
throught the spreadsheet (through whatever manner) and the pricing info delivered back to the client. I have no idea how to do this and I thought that maybe some of you have done projects like this and would have an idea of where I should start. Thanks, Jeremy > -- PHP General Mailing L

[PHP] Possible MSSQL error PHP4.2.0?

2002-06-11 Thread Jeremy Coates
;2002-08-06 11:45:02---^ Extra character seems to be ASCII 00 This is obviously mucking about with other date related functions. Any ideas? Regards, Jeremy Coates -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Possible MSSQL error PHP4.2.0?

2002-06-11 Thread Jeremy Coates
In message <[EMAIL PROTECTED]> [EMAIL PROTECTED] (Jeremy Coates) wrote: > > string(20) "2002-08-06 11:45:02@" > ---^ Extra character seems to be ASCII 00 Forgot that would screw up in an email! I've placed an @ sign where the

[PHP] Mailing all the elements of a form

2002-07-06 Thread Jeremy Bowen
Hey, I have looked in PHP manual but I cannot seem to find what I am looking for. I have a very large form that I need to be able to mail. I just don't want to have to code all of the field into my mail() function. Thanks, Jeremy -- PHP General Mailing List (http://www.php.net

[PHP] Updated PayPal IPN class for PHP

2003-09-15 Thread Jeremy Johnstone
Unfortunately it seems PayPal has broke IPN processing for PHP users recently. This is important news because a good majority of the people using IPN with a PHP script are no longer able to automatically process payments, and PayPal offers nothing to help PHP users who are having trouble. In fact t

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Jeremy Johnstone
average salary which was posted in this thread, that is about a months pay after taxes for an average programmer. Jeremy On Mon, 2003-09-15 at 17:12, Dan Anderson wrote: > > The pricing seems insane, and geared towards people with lots of > > spare money... > ::snip:: > > but I

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Jeremy Johnstone
ford it. I most likely will be speaking at the next one (assuming they accept my submission when it comes time) and money won't be an issue. Jeremy P.S. - In regards to the email below, if you did that you would have to factor in extra gas money, and $10 a day for WIFI access from the hotel.

Re: [PHP] Re: PHP|Con insane pricing

2003-09-16 Thread Jeremy Johnstone
I apologize I couldn't help more, but if I knew a solution to your problem I would be going to! ;-) Jeremy On Tue, 2003-09-16 at 02:17, Jeremy Brand, B.S. wrote: > Thanks again to all who at least had a mature answer. > > Cheers :) > Jeremy > > > Jeremy Brand, B

[PHP] problem with external command.

2003-09-22 Thread Jeremy Russell
fputs($fileid,"$scan_result\n"); fclose($fileid); //$mail_result =`$echo $scan_result | $mail -s "Hostile Node" $admin`; } /* end scanner() */ Jeremy Russell Network Administrator, CNI 580.235.2377 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IP to Postal Code CSV? anyone messed around with this and PHP

2003-09-23 Thread Jeremy Johnstone
which is frequently updated (as it would need to be as the Internet is always changing) then please let me know. I have been unable to find something and have looked on multiple occasions. Jeremy On Tue, 2003-09-23 at 13:59, Joe Harman wrote: > Is there a CSV file out there for this >

Re: [PHP] Full view of active sessions

2003-09-23 Thread Jeremy Johnstone
;t notify the second user they shouldn't be logging in twice. It still does the job of allowing only one login per user quite effectively though. Jeremy On Tue, 2003-09-23 at 17:38, Ney André de Mello Zunino wrote: > Hello. > > Is there any facility in PHP's session managemen

[PHP] Select form dynamic creation.

2003-09-24 Thread Jeremy Russell
Hello list, I've spent a little time looking to see if this has been done before, and haven't found it, though I'm certain it has been done. What I want to do is build a page by first having a selection form. This select statement will have a number of items within it. When a use scroll

RE: [PHP] Select form dynamic creation.

2003-09-24 Thread Jeremy Russell
hink it through. > -Original Message- > From: Marek Kilimajer [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 24, 2003 12:35 PM > To: Jeremy Russell > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Select form dynamic creation. > > Have you considered using

RE: [PHP] 3 mins of your time please...logic problem

2003-09-24 Thread Jeremy Russell
You might try to perform bother queries first then check then by If ($result1 || $result2) { echo "You have already voted"; } else { ... } This means that if either the username or ip or both exists in the db, then the user is denied... Hope this is along the lines of what your needing

[PHP] Apache API support?

2003-10-04 Thread \[ASDF\] Jeremy
Hi All, I've been thinking of developing an Apache module to ease my job, but I don't have a clue of C. I know that mod_perl and mod_tcl provides module programming support for Apache, are there any implementations of PHP in programming Apache modules? Thanks - Jeremy -- PHP Gener

[PHP] Apache API?

2003-10-04 Thread \[ASDF\] Jeremy
Hi All, I've been thinking of developing an Apache module to ease my job, but I don't have a clue of C. I know that mod_perl and mod_tcl provides module programming support for Apache, are there any implementations of PHP in programming Apache modules? Thanks - Jeremy -- PHP Gener

Re: [PHP] OO parent/child relationship

2003-10-05 Thread Jeremy Johnstone
(&$db) { $this->db = &$db; } } This way you don't have the wasted memory of duplicate class instances. Of course PHP5 will make this easier as it passes objects by reference by default. Jeremy On Sun, 2003-10-05 at 12:20, Gerard Samuel wrote: > Dan Anderson

Re: [PHP] OO parent/child relationship

2003-10-05 Thread Jeremy Johnstone
which needs to access either one. Your user class should have am instance of both because your user class should be what pulls the data from the database, and then pushes it to the Smarty class for display. Maybe I am way off here, but essentially that is how it should be done IMHO. Jeremy On Sun,

Re: [PHP] php classes

2003-10-06 Thread Jeremy Johnstone
I don't know if these will help you, but maybe take a look here: phpclasses.org (code samples to read over) hotscripts.com (complete programs to read over) devshed.com (heard they had good articles, never really been there) Jeremy On Mon, 2003-10-06 at 07:13, Cameron Metzke wrote: >

RE: [PHP] File upload meter

2003-10-08 Thread Jeremy Johnstone
ogize, but before bashing PHP's core team for not incorporating something you should check all the facts at hand. Jeremy On Wed, 2003-10-08 at 09:06, Steve Murphy wrote: > David Enderson also developed an upload meter and contacted PHP about > including it. > http://www.mail-arch

Re: [PHP] Re: (native) linux-php-editor with some advanced features?

2003-10-08 Thread Jeremy Johnstone
ady. It is faster and better than 2.6. Well worth the money. I still find myself using vi/pico though more often than not. I guess it is all a matter of preference. Jeremy On Wed, 2003-10-08 at 09:57, Kirk Babb wrote: > As a amateur PHP user, I have really enjoyed Komodo 2.5 (been using it since

[PHP] Need advice, hopefully on topic.

2003-10-10 Thread Jeremy Russell
way. Does anyone have suggestions or advice on how to setup a CVS or RCCS or something like this? Web based would be even better. Just need some direction on this. Thanks!! Jeremy Russell Network Administrator, CNI 580.235.2377 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

RE: [PHP] Need advice, hopefully on topic.

2003-10-10 Thread Jeremy Russell
I a newbie to cvs itself. I'll take a look at the link Thanks! > -Original Message- > From: Mike Migurski [mailto:[EMAIL PROTECTED] > Sent: Friday, October 10, 2003 2:41 PM > To: Jeremy Russell > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Need advice, hopefully on

[PHP] controlling cvs from php

2003-10-10 Thread Jeremy Andrews
utput .= fgets($pipes[1], 1024); $output .= fgets($pipes[1], 14); fclose($pipes[1]); if (!fwrite($pipes[0], "cvspassword")) { echo "Error..."; exit; } fclose($pipes[0]); echo proc_close($proc); $output .= "command returned $re

[PHP] SQL security

2003-10-17 Thread Jeremy Russell
']; after that just do everything else as normal. So I just really looking for advice on securing my web app. BTW: any body heard of or use Cisco's VMPS? Jeremy Russell Network Administrator, CNI 580.235.2377 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

RE: [PHP] What's a good regex to validate an email address? ;)

2003-10-17 Thread Jeremy Russell
[EMAIL PROTECTED](net|com|org|gov|...) or [EMAIL PROTECTED] Will get nearly everything that resembles an email address. [EMAIL PROTECTED] would even go through the second one. Best thing to do maybe is try to send a email to the address to verify it. > -Original Message- > From: Da

RE: [PHP] What's a good regex to validate an email address? ;)

2003-10-17 Thread Jeremy Russell
No... I replied to a reply think it was the original... :/ Doh!! > -Original Message- > From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] > Sent: Friday, October 17, 2003 2:48 PM > To: Jeremy Russell; Daevid Vincent; [EMAIL PROTECTED] > Subject: Re: [PHP] What&#x

RE: [PHP] removing all duplicate values from an array

2003-10-30 Thread Jeremy Russell
> -Original Message- > From: Mike Migurski [mailto:[EMAIL PROTECTED] > Sent: Thursday, October 30, 2003 1:37 PM > To: Allowee > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] removing all duplicate values from an array > > >>I'm looking for a function that does almost the same as array_uniqu

[PHP] Re: Issues with Mysql 4.0 and PHP in a production environment

2003-11-06 Thread Jeremy Zawodny
On Thu, Nov 06, 2003 at 02:10:27PM -0600, Luis Lebron wrote: > Are there any issues with running PHP 4.3.X and Mysql 4.0 in a production > environment? What sort of "issues" are you looking for? Jeremy -- Jeremy D. Zawodny | Perl, Web, MySQL, Linux Magazine, Yahoo! &

[PHP] RE: Changing case

2003-11-14 Thread Jeremy Shovan
Use the strtoupper() function $var = strtoupper($var); -Original Message- From: Robert Sossomon [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 8:29 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Changing case I have a form that allows for an item to be entered, the

Re: [PHP] Re: progress in PHP

2003-12-23 Thread Jeremy Johnstone
decided if it would be officially added into PHP. http://pdoru.from.ro/ -Jeremy On Tue, 2003-12-23 at 23:15, Manuel Lemos wrote: > Hello, > > On 12/23/2003 03:56 PM, Larry Brown wrote: > > How does perl show progress of the upload if it is a server side scripting > > languag

Re: [PHP] How New Is <<

2003-12-25 Thread Jeremy Johnstone
I read it, but if memory serves it has atleast a page or two on it's usage. I also highly recommend that book anyway to any PHP programmer, beginner all the way to highly advanced. I thought I knew almost everything about PHP and even I still learned about a new function or two from the book

Re: [PHP] Re: Can't upload files > then 400K to MySQL

2003-12-29 Thread Jeremy Johnstone
Might want to check the MySQL configuration. The max allowed packet size might be set extremely low. -Jeremy On Mon, 2003-12-29 at 15:25, Chris wrote: > Have you taken a look at the post below: Can't upload files Greater than > 11KB? > We may have the same problem. > >

[PHP] A hint...

2003-12-30 Thread Jeremy Russell
Hello list.. I was needing a small hint on how to make a sort of status page... What I have is a function that takes a few minutes to complete... It send an snmp signal out then waits a bit and then gets the status via snmp. I would like to have some sort of graphic or page for the status,

[PHP] pure PHP implementation of GNU diff/patch functionality

2003-12-31 Thread Jeremy Johnstone
previously, I am looking to do this purely in PHP (and without any custom extensions). If anyone has any sources, I would greatly appreciate it. -Jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Please help on session_destroy error...

2004-01-01 Thread Jeremy Johnstone
t; followed, but PHP does it's best to destroy data after that timeout elapses. This would explain why sometimes you can last an hour without getting the error. If you want your timeout to be 3 hours, then I would set that value to something like 11,000 (which is just a little over 3 hours).

RE: [PHP] Is this code right?

2004-01-19 Thread Jeremy Davis
>$query = "SELECT Serial, Password from accounts where UserName='$UserName'"; >$result = mysql_query($query) or die("Query errort: " . mysql_error()); >$row = mysql_fetch_row($result) or die("User Not found: " . mysql_error()); mysql_fetch_row only pulls data one cell at a time so you would need

RE: [PHP] looking for a PHP editor

2001-01-10 Thread jeremy brand
> Now only if a php-tidy existed ... Agreed. I've often thought about hacking 'indent' to recognice PHP syntax, but I never get around to it. Does anyone know if someone has done this already? Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMA

Re: [PHP] variables not being passes between php pages

2001-01-10 Thread jeremy brand
This is true, but not complete. You can also do > Well if you aren't posting to your add.php page (ie method="post" > action="add.php") then you need to pass them via the add.php?var=foo&varb=bar > method. > > --Joe > > > On Wed, Jan 10, 2001 at 12:02:54PM -0800, jeff fitzmyers wrote: > >

Re: [PHP] constants inside of a string

2001-01-10 Thread jeremy brand
> define(MAX,2); > print "the max is MAX"; > > this obv does not work print "the max is " . MAX; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMA

Re: [PHP] constants inside of a string

2001-01-10 Thread jeremy brand
No. Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ""

Re: [PHP] pause

2001-01-10 Thread jeremy brand
You could use custom HTML meta content refresh tags. This is not a PHP think, but an HTML thing. Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http

RE: [PHP] pause

2001-01-10 Thread jeremy brand
Funny, I would say forget javascript; I don't trust client side validation. :) Just my two cents. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at

Re: [PHP] php binary?

2001-01-11 Thread jeremy brand
r php 3 binary). You would just run it like this: /usr/local/bin/php4 -q your_script.php > your_output_file.html Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Priv

Re: [PHP] PHP3 vs PHP4?

2001-01-11 Thread jeremy brand
PHP3's strenghts: GPL'ed (or PHP3 license -- at your choice) PHP4's strengths: Faster (way faster) Garbage collection that works More functions -- bigger language Actively being developed These are just of the top of my head... Jeremy Jeremy Brand :: Sr. Software Engineer

Re: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand
my knowledge in open solutions rather than learning proprietary OSs and strategies. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private em

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand
We have a centralized DB server. Sessions are handled by us, the programmers, not the cluster. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand
we store the sessions in the DB. Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdown.com

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand
Oh, BTW, we don't use PHP sessions, we use our own. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email at http://www.smackdow

Re: [PHP] problem using flock()

2001-01-13 Thread jeremy brand
ave a small script that uses flock(): http://www.nirvani.net/software/dr-fun/ As you can see, I am testing the result, and taking an action (in this case, sleeping, then trying again). Hope this helps. Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]

[PHP] Escape characters

2001-01-13 Thread Jeremy Bowen
Hey All, I am sending e-mail using the mail() command. My question is whenever an ' is used in the e-mail it is escaped like this: don\'t. Is there any way to prevent this?? Thanks, Jeremy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

RE: [PHP] load balancing with php/apache?

2001-01-14 Thread jeremy brand
Like I said, we use our own. It is home grown, but not opensource -- sorry, if it was my choice it would be ;) Jeremy Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more Get your own Free, Private email

  1   2   3   4   >