I'm trying to figure out how to formulate a regular expression that
will get me everything following a pound sign (#) up to the first space
or { character. (I'm trying to parse the ids out of a style sheet.)
Can anyone point me in the right direction? I've been searching on the
web for hours
Hi,
Thanks for your continued help. Even I was wondering
the same problem.
So I went ahead to look into the ini settings. My
local memory limit is 8M as well as the ISP one. The
timeout for my local PHP is 300 secs and timeout for
my ISP is 30 secs.
Even if I try to reduce my local timeout valu
* Thus wrote Karam Chand:
> Hello,
>
> Connecting to the PHP using Windows WinInet APIs. Mine
> is a C++ app that connects to the PHP and gets data.
>
> The above probcess works like a cheese for tables upto
> 10-20K but when I put on more heavy load like the
> table described, WinInetAPI returns
* Thus wrote Justin French:
> Jay,
>
> "global $a, $b, $c" is used for bringing global variables INTO the
> scope of the function... what I'm after is a way of making localised
> variables (in function) available outside of the function.
http://www.php.net/)
To unsubscribe, visit: http://www.p
* Thus wrote mathieu:
> Hi,
>
> I know that there are severals ways to add personnal functions into php and
> i am looking for documentation about how to realize it.
> If u need a bash explication, i want to do this with php:
> "./configure -with-my-stuff"
> Additional question: is it possible to
* Thus wrote ascll:
> Greetings,
>
> Does anyone know how to use PHP to develop a simple chatting server and
> client?
what protocol?
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!
--
PHP G
Hello,
Connecting to the PHP using Windows WinInet APIs. Mine
is a C++ app that connects to the PHP and gets data.
The above probcess works like a cheese for tables upto
10-20K but when I put on more heavy load like the
table described, WinInetAPI returns with the following
error.
Regards,
Karam
* Thus wrote Ustimenko Alexander:
> read mysql manual: you must replace ' to `
>
> ' to
> `` in your $sql so
um.. what is with all of these qutes?
>
> $sql = "SELECT id_from, id_to FROM ids WHERE id_from =`$current_id` OR
* Thus wrote Mauricio Pellegrini:
> Curt Zirzow wrote:
>
> Ok, Thanks .
>
> But should I recompile only php or do I have to recompile
> apache,mysql,etcetera,etcetera?
Nope, php will be compiled as a shared object so everything else
doesn't need to be recompiled.
Curt
--
First, let me assure
* Thus wrote [EMAIL PROTECTED]:
> Thanks,
> But im using php 4.3.
Then you'll have to resort to some very unstandard methods:
class foo {
var $instance_manager;
function getInstanceNum() {
return $this->instance_manager->instancesOf(__CLASS__);
}
function getInstanceName() {
re
* Thus wrote Brent Clements:
> Hi All,
>
>
> Let's say I have a string of text.
>
> $foo = "I WANT ALot of Text to be diSPLAYed!"
>
> I have an area on my image that is around 386 pixels wide.
>
> How do I find out if my text will fit in that area using any size font?
This isn't as simple of
On Tue, 24 Aug 2004 21:49:03 -0500, Brent Clements
<[EMAIL PROTECTED]> wrote:
> Hi All,
>
> Let's say I have a string of text.
>
> $foo = "I WANT ALot of Text to be diSPLAYed!"
>
> I have an area on my image that is around 386 pixels wide.
>
> How do I find out if my text will fit in that area
* Thus wrote Richard Miller:
> Good evening!
>
> I am getting an error message that I've never seen before. I am
> POSTing an HTML form to a PHP script, but when I submit the form, my
> Safari browser says "can't open the page such-and-such because it could
> not load any data from this locati
* Thus wrote Karam Chand:
> Hello,
>
> I have a fairly big table of 60K rows with 9 cols.
>
> I have a C++ app that connects to a PHP page. This PHP
> page in turn connects to the above table and outputs
> all the row in form of XML. I get all this data in my
> C++ app, parse it with an XML pars
--- Stanislav Kuhn <[EMAIL PROTECTED]> wrote:
> Thanks for help. I have set up p3p policy to my site.. I passed it
> trouth validator and IE can find privacy policy but it still doesn't
> allow me cookies... I can't find information what exactly to specify
> in privacy policy IE allows me third pa
* Thus wrote Jason Wong:
> Please do not top post.
>
> On Wednesday 25 August 2004 01:31, PHP Junkie wrote:
> > Ave,
> >
> > Nope... Didn't work. Didn't return an error or anything, didn't delete the
> > folders either!
>
> > >> system('rm -rf',$user_dir,$ret_val);
>
> That should be:
>
> sys
Hi All,
Let's say I have a string of text.
$foo = "I WANT ALot of Text to be diSPLAYed!"
I have an area on my image that is around 386 pixels wide.
How do I find out if my text will fit in that area using any size font?
Thanks,
Brent
Good evening!
I am getting an error message that I've never seen before. I am
POSTing an HTML form to a PHP script, but when I submit the form, my
Safari browser says "can't open the page such-and-such because it could
not load any data from this location." Mozilla gives no error message
but
Hello,
I have a fairly big table of 60K rows with 9 cols.
I have a C++ app that connects to a PHP page. This PHP
page in turn connects to the above table and outputs
all the row in form of XML. I get all this data in my
C++ app, parse it with an XML parser and do my work.
My PHP source looks som
On Wednesday 25 August 2004 05:31, John Nichel wrote:
> How so? Even if 'nobody' is in the www group, it still wouldn't have
> the proper permissions.
To be able to delete directories, you need:
- 'wx' on the parent directory
- 'rx' on the target directory
To be able to delete files, you nee
--- Begin Message ---
Background:
Server-Apache 1.3.31
OS-Windows XP
PHP-5
Problem-I'm trying to run eFiction, a story/fanfiction archive script. On
this, people self register, and they are supposed to get an e-mail with their
password. However, I and one other attempted signing up, and neith
Jason Wong wrote:
If Apache is running as nobody/nobody, it does not have permission to
delete these directories. The only users who can delete these
directories are the respective users, and root. You need to have write
permission to delete...
drwxr-xr-x3 www www 102 24 Aug 11:09
> -Original Message-
> Thanks for help. I have set up p3p policy to my site.. I passed it trouth
> validator and IE can find privacy policy but it still doesn't allow me
> cookies... I can't find information what exactly to specify in privacy
> policy IE allows me third party cookies...
>
Stanislav Kuhn wrote:
> Thanks for help. I have set up p3p policy to my site.. I passed it
> trouth validator and IE can find privacy policy but it still doesn't
> allow me cookies... I can't find information what exactly to specify
> in privacy policy IE allows me third party cookies...
> Does so
Everything is working, thanks to you and Jason.
The key was that I had to provide a seed file since error_log only
appends messages to an existing file and doesn't create one if it does
not exist.
Al
John Holmes wrote:
From: "Al" <[EMAIL PROTECTED]>
php_value error_log /home/jones/publi
Hi all,
I'm trying to get apache + php to work with Oracle on Debian(Woody). I've
managed to install Oracle 9.2.0.4 on Debian Woody, it's working fine from the command
line. I've compiled Apache/PHP both from the sources with the following parameters.
PHP:
./configure --enable-gd-imgstrt
Does ftp_ssl_connect() support Explicit SSL, Implicit SSL, or both?
Thanks,
-jess-
On Wednesday 25 August 2004 02:30, John Nichel wrote:
> > This is what I got with ls -al
> >
> > rahul:/Library/WebServer/Documents/informed-sources.com/imsafm bob$ ls
> > -al total 16
> > drwxrwxrwx5 nobody nobody170 24 Aug 13:55 .
> > drwxrwxrwx 102 bob unknown 3468 24 Aug 11:23 .
Thanks for help. I have set up p3p policy to my site.. I passed it trouth
validator and IE can find privacy policy but it still doesn't allow me
cookies... I can't find information what exactly to specify in privacy
policy IE allows me third party cookies...
Does somebody idea?
tnx.
S.
-Ori
From: "Al" <[EMAIL PROTECTED]>
php_value error_log /home/jones/public_html/AutoSch/errors.txt
#This doesn't work either.
Anyone know how to write the errors to a file? The documentation says
it should work.
It should. What are the permissions on the above file? Does the apache/php
user have perm
The reason this works is because you are doing a recursive remove of
the directory. The PHP rmdir() does not remove a directory with
contents in it. If you modify your script so that it walks the users
directory and removes each file and subdirectory then it would
probally have worked correctly.
Thank You. I didn't know where to start looking. Anyway, putting the
following lines in an .htaccess file in the directory worked like a charm:
AcceptPathInfo On
Thanks to all who helped.
Steve
At 02:02 PM 8/24/2004, you wrote:
> How can I make the following work on an apache 2.0.46/php 4.3.2
Please stop top posting.
On Wednesday 25 August 2004 02:20, PHP Junkie wrote:
> Apache to the best of my knowledge runs as "nobody" by default and since I
> didn't change any settings, it is probably running as "nobody".
Instead of speculating, find out for certain by using phpinfo().
--
Jason
> How can I make the following work on an apache 2.0.46/php 4.3.2
> installation?
>
> /dist/gogo.php/order-inventory-form.php
>
> Right now, unless it is a question mark after the gogo.php script, it
> will not run.
Apache 2.0 differs from 1.3.x in its handling of path info. See:
http://h
On Wednesday 25 August 2004 01:56, Jed R. Brubaker wrote:
-
> Fatal error: Call to undefined function imagesx() in
> c:\web\www\php\classes\Box.class on line 65
> ---
>
> Am I missing something
test
Al wrote:
The php.ini is already set to log errors and it works; but, they are
appended to the system log.
Just for the heck of it I tried; but it doesn't work.
php_value error_reporting 2047
php_value log_errors TRUE
php_value error_log "./errors.txt"[and the full path string]
Joh
Here is what I having working so far:
php_value error_reporting 2# Just warnings, which is
what I want
php_flag log_errors 1 #this turns logging on
and off in the syslog
php_flag display_errors 1 #this turns error display at
client's br
Here is what I having working so far:
php_value error_reporting 2# Just warnings, which is
what I want
php_flag log_errors 1 #this turns logging on
and off in the syslog
php_flag display_errors 1 #this turns error display at
client's br
Apologies. I need to be using getimagesize(). I thought it was only for file
sizes.
"Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> "Jed R. Brubaker" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Hi all!
> >
> > I am trying to do something really
Ave,
IT WORKS!!!
I guess it was the syntax which was the problem! Finally it works!!
system("rm -rf $user_dir", $ret_val);
Works perfectly... Removes folder!
Thanks a TON!
On 8/24/04 2:04 PM, "Jason Wong" <[EMAIL PROTECTED]> wrote:
> Please do not top post.
>
> On Wednesday 25 August 2004
Here is what I having working so far:
php_value error_reporting 2# Just warnings, which is
what I want
php_flag log_errors 1 #this turns logging on
and off in the syslog
php_flag display_errors 1 #this turns error display at
client's br
Ave,
IT WORKS!!!
I guess it was the syntax which was the problem! Finally it works!!
system("rm -rf $user_dir", $ret_val);
Works perfectly... Removes folder!
Thanks a TON!
On 8/24/04 2:04 PM, "Jason Wong" <[EMAIL PROTECTED]> wrote:
> Please do not top post.
>
> On Wednesday 25 August 2004
PHP Junkie wrote:
Ave,
Apache to the best of my knowledge runs as "nobody" by default and since I
didn't change any settings, it is probably running as "nobody".
This is what I got with ls -al
rahul:/Library/WebServer/Documents/informed-sources.com/imsafm bob$ ls -al
total 16
drwxrwxrwx5 nobody
On Tue, 2004-08-24 at 12:56, Jed R. Brubaker wrote:
Code:
> -
> $this->lVertical = "images/box/".$template."_lVertical.gif";
> $borderWidth = imagesx($this->lVertical);
> -
> Error:
> --
Ave,
Apache to the best of my knowledge runs as "nobody" by default and since I
didn't change any settings, it is probably running as "nobody".
This is what I got with ls -al
rahul:/Library/WebServer/Documents/informed-sources.com/imsafm bob$ ls -al
total 16
drwxrwxrwx5 nobody nobody170
[snip]
Fatal error: Call to undefined function imagesx() in
c:\web\www\php\classes\Box.class on line 65
Am I missing something in the PHP config? What should I be looking for.
Oh!
I am on PHP5.0 - that should help.
[/snip]
Do you have GD compiled with PHP?
--
PHP General Mailing List (http://www
On Tue, 24 Aug 2004 11:52:21 -0500, Steve Buehler <[EMAIL PROTECTED]> wrote:
> How can I make the following work on an apache 2.0.46/php 4.3.2 installation?
>
> /dist/gogo.php/order-inventory-form.php
>
mod_rewrite
> Right now, unless it is a question mark after the gogo.php script, it will
> n
On Tue, 24 Aug 2004 09:51:53 +0200, Markus Mayer <[EMAIL PROTECTED]> wrote:
> It may well be that they're using anonymous proxies. I know of a couple that
> spread the visiting IP addresses over a wide range of IP addresses, although
> everything does make it back eventually. Also possible is tha
PHP Junkie wrote:
Ave,
The browser window which launched the Save As window...
PHP cannot do this. You'll have to use JavaScript in the browser
window. Something like
window.close();
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing Lis
"Jed R. Brubaker" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all!
>
> I am trying to do something really simple, but my error is outside of my
> expertise (hopefully not for long!).
>
> Code:
> -
> $this->lVertical = "images/box/
Please do not top post.
On Wednesday 25 August 2004 01:31, PHP Junkie wrote:
> Ave,
>
> Nope... Didn't work. Didn't return an error or anything, didn't delete the
> folders either!
> >> system('rm -rf',$user_dir,$ret_val);
That should be:
system("rm -rf $user_dir", $ret_val);
--
Jason Wong
"Steve Buehler" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How can I make the following work on an apache 2.0.46/php 4.3.2
installation?
>
> /dist/gogo.php/order-inventory-form.php
>
> Right now, unless it is a question mark after the gogo.php script, it will
> not run.
>
> Thank
Hi all!
I am trying to do something really simple, but my error is outside of my
expertise (hopefully not for long!).
Code:
-
$this->lVertical = "images/box/".$template."_lVertical.gif";
$borderWidth = imagesx($this->lVertical);
Ave,
The browser window which launched the Save As window...
On 8/24/04 1:41 PM, "John Nichel" <[EMAIL PROTECTED]> wrote:
> PHP Junkie wrote:
>> Ave,
>>
>> I use the PHP Header directives to create a page which would force-download
>> the file for the user...
>>
>> > $file = "$P/$F";
>> hea
PHP Junkie wrote:
Ave,
Nope... Didn't work. Didn't return an error or anything, didn't delete the
folders either!
If you cannot delete via the php functions or via system calls, then you
have a permission problem.
What user/group is Apache running as?
What is the output of 'ls -al' for the files
Ave,
Trust me I do... I double checked it actually..
On 8/24/04 1:41 PM, "Richard Whitney" <[EMAIL PROTECTED]> wrote:
> Dumb question - are you sure you got the path right?
> i.e. /home/public_html/rest/of/your/path
>
> On Tue, 24 Aug 2004 13:31:06 -0400, PHP Junkie <[EMAIL PROTECTED]> wrote:
PHP Junkie wrote:
Ave,
I use the PHP Header directives to create a page which would force-download
the file for the user...
What I want is to have this window close automatically once it's launched
the Save As Dialog Box ... I tried several javascript window.close(),
self.close() functions but non
From: "PHP Junkie" <[EMAIL PROTECTED]>
Anyone's got any tips for me?
Find a JavaScript list?
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ave,
Nope... Didn't work. Didn't return an error or anything, didn't delete the
folders either!
On 8/23/04 8:21 PM, "Richard Whitney" <[EMAIL PROTECTED]> wrote:
> Let me clarify:
>
> system() is like working in a shell
> rm -rf forces removal of the directory $file_dir, which you define bef
Ave,
I use the PHP Header directives to create a page which would force-download
the file for the user...
What I want is to have this window close automatically once it's launched
the Save As Dialog Box ... I tried several javascript window.close(),
self.close() functions but none of them seem
> I have a database with binary file. I want to post that file from my
> server to another one with posting method. I have no problem to post any
> text data but I can not post binary data such as picture.jpe.
The HTTP_Client class in Pear will handle post requests:
http://pear.php.net/pa
How can I make the following work on an apache 2.0.46/php 4.3.2 installation?
/dist/gogo.php/order-inventory-form.php
Right now, unless it is a question mark after the gogo.php script, it will
not run.
Thank You
Steve
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
On Tuesday 24 August 2004 23:37, Al wrote:
> The php.ini is already set to log errors and it works; but, they are
> appended to the system log.
>
> Just for the heck of it I tried; but it doesn't work.
>
> php_value error_reporting 2047
>
> php_value log_errors TRUE
>
> php_value error_log "./error
On Tue, 24 Aug 2004 12:21:03 +1000, Justin French
<[EMAIL PROTECTED]> wrote:
> Jay,
>
> "global $a, $b, $c" is used for bringing global variables INTO the
> scope of the function... what I'm after is a way of making localised
> variables (in function) available outside of the function.
>
> Justin
thank you but I do not need display, I need to post other server. And other
server is waiting as a binary file.
"Ustimenko Alexander" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> see php.net/base64_encode user comments
>
> in POST protocol all content must send in, as i memorize,
On Aug 24, 2004, at 9:05 AM, [EMAIL PROTECTED]
wrote:
are you passing the cvm on the mc/visa charges? is that stopping them?
Yes, I'm doing CVM (or whatever) and AVS on all orders. Where CVM
passes, I accept anything but a NN match on AVS. If CVM is blank, I
accept only YY on AVS. So far only o
I figured it out...wasn't a PHP thing at all but rather the Firefox addin to "view"
response headers
It was cheating and doing a GET to grab the headers instead of the cached POST output.
Thanks for your help John,
Eric
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]
Se
I checked the curl but I have same problem; I have to say file type to other
server with some method. I couldn't find that method:
"Matthew Weier O'Phinney" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> * Qt <[EMAIL PROTECTED]>:
> > I have a database with binary file. I want to po
--- Stanislav Kuhn <[EMAIL PROTECTED]> wrote:
> But problem is when I want to include my sctipt to a client
> web site. Technically my script is included in frame of html
> page on another server. I know, using frames is . but
> clients are using them very offten and I can do nothing with
> tha
Stanislav Kuhn wrote:
I have a problem and i can't find solution. Poblem is with security level of
IE and using session.
Normaly IE sending session id to server automatically, when you lift
security level in IE to HIGH (i'm talking about version 6.x now) IE doesn't
send session id atomatically to s
Peters, Eric wrote:
You have to look at the headers
Exactly...submit the form and the HEADER version of the string returns "a:0:{}"
But, a print() of the same string variable correctly returns
"a:1:{s:3:"foo";s:3:"bar";}"
Dig deeper into it :)
Okay. Running 4.3.6 and 5.0.0, I see the following r
The php.ini is already set to log errors and it works; but, they are
appended to the system log.
Just for the heck of it I tried; but it doesn't work.
php_value error_reporting 2047
php_value log_errors TRUE
php_value error_log "./errors.txt"[and the full path string]
John Holmes wrote
On Tuesday 24 August 2004 23:15, John Holmes wrote:
> There is a "log_errors" setting and a "error_log" setting. Try setting the
> "log_errors" value.
To be absolutely clear, you need both, enable log_errors and specify
error_log.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open S
Hi there,
I have a problem and i can't find solution. Poblem is with security level of
IE and using session.
Normaly IE sending session id to server automatically, when you lift
security level in IE to HIGH (i'm talking about version 6.x now) IE doesn't
send session id atomatically to server. I c
If you have Windows, PHP can only use an extrenal smtp server, so you have to
open that server up to connections from your web server to your mail server.
That could be on the same physical machine as your web server, in which case
the mail server will have to be configured to accept connecti
see php.net/base64_encode user comments
in POST protocol all content must send in, as i memorize,
application/x-www-urlencoded form . then try combination like
==
guy at bhaktiandvedanta dot com (01-
From: "Al" <[EMAIL PROTECTED]>
Per the documentation, error_reporting must use the bitmask values form.
And, that works great.
However, I can't get the errors to log in a special file. They insist on
being logged in the system's error log file.
There is a "log_errors" setting and a "error_log"
You have to look at the headers
Exactly...submit the form and the HEADER version of the string returns "a:0:{}"
But, a print() of the same string variable correctly returns
"a:1:{s:3:"foo";s:3:"bar";}"
Dig deeper into it :) I had to use the Developer tools plugin in Firefox to get the
HTTP He
Exactly what part of this is confusing you?
When you first request the page, $_POST is empty, so you end up with a
serialized value of "a:0:{}" which has a length of 6.
When you submit the form, you end up with a serialized value of:
a:1:{s:3:"foo";s:3:"bar";}
which has a length of 26. Maybe I mi
Thanks, that has me started.
Per the documentation, error_reporting must use the bitmask values
form. And, that works great.
However, I can't get the errors to log in a special file. They insist
on being logged in the system's error log file.
I've tried:
php_value error_log "errors.txt"
with
This one is rather annoying as I have found out in the last couple of weeks.
Depending on if your apache/php is on Windows or Unix, one or the other of
the configurations you mentioned is relevant.
If you have Windows, PHP can only use an extrenal smtp server, so you have to
open that server
Check this out:
bash-2.05$ cat test.php
bash-2.05$
Response:
Date: Tue, 24 Aug 2004 14:35:55 GMT
Server: Apache/1.3.26 (Unix) mod_ssl/2.8.9 OpenSSL/0.9.6k PHP/4.3.3 mod_perl/1.26
mod_fastcgi/2.2.10
X-Powered-By: PHP/4.3.3
X-CacheDebug-five: 7
Connection: close
Transfer-Encoding: ch
* Qt <[EMAIL PROTECTED]>:
> I have a database with binary file. I want to post that file from my server
> to another one with posting method. I have no problem to post any text data
> but I can not post binary data such as picture.jpe.
>
> Where can I find some solution about this
Look into PHP's
From: "Al" <[EMAIL PROTECTED]>
I need to active php error level "Warning" and log the errors in a file
for my whole Apache virtual website. It is clear how to do everything
on a script-by-script basis; but, I need to do it across the site.
http://us2.php.net/manual/en/configuration.changes.php
Thanks,
But im using php 4.3.
Quoting Curt Zirzow <[EMAIL PROTECTED]>:
> * Thus wrote Robert Cummings:
> > On Mon, 2004-08-23 at 20:54, John Holmes wrote:
> > > [EMAIL PROTECTED] wrote:
> > >
> > > You could write a wrapper class for Test that kept count of the
> > > instances and returned a ne
I need to active php error level "Warning" and log the errors in a file
for my whole Apache virtual website. It is clear how to do everything
on a script-by-script basis; but, I need to do it across the site.
I can't find any direct documentation to help. The php manual and
Apache directives
Background:
Server-Apache 1.3.31
OS-Windows XP
PHP-5
Problem-I'm trying to run eFiction, a story/fanfiction archive script. On
this, people self register, and they are supposed to get an e-mail with their
password. However, I and one other attempted signing up, and neither of us got
our passwo
1) find php.ini
2) uncomment ;extension=php_bz2.dll
3) restart apache
4) if it`s suck, then see event viewer for info
5) may be "Bzip2 library" wants to some additional dll`s to system32 from
bzip2 site
"Marko Rastislav" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ ×
ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:[EMAIL PR
Ron Clark wrote:
Daniel Schierbeck wrote:
Ron Clark wrote:
Capture the output in the $output variable then ob_clean to empty the
output buffer before printing the the desired message.
ob_get_clean() is preferable:
$output = ob_get_clean(); // Gets the buffered output and cleans
the buffer
D
Daniel Schierbeck wrote:
Ron Clark wrote:
Capture the output in the $output variable then ob_clean to empty the
output buffer before printing the the desired message.
ob_get_clean() is preferable:
$output = ob_get_clean(); // Gets the buffered output and cleans
the buffer
Didn't need the co
If the problem is only with AmEx then the question is: how important is AmEx
to your business? Stop accepting them or don't accept them for a little
while.
Just a thought because AmEx doesn't make up much of our business.
Daryl Meese
On Monday 23 August 2004 23:33, Brian Dunning wrote:
> The p
read mysql manual: you must replace ' to `
' to
`` in your $sql so
$sql = "SELECT id_from, id_to FROM ids WHERE id_from =`$current_id` OR
id_to=`$current_id`";
or more intelligent without ``` in your $sql so
$sql
Hi all,
I just starting with php, and i hawe problem with Bzip2 library. I
will using this library, but when I use function "bzcompress()" in the
editor ZDE (Zend Development Enviroment 3.0.2), this editor write text "Call
to undefined function: bzcompress() ... ".
Example:
In h
dear Sirs,
I have a database with binary file. I want to post that file from my server
to another one with posting method. I have no problem to post any text data
but I can not post binary data such as picture.jpe.
Where can I find some solution about this
Best Regards
--
PHP General Mailing L
On Tuesday 24 August 2004 18:00, Alex Bovey wrote:
> Basically I am using a JavaScript chained select function which complains
> when I use square brackets in a field name,
manual > PHP and HTML
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
Curt Zirzow wrote:
* Thus wrote Robert Cummings:
On Mon, 2004-08-23 at 20:54, John Holmes wrote:
[EMAIL PROTECTED] wrote:
You could write a wrapper class for Test that kept count of the
instances and returned a new object upon request...
In PHP5:
class Foo
{
static $instances = 0;
function
Alex Bovey wrote:
Is there a way I can access the values selected in a multi-select dropdown
or group of checkboxes without appending square brackets to the name of the
input field in my form so that it automatically becomes an array in PHP?
Write your own function to parse $_SERVER['QUERY_STRING']
Eric Peters wrote:
I think I've boiled my problemfor some reason I can't header() a serialized $_POST variable
Running PHP 5.0 Final (and also tested with 4.3.3):
-- begin file --
function jpcache_debug2($s)
{
header("X-CacheDebug-five: $s");
print $s;
}
$myVariable = serialize($_P
Robert Cummings wrote:
On Mon, 2004-08-23 at 20:54, John Holmes wrote:
[EMAIL PROTECTED] wrote:
hi,
What is best method(if it's possible) to count how many times an object is
instanced in one time script call?
I means that if i have a class named "Test", i what to know how many times she's
called,
[snip]
I have a table with 2 fields: id_from and id_to.
I want to interogate the database and to display the results if the
id_to is equal to some current id OR id_from id_from is equla to saame
current id.
I use this but doesn't work
$sql = "SELECT id_from, id_to FROM ids WHERE id_from ='$curre
1 - 100 of 108 matches
Mail list logo