[PHP] Re: 1024X760 or 800x600

2002-04-07 Thread Steve
My reccomendation is to design it for optimization on 800*600..as that to me is the lowest common denominator.it will still look good in 1024*760 therefore covering both resolutions nicely Ron Allen wrote: Is there a way with PHP to determine screen resolution size??? -- PHP

[PHP] Sites for contracts?

2002-04-07 Thread Steve
Does anyone here know of any good sites where there are companies looking for contract employees listed on them? Other then main stream sites like Monster, Dice and so on? Thanx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] linux: how can I check if php/mysql is working properly?

2002-06-18 Thread Steve
Link: http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/page1.html -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 18, 2002 12:37 PM To: [EMAIL PROTECTED] Subject: [PHP] linux: how can I check if php/mysql is working properly? i have

RE: [PHP] HTTP1.1

2002-06-27 Thread Steve
I have used this in the past... head titleFoo/title base href=http://www.foo.com/; /head and as Cal mentioned, use a href=/path/to/somefile.phpsomefile/a -Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Generating Barcodes and printing

2002-06-27 Thread Steve
Along with the Goggle search suggested by Dan, you need to know what format you need for your barcode label. Think of them as fonts. If you already have your barcode scanning hardware, see what barcode format was included. -Steve -- PHP General Mailing List (http://www.php.net

[PHP] Re: PHP MySQL Hosting services

2002-04-14 Thread Steve
Jennifer Check out Hub.Org Networking services http://www.hub.org They have Virtual Machine that can be configured to your NEEDS without affecting other clients and vice versa. and MANY other features including ssh, ftp, cgi/perl and I believe they have also added MySQL 3.23 to the list.

RE: [PHP] Mail responders

2002-04-26 Thread Steve
and Control' by Bob Dilworth. On the down side of your question, the article describes how Perl and Sendmail is used to execute commands, not PHP. This should give you some ideas on how to approach it though. -Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

RE: [PHP] Re: Cyber Cafe software

2002-06-04 Thread Steve
. Cheers, -Steve Ellermann -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] check if a variable is in a number of states.

2001-05-12 Thread Steve
You could also try using a regular expression to get out whatever you need (if it's a string). Something like the following: preg_match_all(/[abc|def|ghi]/,$type, $matches); - Steve DRN [EMAIL PROTECTED] wrote in message 9dkhdr$nog$[EMAIL PROTECTED]">news:9dkhdr$nog$[EMAIL PROTECTED

[PHP] References

2001-05-12 Thread Steve
attempted anything like this before or can anyone think of a reason that this will not work? Thank you! - Steve -- 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

Re: [PHP] validate form with javascript

2001-05-13 Thread Steve
What is the particular error you're getting? Chris Mason [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... I have a form in which I validate the email address using a php function then alert the operson if the email address is not correct. However, I would like

Re: [PHP] Search engines and mod_rewrite

2001-05-13 Thread Steve
is converted into something.pl?user=username and they get indexed, so I can't think of any reason you're case would be any different. - Steve Tom Carter [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... hi all, On one of my sites we make extensive use of variabl

[PHP] session VS scope

2001-05-14 Thread Steve
have an elegant work-around for me that negates the need for $LOCALS? If not, I would feel OK passing this off towards the development team and working with them on it to improve the language. please CC your reply to: nepolon AT worlddomination DOT net thanks, --Steve -- PHP General Mailing

Re: [PHP] How to check aBc different from abc ?

2001-05-15 Thread Steve
$st1 = abc; $st2 = abc; strcmp($st1, $st2);// 0 if equal, -1 or 1 if not equal (depending on which one is larger) Bass¨Ð¦õªv [EMAIL PROTECTED] wrote in message 9ds76j$9mv$[EMAIL PROTECTED]">news:9ds76j$9mv$[EMAIL PROTECTED]... thx ^_^ -- PHP General Mailing List (http://www.php.net/)

[PHP] image retrival from db?

2001-06-18 Thread Steve
Anyone have a pointer to a script or documentation on how to retrieve an image that is stored in a database? I can insert the image, but unable to display the image once retieved, i apparently am missing something. Thanks Steve

Re: [PHP] Filtering out \ when a ' is user entered?

2001-06-27 Thread Steve
try stripslashes()! http://www.php.net/manual/function.stripslashes.php - Original Message - From: Marcus James Christian [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 26, 2001 11:18 PM Subject: [PHP] Filtering out \ when a ' is user entered? Hello, I'm pretty new

[PHP] php aol

2001-07-09 Thread Steve
well, but no data shows up in the database and the link is not sent via email. Is there something special that is required for AOL users to be able to use or view php pages? and the input to be passed to other php pages or to a database? Thanks Steve -- PHP General Mailing List (http://www.php.net

[PHP] ./configure APC problems with 3.0.16 and what happened to --enable-apc-pthreadmutex???

2008-01-07 Thread steve
When configuring APC 3.0.16 I see this, which I don't recall seeing before: checking dlfcn.h presence... no configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: dlfcn.h: proceeding with the compiler's result checking for dlfcn.h... yes Also

[PHP] Re: ./configure APC problems with 3.0.16 and what happened to --enable-apc-pthreadmutex???

2008-01-07 Thread steve
I take it back.. if I use --enable-apc-pthreadmutex I get file locks, but if I don't use the option at all, I get pthreadmutexes. I'm guessing pthead became the new default? On Jan 7, 2008 1:59 PM, steve [EMAIL PROTECTED] wrote: When configuring APC 3.0.16 I see this, which I don't recall

[PHP] ereg help!

2008-01-08 Thread steve
I have a dir of html files that link to websites, i would like to read the dir and print a list of those files as a link. Which the script i have does. I would like to take this one step further and replace the .html extension with .com so it winds up being: website.com instead of website.html

Re: [PHP] ereg help!

2008-01-08 Thread steve
). Thanks Guess i was just trying to over think it. Have not done much with files. Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Too many records to display in one web page

2007-05-29 Thread Steve
The way I handle it: Step 1- Add SELECT SQL_CALC_FOUND_ROWS to the front of your initial query and add the pagination limit to the end (LIMIT 200, 400 or whatever range you want to display.) Step 2- Do a 2nd query: SELECT FOUND_ROWS() immediately after. What does this do? It will return your

Re: [PHP] Re: Too many records to display in one web page

2007-05-30 Thread Steve
Very true. I completely forgot to mention that :( Chris [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Steve wrote: The way I handle it: Step 1- Add SELECT SQL_CALC_FOUND_ROWS to the front of your initial query and add the pagination limit to the end (LIMIT 200, 400

Re: [PHP] Streaming download to IE doesn't work

2007-06-02 Thread Steve
That's why you comment your code. Take the extra time and put a bit of effort into explaining yourself. Add in a paragraph explaining what's going on, link to whatever solution you found on the web (who knows it might still exist), and just outright bloat it with comments. You might find it

[PHP] call_user_func_array on STATIC method

2006-08-18 Thread steve
Does anyone know of a way to call a static method with an array of objects? I thought for sure this would work, but it does not: $v = call_user_func_array($class::$method,$params); Do I have to resort to eval()??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Where to download APC for windows?

2006-08-23 Thread steve
I used to have a bookmark on where to download APC for windows. Anyone have a link? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Where to download APC for windows?

2006-08-23 Thread steve
. If it is not, I am stuffed if I can remember where I got it from (blush). AJ steve wrote: I used to have a bookmark on where to download APC for windows. Anyone have a link? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing

Re: [PHP] Microsoft Partners With Zend

2006-11-01 Thread steve
On 11/1/06, Daevid Vincent [EMAIL PROTECTED] wrote: Personally I'm unsure. I would like to think that Zend is smart enough to realize M$ tactics of embrace/extend and will not allow that to happen. MS added a FastCGI module to IIS. Thats the big thing. The real question is, why doesn't Apache

[PHP] APC FastCGI != upload progress ?

2008-03-26 Thread steve
We can get upload progress to work with the APC extension for PHP 5.2.x only on machines that are not using FastCGI. (Apache2.2 if it matters). Does anyone have a suggestion where to look? Will it even be possible? Thanks in advance, -s -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] APC FastCGI != upload progress ?

2008-03-30 Thread steve
that. FastCGI is also breaking Apache's deflate module, but that is another issue... -s On Wed, Mar 26, 2008 at 6:35 PM, Jim Lucas [EMAIL PROTECTED] wrote: steve wrote: We can get upload progress to work with the APC extension for PHP 5.2.x only on machines that are not using FastCGI

Re: [PHP] APC FastCGI != upload progress ?

2008-04-04 Thread steve
) or does it stream using script tags? What goes on in the server? Does it push the buffer of blank data that WebKit requires? Is it a PHP daemon process running as a simple HTTP server? On Wed, Apr 2, 2008 at 12:09 AM, Manuel Lemos [EMAIL PROTECTED] wrote: Hello, on 03/30/2008 02:52 PM steve said

Re: [PHP] APC FastCGI != upload progress ?

2008-04-09 Thread steve
On Sat, Apr 5, 2008 at 7:44 PM, Manuel Lemos [EMAIL PROTECTED] wrote: on 04/04/2008 03:16 AM steve said the following: FastCGI is *the* way to run PHP, but I think Apache is not the platform for it anymore. If need more than one server, Apache pre-forked model may limited. Otherwise

Re: [PHP] Threads PHP

2008-05-16 Thread steve
The word experimental makes me shudder. If you can (ie you're using *nix), you could also investigate the pcntl extension - http://php.net/pcntl And it should. I used the ssh lib for php a long time ago, and now it is nothing more than a set of problems... -- PHP General Mailing List

[PHP] Since APC is no longer supported on Windows, can anyone else make php_apc.dll for the newest 5.2.6 non-thread-safe?

2008-07-25 Thread steve
Since APC is no longer supported on Windows, I can't download it from php.net. Can anyone else make php_apc.dll for the newest 5.2.6 non-thread-safe windows version? Many thanks in advance... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Since APC is no longer supported on Windows, can anyone else make php_apc.dll for the newest 5.2.6 non-thread-safe?

2008-08-04 Thread steve
Yeah, back from January. They stopping shipping APC in the PHP downloads (specifically the PECL download for Windows). And since pecl4win.php.net does NOT have the nts versions, it is pretty useless. On Sat, Jul 26, 2008 at 12:22 AM, T Lensselink [EMAIL PROTECTED] wrote: steve wrote: Since APC

Re: [PHP] PHP 5.3.0alpha2

2008-09-03 Thread steve
That's great! I like all the different builds. Two things that pop out: 1) What are some recommended non-official builds of Apache2 in x64? and 2) Will there be PECL builds also? On Tue, Sep 2, 2008 at 3:27 PM, Lukas Kahwe Smith [EMAIL PROTECTED] wrote: Hello! Johannes has packed PHP

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread steve
Uh... what about boolean? Depending on the compiler and instruction set differences, even one-byte things now have to be on longword boundaries, meaning that something that is one byte will have to take 8 in order to be on proper boundaries. Unless the app or compiler is doing packing, which I

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread steve
The Mac isn't really 64-bit. They do an interesting hybrid model in order to say it in marketing. But they won't have a real such version until the next major release of MacOS X. That is why the next version of Adobe Photoshop, etc., won't be 64bit on the Mac when Adobe Creative Suite 4 comes out.

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-03 Thread steve
None yet, I still have to create some. Apache may provide some when they have began the move to VC9. VC9 Apache builds can be fetched from http://apachelounge.com, they are known to work very well. Hmm.. that is a good link. I had forgotten about them. Ideally, I'd like to get a all 64bit

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-04 Thread steve
Good to know. And it makes it easier to use the Apache builds from http://apachelounge.com. On Wed, Sep 3, 2008 at 9:06 PM, Andi Gutmans [EMAIL PROTECTED] wrote: Btw, contrary to what many believe, 32bit PHP tends to perform better than 64bit PHP. So unless there's a really good reason why you

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-04 Thread steve
Try with IIS7 + FCGI, it is _fast_ :) It's a same-across-platforms thing. Mostly to do with the fact we use mod-rewrite. :( PHP is so much slower on windows, though a lot of it has to do with file handling, a Windows specific slowdown I guess. That's something I really to fix for 5.3.0 or

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-04 Thread steve
A word boundary usually matches the natural integer size for the processor. In the case of a 32 bit processor it would be 32 bits, in the case of a 64 bit processor it would be 64 bits. This may or may not hold for windows, but more than likely the word size doubles between the 32 bit

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-04 Thread steve
may not be available in 64bit mode. Thus that bool taking a whole long word. 8x the space, not twice. Let's write some assembly! On Wed, Sep 3, 2008 at 11:41 PM, Robert Cummings [EMAIL PROTECTED] wrote: On Wed, 2008-09-03 at 23:39 -0700, steve wrote: A word boundary usually matches the natural

[PHP] Re: [PHP-DEV] Re: [PHP] PHP 5.3.0alpha2

2008-09-25 Thread steve
OK, I finally went to do it and this link doesn't work: PHP 5.3.0alpha2 VC9 x86 http://downloads.php.net/pierre/php-5.3.0alpha2-nts-Win32-VC9.zip On Thu, Sep 4, 2008 at 5:23 AM, Johannes Schlüter [EMAIL PROTECTED] wrote: On Wed, 2008-09-03 at 23:36 -0700, steve wrote: It is pretty much

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-26 Thread steve
The opposite might be true of user code though as developers become presumptive of the compiler doing their work for them :) Like PHP... which does absolutely no optimizations. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: ZendOptimizer + APC

2008-10-24 Thread steve
Run APC on the main site. Create a separate instance of apache running on another port and have it use the ZendOptimizer, and have the admin stuff there. Also, have you tried changing the options for the zend thing to not actually optimize? It only has positive effects if you are also using their

[PHP] Problem with sybase_get_last_message

2009-01-10 Thread Steve
, sybase_get_last_message will return Command has been aborted rather than the real error message. -- This bug is from 2001 and still occurs in PHP 4.4.9. Does anyone know how to get the real message out of sybase? Thanks, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] Re: Zend Framework and IIS

2009-02-05 Thread steve
See this blog entry: http://2bits.com/articles/high-php-execution-times-drupal-and-tuning-apc-includeonce-performance.html On Fri, Jan 30, 2009 at 12:49 PM, Robert Cummings rob...@interjinn.com wrote: On Fri, 2009-01-30 at 15:42 -0500, Andrew Ballard wrote: On Fri, Jan 30, 2009 at 12:46 PM,

[PHP] Apache2 x FastCGI x opcode cache

2005-08-18 Thread steve
, not a mass-hosting situation. Thanks! -steve-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Apache2 x FastCGI x opcode cache

2005-08-18 Thread steve
-hosting situation. Thanks! -steve-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] APC and PHP 5.1.2

2006-03-02 Thread steve
I can't get APC 3.0.8 to work on anything, at all. On Windows, it crashes the server, and on Linux, it can't handle objects. For example: ?php class abc { } $a = new abc; var_dump($a); ? Gives: NULL Any idea on what is going on? -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] APC and PHP 5.1.2

2006-03-02 Thread steve
-Test: ; echo $one-Test; echo BRTest with eval: ; eval ('$result = $one-Test; '); echo $result; echo BRTesting done.; On 3/2/06, Rasmus Lerdorf [EMAIL PROTECTED] wrote: steve wrote: I can't get APC 3.0.8 to work on anything, at all. On Windows, it crashes the server, and on Linux, it can't

Re: [PHP] APC and PHP 5.1.2

2006-03-02 Thread steve
:) On 3/2/06, Rasmus Lerdorf [EMAIL PROTECTED] wrote: steve wrote: OK, will try. Does this work in the CVS version? ?php error_reporting(E_ALL); class A { public $_t = 'something'; public function __get($name) { $getter='get'.$name

Re: [PHP] APC and PHP 5.1.2

2006-03-02 Thread steve
happen to me? Without APC it runs fine. I'm using Fastcgi version if that matters. -steve-- On 3/2/06, Rasmus Lerdorf [EMAIL PROTECTED] wrote: steve wrote: I can't get APC 3.0.8 to work on anything, at all. On Windows, it crashes the server, and on Linux, it can't handle objects. For example

Re: [PHP] APC and PHP 5.1.2

2006-03-02 Thread steve
APC-dev) (if this even helps): 5.1.2 -- Failed 5.1.1 -- Failed 5.0.5 -- Success -steve-- On 3/2/06, Rasmus Lerdorf [EMAIL PROTECTED] wrote: It probably does. I have never tried it against the Fastcgi sapi. Try it with the Apache module version to rule this out. -Rasmus -- PHP General

Re: [PHP] Re: APC and PHP 5.1.2

2006-03-03 Thread steve
compatible with their other products, but I bet there is some interal reason why that won't happen. On 3/2/06, Jens Kleikamp [EMAIL PROTECTED] wrote: steve wrote: You know not what you ask!! I'm going to have to wait a bit before I do that. Currently using Apache 2, and the config files would need

Re: [PHP] Re: APC and PHP 5.1.2

2006-03-03 Thread steve
' '--without-pear' Can you check yours? Maybe there is a conflict with the modules compiled in and APC's optimizer (though that sounds really strange). Maybe I'll try removing all of them and recompile and see what happens... Thanks Jens! -steve- On 3/3/06, Jens Kleikamp [EMAIL PROTECTED] wrote

[PHP] Fwd: one more php opcode cacher for your choice

2006-04-04 Thread steve
Is anyone aware of how this compares? -- Forwarded message -- From: Xuefer [EMAIL PROTECTED] Date: Apr 3, 2006 10:04 PM Subject: one more php opcode cacher for your choice To: Lighttpd List [EMAIL PROTECTED]

[PHP] PDO on Win2000Server

2006-04-17 Thread Steve
Hi I'm having trouble getting PDO to work on Windows 2000 Server with PHP 5.1.2. I've enabled the extensions in php.ini, which was all I thought I had to do. Is there anything else? I thought PDO would show up in phpinfo(), but it doesn't. In my code, when I call: new PDO(...); I get an

[PHP] Creating an OO Shopping Cart

2006-04-20 Thread Steve
Hi I'm creating my own Object Oriented PHP Shopping Cart. I'm confused about the best way to call the functions of the class given the static nature of the web. For example, if I have a function addItem($code), how will this be called from the catalog or product description pages where the

Re: [PHP] Creating an OO Shopping Cart

2006-04-20 Thread Steve
to respond and assist me. Do you have any specific shopping carts that you would recommend I take a look at? Any that ARE well written. Thanks Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Creating an OO Shopping Cart

2006-04-20 Thread Steve
, the checkout, or catalog pages, at the top of the code I always need to check if files are being added, deleted or changed qty. Is this correct? This is my biggest concern. What's the best way to interact with the Cart class when adding/removing items? Thanks Steve ?php // This File: catalog.php

Re: [PHP] Creating an OO Shopping Cart

2006-04-21 Thread Steve
in the archive. Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 5.1.4, mysqli, and fastcgi leaving connections open.

2006-05-25 Thread steve
this issue or not before I spend a couple hours reverifying it. Thanks! -steve-- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to disable PHP's POST caching?

2006-05-25 Thread steve
Why not reconfigure the webserver to proxy a certain url subdirectory to your php script that can be running on any old port? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] 5.1.4, mysqli, and fastcgi leaving connections open.

2006-05-26 Thread steve
mysqli does not have persistent connections. Kinda wish it did, as using fascgi has the about the same number of processes that I would want connections in a connection pooling scheme under a module scenario. anyhow, its a 5.1.4 bug and its reported. -- PHP General Mailing List

[PHP] PHP to read news

2005-10-19 Thread Steve
in a browser like mozilla and the message will be pulled, so i'm thinking it should be much easier than that. Has anyone ever pulled a news url like this with php and parsed it? If so, what functions were you using? Thanks in advance, Steve -- PHP General Mailing List (http://www.php.net

Re: [PHP] converting fields from a fixed length text file intoan array

2001-05-06 Thread steve
); exit; } print(connectedbr\n); if(!ftp_login($ftp,test,none)) { print(unable to login!br\n); exit; } ftp_get($ftp,/tmp/test.jpg,test.jpg,FTP_IMAGE); print(donebr\n); ftp_quit($ftp); ? /body /html Any idea why? TIA Steve -- PHP General

[PHP] Problem trying to get ftp_get to work connected to FreeBSD

2001-05-06 Thread steve
why? TIA Steve -- 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] pcntl_fork() hangs with FUTEX_WAIT

2005-02-16 Thread Steve
(0x471cb0, FUTEX_WAIT, 2, NULL The program runs on PHP 5.0.3-cli and Linux 2.6. Has anyone an idea what could be the reason for that hang? Thanks in advance, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Password Protection

2005-02-17 Thread Steve
Kevin Javia wrote: I am experimenting on my site and I want to make it password protected like www.realsolution.com. If any one enters correct user name and password, only then they will be able to enter into my site. How can I do that in PHP? Any ideas? Thanks a ton in advance. Try this:

Re: [PHP] pcntl_fork() hangs with FUTEX_WAIT

2005-02-17 Thread Steve
Well, but I don't use multithreading? PHP is running as CLI exec, not compiled into Apache... That's my configure command: ./configure --enable-pcntl --with-curl --with-mysql Or do I have to care for thread safety anyway? Regards, Steve Richard Lynch wrote: Steve wrote: I have a program which

Re: [PHP] News Reader

2003-07-21 Thread Steve
David Goodchild wrote: Could someone advise me of a good news reader. I'm using MS Outlook at the moment, and if I reply to any post it sends it to the users email and not to the news server. Plus, its not that great in general terms. XNews, slrn, Fortitude and of course Thunderbird (Gecko

[PHP] lurker awakes

2003-03-20 Thread steve
be a hell of a backdoor to leave on our server. Steve Soars www.i-redlands.net Interactive Redlands Shop 2 Cleveland Town Square Cnr Queen Bloomfield Sts Cleveland QLD 4163 [p] 07 3821-5800 [f] 07 3821-5811 what we

Re: [PHP] lurker awakes

2003-03-20 Thread steve
Mike/Matt, thanks for the promp response for reference our system: Slackware 8.1, mySQL 3.23.51, apache 1.37 all the passwords look like they are kept in the mysql.users table and the passwords are encrypted (at least in phpMyAdmin 2.4) Steve - Original Message - From: Mike [EMAIL

[PHP] chill out

2003-04-02 Thread steve
to make the poster feel like an idiot. We all know your smarter than the rest of us ;-) Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Exec() wont run program

2003-10-10 Thread steve
I want to start up a program through a php page. For example, gedit. I found that the user is apache by running this: - passthru('whoami'); since apache might not have access to run a certain command, I'll use sudo. I edited the sudoers file in /etc/sudoers and underneath the line: #

[PHP] Re: Exec() wont run program

2003-10-10 Thread steve
Curt Zirzow wrote: What is gedit? it looks like the gnu text editor command. most X applications wont run from the webserver in most cases. gedit is a simple text editor - I think it stands for Gnome Edit echo shell_exec(sudo gedit); might give some answers, Curt. Tried echo shell_exec(sudo

[PHP] Re: Exec() wont run program

2003-10-13 Thread steve
that explains why most X applications wont run from the webserver? Thanks. Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] beginners question

2004-02-23 Thread Steve
I have this code $var=$_POST['Stock']; in one page further down in the code, if certain conditions are met, I want the user to click on a link that will take them to a form to fill in some info. I need to have the data that is in $var passed along to that new url. So I have

[PHP] PHP and determining Business days.

2004-02-29 Thread Steve
Does anyone know of any PHP scripts that can calculate US Business days ( as well as add and subtracting based on whether a day is a business day or not?) or will I need to write something myself? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] include files, .php or .inc ?

2004-11-22 Thread steve
.php for main scripts/pages, and .phtml for includes, as the latter get processed through PHP too. -- @+ Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] $_POST['xxx'] = blabla ?

2004-11-23 Thread steve
' the data = ie, restricting its length, removing slashes and stripping out meta chars. The third parameter is a way of passing a default value to the function. In this case, if the key you're searching for isn't found in $_POST, the function returns that default value rather than FALSE. -- @+ Steve

[PHP] Weird sessions problem

2004-11-28 Thread steve
, $ref_page is now a scalar containing the value of THIS_PAGE. It's almost as though line 54 has been executed before line 53... Help! -- @+ Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Weird sessions problem

2004-11-28 Thread steve
the session vars to retain their values. So I'd still like to know what's going wrong here... -- @+ Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Weird sessions problem

2004-11-28 Thread steve
Jason Wong wrote: On Sunday 28 November 2004 22:46, steve wrote: I tried printing out the values before and after each of those lines. After line 53, $ref_page is an array containing precisely the values I expect, so the function is working. After line 54, the session var has been reset

Re: [PHP] Weird sessions problem

2004-11-29 Thread steve
, are you switching into https by any chance? Nope. Ah well. As I mentioned earlier, I have a workaround now - not ideal, but as it's working it'll do. I don't make money from web programming so I'll leave it at that and get on with my day job :-) -- @+ Steve -- PHP General Mailing List (http

[PHP] Session variables not unsetting

2004-12-05 Thread steve
function prints the message okay, but doesn't unset the session var, so once the message is set, it shows on every subsequent page until set to a different message. I even tried using session_unregister($_SESSION['message']) even though the manual says not to. What am I missing here? -- @+ Steve

[PHP] Re: Session variables not unsetting

2004-12-05 Thread steve
Steve wrote: I'm having a problem with session variables. Never mind. Seems that the hosting company decided this week to switch from register_globals off to register_globals on. I'm not the first person to call them about this! -- @+ Steve -- PHP General Mailing List (http://www.php.net

[PHP] Re: Session variables not unsetting

2004-12-06 Thread steve
variables passed by $_POST or $_GET without validating and all variables on the page are always initialised so I'm hoping the security exposure is minimal. -- @+ Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Session variables not unsetting

2004-12-06 Thread steve
properly before using them your application can be compromised. As I mentioned, I always initialise variables. I'm no programmer, but it just makes sense to me that if a variable exists, it should have some sort of default value. -- @+ Steve -- PHP General Mailing List (http://www.php.net

Re: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Steve
generated temporary files, I mean files which are created by the PHP function ImageGIF(). How should I even know which temporary file name GD chose in each case, or whether it created a temp file at all in a particular case? Regards, Steve -- PHP General Mailing List (http://www.php.net

Re: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Steve
itself works fine (the GIF is written to STDOUT correctly, as it should). The only problem is that the function doesn't seem to clean up, and leaves the temporary file it had created undeleted. Regards, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Steve
Seems like this is something that either the GD lib or PHP should be doing and not the user. Shouldn't this be reported as a bug? Yes, I also consider this a bug, unless it's something specific to my system. To find out, I posted this here. Is nobody else out there using ImageGIF() with PHP

[PHP] GD functions don't delete temporary files

2004-12-13 Thread Steve
cause the problem, either. Has anyone else experienced that? Regards, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GD functions don't delete temporary files

2004-12-13 Thread Steve
that the user can delete the file at all? I've found nothing in the docs about that. Regards, Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Catch STDERR

2007-02-20 Thread steve
What are your speed requirements? You can use the ssh functions can ssh2_exec into yourself. You can get the error stream separately then... After the connection is open, it is basically as fast as exec. But there is a hit on connection. I wouldn't use this in webpage environment, but I do use

Re: [PHP] Session problems with 4.4.5?

2007-02-22 Thread steve
Yes... I think the test version of it goes out today. On 2/22/07, alex handle [EMAIL PROTECTED] wrote: On 2/16/07, Jochem Maas [EMAIL PROTECTED] wrote: Ken Williams wrote: Is anyone else having problems with session in 4.4.5? I'm under apache 1.3.27 in linux 2.4.34 and all my web sites

Re: [PHP] Safari 2.0.4 / PHP 4.3.7 / Apache 2.0.44 Isuue with HTTP Headers

2007-02-22 Thread steve
I've see that before. Update the PHP (and Apache while you are at it). Also disable the server from showing the Apache and PHP versions. Why are they broadcasting to the world that they are easy prey to remote exploits? Also check if the server has been compromised. On 2/22/07, Ron Stiemer

Re: [PHP] Re: how to display images stored in DB

2007-02-28 Thread steve
The web browser sees an image as a single HTTP request. Invoking the PHP script engine, parsing the script, and executing a SQL query to retrieve the image from the database is less efficient than letting the web server just send the file. In a simple setup, that is probably true.

  1   2   3   4   5   6   7   8   9   10   >