Re: [PHP] Sending SMS via PHP

2008-02-21 Thread Per Jessen
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

Re: [PHP] www. not working

2008-02-21 Thread Richard Heyes
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

Re: [PHP] www. not working

2008-02-21 Thread Richard Heyes
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

Re: [PHP] Session destruction problem

2008-02-21 Thread Nathan Rixham
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

Re: [PHP] Session destruction problem

2008-02-21 Thread Nathan Rixham
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

Re: [PHP] www. not working

2008-02-21 Thread HostWare Kft.
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

Re: [PHP] fail on preg_match_all

2008-02-21 Thread Nathan Rixham
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

Re: [PHP] fail on preg_match_all

2008-02-21 Thread Stut
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

[PHP] All Survey leading to PHP

2008-02-21 Thread Allan Fernandes
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

Re: [PHP] www. not working

2008-02-21 Thread Jason Pruim
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

RES: [PHP] All Survey leading to PHP

2008-02-21 Thread Thiago Pojda
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:

Re: [PHP] fail on preg_match_all

2008-02-21 Thread Robin Vickery
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

Re: [PHP] Session destruction problem

2008-02-21 Thread tedd
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

Re: [PHP] www. not working

2008-02-21 Thread Børge Holen
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

[PHP] temporary error

2008-02-21 Thread Mirco Soderi
Consider the following code: $sqlQueryInserimentoDatiAllenamentoCalciPiazzati = INSERT INTO ... etc etc $queryInserimentoDatiAllenamentoCalciPiazzati = mysql_query($sqlQueryInserimentoDatiAllenamentoCalciPiazzati); if($queryInserimentoDatiAllenamentoCalciPiazzati) { // do something }

Re: [PHP] temporary error

2008-02-21 Thread Paul Scott
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

Re: [PHP] temporary error

2008-02-21 Thread Daniel Brown
On Thu, Feb 21, 2008 at 8:54 AM, Mirco Soderi [EMAIL PROTECTED] wrote: Consider the following code: $sqlQueryInserimentoDatiAllenamentoCalciPiazzati = INSERT INTO ... etc etc $queryInserimentoDatiAllenamentoCalciPiazzati =

[PHP] Re: temporary error

2008-02-21 Thread Mirco Soderi
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

[PHP] APC __autoload webclusters

2008-02-21 Thread Jochem Maas
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

[PHP] Re: temporary error

2008-02-21 Thread Shawn McKenzie
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

RE: [PHP] Re: temporary error

2008-02-21 Thread Andrés Robinet
-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

Re: [PHP] Re: temporary error

2008-02-21 Thread Robert Cummings
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

Re: RES: [PHP] All Survey leading to PHP

2008-02-21 Thread Jim Lucas
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,

Re: [PHP] All Survey leading to PHP

2008-02-21 Thread Richard Lynch
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

Re: [PHP] fail on preg_match_all

2008-02-21 Thread Richard Lynch
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...

Re: [PHP] APC __autoload webclusters

2008-02-21 Thread Jochem Maas
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

Re: [PHP] System errno in PHP

2008-02-21 Thread Richard Lynch
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)

Re: [PHP] unable to unset reference

2008-02-21 Thread Richard Lynch
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

[PHP] cxml

2008-02-21 Thread JR
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.

Re: [PHP] APC __autoload webclusters

2008-02-21 Thread Richard Lynch
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

Re: [PHP] Php warning message

2008-02-21 Thread Richard Lynch
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

RE: [PHP] All Survey leading to PHP

2008-02-21 Thread Andrés Robinet
-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

RES: [PHP] Thread Safety [partially solved]

2008-02-21 Thread Thiago Pojda
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

Re: [PHP] Re: temporary error

2008-02-21 Thread Nathan Rixham
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

Re: [PHP] APC __autoload webclusters

2008-02-21 Thread Nathan Nobbe
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

Re: [PHP] All Survey leading to PHP

2008-02-21 Thread Jason Pruim
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

Re: [PHP] All Survey leading to PHP

2008-02-21 Thread Matty Sarro
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

Re: [PHP] APC __autoload webclusters

2008-02-21 Thread Nathan Rixham
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,

[PHP] PHP To an EXE Executable for Win32 ( Is it possible)

2008-02-21 Thread Dan
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

Re: [PHP] PHP To an EXE Executable for Win32 ( Is it possible)

2008-02-21 Thread Mario Guenterberg
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

Re: [PHP] PHP To an EXE Executable for Win32 ( Is it possible)

2008-02-21 Thread Matty Sarro
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

RE: [PHP] PHP To an EXE Executable for Win32 ( Is it possible)

2008-02-21 Thread Jay Blanchard
[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

RE: [PHP] PHP To an EXE Executable for Win32 ( Is it possible)

2008-02-21 Thread Andrés Robinet
-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

[PHP] Cannot get php_http.dll to work

2008-02-21 Thread Alexis
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

[PHP] Copy Network Share W/ Diff. Creds To Local Folder?

2008-02-21 Thread Jason Paschal
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

[PHP] AMP installer

2008-02-21 Thread Ryan A
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

Re: [PHP] More than one values returned?

2008-02-21 Thread Greg Donald
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

Re: [PHP] AMP installer

2008-02-21 Thread Chris
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

Re: [PHP] APC __autoload webclusters

2008-02-21 Thread Nathan Nobbe
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;

RE: [PHP] AMP installer

2008-02-21 Thread Andrés Robinet
-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

RE: [PHP] PHP To an EXE Executable for Win32 ( Is it possible)

2008-02-21 Thread Bastien Koert
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

RE: [PHP] AMP installer

2008-02-21 Thread Warren Vail
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

[PHP] Re: AMP installer

2008-02-21 Thread Nathan Rixham
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

[PHP] Re: Copy Network Share W/ Diff. Creds To Local Folder?

2008-02-21 Thread Nathan Rixham
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

[PHP] Re: Cannot get php_http.dll to work

2008-02-21 Thread Shawn McKenzie
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

Re: [PHP] More than one values returned?

2008-02-21 Thread Nick Stinemates
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

[PHP] Re: Copy Network Share W/ Diff. Creds To Local Folder?

2008-02-21 Thread Manuel Lemos
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

[PHP] Problem with quotes

2008-02-21 Thread Mário Gamito
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

[PHP] Exception vs exception

2008-02-21 Thread Prabath Kumarasinghe
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

RE: [PHP] Problem with quotes

2008-02-21 Thread Andrés Robinet
-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'];

Re: [PHP] Problem with quotes

2008-02-21 Thread Casey
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

Re: [PHP] Exception vs exception

2008-02-21 Thread Chris
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');

[PHP] form cleaner class

2008-02-21 Thread nihilism machine
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

RE: [PHP] Exception vs exception

2008-02-21 Thread Andrés Robinet
-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

Re: [PHP] form cleaner class

2008-02-21 Thread Casey
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

Re: [PHP] Exception vs exception

2008-02-21 Thread Prabath Kumarasinghe
--- 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{

Re: [PHP] form cleaner class

2008-02-21 Thread Casey
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

RE: [PHP] form cleaner class

2008-02-21 Thread Andrés Robinet
-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

Re: [PHP] Exception vs exception

2008-02-21 Thread Paul Scott
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

Re: [PHP] Exception vs exception

2008-02-21 Thread Chris
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

[PHP] Deleting all rows in a database every 24 hours?

2008-02-21 Thread Zoran Bogdanov
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

Re: [PHP] Deleting all rows in a database every 24 hours?

2008-02-21 Thread Paul Scott
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

[PHP] URL modification

2008-02-21 Thread Xavier de Lapeyre
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

RE: [PHP] URL modification

2008-02-21 Thread Andrés Robinet
-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.