Re: [PHP] Need Idea to make Backup

2010-01-14 Thread Jens Geier
Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag news:1263391167.5952.62.ca...@localhost... On Wed, 2010-01-13 at 14:57 +0100, Jens Geier wrote: Hello Ashley, yes rsync is a good idea, but does this also work if there is only a internet conection to may SERVER ? Kind

Re: [PHP] Need Idea to make Backup

2010-01-14 Thread Ashley Sheridan
On Thu, 2010-01-14 at 10:12 +0100, Jens Geier wrote: Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag news:1263391167.5952.62.ca...@localhost... On Wed, 2010-01-13 at 14:57 +0100, Jens Geier wrote: Hello Ashley, yes rsync is a good idea, but does this also work if

Re: [PHP] Need Idea to make Backup

2010-01-14 Thread Jens Geier
Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag news:1263463572.5952.71.ca...@localhost... On Thu, 2010-01-14 at 10:12 +0100, Jens Geier wrote: Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag news:1263391167.5952.62.ca...@localhost... On Wed, 2010-01-13 at

Re: [PHP] Need Idea to make Backup

2010-01-14 Thread Ashley Sheridan
On Thu, 2010-01-14 at 12:32 +0100, Jens Geier wrote: Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag news:1263463572.5952.71.ca...@localhost... On Thu, 2010-01-14 at 10:12 +0100, Jens Geier wrote: Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag

Re: [PHP] Need Idea to make Backup

2010-01-14 Thread haliphax
On Thu, Jan 14, 2010 at 5:45 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Thu, 2010-01-14 at 12:32 +0100, Jens Geier wrote: Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag news:1263463572.5952.71.ca...@localhost... On Thu, 2010-01-14 at 10:12 +0100, Jens Geier

Re: [PHP] Need Idea to make Backup

2010-01-14 Thread Robert Cummings
haliphax wrote: On Thu, Jan 14, 2010 at 5:45 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Thu, 2010-01-14 at 12:32 +0100, Jens Geier wrote: Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag news:1263463572.5952.71.ca...@localhost... On Thu, 2010-01-14 at 10:12

Re: [PHP] Need Idea to make Backup

2010-01-14 Thread Jens Geier
haliphax halip...@gmail.com schrieb im Newsbeitrag news:952625161001140625x31d03ed5oef8216064da13...@mail.gmail.com... On Thu, Jan 14, 2010 at 5:45 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Thu, 2010-01-14 at 12:32 +0100, Jens Geier wrote: Ashley Sheridan

Re: [PHP] Need Idea to make Backup

2010-01-14 Thread Jens Geier
Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag news:1263469507.5952.75.ca...@localhost... On Thu, 2010-01-14 at 12:32 +0100, Jens Geier wrote: Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag news:1263463572.5952.71.ca...@localhost... On Thu, 2010-01-14 at

Re: [PHP] Need Idea to make Backup

2010-01-14 Thread Jens Geier
Robert Cummings rob...@interjinn.com schrieb im Newsbeitrag news:4b4f40d3.3010...@interjinn.com... haliphax wrote: On Thu, Jan 14, 2010 at 5:45 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Thu, 2010-01-14 at 12:32 +0100, Jens Geier wrote: Ashley Sheridan a...@ashleysheridan.co.uk

[PHP] Need Idea to make Backup

2010-01-13 Thread Jens Geier
Hello, my idea is to make a backup of some paths of my laptop via PHP. I like to use a MySQL Datebase to trace which file was uploaded from which path and so on. Also it should be uses to look up it is nessasery to backup this file because it was changed since last time or not. All this files

Re: [PHP] Need Idea to make Backup

2010-01-13 Thread Ashley Sheridan
On Wed, 2010-01-13 at 10:53 +0100, Jens Geier wrote: Hello, my idea is to make a backup of some paths of my laptop via PHP. I like to use a MySQL Datebase to trace which file was uploaded from which path and so on. Also it should be uses to look up it is nessasery to backup this file

Re: [PHP] Need Idea to make Backup

2010-01-13 Thread Jens Geier
Hello Ashley, yes rsync is a good idea, but does this also work if there is only a internet conection to may SERVER ? Kind Regards Jens Geier Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag news:1263377397.5952.60.ca...@localhost... On Wed, 2010-01-13 at 10:53 +0100, Jens

Re: [PHP] Need Idea to make Backup

2010-01-13 Thread Ashley Sheridan
On Wed, 2010-01-13 at 14:57 +0100, Jens Geier wrote: Hello Ashley, yes rsync is a good idea, but does this also work if there is only a internet conection to may SERVER ? Kind Regards Jens Geier Ashley Sheridan a...@ashleysheridan.co.uk schrieb im Newsbeitrag

[PHP] Re: idea? add set_trace_handler() to PHP

2009-12-24 Thread Rene Veerman
already thought of a small improvement: function traceHandler ( $file = string;fullpath, $lineNumber = integer, $functionName = string, $eventIsStartOfFunction=boolean, // false = being called at exit of the function $arguments = array(

[PHP] GSOC Idea, RPC Server

2009-03-18 Thread Cesar D. Rodas
Hello folk, Let me introduce myself, my name is Cesar Rodas, a young guy from Paraguay who wants to propose an idea for the GSoC2009. The purpose of this project is to implement a pure PHP client and server API for distributing PHP applications over clusters of back-end servers that are called

[PHP] Any idea when 4.3.11 will be released?

2005-01-16 Thread Gal
Hello, I'm Working in organization which also using php on the Windows platform. Because of the security holes in the older version and a COM bug at PHP 4.3.10 (http://bugs.php.net/bug.php?id=31159) we are using a problematic version. Does anyone here knows - what is the status of the release

Re: [PHP] Any idea when 4.3.11 will be released?

2005-01-16 Thread Jeffery Fernandez
Gal wrote: Hello, I'm Working in organization which also using php on the Windows platform. Because of the security holes in the older version and a COM bug at PHP 4.3.10 (http://bugs.php.net/bug.php?id=31159) we are using a problematic version. Does anyone here knows - what is the status of

Re: [PHP] Any idea when 4.3.11 will be released?

2005-01-16 Thread Gal
Hi Jeffery, Thanks for the info. I'm happy to read that the problem has been fixed. but i don't intend to use a CVS version on a production machine. This is the reason i asked for info on the official 4.3.11 release date. Do you have any idea when it is planned ? Thanks, Gal Jeffery Fernandez

Re: [PHP] Any idea when 4.3.11 will be released?

2005-01-16 Thread DvDmanDT
They aren't talking about it on internals.. Not much on QA neither.. So.. Don't expect a release tomorrow.. :p CVS version might be the best option if that bug is a problem..:p -- // DvDmanDT MSN: dvdmandt¤hotmail.com Mail: dvdmandt¤telia.com Gal [EMAIL PROTECTED] skrev i meddelandet news:[EMAIL

Re: [PHP] Any idea when 4.3.11 will be released?

2005-01-16 Thread Rasmus Lerdorf
On Sun, 16 Jan 2005, Gal wrote: I'm Working in organization which also using php on the Windows platform. Because of the security holes in the older version and a COM bug at PHP 4.3.10 (http://bugs.php.net/bug.php?id=31159) we are using a problematic version. I'd just roll back to 4.3.9 and

[PHP] Any idea how this is done?

2004-09-23 Thread Mag
Hi, I was just looking at the demo of Comus Thumbs at http://nibbi.net/scripts/comus_thumbs.php and I see he has an option there to lighted/darken/sharpen/resize/thumb images dynamically on the page (the image gets lightened etc without reloading the page) any idea how? its listed that he

Re: [PHP] Any idea how this is done?

2004-09-23 Thread John Holmes
From: Mag [EMAIL PROTECTED] [snip] is this easy to do? Nope. ---John Holmes... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Any idea how this is done?

2004-09-23 Thread Marek Kilimajer
Mag wrote: Hi, I was just looking at the demo of Comus Thumbs at http://nibbi.net/scripts/comus_thumbs.php and I see he has an option there to lighted/darken/sharpen/resize/thumb images dynamically on the page (the image gets lightened etc without reloading the page) any idea how? its listed

Re: [PHP] Any idea how this is done?

2004-09-23 Thread Marek Kilimajer
Marek Kilimajer wrote: He also has an option to thumb an image, where you click on the image and a rectangle appears, then when you accept it, it cuts the image exactly according to the rectangleI am not too familier with imagemagik..is this easy to do? DHTML should be able to do this. I just

Re: [PHP] Any idea how this is done?

2004-09-23 Thread Mag
--- Marek Kilimajer [EMAIL PROTECTED] wrote: Mag wrote: Hi, I was just looking at the demo of Comus Thumbs at http://nibbi.net/scripts/comus_thumbs.php and I see he has an option there to lighted/darken/sharpen/resize/thumb images dynamically on the page (the image gets

Re: [PHP] Any idea how this is done?

2004-09-23 Thread Curt Zirzow
* Thus wrote Mag: --- Marek Kilimajer [EMAIL PROTECTED] wrote: Mag wrote: Hi, I was just looking at the demo of Comus Thumbs at http://nibbi.net/scripts/comus_thumbs.php and I see he has an option there to lighted/darken/sharpen/resize/thumb images dynamically

[PHP] Any idea how to automatically post to http authentication?

2004-09-21 Thread j kensler
I'm trying to create a php page that automatically posts data to several other webpages (to log in). However one of the pages is using some sort of CGI HTTP authentication. Is there any way that I can see what the names of the fields are (such as user or username or whatever). And also is there

Re: [PHP] Any idea how to automatically post to http authentication?

2004-09-21 Thread Greg Donald
On Tue, 21 Sep 2004 14:24:08 -0500, j kensler [EMAIL PROTECTED] wrote: I'm trying to create a php page that automatically posts data to several other webpages (to log in). However one of the pages is using some sort of CGI HTTP authentication. Is there any way that I can see what the names of

[PHP] Any idea how to do this?

2003-10-06 Thread Ryan A
Hi, Sometime back I used to visit this URL: http://www.groundbreak.com/graphics.html to make the graphics for some products as it was easy to use and give pretty decent results, but now i see that the owner has converted it into a paysite and is asking for a whopping 200$ per membership :-( So I

Re: [PHP] Any idea how to do this?

2003-10-06 Thread CPT John W. Holmes
From: Ryan A [EMAIL PROTECTED] Sometime back I used to visit this URL: http://www.groundbreak.com/graphics.html to make the graphics for some products as it was easy to use and give pretty decent results, but now i see that the owner has converted it into a paysite and is asking for a

Re: [PHP] Any idea how to do this?

2003-10-06 Thread Chris Shiflett
--- CPT John W. Holmes [EMAIL PROTECTED] wrote: I've also come across a site called www.google.com. Can anyone tell me how to make that for my site, also? If you can just send me the script, that'd be great. Here you go: base href=http://www.google.com/; ? readfile('http://www.google.com/');

Re: [PHP] Any idea how to do this?

2003-10-06 Thread Ryan A
HEHEHEHE good one Chris, John seems unusally snappy today... But seriously, this cant be ALL that hard, not even a suggestion of where to start? I have searched on google but have never really tried any of php's image stuff so need help from someone who has...or atleast a starting point. Cheers,

RE: [PHP] Any idea how to do this?

2003-10-06 Thread Chris W. Parker
Ryan A mailto:[EMAIL PROTECTED] on Monday, October 06, 2003 1:34 PM said: HEHEHEHE good one Chris, John seems unusally snappy today... But seriously, this cant be ALL that hard, not even a suggestion of where to start? I have searched on google but have never really tried any of php's

[PHP] Annoucement Idea

2003-07-08 Thread Joe Harman
I am wondering if the creators of this list could impose a rule... all things must be PHP related... if you have an announcement and it is related to PHP... it must be proceed in the subject line of the email with the word ADV or Annoucement - that way if you don't want to read it, you can delete

[PHP] No Idea - Comparing Lines

2003-01-06 Thread Christopher J. Crane
Ok, this is the first time I will post a message without a line of code. I am not sure how to go about this task. So I will describe it and maybe someone will have some thoughts. I use PHP to connect to our many routers and get data using snmp. I have written a script that refreshes itself every

Re: [PHP] No Idea - Comparing Lines

2003-01-06 Thread Petre Agenbag
When you read the first line, split the data into it's components , then assign each value to a variable. Call them: $octet_1,$unix_time_1 etc. Now, start the loop. Inside the loop, read the next line, assign to $octet_2, $unix_time_2 etc. Do your calculations ( $answer = $octet_2 - $octet_1 etc.

Re: [PHP] No Idea - Comparing Lines

2003-01-06 Thread Christopher J. Crane
Thank you, I am going to try this now. Petre Agenbag [EMAIL PROTECTED] wrote in message 1041861992.1993.36.camel@DELL">news:1041861992.1993.36.camel@DELL... When you read the first line, split the data into it's components , then assign each value to a variable. Call them:

Re: [PHP] No Idea - Comparing Lines

2003-01-06 Thread Christopher J. Crane
Ok here is what I did but it does not do anything. I verified that is opening the file ok and everything, but it shows nothing. It doesn't even produce an error. I am sure there is an easier way than looping twice, but this is how I have it for now. $Lines = array(); $TempDir = tempdata;

Re: [PHP] No Idea - Comparing Lines

2003-01-06 Thread Jason Wong
On Tuesday 07 January 2003 01:12, Christopher J. Crane wrote: Ok here is what I did but it does not do anything. I verified that is opening the file ok and everything, but it shows nothing. It doesn't even produce an error. I am sure there is an easier way than looping twice, but this is how I

RE: [PHP] No Idea - Comparing Lines

2003-01-06 Thread Ford, Mike [LSS]
-Original Message- From: Christopher J. Crane [mailto:[EMAIL PROTECTED]] Sent: 06 January 2003 17:12 Ok here is what I did but it does not do anything. I verified that is opening the file ok and everything, but it shows nothing. It doesn't even produce an error. I am sure there

Re: [PHP] No Idea - Comparing Lines

2003-01-06 Thread Marco Tabini
Hi Chris-- Try this: ?php $lines = file ('test.txt'); $i = 0; while ($i count ($lines)) { preg_replace ('/([^|]*):([^|]*)|/e', '$data[$1] = $2', $lines[$i]); if ($i 0) { $kbitsout = float) $data['OctetsOut'] - $olddata['OctetsOut']) /

[PHP] Crazy idea about detecting visitor's connection speed

2002-07-16 Thread Cedric Veilleux
Hey, Anybody has ideas on how to detect the connection speed of visitors in order to automatically take them to the Hi-speed or low-speed version of a site? We want to make a hi and low speed side, but I would prefer not to confuse visitors with a page where they have to

Re: [PHP] Crazy idea about detecting visitor's connection speed

2002-07-16 Thread Jason Wong
On Tuesday 16 July 2002 17:12, Cedric Veilleux wrote: What I was thinking about is doing a reverse dns lookup on the client's IP and try to determine quickly if he's on a low or hi speed connection. You have to bear in mind that reverse DNS lookups are not instantaneous. It can take

Re: [PHP] Crazy idea about detecting visitor's connection speed

2002-07-16 Thread Chris Hewitt
Jason Wong wrote: On Tuesday 16 July 2002 17:12, Cedric Veilleux wrote: What I was thinking about is doing a reverse dns lookup on the client's IP and try to determine quickly if he's on a low or hi speed connection. You have to bear in mind that reverse DNS lookups are not

RE: [PHP] Crazy idea about detecting visitor's connection speed

2002-07-16 Thread joakim . andersson
I feel the idea is not accurate. My ip address (a static one from my isp) would remain the same if I went to ADSL from my current dial-up access. HTH Chris Yes. And how about all corporate networks? If I'm accessing your site from our office I would get the low-speed version until you

Re: [PHP] Crazy idea about detecting visitor's connection speed

2002-07-16 Thread Alberto Serra
ðÒÉ×ÅÔ! [EMAIL PROTECTED] wrote: I feel the idea is not accurate. My ip address (a static one from my isp) would remain the same if I went to ADSL from my current dial-up access. HTH Chris Yes. And how about all corporate networks? If I'm accessing your site from our office I would get

RE: [PHP] Crazy idea about detecting visitor's connection speed

2002-07-16 Thread César Aracena
/visitor's connection. C. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 7:57 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Crazy idea about detecting visitor's connection speed I feel the idea is not accurate. My ip address (a static

Re: [PHP] Crazy idea about detecting visitor's connection speed

2002-07-16 Thread Jason Wong
On Tuesday 16 July 2002 22:43, César Aracena wrote: I think that the best way you can achieve this, considering all the troubles and different configurations you will have to make for each user, is to make them choose the type of connection they want, and set a cookie in the visitor's browser

[PHP] An idea...

2002-01-14 Thread Gerard Samuel
Just want to bounce this idea off you guys/gals. Im looking to improve the security of my scripts. Now lets say, I initialise the script with a constant in the main config file that all the pages access. Then when Im accepting data from a form or maybe even a link I could do if

Re: [PHP] An idea...

2002-01-14 Thread Gerard Samuel
: how is that going to increase security? -Original Message- From: Gerard Samuel [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 11:21 AM To: php Subject: [PHP] An idea... Just want to bounce this idea off you guys/gals. Im looking to improve the security of my scripts

Re: [PHP] An idea...

2002-01-14 Thread Gerard Samuel
:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 11:31 AM To: Martin Towell Cc: PHP Subject: Re: [PHP] An idea... Quote from the php manual. Once a constant is defined, it can never be changed or undefined. I figure, since the constant is initialised in the script, it cannot

[PHP] An idea for a PHP tool

2002-01-03 Thread Mike Eheler
), nor the time. So I donate this idea to the PHP community in hopes that someone out there has the knowledge and the ambition to make it happen. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: [PHP] An idea for a PHP tool

2002-01-03 Thread Jason Murray
Like google has it's toolbar, why not have a PHP Manual toolbar? That would be *great*. Just type in the function name and hit go and the manual comes up. You could probably work a bit of javascript magic in a bookmark to do the same thing. I've seen bookmarks that pop up a javascript

RE: [PHP] An idea for a PHP tool

2002-01-03 Thread Christopher William Wesley
On Fri, 4 Jan 2002, Jason Murray wrote: I've seen bookmarks that pop up a javascript input window and then use the input in the resulting URL. So, take the manual query via javascript input and then append it to the www.php.net url. There are tips on the php site for making the

RE: [PHP] An idea for a PHP tool

2002-01-03 Thread James Cox
, January 04, 2002 12:03 AM To: 'Mike Eheler'; [EMAIL PROTECTED] Subject: RE: [PHP] An idea for a PHP tool Like google has it's toolbar, why not have a PHP Manual toolbar? That would be *great*. Just type in the function name and hit go and the manual comes up. You could probably

Re: [PHP] An idea for a PHP tool

2002-01-03 Thread Mike Eheler
Through suggestions of people here is the code I produced for a bookmark: javascript:void(srch=prompt('Function Name?',''));if(srch) {self.location.href='http://download.php.net/search.php?pattern=' +srch+ 'show=quickref';}; Of course that should all go on one line. That is a good hack for

Re: [PHP] An idea

2001-06-20 Thread Mark Maggelet
it looks like you're getting your ereg and preg mixed up but try it like this: switch(1){ case ereg(\\.jpg$,$filename): echo JPEG Image;break; case ereg(\\.gif$,$filename): echo GIF Image;break; case ereg(\\.zip$,$filename): echo Compressed File; break; default:

[PHP] An idea

2001-06-19 Thread TunkeyMicket
Humor me, how useful would a Regex switch statement be? Like: ereg_switch($filename) { case "/\.jpg$/": echo "JPEG Image"; break; case "/\.gif$/"; echo "GIF Image"; break; case "/\.zip$/": echo "Compressed File"; break; default: echo "Unkown File Type"; break; } That is just