BTW does anybody know why CHM version hasn't been updated for a very long
time? I prefer to read help manuals in CHM format (that is more convenient
for me) so I am wondering...
Best regards, Denis Gerasimov
Outsourcing Services Manager,
VEKOS, Ltd.
www.vekos.ru
-Original Message-
On Tuesday 26 October 2004 04:46, Anthony Baker wrote:
The problem here is that the path will vary slightly depending on whether
it's the staging server or production server. I'd ideally like to set a
single global variable that can handle this so I don't have to hard-code
paths across the
Chris Shiflett wrote:
--- Olaf van der Spek [EMAIL PROTECTED] wrote:
Content-Type is required for any request that has content.
It's an HTTP requirement and has very little to do with PHP.
Can you explain what you're talking about?
I was talking about the request, not about the response.
As was
Chris Shiflett wrote:
--- Olaf van der Spek [EMAIL PROTECTED] wrote:
Since which version does PHP require the Content-Type header in
POST requests?
Content-Type is required for any request that has content. It's an HTTP
The RFC says should, not is required to.
Any HTTP/1.1 message containing an
Hi All,
I want to use system command to perform snmp queries on a remote machine and the
problem is that I want to store the output /result in an Array , so that I can later
use it for parsing purposes.I know I could use exec and passthru statements
actually,But I am unable to store the
Hi,
i got tired testing free php scripts that does count current online
users and i could not find the best one yet.
maybe someone can help me.
im looking for a current counter for online users, php script that
does count even if its inside a proxy with one ip.
i can't find one.
--
Louie
I have installed Apache 2.0.52 and PHP 5.0.2 on windows XP. I have configured
directories and everything works until I unmark any of extensions. After this, during
Apache server starting, I am reciving the
warning :
PHP Startup: Unable to load dynamic library
D:/MyWWWsrv/php/ext/php_mysql.dll
Hi
I try to send mail (like http://www.php.net/mail) and it works fine.
I define my own headers.
But my question is about wrong mail delivery.
I use exim4.34.
When I send mail via PHP script, then I see in my logs:
2004-10-26 11:04:36 1CMNFs-00046O-T9 = [EMAIL PROTECTED] U=www-data
P=local
It seems that mysql_escape_string and mysql_real_escape_string do
undesirable things to EOL markers - data from textareas escaped with either
of those functions is entered, and retrieved with, the characters /r/n
instead of a true line break.
This snippet of code demonstrates the problem:
?php
Sugimoto wrote:
Bad query: You have an error in your SQL syntax near 'and Tit like and Aut
like and Auty like ' at line 4
[snip]
foreach ($_GET as $value) {
if (empty($value)) $value = %;
You have an issue here. You're looping through $_GET and attempting to
set a default value (which is
Hello all,
I was wondering if anyone might have suggestions or useful links on
protecting commercial php scripts.
I am about to design a system that would be pretty valuable in a very
niche market and would not wish the script to be passed on to others
once downloaded.
Suggestions, discussion
On Tue, 2004-10-26 at 00:58, Pierre Ancelot wrote:
humm, thank you, finaly someone that did something of that kind :)
well, i want it as a dynamic extension that i could redistribute and which
wouldn't necessits recompilation, just adding it in php.in
does what you told still would
I found this one very usefull:
http://shiflett.org/php-security.pdf
You should anyway start at:
http://php.net/security/
good luck,
Dirk
Am Dienstag, 26. Oktober 2004 13:44 schrieb Nick Wilson:
Hello all,
I was wondering if anyone might have suggestions or useful links on
protecting
This one time, at band camp, Nick Wilson [EMAIL PROTECTED] wrote:
Hello all,
I was wondering if anyone might have suggestions or useful links on
protecting commercial php scripts.
I am about to design a system that would be pretty valuable in a very
niche market and would not wish the
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
On 26 October 2004 12:01, John Holmes wrote:
Sugimoto wrote:
Bad query: You have an error in your SQL syntax near 'and Tit like
and Aut like and Auty like ' at line 4
[snip]
Nick Wilson wrote:
Hello all,
I was wondering if anyone might have suggestions or useful links on
protecting commercial php scripts.
I am about to design a system that would be pretty valuable in a very
niche market and would not wish the script to be passed on to others
once downloaded.
On Mon, 25 Oct 2004 15:33:59 +0300, Ville Mattila
[EMAIL PROTECTED] wrote:
Hi there,
I have a few e-mail templates in a file that should be parsed. A
template can include also some module codes that should be replaced by
a return value of a certain function. For example, if the template
* and then Francisco M. Marzoa Alonso declared
I was wondering if anyone might have suggestions or useful links on
protecting commercial php scripts.
I am about to design a system that would be pretty valuable in a very
niche market and would not wish the script to be passed on to
H
Setup a CRON job using SCP or cURL. You can use SOAP or create your own
similar system. I have never used SOAP but use the same principles.
Example: Company X needs some strange format of data (text file, CSV or
whatever) delivered to them SECURELY at 5am EST. The company cannot
Nick Wilson wrote:
* and then Francisco M. Marzoa Alonso declared
I was wondering if anyone might have suggestions or useful links on
protecting commercial php scripts.
I am about to design a system that would be pretty valuable in a very
niche market and would not wish the script to be
Victor
Yes, Chris is correct. Maybe you can POST your file via cURL to the
remote script expecting to receive your file from the authentication
site. Definitely check PEAR. There is also some info at php.net about
new SOAP capabilites built-in to PHP 5. Unfortunately I have only used
cURL
Hello Greg,
Thanks for reply, I did try
ini_set ( session.auto_start, 1); and it set the session.auto_start to
On on my configuration, however the rest of the users on that server had
auto_start off.
This didn't solve the problem, should I try to access .htaccess? I presume
it will affect all the
Hi,
Any idea why it is taking the first array as blank and giving me an array
count of 3 instead of 2?
?
$final=http://something.com/cgi-bin/atx/out.cgi?s=63c=1l=galsu=http://bl
ah.something.com/bs3/index1.htm;
$final2=explode(http://,$final);
$res=count($final2);
echo brbrbr.$res;
Hi,
I'm designing a web site and i need to let users upload large files like
10M or more.
I got some solution that are using common file transfert in PHP or using
FTP transfert in PHP.
The problem is that if someone upload a big file he will not have any
indication about the upload status. Is
Hi,
I am creating an online timesheet application. Most parts are done, however
I have a problem displaying a list of unapproved timesheets.
Here is my timesheet table:
mysql DESCRIBE Timesheets;
+---+-+--+-+++
| Field
Tring Tring .
Just to ring please help me.
I am giving to out print_r($ret) then it returns 1 at
exec(' snmpget -v 2c -c public 10.103.16.14 sysUpTime.0',$ret);
--Nikhil
-Original Message-
From: Mulley, Nikhil [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 26, 2004 12:41 PM
Double Shameless Plus follows:
marc serra wrote:
Hi,
I'm designing a web site and i need to let users upload large files
like 10M or more.
You need to tweak your php installation to be able to handle such large
files http://www.radinks.com/upload/config.php will help you do that.
I got some
Louie Miranda wrote:
Hi,
i got tired testing free php scripts that does count current online
users and i could not find the best one yet.
what is the yard stick
--
Raditha Dissanayake.
http://www.radinks.com/sftp/
Louie Miranda wrote:
Hi,
i got tired testing free php scripts that does count current online
users and i could not find the best one yet.
maybe someone can help me.
im looking for a current counter for online users, php script that
does count even if its inside a proxy with one ip.
i can't find
The result is correct. You are splitting the string based on http://;.
There are two instances of it, so there are 3 resulting elements. Since
there is not text before the first instance, your first array element
is empty. If there was text before the first instance, you would expect
3
Hi everyone,
I changed the setting in my php.ini to allow an upload file size bigger then
the defaul 2MB chaning the setting shown below:
; Maximum allowed size for uploaded files.
;upload_max_filesize = 2M
upload_max_filesize = 5M
However when I go to phpinfo, or of course try to upload a
Hey,
Thanks, I have also gotten rid of the blank one like this:
if($final2[0]==){unset($final2[0]);}
-Ryan
On 10/26/2004 3:36:45 PM, Brent Baisley ([EMAIL PROTECTED]) wrote:
The result is correct. You are splitting the string based on http://;.
There are two instances of it, so there are 3
Ahh, if you *have* to push the data (which you obviously do) and the
authentication site has no other authentication methods then you have
to POST the file with PHP. It can be done, there are many classes for
it, I can't recommend any specific class, but I'm sure someone else
here could.
I'm having some problems with using HTTP Auth in PHP5 - how do I check
whether the old $PHP_AUTH_USER exists?
Cheers
Nunners
hi all,
how to get bios info in PHP
Is there any command?
Suggest me.
akshay
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shaun wrote:
Hi,
I am creating an online timesheet application. Most parts are done, however
I have a problem displaying a list of unapproved timesheets.
Here is my timesheet table:
mysql DESCRIBE Timesheets;
+---+-+--+-+++
| Field
On Tue, 26 Oct 2004 09:37:06 -0400, Joey [EMAIL PROTECTED] wrote:
I changed the setting in my php.ini to allow an upload file size bigger then
the defaul 2MB chaning the setting shown below:
; Maximum allowed size for uploaded files.
;upload_max_filesize = 2M
upload_max_filesize = 5M
Did
Joey wrote:
Hi everyone,
I changed the setting in my php.ini to allow an upload file size bigger then
the defaul 2MB chaning the setting shown below:
; Maximum allowed size for uploaded files.
;upload_max_filesize = 2M
upload_max_filesize = 5M
However when I go to phpinfo, or of course try
* Thus wrote Robert Cummings:
On Tue, 2004-10-26 at 00:37, Pierre Ancelot wrote:
in fact i got it in the ./configure --help :
[EMAIL PROTECTED]:~/phpsource/php-4.3.9$ ./configure --help | grep -i spider
--enable-spider Enable spider support
...
That said, if you still
Nunners wrote:
I'm having some problems with using HTTP Auth in PHP5 - how do I check
whether the old $PHP_AUTH_USER exists?
It's part of the $_SERVER super global.
$_SERVER['PHP_AUTH_USER']
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List
Joey wrote:
Hi everyone,
I changed the setting in my php.ini to allow an upload file size bigger then
the defaul 2MB chaning the setting shown below:
; Maximum allowed size for uploaded files.
;upload_max_filesize = 2M
upload_max_filesize = 5M
http://www.radinks.com/upload/config.php shows all
On Tue, 26 Oct 2004 18:54:45 +0530, Akshay [EMAIL PROTECTED] wrote:
how to get bios info in PHP
Is there any command?
Maybe something like:
php -r system('dmesg');
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List
i used turck mmcache you can googlize for it, it works very well, encrypts the
code, store most used files in shared memory... in other words, it also
opitimise... that's what i preconise
On Tuesday 26 October 2004 13:44, Nick Wilson wrote:
Hello all,
I was wondering if anyone might have
no worries, i was in bed too :P
trying, thanks :)
On Tuesday 26 October 2004 14:01, Robert Cummings wrote:
On Tue, 2004-10-26 at 00:58, Pierre Ancelot wrote:
humm, thank you, finaly someone that did something of that kind :)
well, i want it as a dynamic extension that i could redistribute
On Tue, 2004-10-26 at 10:14, Curt Zirzow wrote:
* Thus wrote Robert Cummings:
On Tue, 2004-10-26 at 00:37, Pierre Ancelot wrote:
in fact i got it in the ./configure --help :
[EMAIL PROTECTED]:~/phpsource/php-4.3.9$ ./configure --help | grep -i spider
--enable-spider
[EMAIL PROTECTED] wrote:
I have installed Apache 2.0.52 and PHP 5.0.2 on windows XP. I have configured directories and everything works until I unmark any of extensions. After this, during Apache server starting, I am reciving the
warning :
PHP Startup: Unable to load dynamic library
I've seen that's possible to add members to objects dinamically, in example:
class MyClass {
private $a;
}
$MyObject = new MyClass ();
$MyObject-b = 1;
Now $MyObject has a public member called 'b' that has a value of '1'.
The question is, is it possible to add methods in the same way?
I meant
It works !! thanks to you and robert, i use the phpize method, it's an
excellent thing that generates all needed, no i use it in a specific folder,
no need to haev the whole source around :)
THANKS !!
On Tuesday 26 October 2004 16:14, Curt Zirzow wrote:
* Thus wrote Robert Cummings:
On
On Tue, 26 Oct 2004 18:13:10 +0200, Francisco M. Marzoa Alonso
[EMAIL PROTECTED] wrote:
I've seen that's possible to add members to objects dinamically, in example:
The question is, is it possible to add methods in the same way?
Why not just extend the class and add the new functions there?
Hi,
Any idea why it is taking the first array as blank and giving me an array
count of 3 instead of 2?
?
$final=http://something.com/cgi-bin/atx/out.cgi?s=63c=1l=galsu=http://bl
ah.something.com/bs3/index1.htm;
$final2=explode(http://,$final);
$res=count($final2);
echo brbrbr.$res;
Greg Beaver [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Jeremy Weir wrote:
The quesion is: how would one make an abstract method that can be
compatible with all extending classes that define the method using
different class type hints?
The php block below is how I thought
Instead of:
? $_SESSION['validlogin']=; $_SESSION['username']=;
$_SESSION['password']=; unset($_SESSION['validlogin']);
unset($_SESSION['username']); unset($_SESSION['password']);
session_unset(); print(username=.$_SESSION['username']);
print(password=.$_SESSION['password']);
* Francisco M. Marzoa Alonso [EMAIL PROTECTED]:
I've seen that's possible to add members to objects dinamically, in example:
class MyClass {
private $a;
}
$MyObject = new MyClass ();
$MyObject-b = 1;
Now $MyObject has a public member called 'b' that has a value of '1'.
The question
Francisco M. Marzoa Alonso wrote:
I've seen that's possible to add members to objects dinamically, in
example:
class MyClass {
private $a;
}
$MyObject = new MyClass ();
$MyObject-b = 1;
Now $MyObject has a public member called 'b' that has a value of '1'.
The question is, is it possible to
Greg Beaver wrote:
Sort of :)
In PHP5, this will work.
[...]
Very nice, thanks a lot :-)
However, you won't have access to private or protected data members.
Damn! that's exactly what I want! :-(
It is always better to rigidly define your methods, and extend the
class as someone else suggested.
On Tue, 2004-10-26 at 14:21, Francisco M. Marzoa wrote:
Greg Beaver wrote:
Sort of :)
In PHP5, this will work.
[...]
Very nice, thanks a lot :-)
However, you won't have access to private or protected data members.
Damn! that's exactly what I want! :-(
It is always
Hello,
On 10/26/2004 08:44 AM, Nick Wilson wrote:
I was wondering if anyone might have suggestions or useful links on
protecting commercial php scripts.
I am about to design a system that would be pretty valuable in a very
niche market and would not wish the script to be passed on to others
once
Hi All,
I am trying to identify an email address in a page but I don't want to
return the email if it's [EMAIL PROTECTED]
Here's what I have;
(\w[-._\w]*\w(?!webmaster)@\w[-._\w]*\w\.\w{2,3})
It returns nothing, however when I take out the lookbehind section;
([EMAIL PROTECTED],3})
it works
Alex Hogan wrote:
Hi All,
I am trying to identify an email address in a page but I don't want to
return the email if it's [EMAIL PROTECTED]
Here's what I have;
(\w[-._\w]*\w(?!webmaster)@\w[-._\w]*\w\.\w{2,3})
It returns nothing, however when I take out the lookbehind section;
([EMAIL
Paul Fierro [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 10/24/2004 5:11 PM, Kevin Grigorenko [EMAIL PROTECTED] wrote:
I am appending to a file one line of text on every page hit, so there
could
be many occurrences of this append simultaneously. I am not opening for
write
I just tried this out and the first regex is actually working for me on php 4.3.8
(cli). Can you post some code?
At this point all I'm trying to do is print the array with the addresses.
$file=readfile('mypathto/myfile.html');
$patrn =
Kevin Grigorenko wrote:
Paul Fierro [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
According to this post, you do not need to use flock() if you open a
file in append mode:
http://marc.theaimsgroup.com/?l=php-generalm=105165806915109w=2
That's exactly what I was looking for;
Alex Hogan wrote:
I just tried this out and the first regex is actually working for me
on php 4.3.8 (cli). Can you post some code?
At this point all I'm trying to do is print the array with the
addresses.
$file=readfile('mypathto/myfile.html');
$patrn =
Check the documentation for preg_match()...it can't be used that way. It returns
false or the number of matches, but not the matching text itself. To get the
matches you have to supply the third parameter (matches). Plus you'll probably
want to use preg_match_all() unless you only want to
Hello,
I looking to get the data out of this test.xml file but dont
know how to get the data out because of the bo: namespaces.
If I remove all bo: from the xml then it works fine...
Is anyone can tell me how to do it?
?php
$file = test.xml;
$xml = simplexml_load_file($file) or die (Unable to
Having some odd behaviour.
First , let me mention this is a multi page form using
session variables. (This might be important)
So I am doing a page by page validation, and have
tried putting the code before session_start or after.
Either way my session variables are getting lost.
Now in order
Hello,
On 10/26/2004 06:22 AM, Wiesiek wrote:
So.. If domain was not exist (like (2)), then exim4 generate error message
and send [EMAIL PROTECTED] (like (4)).
Is some way to change it? I never set in any config these address.
I try to set in mail header Return-Patch:, but it seems to no work :(
David Robley wrote:
It seems that mysql_escape_string and mysql_real_escape_string do
undesirable things to EOL markers - data from textareas escaped with either
of those functions is entered, and retrieved with, the characters /r/n
instead of a true line break.
This snippet of code demonstrates
I use md5 all the time and OS X is my web development staging
environment! I write and test all my scripts on OS X and then send off
to the server. I don't use crypt, but I have never seen any problems
going between the two. apache, php, mysql, rsync, ssh, scp, everything
*nixy plus a nice
in fact, i would code it in c++ but the used compiler is gcc... i tried to
change the value CC in makefile but the lib obtained is invalid and is not
working with php any idea on this ?
Sorry to bother again :)
On Tuesday 26 October 2004 16:14, Curt Zirzow wrote:
* Thus wrote Robert
You can write your program in c++, checkout this pecl extension:
http://pecl.php.net/rar
You might want to join the pecl mailing list, there are more
developer eyes there that can answer questions about these things.
* Thus wrote Pierre Ancelot:
in fact, i would code it in c++ but the
* Thus wrote Robert Cummings:
On Tue, 2004-10-26 at 10:14, Curt Zirzow wrote:
Actually it gets easier..
cd ext/custommodule/
phpize
./configure --with-custommodule
make
Now you'll have a custommodule.so available.
Aaah cool. When did that become available?
Its been
Hi,
What's the quickest way to alias a user function?
I have a function which uses english spelling (eg categorise instead of
categorize), and I want to alias the function with an Americanized
spelling.
I'd rather that the alias categorize() did not have to be altered in
any way to keep up
I've been working on a script for a while now and it works perfectly on my
local machine. I'm using a couple of classes, mainly my database and users
classes.
After logging in, I assign a session variable to the user's row in the
database: $_SESSION['user'] = $db-row;
This works fine locally,
Hi,
Here is a small but working script which emulate post. You can post any
type of data as a form field.
http://www.zend.com/codex.php?id=77single=1
But as many other users have suggested, I think SOAP is the best thing
to try.
Visit
http://sourceforge.net/projects/nusoap/
Zareef Ahmed
* Thus wrote Aaron Gould:
I just compiled PHP with an extension for testing purposes
(mnoGoSearch). After all was said and done, the CLI version sees the
mnogosearch extension just fine (php -m), but the Apache module
doesn't see it at all (nothing mnogosearch related at all in PHPINFO()).
* Thus wrote Nick Wilson:
Hello all,
I was wondering if anyone might have suggestions or useful links on
protecting commercial php scripts.
One thing that is always overlooked besides trying to obscure the
code so only reverse engineering is possible, is to include a
license in the source
* Thus wrote Justin French:
Hi,
What's the quickest way to alias a user function?
I have a function which uses english spelling (eg categorise instead of
categorize), and I want to alias the function with an Americanized
spelling.
I'd rather that the alias categorize() did not have
* Thus wrote Stephen Craton:
I've been working on a script for a while now and it works perfectly on my
local machine. I'm using a couple of classes, mainly my database and users
classes.
After logging in, I assign a session variable to the user's row in the
database: $_SESSION['user'] =
Without seeing the code:
Try putting session_start() at the VERY beginning. Also try having the
action go to the page itself ($PHP_SELF or putting in the path). Is the
session variables being set using $SESSION['']?
Respectfully,
Ligaya Turmelle
Stuart Felenstein wrote:
Having some odd
Yes the session variables are set with $SESSION[''}.
The way it works is the variable gets set on the
follwing pages:
So, example on page 1:
I have this user input field:
td width=172input name=ListingName type=text
id=ListingName maxlength=20 //td
On the following page (page 2):
81 matches
Mail list logo