use http://php.net/preg_match
"Syed Ghouse" <[EMAIL PROTECTED]> $B'c'`'`'R'k'Z'](B/$B'c'`'`'R'k'Z']'Q(B $B'S(B
$B'_'`'S'`'c'd'q'g(B $B'c']'V'U'e'p'k'V'V(B:
news:[EMAIL PROTECTED]
Hi all
i m doing a project in which i m displaying the statistics of
clickcounts of links send thru a messa
Hi all
(B
(Bi m doing a project in which i m displaying the statistics of
(B
(Bclickcounts of links send thru a message.
(B
(BFor that i have to extract the links from the message string given by user.
(B
(BSo pls tell me how to get the url/links from a string (or) To track clicks of all
curt, it`s a bug. on my machine [Apache/2.0.48 (Win32) PHP/4.3.8] all works
fine - as expected
"Curt Zirzow" <[EMAIL PROTECTED]> ???/ ?
?: news:[EMAIL PROTECTED]
> * Thus wrote Peters, Eric:
> > I think I've boiled my problemfor some reason I can't header() a
seria
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
On 24/08/2004, at 1:38 AM, Jay Blanchard wrote:
[snip]
Is there a quicker way to globalis
* Thus wrote Peters, Eric:
> 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-
* Thus wrote Mauricio Pellegrini:
>
> It's a requisite that the compression library has to be zlib.
>
> I don't know how to do that.
>
> I guess I should reconfigure with
>
> './configure'
> '--with-mysql'
> '--with-apxs=/usr/local/apache/bin/apxs'
> '--with-zl
On Mon, 2004-08-23 at 20:33, 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...
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 --
-- end file --
Response Headers - Begin output:
Date: Mon, 23 Aug 2004 23:56:14 GMT
Server: Apache/1.3.27 (Unix)
* Thus wrote [EMAIL PROTECTED]:
> > I believe Apache's Allowoverride directive must have "Options" or
> > "+Options" set for php_value changes to be permitted on a per-directory
> > basis in .htaccess files.
> >
> > "Allowoverride All" is one way to make sure they're permitted. :D
>
> So... if I
* 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
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 link php scripting c++ rather than c
> I believe Apache's Allowoverride directive must have "Options" or
> "+Options" set for php_value changes to be permitted on a per-directory
> basis in .htaccess files.
>
> "Allowoverride All" is one way to make sure they're permitted. :D
So... if I throw an override all in the .htaccess file I'
> Is there anything special one has to do in order to enable the use of
> the "php_value" directive in the context of an apache .htaccess file?
>
> I notice that on some hosts I can drop in something like:
>
> php_value auto_prepend_file groove.php
>
> with impunity. Other hosts, it causes Ap
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, h
Is there anything special one has to do in order to enable the use of the "php_value"
directive in the context of an apache .htaccess file?
I notice that on some hosts I can drop in something like:
php_value auto_prepend_file groove.php
with impunity. Other hosts, it causes Apache to ge
> There's no predefined variable or method for determining this, that I'm
> aware of, short of counting how many "new Test" lines you have.
>
> You could write a wrapper class for Test that kept count of the
> instances and returned a new object upon request...
A slightly more general question: ar
On Mon, 23 Aug 2004 14:33:56 -0700, Brian Dunning
<[EMAIL PROTECTED]> wrote:
> The plot thickens. I added AVS *and* CVM to the site - and the Amex
> orders are still going through. Amex ignores CVM, and the address was
> correct, so the thieves must have gotten ahold of printed statements
> that sh
[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, how many copies exists etc. The idea is for monitoring in the way to
op
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, how many copies exists etc. The idea is for monitoring in the way to
optimizing the code.
The m
The plot thickens. I added AVS *and* CVM to the site - and the Amex
orders are still going through. Amex ignores CVM, and the address was
correct, so the thieves must have gotten ahold of printed statements
that show the billing address. Any idea how to combat THAT? They are
using fake IP addre
John Holmes wrote:
From: "ron clark" <[EMAIL PROTECTED]>
I an trying to add virus scanning to the file upload section of our
portal using uvscan. The virus scanning is working properly using a
system call , but I am having problems with formatting the output. I
need to check the return value and
Hi ,
On March 9th this year I 've compiled and installed php 4.3.4 on
SuSe linux Server with apache 1.3.
The configure command was this:
'./configure'
'--with-mysql'
'--with-apxs=/usr/local/apache/bin/apxs'
'-enable-dbase'
Nowadays I'm urged to install z
I dont see how this has anything to do with:
- Cookie behaviour
- opening a save dialog box.
- unlink and rmdir problems
Please start a new email when starting a new topic, this is the
3rd unrelated topic that has been started on this thread.
Curt
--
First, let me assure you that this
Not too familure with a chroot'd web setup and I dont know if my ISP has
some security that I dont know about. I tried some tests with file_exists()
and it doesnt seemt to be able to get to the files either. I've put in an
info request to my ISP but they are usually not much help with somethin
On Tuesday 24 August 2004 03:49, ron clark wrote:
> I an trying to add virus scanning to the file upload section of our
> portal using uvscan. The virus scanning is working properly using a
> system call , but I am having problems with formatting the output. I
> need to check the return value and i
From: "ron clark" <[EMAIL PROTECTED]>
I an trying to add virus scanning to the file upload section of our portal
using uvscan. The virus scanning is working properly using a system call ,
but I am having problems with formatting the output. I need to check the
return value and if it is not a 0,
Ave,
Richard... What exactly did you mean by this?
system('rm -rf',$user_dir,$ret_val);
I don't understand.
On 8/23/04 12:11 PM, "Richard Whitney" <[EMAIL PROTECTED]> wrote:
> system('rm -rf',$user_dir,$ret_val);
>
> On Mon, 23 Aug 2004 11:57:35 -0400, PHP Junkie <[EMAIL PROTECTED]> wrote:
On Mon, 2004-08-23 at 15:35, Aaron Todd wrote:
> Not too familure with a chroot'd web setup and I dont know if my ISP has
> some security that I dont know about. I tried some tests with file_exists()
> and it doesnt seemt to be able to get to the files either. I've put in an
> info request to
Hi ,
On March 9th this year I 've compiled and installed php 4.3.4 on
SuSe linux Server with apache 1.3.
The configure command was this:
'./configure'
'--with-mysql'
'--with-apxs=/usr/local/apache/bin/apxs'
'-enable-dbase'
Nowadays I'm urged to install zl
Thanks, I better check the file type first then...
strip_tags on a PDF file is a bad idea. strip_tags() is only meant for text
files that may contain HTML tags that you want to remove...
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
I an trying to add virus scanning to the file upload section of our
portal using uvscan. The virus scanning is working properly using a
system call , but I am having problems with formatting the output. I
need to check the return value and if it is not a 0, I want to create a
custom message. Th
On Tuesday 24 August 2004 02:42, Joshua Capy wrote:
> Ok next stupid question
>
> At the command line how to I force the execution of the 4.3.6 apache
> version or change the default to it.
What one usually does is compile different 'versions' of php using the same
config options (if you want the
On Tuesday 24 August 2004 01:55, PHP Junkie wrote:
> I do have the original permission set to CHMOD 777 thus the uploads are
> working fine.
>
> I had presumed that anything uploaded by the server is owned by it thus I
> wouldn't have to interfere with the permissions thereafter... But somehow
> t
On Tuesday 24 August 2004 02:32, John Nichel wrote:
> Jason Wong wrote
>
> > phpinfo() is your friend.
>
> I thought phpinfo() was *MY* friend??? ;)
Don't worry it's a one-to-many relationship.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* We
Thanks a lot, that worked perfectly.
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
I have been able to create a list with no problem, but now I need to get
the
value of which item is selected in the list. I looked around, but
couldn't
find anywhere that would
From: "Lizet Peña de Sola" <[EMAIL PROTECTED]>
Hello Jones, thanks for looking at the code,
will try the uploading without
stripping the tags, I've tried with pdf files
without success.
strip_tags on a PDF file is a bad idea. strip_tags() is only meant for text
files that may contain HTML tags th
[snip]
I have been able to create a list with no problem, but now I need to get
the
value of which item is selected in the list. I looked around, but
couldn't
find anywhere that would let me do this.
Here's my code to build the list.
Open($dsn);
$rs = $db->Execute("SELECT * from co
Hello everyone,
I have been able to create a list with no problem, but now I need to get the
value of which item is selected in the list. I looked around, but couldn't
find anywhere that would let me do this.
Here's my code to build the list.
Open($dsn);
$rs = $db->Execute("SELECT
Hello again, tried to remove the last part and the script worked, it looks
like strip_tags strips more than tags...
Thanks a lot
Lizet
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23, 2004 3:02 PM
To: Lizet Peña de Sola; [EMAIL PROTECTED]
Subject: R
I guess phpinfo() is *OUR* friend!! Great guy!
Although I'd be happier if my files & folders started getting deleted with
the script, which still ain't happening.
On 8/23/04 2:32 PM, "John Nichel" <[EMAIL PROTECTED]> wrote:
> Jason Wong wrote
>> phpinfo() is your friend.
>>
>
> I thought phpi
Hello Jones, thanks for looking at the code, will try the uploading without
stripping the tags, I've tried with pdf files without success.
Lizet
-Original Message-
From: John Holmes [mailto:[EMAIL PROTECTED]
Sent: Monday, August 23, 2004 3:02 PM
To: Lizet Peña de Sola; [EMAIL PROTECTED]
From: "Lizet Peña de Sola" <[EMAIL PROTECTED]>
I have the following script to upload files to the server, it works
partially as only a few bytes of the file are uploaded, is the script
wrong
or am I missing some setting at the server?
Tia,
Lizet
userfile=$_FILES['userfile']['tmp_name'];
// $userf
[snip]
At the command line how to I force the execution of the 4.3.6 apache
version or change the default to it.
[/snip]
You need to install the proper CLI version as described
http://www.php.net/manual/en/features.commandline.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hi all:
I have the following script to upload files to the server, it works
partially as only a few bytes of the file are uploaded, is the script wrong
or am I missing some setting at the server?
Tia,
Lizet
userfile=$_FILES['userfile']['tmp_name'];
// $userfile_name is the original file name wi
Ok next stupid question
At the command line how to I force the execution of the 4.3.6 apache
version or change the default to it.
On Aug 23, 2004, at 2:39 PM, Jay Blanchard wrote:
[snip]
Yes I have found that I am running v 4.3.2 on the command line and
4.3.6 under apache
Is it possible to run th
[snip]
Yes I have found that I am running v 4.3.2 on the command line and
4.3.6 under apache
Is it possible to run the same version both on the command line and
running on apache?
[/snip]
Yes.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes I have found that I am running v 4.3.2 on the command line and
4.3.6 under apache
Is it possible to run the same version both on the command line and
running on apache?
On Aug 23, 2004, at 12:23 PM, Michal Migurski wrote:
I am a newby having a configuration problem. I am using PHP 4.3.6 an
Jason Wong wrote
phpinfo() is your friend.
I thought phpinfo() was *MY* friend??? ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tuesday 24 August 2004 00:34, PHP Junkie wrote:
> How do I find out which user/group my web server is running as?
> I'm running an Apache Web Server on my Power MAC G5 (Mac OS X) machine.
> I can change the user/group permissions... But which user/group does the
> web server use?
phpinfo() is
On Mon, 2004-08-23 at 13:02, Aaron Todd wrote:
> I'm trying to use readfile() to allow a user to download a file that is
> outside of my webroot.
>
> webroot = /var/www/html
> downloads dir = /var/www/downloads
>
> Here is the code that I have been using:
> $file = "/var/www/downloads/test.t
I'm trying to use readfile() to allow a user to download a file that is
outside of my webroot.
webroot = /var/www/html
downloads dir = /var/www/downloads
Here is the code that I have been using:
$file = "/var/www/downloads/test.txt";
header("Content-Description: File Transfer");
head
Ave,
I do have the original permission set to CHMOD 777 thus the uploads are
working fine.
I had presumed that anything uploaded by the server is owned by it thus I
wouldn't have to interfere with the permissions thereafter... But somehow
that doesn't seem to be working out.
I did actually set
the chmod 666 sets the exisiting files to be edited by the server.
anything that's uploaded by the server is owned by it, and thusly can be
edited.
as a side note, you'd have to chmod 777 the directory to be edited if
you want uploads to work.
PHP Junkie wrote:
Ave,
Well here's my situation..
Ave,
Well here's my situation...
You see the File Manager allows users to Upload files ... Once a user
uploads the file... It resides in a particular folder on my server. Users
will be constantly uploading, downloading, deleting files. I can't possibly
CHMOD 777 all the time...
My question is...
Ave,
Yes indeed that's what it's doing. But that's ok... My main concern was for
Windows users because that's the majority of the users for this application.
Thanks.
On 8/23/04 12:50 PM, "Jonathan Haddad" <[EMAIL PROTECTED]> wrote:
> In Safari it'll download the file and then open it.
>
> Jo
PHP Junkie wrote:
Ave,
How do I find out which user/group my web server is running as?
I'm running an Apache Web Server on my Power MAC G5 (Mac OS X) machine.
I can change the user/group permissions... But which user/group does the web
server use?
Default setup? Probably nobody/nobody. Check your
In Safari it'll download the file and then open it.
Jon
PHP Junkie wrote:
Ave,
IT WORKS!!
There wasn't one bit of a problem..
I'll just paste the code here again for anyone who might be looking for it.
I guess I was very close to it but just doing one thing wrong... I wasn't
specifying the Basena
Hi all,
I'm in the process of writing a script that will accept credit cards
through a secure html form,
and then encrypt them using MCRYPT_RIJNDAEL_256 and store them in my mysql
database.
When I run the following code snippet, nothing is returned through the
server - the
connection is estab
PHP probably does not have permission to change those files. chmod 777
and it should work.
However now those files are writable by anyone. If you're on a shared
server there could be problems later.
Jon
PHP Junkie wrote:
Ave,
I do not really know what the problem is because I don't get an err
[snip]
How do I find out which user/group my web server is running as?
I'm running an Apache Web Server on my Power MAC G5 (Mac OS X) machine.
I can change the user/group permissions... But which user/group does the
web
server use?
[/snip]
For security reasons Apache typically runs as "nobody"
--
Ave,
How do I find out which user/group my web server is running as?
I'm running an Apache Web Server on my Power MAC G5 (Mac OS X) machine.
I can change the user/group permissions... But which user/group does the web
server use?
Thanks.
On 8/23/04 12:08 PM, "John Nichel" <[EMAIL PROTECTED]> wro
> I want to create a script that will read each line of the file and
> insert it to database. I am new to php and maybe you could help me
You've been posting here for *months*, how new could you be?
Look up the file() function. And the docs for your database.
> I am a newby having a configuration problem. I am using PHP 4.3.6 and
> postgres 7.4.3
>
> The problem is when I try to execute my php scripts that connect to
> postgres from the command line I get error like this:
>
> Fatal error: Call to undefined function: pg_connect() in
> /Users/jcapy2/Site
--- Michael Purdy <[EMAIL PROTECTED]> wrote:
>
> setcookie('cat','large',time()+3600);
> setcookie('dog','small',time()+3600);
>
>
> The outcome of this script is that only the LAST cookie is successfully
> stored.
This seems unlikely. It's possible that neither of these statements is
succe
Thanks
On Aug 23, 2004, at 12:04 PM, Jay Blanchard wrote:
[snip]
Fatal error: Call to undefined function: pg_connect() in
/Users/jcapy2/Sites/Jesper/SyncPosgresToMbrMaxData
.php on line 28
[/snip]
http://www.php.net/manual/en/features.commandline.php
--
PHP General Mailing List (http://www.php.net
PHP Junkie wrote:
Again, no error... The entries in the table get deleted.. But file remains
in the directory.
Any suggestions?
Neither of these functions return an error. They will return false on
failure. Does the user/group which your web server is running as have
permission to remove these
[snip]
Fatal error: Call to undefined function: pg_connect() in
/Users/jcapy2/Sites/Jesper/SyncPosgresToMbrMaxData
.php on line 28
[/snip]
http://www.php.net/manual/en/features.commandline.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ave,
I do not really know what the problem is because I don't get an error, and
in fact my scripts execute fine... Except that, niether is the directory
deleted, nor is the file deleted. Only corresponding database entries are
deleted which I specify in my SQL code.
There are 2 different function
Hi,
Make sure that http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I am a newby having a configuration problem. I am using PHP 4.3.6 and
postgres 7.4.3
The problem is when I try to execute my php scripts that connect to
postgres from the command line I get error like this:
Fatal error: Call to undefined function: pg_connect() in
/Users/jcapy2/Sites/Jespe
Ave,
IT WORKS!!
There wasn't one bit of a problem..
I'll just paste the code here again for anyone who might be looking for it.
I guess I was very close to it but just doing one thing wrong... I wasn't
specifying the Basename directive.
Although this doesn't work on MAC... It works on Windows
* Octavian Rasnita <[EMAIL PROTECTED]>:
> Well, it seems that PHP libraries don't have the documentation included...
> This is too bad, because it is much harder to search in the PHP manual, and
> some libraries that might be downloaded from different sites and made by
> different programmers won't
[snip]
Is there a quicker way to globalise something other than:
$a = 'foo';
$b = 'bah';
...
$GLOBALS['a'] = $a;
$GLOBALS['b'] = $b;
??
I was hoping for something like
$a = 'foo';
$b = 'bah';
...
makeGlobal('a','b') /*or*/ makeGlobal($a,$b);
[/snip]
According to http://us3.php.net/language.var
> Sir,
> I am afzal hussain from bangladesh. Acually i am getting some problem using session
> in php. This is the sample code that i have written,
> > session_start();
> $vbl="This variable is registered";
> session_register('vbl');
> echo $vbl;
> ?>
> it shows this output.
>
>
> Warning:
Php Junkie wrote:
Ave,
I'm facing a little problem.
I have created a File Manager Application for my company which has a place
where authorized users can download the stored files. The files are of
various MIME Types.. Mainly PDF, TXT & DOC.
What I want to do is basically... When the user clicks on
Is there a quicker way to globalise something other than:
$a = 'foo';
$b = 'bah';
...
$GLOBALS['a'] = $a;
$GLOBALS['b'] = $b;
??
I was hoping for something like
$a = 'foo';
$b = 'bah';
...
makeGlobal('a','b') /*or*/ makeGlobal($a,$b);
---
Justin French
http://indent.com.au
--
PHP General Mailing Li
"Php Junkie" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ave,
>
> I'm facing a little problem.
> I have created a File Manager Application for my company which has a place
> where authorized users can download the stored files. The files are of
> various MIME Types.. Mainly PDF, T
* Mnp <[EMAIL PROTECTED]>:
> I have the following classes being inherited:
>
> User extends School
>
> I have two classes:
> Profile extends User
> and
> Buddies extends User
>
> being used in the same .php file. I get a "Fatal error: Cannot
> redeclare class school in ..."
>
>
> I can see why this
PHP Junkie wrote:
Ave,
I'm facing a little problem.
I have created a File Manager Application for my company which has a place
where authorized users can download the stored files. The files are of
various MIME Types.. Mainly PDF, TXT & DOC.
What I want to do is basically... When the user clicks on
From: "PHP Junkie" <[EMAIL PROTECTED]>
I have created a File Manager Application for my company which has a place
where authorized users can download the stored files. The files are of
various MIME Types.. Mainly PDF, TXT & DOC.
What I want to do is basically... When the user clicks on the Download
Ave,
I'm facing a little problem.
I have created a File Manager Application for my company which has a place
where authorized users can download the stored files. The files are of
various MIME Types.. Mainly PDF, TXT & DOC.
What I want to do is basically... When the user clicks on the Download
But
I am running php 5.0.1 on NT. I have a small test script as shown below
setcookie('cat','large',time()+3600);
setcookie('dog','small',time()+3600);
The outcome of this script is that only the LAST cookie is successfully
stored.despite having a different
name. Is this because they are both
Michael Purdy wrote:
Folks
I am running php 5.0.1 on NT.
I have a small test script as shown below
setcookie('cat','large',time()+3600);
setcookie('dog','small',time()+3600);
The outcome of this script is that only the LAST cookie is successfully stored.despite
having a different
name. I
Hi Andre,
Thank you. Yes, the register_globals is set to 'on'.
At 05:41 PM 8/23/2004, Andre Dubuc wrote:
On your new setup, is register_globals=on by any chance? I ran into the same
problem -- once set to off, everything started working properly.
Just a thought,
Hth
Andre
On Monday 23 August 2004 0
Curt Zirzow wrote:
* Thus wrote Justin Patrin:
On Sun, 22 Aug 2004 13:04:11 +0200, Daniel Schierbeck <[EMAIL PROTECTED]> wrote:
...
Note: Parent constructors are not called implicitly. In order
to run a parent constructor, a call to parent::__construct() is
required.
Is this a
On your new setup, is register_globals=on by any chance? I ran into the same
problem -- once set to off, everything started working properly.
Just a thought,
Hth
Andre
On Monday 23 August 2004 02:45 am, Sheni R. Meledath wrote:
> Hi Gerard,
>
> Many thanks. We are using cookies to store the se
define constant with "DB_PORTABILITY_ALL";
Pete wrote:
> Hi List,
>
> I am getting a strange error notice for the following config file:
>
> /**
> * Database
> */
> $dsn = array(
> 'phptype' => 'mysql',
> 'username' => 'root',
> 'password' => 'secretpass',
> 'hostspec' => 'loca
> Notice: Use of undefined constant DB_PORTABILITY_ALL - assumed 'DB_PORTABILITY_ALL'
> in D:\utf8php5\config.php on line 16
>
> What can I do about this?
include PEAR::DB before you include this config file
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
[snip]
Notice: Use of undefined constant DB_PORTABILITY_ALL - assumed
'DB_PORTABILITY_ALL' in D:\utf8php5\config.php on line 16
What can I do about this?
[/snip]
http://www.php.net/constant
DEFINE the constant DB_PORTABILITY_ALL
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Hi List,
I am getting a strange error notice for the following config file:
'mysql',
'username' => 'root',
'password' => 'secretpass',
'hostspec' => 'localhost',
'database' => 'mydb',
);
$options =
array(
'debug' => 2,
'portability' => DB_PORTABILITY_ALL,
);
/**
I did exactly what you said but its not working for me. I am getting the
following error:
Warning: filesize(): SAFE MODE Restriction in effect. The script whose uid
is 20373 is not allowed to access /var/www owned by uid 0 in
/home/virtual/site341/fst/var/www/html/test.php on line 3
I checked
From: "Nicklas Bondesson" <[EMAIL PROTECTED]>
Didn't work for me (PHP 4.3.9 + Apache 2.0.4). I will try the other method
you suggested.
Can you define "didn't work" for us? Are you saying that if $_POST['foo']
has a value of bar, that:
echo $_POST['foo'];
unset($_POST['foo']);
echo $_POST['foo'];
Didn't work for me (PHP 4.3.9 + Apache 2.0.4). I will try the other method
you suggested.
Nicke
-Original Message-
From: Torsten Roehr [mailto:[EMAIL PROTECTED]
Sent: den 23 augusti 2004 13:41
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Clear HTTP POST value
"Nicklas Bondesson" <[EMAIL PRO
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
"Nicklas Bondesson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi!
>
> Is there a smooth way to clear a posted value on a page? I have tried the
> following without sucess.
>
> unset($_POST["var"]);
> unset($HTTP_POST_VARS["var"]);
>
> Nicke
Hi Nicke,
unset($_POST['var']) *shou
Curt Zirzow wrote:
* Thus wrote Martin Visser:
PHP5, with GD on Linux (Slackware 10.0)
./configure goes just fine, but when I try 'make', there's an error.
this is how I configured it:
./configure --prefix=/usr/local/php5 --with-zlib
--with-pear=/usr/share/pear --with-mysql=/usr/local/mysql
--inc
Hello,
> I would take each number and place it in an array.
> Then for each
Thank you very much. It has been really very helpful
for me.
Vous manquez despace pour stocker vos mails ?
Yahoo! Mail vous offre GRATUITEMENT 100 Mo !
Créez votre Yahoo! Mail sur ht
Hi!
Is there a smooth way to clear a posted value on a page? I have tried the
following without sucess.
unset($_POST["var"]);
unset($HTTP_POST_VARS["var"]);
Nicke
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Folks
I am running php 5.0.1 on NT.
I have a small test script as shown below
setcookie('cat','large',time()+3600);
setcookie('dog','small',time()+3600);
The outcome of this script is that only the LAST cookie is successfully stored.despite
having a different
name. Is this because the
Arzed wrote:
Hy!
I have a relative simple question about mysqli_prepare:
When I prepare a statement and then bind parameters to it, does php
automatically care for escaping strings etc.?
Example:
prepare("SELECT FROM table WHERE x=?");
$p = "5'"
$stmt->bind_param("i",$p);
# is "5'" conve
100 matches
Mail list logo