Paul Scott wrote:
What you need to do is ask yourself whether you are going to do high
volume SMS or not, and look at when do the commercial providers become
more economical? What a lot of people do, is sign up for an account
and end up sending only 50 or so SMS a month, which is silly, when
A form of the web existing long before that depending on your
definition of the web. To me it's a way for people to share
information. That would cover the BBS world which pre-dates LANs by
some distance.
Spider webs have existed for many a year...
Yeah, but when was the last time you saw
Spider webs have existed for many a year...
Not long before the eggs hatched.
Debatable.
--
Richard Heyes
http://www.websupportsolutions.co.uk
Knowledge Base and Helpdesk software hosted for you - no
installation, no maintenance, new features automatic and free
--
PHP General Mailing
Adil Drissi wrote:
thank you tedd,
I understood what you explained to me last time. I was
wondering if there is another method to prevent that.
Thanks
--- tedd [EMAIL PROTECTED] wrote:
At 2:45 PM -0800 2/19/08, Adil Drissi wrote:
Hi,
Below you'll find my code. I think now that the
problem
Adil Drissi wrote:
thank you tedd,
I understood what you explained to me last time. I was
wondering if there is another method to prevent that.
Thanks
--- tedd [EMAIL PROTECTED] wrote:
At 2:45 PM -0800 2/19/08, Adil Drissi wrote:
Hi,
Below you'll find my code. I think now that the
problem
A form of the web existing long before that depending on your
definition of the web. To me it's a way for people to share
information. That would cover the BBS world which pre-dates LANs by
some distance.
Spider webs have existed for many a year...
Yeah, but when was the last time you saw
Hamilton Turner wrote:
Just a follow-up on this, the problem was 'Fatal error: Allowed memory
size of 8388608 bytes exhausted'
After some nice help, I found that this is actually a common problem
with intense regexes in php. Quick fix is using ini_set() to increase
your memory_limit to
Hamilton Turner wrote:
Just a follow-up on this, the problem was 'Fatal error: Allowed memory
size of 8388608 bytes exhausted'
After some nice help, I found that this is actually a common problem
with intense regexes in php. Quick fix is using ini_set() to increase
your memory_limit to
Hi,
I have been doing a survey on which development environment will be the best
to move on to. PHP is most highly recommended. I have following doubts
though.
1) Is there any method to protect source code of my applications even when
deployed at the clients Server.
2) Can I call Delphi Dll's
On Feb 21, 2008, at 5:13 AM, Richard Heyes wrote:
Spider webs have existed for many a year...
Not long before the eggs hatched.
Debatable.
Are we about to go into another chicken/egg then? Or in this case,
spider porn/egg
--
Jason Pruim
Raoset Inc.
Technology Manager
MQC
Point 1 I can answer, not sure about 2.
1) Yes there is, there are many tools for that on the Web. First one that
comes to my mind is Zend Guard, it generates .class-like files. But this one
requires some extra stuff on the web server which some others don't.
-Mensagem original-
De:
On 21/02/2008, Nathan Rixham [EMAIL PROTECTED] wrote:
The regex looks incorrect to me in a few places:
-\d+] {1,4}
for example.
That's ok, albeit confusing:
* The ']' is a literal ']' not the closing bracket of a character class.
* The {1,4} applies to the space character.
-robin
--
PHP
At 10:47 AM + 2/21/08, Nathan Rixham wrote:
apologies, I completely forgot that your using session_destroy ammend to..
?php
session_start();
session_destroy();
unset($_SESSION);
session_write_close();
sleep(1);
header(location: /index.php);
?
Nathan:
I don't think it's that simple.
For
On Thursday 21 February 2008 13:41:20 Jason Pruim wrote:
On Feb 21, 2008, at 5:13 AM, Richard Heyes wrote:
Spider webs have existed for many a year...
Not long before the eggs hatched.
Debatable.
Are we about to go into another chicken/egg then? Or in this case,
spider porn/egg
Consider the following code:
$sqlQueryInserimentoDatiAllenamentoCalciPiazzati = INSERT INTO ... etc etc
$queryInserimentoDatiAllenamentoCalciPiazzati =
mysql_query($sqlQueryInserimentoDatiAllenamentoCalciPiazzati);
if($queryInserimentoDatiAllenamentoCalciPiazzati) { // do something }
On Thu, 2008-02-21 at 14:54 +0100, Mirco Soderi wrote:
Consider the following code:
$sqlQueryInserimentoDatiAllenamentoCalciPiazzati = INSERT INTO ... etc etc
How long does it take you to write a single line of code with variable
names like that?
--Paul
All Email originating from UWC is
On Thu, Feb 21, 2008 at 8:54 AM, Mirco Soderi [EMAIL PROTECTED] wrote:
Consider the following code:
$sqlQueryInserimentoDatiAllenamentoCalciPiazzati = INSERT INTO ... etc etc
$queryInserimentoDatiAllenamentoCalciPiazzati =
In my opinion, variable names are a personal choice, I think the time you
loose when writing the name (about a second is long less than the time you
gain when, months later, you go and modify the code and you have clear the
content and meaning of each variable.
In the original code there were
hi people,
1. __autoload APC
I have been STW to try and find a definitive answer as to whether using
__autoload with APC
is a bad idea ... and if so why? ... I can't find that definitive answer, can
anyone here
state whether this it's an absolutely bad idea to use __autoload with APC? (I
Mirco Soderi wrote:
In my opinion, variable names are a personal choice, I think the time
you loose when writing the name (about a second is long less than the
time you gain when, months later, you go and modify the code and you
have clear the content and meaning of each variable.
In the
-Original Message-
From: Shawn McKenzie [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 10:36 AM
To: php-general@lists.php.net
Subject: [PHP] Re: temporary error
Mirco Soderi wrote:
In my opinion, variable names are a personal choice, I think the time
you loose when
On Thu, 2008-02-21 at 09:35 -0600, Shawn McKenzie wrote:
Mirco Soderi wrote:
In my opinion, variable names are a personal choice, I think the time
you loose when writing the name (about a second is long less than the
time you gain when, months later, you go and modify the code and you
Thiago Pojda wrote:
Point 1 I can answer, not sure about 2.
1) Yes there is, there are many tools for that on the Web. First one that
comes to my mind is Zend Guard, it generates .class-like files. But this one
requires some extra stuff on the web server which some others don't.
But,
On Thu, February 21, 2008 6:29 am, Allan Fernandes wrote:
1) Is there any method to protect source code of my applications even
when
deployed at the clients Server.
Have a good, clear contract and relationship with the client.
You can also attempt to encode them with any number of PHP
On Wed, February 20, 2008 11:34 pm, Hamilton Turner wrote:
Does anyone know why a server would simply fail on this line?
$num = preg_match_all($regex, $theData, $match, PREG_SET_ORDER);
if i know the file handle is valid (i grabbed it using 'or die'), and
the regex is valid
Define fail...
Richard Lynch schreef:
On Thu, February 21, 2008 9:27 am, Jochem Maas wrote:
1. __autoload APC
I have been STW to try and find a definitive answer as to whether
using __autoload with APC
is a bad idea ... and if so why? ... I can't find that definitive
answer, can anyone here
state whether
On Wed, February 20, 2008 2:56 am, Michal Maras wrote:
I have read http://php.net/fopen from top to bottom, but I could not
find
how to get system error number.
With set_error_handler I can get string for example
fopen(hmc_configuration.cfg)
On Wed, February 20, 2008 9:23 am, Sylvain R. wrote:
I would like to implement it in order to delete automaticly from
memory
useless objects.
It can be really useful for example to make schedulers in PHP in order
to
avoid max memory usage exceeded errors.
If you really don't need it any
Does anyone have examples or know of documentation in order to receive and
respond to cxml punchout requests. I'm attempting to integrate my cart with
a catalog however have not done much coding with cxml or xml. Thanks in
advance.
On Thu, February 21, 2008 9:27 am, Jochem Maas wrote:
1. __autoload APC
I have been STW to try and find a definitive answer as to whether
using __autoload with APC
is a bad idea ... and if so why? ... I can't find that definitive
answer, can anyone here
state whether this it's an
On Wed, February 20, 2008 3:29 pm, Yuval Schwartz wrote:
Hello and thank you,
Another question, I get a message:
*Warning*: feof(): supplied argument is not a valid stream resource in
*
/home/content/t/h/e/theyuv/html/MessageBoard.php* on line *52*
**
And I've tried troubleshooting for a
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 11:36 AM
To: Allan Fernandes
Cc: php-general@lists.php.net
Subject: Re: [PHP] All Survey leading to PHP
On Thu, February 21, 2008 6:29 am, Allan Fernandes wrote:
1) Is there any
I found out that my problem was using apache2 apxs2 to build php.
I tried: './configure
--with-oci8-instant-client=/oracle/instantclient/;make;make install', it's
not thread safe anymore.
But now I ran into another problem: it did not build (of course) a apache2
module, only a CGI. I don't want
Andrés Robinet wrote:
-Original Message-
From: Shawn McKenzie [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 10:36 AM
To: php-general@lists.php.net
Subject: [PHP] Re: temporary error
Mirco Soderi wrote:
In my opinion, variable names are a personal choice, I think the time
On Thu, Feb 21, 2008 at 12:01 PM, Jochem Maas [EMAIL PROTECTED] wrote:
Richard Lynch schreef:
If it's that inter-tangled, then I would hazard a WILD GUESS that the
__autoload will still end up loading everything...
but not on every request ;-) ... I do use output caching, and I know
not
Also, if the program is that good and revolutionary someone will just
rewrite it. Granted, a compiled program would take longer to clone
then an open source program. But it can still be done...
In fact that's how I got started in programming... Cloning other
peoples apps to figure out how
You can attempt to protect your code with Zend guard or a couple other
utilities. I believe theres also some php obfuscation utilities out there -
consult google. Ultimately though, even with compiled code you will never
stop someone who wants to see your code, decompilers are commonplace. As
Nathan Nobbe wrote:
On Thu, Feb 21, 2008 at 12:01 PM, Jochem Maas [EMAIL PROTECTED] wrote:
Richard Lynch schreef:
If it's that inter-tangled, then I would hazard a WILD GUESS that the
__autoload will still end up loading everything...
but not on every request ;-) ... I do use output caching,
I know that there's apparently some way to compile PHP to make it run
faster. But has anyone come up with a system to turn PHP scripts into an
.exe? What I mean is you would run the exe and see exactly the same thing
as if you were viewing the script through a webbrowser, but without having
On Thu, Feb 21, 2008 at 02:16:55PM -0700, Dan wrote:
I know that there's apparently some way to compile PHP to make it run
faster. But has anyone come up with a system to turn PHP scripts into an
.exe? What I mean is you would run the exe and see exactly the same
thing as if you were
Color me corrected :) I'm gonna have to look into these utils myself.
Thanks!
On Thu, Feb 21, 2008 at 4:27 PM, Mario Guenterberg [EMAIL PROTECTED] wrote:
On Thu, Feb 21, 2008 at 02:16:55PM -0700, Dan wrote:
I know that there's apparently some way to compile PHP to make it run
faster. But
[snip]
But has anyone come up with a system to turn PHP scripts into an
.exe?
[/snip]
http://www.priadoblender.com/index.php?layout=maincslot_1=2
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Dan [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 4:17 PM
To: php-general@lists.php.net
Subject: [PHP] PHP To an EXE Executable for Win32 ( Is it possible)
I know that there's apparently some way to compile PHP to make it run
faster. But has
Hi,
I have tried umpteen times to get this to work by PHP still insists that
it cannot find the 'HttpRequest' Class.
Using PHP 5.2.3
Downloaded latest version of php_http.dll, for PHP 5.2.x from the PECL
website
Installed it in the D:\PHP\ext directory
Added 'extension=php_http.dll' to the
I'm building a web app on a windows server for a company.
an aspect of that requires grabbing a sound file from a network share, which
i attempted with a windows copy command via exec(), but PHP needs to be able
to pass the authentication credentials.
runas requires password interactivity, and
Hey!
Need to reinstall Apache PHP and MySql for personal development use on my new
laptop... I usually used phpdev in the past but now I want php5
compatability... can anyone recommend any such all in one installer.
And yes, I know its good experience and so on to do each one manually... but
On 2/19/08, Nick Stinemates [EMAIL PROTECTED] wrote:
I said, simply, returning an array of objects was usually an indication
of poor design.
No it's not. Nearly every MVC framework in existence implements some
sort of ActiveRecord finder that does exactly that.
Rails:
@foo = Foo.find( :all
Ryan A wrote:
Hey!
Need to reinstall Apache PHP and MySql for personal development use on my new laptop... I
usually used phpdev in the past but now I want php5 compatability... can anyone recommend
any such all in one installer.
And yes, I know its good experience and so on to do each one
On Thu, Feb 21, 2008 at 3:20 PM, Nathan Rixham [EMAIL PROTECTED] wrote:
Nathan,
cheers for the link to facebook pdf, just had a read and it's good
stuff, also lead me on to this after a short google:
http://sizzo.org/wp/wp-content/uploads/2007/09/facebook_performance_caching.pdf
ya;
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 6:24 PM
To: php php
Subject: [PHP] AMP installer
Hey!
Need to reinstall Apache PHP and MySql for personal development use on my
new laptop... I usually used phpdev in the past but now I
www.roadsend.com ?
bastien
To: php-general@lists.php.net
From: [EMAIL PROTECTED]
Date: Thu, 21 Feb 2008 14:16:55 -0700
Subject: [PHP] PHP To an EXE Executable for Win32 ( Is it possible)
I know that there's apparently some way to compile PHP to
I can recommend apache2triad http://apache2triad.net
Downloads at
http://sourceforge.net/project/showfiles.php?group_id=93507
release 1.5.4 includes
php
perl
python
mysql
postgress
and much more included pop and ftp servers, open SSL, etc, that all run on
Windows
HTH,
Warren Vail
Ryan A wrote:
Hey!
Need to reinstall Apache PHP and MySql for personal development use on my new laptop... I
usually used phpdev in the past but now I want php5 compatability... can anyone recommend
any such all in one installer.
And yes, I know its good experience and so on to do each one
Jason Paschal wrote:
I'm building a web app on a windows server for a company.
an aspect of that requires grabbing a sound file from a network share, which
i attempted with a windows copy command via exec(), but PHP needs to be able
to pass the authentication credentials.
runas requires
Alexis wrote:
Hi,
I have tried umpteen times to get this to work by PHP still insists that
it cannot find the 'HttpRequest' Class.
Using PHP 5.2.3
Downloaded latest version of php_http.dll, for PHP 5.2.x from the PECL
website
Installed it in the D:\PHP\ext directory
Added
Greg Donald wrote:
On 2/19/08, Nick Stinemates [EMAIL PROTECTED] wrote:
I said, simply, returning an array of objects was usually an indication
of poor design.
No it's not. Nearly every MVC framework in existence implements some
sort of ActiveRecord finder that does exactly
Hello,
on 02/21/2008 07:48 PM Jason Paschal said the following:
I'm building a web app on a windows server for a company.
an aspect of that requires grabbing a sound file from a network share, which
i attempted with a windows copy command via exec(), but PHP needs to be able
to pass the
Hi,
Sorry for such a laim question.
I have this code:
$host = 'http://' . $_SERVER['HTTP_HOST'];
foreach($browser as $key = $val){
echo img src=\dcs/ . $key . '.png' . / . ;
(...)
but it has a bug, I need to add the server domain before the picture, so
I did:
$host
Hi All
Recently I'm came across following code snippet
regarding exceptions there I'm executing invalid query
and catch the exception as follows.
First Approach
---
try{
$result = mysql_query('SELECT * from unknowntable');
}catch(exception $e){
echo
-Original Message-
From: Mário Gamito [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 11:04 PM
To: php-general@lists.php.net
Subject: [PHP] Problem with quotes
Hi,
Sorry for such a laim question.
I have this code:
$host = 'http://' . $_SERVER['HTTP_HOST'];
On Thu, Feb 21, 2008 at 8:04 PM, Mário Gamito [EMAIL PROTECTED] wrote:
Hi,
Sorry for such a laim question.
I have this code:
$host = 'http://' . $_SERVER['HTTP_HOST'];
foreach($browser as $key = $val){
echo img src=\dcs/ . $key . '.png' . / . ;
(...)
but
Prabath Kumarasinghe wrote:
Hi All
Recently I'm came across following code snippet
regarding exceptions there I'm executing invalid query
and catch the exception as follows.
First Approach
---
try{
$result = mysql_query('SELECT * from unknowntable');
What is a better idea? Using this class in my db class and using
CleanInput on the sql statements, or using it in the top of the all
pages with form input to clean the $_POST's? Also, any ideas or
comments on improving the class?
?php
class FormCleaner {
// Initializer
-Original Message-
From: Prabath Kumarasinghe [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 11:19 PM
To: php-general@lists.php.net
Subject: [PHP] Exception vs exception
Hi All
Recently I'm came across following code snippet
regarding exceptions there I'm executing
On Thu, Feb 21, 2008 at 8:53 PM, nihilism machine
[EMAIL PROTECTED] wrote:
What is a better idea? Using this class in my db class and using
CleanInput on the sql statements, or using it in the top of the all
pages with form input to clean the $_POST's? Also, any ideas or
comments on
--- Chris [EMAIL PROTECTED] wrote:
Prabath Kumarasinghe wrote:
Hi All
Recently I'm came across following code snippet
regarding exceptions there I'm executing invalid
query
and catch the exception as follows.
First Approach
---
try{
On Thu, Feb 21, 2008 at 8:59 PM, Casey [EMAIL PROTECTED] wrote:
On Thu, Feb 21, 2008 at 8:53 PM, nihilism machine
[EMAIL PROTECTED] wrote:
What is a better idea? Using this class in my db class and using
CleanInput on the sql statements, or using it in the top of the all
pages with
-Original Message-
From: nihilism machine [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 21, 2008 11:53 PM
To: php-general@lists.php.net
Subject: [PHP] form cleaner class
What is a better idea? Using this class in my db class and using
CleanInput on the sql statements, or
On Thu, 2008-02-21 at 21:01 -0800, Prabath Kumarasinghe wrote:
In second approach for every query I have to write
throw new MySQLException(My Message). It's very time
consuming isn't it?
In order to *be* lazy, you have to *think* lazy...
Don't go and define every single query with an
But it's give a many information using $e-getTrace()
is this correct. If there are several mysql_query then
I can put it as bunch within try block and catch
exception easily.
No, it doesn't give any such information.
1 :?php
2 :mysql_connect('server', 'username', 'password');
3
The title says it all, how do I perform an action every 24 hours?
Thank you.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 2008-02-22 at 07:28 +0100, Zoran Bogdanov wrote:
The title says it all, how do I perform an action every 24 hours?
$sql = TRUNCATE TABLE 'sometable';
$this-query($sql);
on a cron.daily
--Paul
--
.
| Chisimba PHP5 Framework
Hi all,
I saw on some websites that modifies the links to access the webpages.
Something like:
http://www.example.com/login/
instead of
http://www.example.com/login.php
Does anyone knows how this works or how its call / which PHP library
performs this action?
Xavier de Lapeyre
--
PHP
-Original Message-
From: Xavier de Lapeyre [mailto:[EMAIL PROTECTED]
Sent: Friday, February 22, 2008 2:09 AM
To: php-general@lists.php.net
Subject: [PHP] URL modification
Importance: High
Hi all,
I saw on some websites that modifies the links to access the webpages.
74 matches
Mail list logo