Hi all,
Does any one try to .net webservices by PHP5?
yours,
Michael
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 14 Jan 2005, Jason Morehouse wrote:
> Just wondering if anyone is using the apache worker module with php?
>
> I've complied php5 with zend threadsafe support, and apache2 with the
> MPM worker module on a Linux box. Everything seems sweet.
> mysqli_thread_safe() reports true... anyone kno
On Wed, 12 Jan 2005, Galen wrote:
> I'm working on a web spider application where the server has
> considerable latency in serving the information I require, but
> simultaneous requests do not have a significant performance hit. I have
> a nice little class that handles all the sessions, cookies, e
When you submit something, and you want to make sure that the user
inputs all of the info, is there an easier way to do it than this:
if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah]))
{
etc.
}
is there an easy way to check if all of the varibles have data in them?
~Andrew
--
PHP Ge
Andrew Maxwell wrote:
When you submit something, and you want to make sure that the user
inputs all of the info, is there an easier way to do it than this:
if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah]))
{
etc.
}
is there an easy way to check if all of the varibles have data in them?
Andrew Maxwell wrote:
When you submit something, and you want to make sure that the user
inputs all of the info, is there an easier way to do it than this:
One method I've done that is to create an array with the required field
names, then loop it through and check whether they all have a value.
Thats exactly what i need. Thanks a ton.
~Andrew
On Mon, 17 Jan 2005 10:58:07 +0200, Ville Mattila <[EMAIL PROTECTED]> wrote:
> Andrew Maxwell wrote:
> > When you submit something, and you want to make sure that the user
> > inputs all of the info, is there an easier way to do it than this:
>
>
Andrew Maxwell wrote:
When you submit something, and you want to make sure that the user
inputs all of the info, is there an easier way to do it than this:
if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah]))
{
etc.
}
is there an easy way to check if all of the varibles have data in them?
Hi everybody:
I use this sentence ($htmlFile = $_SERVER['DOCUMENT_ROOT'] ) for obtaining the
complete route of a file in my web server, but inserts a white space to
final char and i need remove it. I use the trim function but it continue
there. How can i remove it? Can it be anohter char?
--
Or you could get phpeclipse for free which is a php IDE. It all depends on
weather you are a web designer or a php developer. If you are both you will
still want an IDE (Integrated Development Enviroment) and Probably a debugger
(see my previous email about phped). If you can aford to throw y
Hi,
I need to find a good Javascript newsgroup.
Thanks,
Ross
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Zouari Fourat wrote:
Hello !
My user can input values like this :
15.2
10-5
10 0
0x5
005
00
to be clear, i must extract two values from each line, each value is
between 1 and 20 and seaparated with a non numeric caracter, so with
lines 1,2,3 and 4 i will get :
Array([0]=>15, [1]=>2);
Array([0]=>10,
i found that this was better :
list($ar[0], $ar[1]) = preg_split('/[^0-9]/', $string);
On Mon, 17 Jan 2005 11:27:38 +0100, Marek Kilimajer <[EMAIL PROTECTED]> wrote:
> Zouari Fourat wrote:
> > Hello !
> > My user can input values like this :
> >
> > 15.2
> > 10-5
> > 10 0
> > 0x5
> > 005
> > 00
>
Hi there!
I've learned to use $_REQUEST but it seems to me that it uses any $_GEt,
or $_POST. Is it better to $_POST when I'm just using $_POST? It seems
like that if I want "good code", but I mean is it faster with $_POST?
/G
@varupiraten.se
--
PHP General Mailing List (http://www.php.net/)
To
Hello !
My user can input values like this :
15.2
10-5
10 0
0x5
005
00
to be clear, i must extract two values from each line, each value is
between 1 and 20 and seaparated with a non numeric caracter, so with
lines 1,2,3 and 4 i will get :
Array([0]=>15, [1]=>2);
Array([0]=>10, [1]=>5);
Array([0
Whats the story with this. It seems too good to be true. A fully featured
IDE/Debugger released under some sort of free software licence. The site you
link to seems indicate that is is free software, it has a sourceforge.net logo
at the botton. However nuspere are selling it for £299. what is
[snip]
I need to find a good Javascript newsgroup.
[/snip]
Are you familiar with Google?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Folks:
I am experiencing a problem with httpd child processes suddenly
exploding in memory size and consuming all available memory. The
behavior is sudden, not gradual: within a few seconds or a minute the
process swells to several orders of magnitude larger than its usual
size.
Listed below is
Gerard Samuel wrote:
Im currently using php 5.0.3 on a dev box,
trying to figure out how to correctly use
exceptions in my code.
Exceptions can be "A Good Thing".
Per chance, I was monitoring the __autoload() function,
and Im noticing that calls are being made to
exception classes that I've setup.
Juan Antonio Garrido wrote:
Hi everybody:
I use this sentence ($htmlFile = $_SERVER['DOCUMENT_ROOT'] ) for obtaining the
complete route of a file in my web server, but inserts a white space to
final char and i need remove it. I use the trim function but it continue
there. How can i remove it? C
I've got a question about the following cronjob.
#At 3:01 our time, run backups
1 0 * * * /usr/local/bin/php /www/r/rester/htdocs/auto_backup/back_em_up.php
>/www/r/rester/htdocs/auto_backup/cron.log 2>&1
#At 3:02 clean up sessions folder
2 0 * * * (find /www/r/rester/htdocs/sessions/ -name 'sess_
Message could not be delivered
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[snip]
I've got a question about the following cronjob.
>
> #At 3:01 our time, run backups
> 1 0 * * * /usr/local/bin/php
/www/r/rester/htdocs/auto_backup/back_em_up.php
>/www/r/rester/htdocs/auto_backup/cron.log 2>&1
>
> #At 3:02 clean up sessions folder
> 2 0 * * * (find /www/r/rester/htdocs/s
Hello Juan,
Monday, January 17, 2005, 2:23:23 AM, you wrote:
JAG> I use this sentence ($htmlFile = $_SERVER['DOCUMENT_ROOT'] ) for
JAG> obtaining the complete route of a file in my web server, but
JAG> inserts a white space to final char and i need remove it. I use
JAG> the trim function but it c
N.Z. Bear wrote:
Folks:
I am experiencing a problem with httpd child processes suddenly
exploding in memory size and consuming all available memory. The
behavior is sudden, not gradual: within a few seconds or a minute the
process swells to several orders of magnitude larger than its usual
size.
Jason Barnett wrote:
Gerard Samuel wrote:
Im currently using php 5.0.3 on a dev box,
trying to figure out how to correctly use
exceptions in my code.
Exceptions can be "A Good Thing".
Per chance, I was monitoring the __autoload() function,
and Im noticing that calls are being made to
exception cla
Jay Blanchard wrote:
[snip]
I've got a question about the following cronjob.
#At 3:01 our time, run backups
1 0 * * * /usr/local/bin/php
/www/r/rester/htdocs/auto_backup/back_em_up.php
/www/r/rester/htdocs/auto_backup/cron.log 2>&1
#At 3:02 clean up sessions folder
2 0 * * * (find /www/r/rester/ht
Al wrote:
I've got a question about the following cronjob.
#At 3:01 our time, run backups
1 0 * * * /usr/local/bin/php
/www/r/rester/htdocs/auto_backup/back_em_up.php
>/www/r/rester/htdocs/auto_backup/cron.log 2>&1
#At 3:02 clean up sessions folder
2 0 * * * (find /www/r/rester/htdocs/sessions/
>> #this is only for testing a new cronjob, every minute
>> * * * * * /usr/local/bin/php
> /www/r/rester/htdocs/phpList_cronjob/process_cronjob.php
>>> /www/r/rester/htdocs/phpList_cronjob/cron.log 2>>&1
>>
>
> The new one doesn't seem to want to run until after 3:01 or 3:02.
> Shouldn't the
> seve
--- [EMAIL PROTECTED] wrote:
> I've learned to use $_REQUEST but it seems to me that it uses any
> $_GEt, or $_POST. Is it better to $_POST when I'm just using
> $_POST? It seems like that if I want "good code", but I mean is it
> faster with $_POST?
It's not faster, but it is a better practice. I
Erwin Kerk wrote:
Al wrote:
I've got a question about the following cronjob.
#At 3:01 our time, run backups
1 0 * * * /usr/local/bin/php
/www/r/rester/htdocs/auto_backup/back_em_up.php
>/www/r/rester/htdocs/auto_backup/cron.log 2>&1
#At 3:02 clean up sessions folder
2 0 * * * (find /www/r/rester
I have not been successful with running PHP under DOS (no windows). Is
this possible?
TIA,
Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Gerard Samuel wrote:
Jason Barnett wrote:
Gerard Samuel wrote:
I've debugged it down to this ->
//try
//{
$db->connect();
//}
//catch(databaseException $e)
//{
//throw $e;
//}
The ::connect() method is supposed to throw a databaseException if a
connection cannot be made.
In my tests, connec
Hi
I have a string like this:
Just when you begin to think the wagon of Vietnam-grounded movies is grinding
to a slow halt, youre hit squarely in the face with another one. However,
while other movies depict the gory and glory of war and its effects, this
centres on the psychology of troop
[snip]
I have a string like this:
Just when you begin to think the wagon of Vietnam-grounded movies is
grinding to a slow halt, you're hit squarely in the face with another
one. However, while other movies depict the gory and glory of war and
its effects, this centres on the psychology of troo
On Mon, 2005-01-17 at 09:01, Erwin Kerk wrote:
> Al wrote:
> > I've got a question about the following cronjob.
> >
> >>
> >> #At 3:01 our time, run backups
> >> 1 0 * * * /usr/local/bin/php
> >> /www/r/rester/htdocs/auto_backup/back_em_up.php
> >> >/www/r/rester/htdocs/auto_backup/cron.log 2>&1
Erwin Kerk wrote:
> The CRON daemon only refreshes it's job list after a job in the
> current list is completed. Therefore, the CRON daemon won't notice the
> "every-minute" job until 3.01 pm.
I'm not sure I understand what you're saying above. Can you provide a pointer
to
documentation about th
DOS = 16bit
but I guess, PHP ist for 32+ bit ;)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Shawn McKenzie wrote:
Thanks, but I'm not running Windows, I'm running just MS-DOS from a
bootable floppy. Hence my question :-)
PHP seems to actually be the php5ts.dll. Would there be binaries for
MS-DOS or is there a way to get this working?
Thanks!
-Shawn
You darn trickster... don't tell m
Jason Barnett wrote:
Gerard Samuel wrote:
Jason Barnett wrote:
Gerard Samuel wrote:
I've debugged it down to this ->
//try
//{
$db->connect();
//}
//catch(databaseException $e)
//{
//throw $e;
//}
The ::connect() method is supposed to throw a databaseException if
a connection cannot be made
On Mon, 17 Jan 2005 09:23:19 -0600, Shawn McKenzie <[EMAIL PROTECTED]> wrote:
> I have not been successful with running PHP under DOS (no windows). Is
> this possible?
>
> TIA,
> Shawn
Have you downloaded the PHP zip file and added c:\php (or wherever you
extract it) to your path?
Mike
--
PH
You need to use regular expresions, I think there is a regex_replace frunction
(or something like that).
http://etext.lib.virginia.edu/helpsheets/regex.html is a fairly good
introduction to regular expresions - learn to love them ;)
>>> Vikram Vaswani <[EMAIL PROTECTED]> 01/17/05 03:27pm >>>
Hi
On Monday 17 January 2005 23:19, Al wrote:
> Erwin Kerk wrote:
> > Al wrote:
> > The CRON daemon only refreshes it's job list after a job in the current
> > list is completed. Therefore, the CRON daemon won't notice the
> > "every-minute" job until 3.01 pm.
Not sure if I've misunderstood what Al i
I am trying to get the form below to make sure the file type for the upload
is a pdf file. The code below checks, but doesn¹t allow even a pdf file to
upload. Can anybody shed some light on this for me? Is there an easier way
to do this using JS?
test page