Re: [PHP] further detail on mysql connect problem

2005-05-24 Thread Richard Lynch
Google for that error message. We just discussed it days ago... I forget what it was, but the answer's in the archives. On Tue, May 24, 2005 5:15 pm, Jim & Sara Feldman said: > Hi: > > Adding a detail to my previous note on the mysql connect problem: > > At the point where I attempted to conne

[PHP] cybercash as a shared object

2005-05-24 Thread Bill Shupp
I need to install the cybercash module on a Debian Sarge system. I really want to keep Debian's PHP packages, and just build this as a shared module. At least one post in the archives indicates that this is possible, as does one changelog entry. However, no specifics were offered. Here's wh

Re: [PHP] strtotime('yesterday')

2005-05-24 Thread Richard Lynch
On Tue, May 24, 2005 7:24 am, Rahul S. Johari said: > I¹m trying to delete all files in a folder based on a string match with > the > following code: > > $dir = '/Library/WebServer/Documents/something.com/subfolder/'; > $dp = opendir($dir) or die ('Fatal Error: '.mysql_error()); > while ($file = r

Re: [PHP] Re: Re: Re: Re: __get() not reentrant?

2005-05-24 Thread Richard Lynch
On Tue, May 24, 2005 8:25 am, Christopher J. Bottaro said: >> I think Richard is a fairly intelligent person, if he had been insulting >> you I'm quite sure that he would have done a much better job ;-) Oh yeah. :-) > Thats great, I'm sure he's the reigning "cut down contest" champ on this > list

Re: [PHP] db aware text editor? (slightly OT?)

2005-05-24 Thread Richard Lynch
On Tue, May 24, 2005 2:08 pm, Murray @ PlanetThoughtful said: > I'm wondering if anyone knows of a 'db aware' text editor? By 'db aware', > I > mean one that can pull a recordset back from a local MySQL server and edit > the content of fields much like a standard text editor does with files. You'v

[PHP] further detail on mysql connect problem

2005-05-24 Thread Jim & Sara Feldman
Hi: Adding a detail to my previous note on the mysql connect problem: At the point where I attempted to connect, I added a printout of the error generated when the instruction ran. The two lines now read: $result = mysql_pconnect("localhost", "api_user", "x97533"); echo "Tried to connect. Pr

Re: [PHP] Very long delay posting to php-general (might be OT)

2005-05-24 Thread Richard Lynch
On Tue, May 24, 2005 3:32 pm, Marek Kilimajer said: > Andy Pieters wrote: >> Hi all >> >> I was wondering if it is normal that when posting to the php-general >> list >> there is always a very long delay before messages are shown. >> >> It's not like with snail mail. Sending mail messages is insta

Re: [PHP] mysql connect problem

2005-05-24 Thread Richard Lynch
On Tue, May 24, 2005 2:14 pm, Jim & Sara Feldman said: > $result = mysql_pconnect("localhost", "api_user", "97533"); if (!$result) die(mysql_error()); Try it without the 'p' in pconnect, which you probably aren't using in the other connections in your testing. -- Like Music? http://l-i-e.

Re: [PHP] Very long delay posting to php-general (might be OT)

2005-05-24 Thread Marek Kilimajer
Andy Pieters wrote: Hi all I was wondering if it is normal that when posting to the php-general list there is always a very long delay before messages are shown. It's not like with snail mail. Sending mail messages is instant so where is the delay? I think John Nichel took over the job of

[PHP] mysql connect problem

2005-05-24 Thread Jim & Sara Feldman
Hi: I have recently upgraded from a Mac G4 running OS 10.3.9 to a G5 running OS 10.4. I ported a working PHP app and upgraded from PHP 4.3.4 to 4.3.10 and MySQL 4.0.17 to 4.1.11. I am having a problem connecting to MySQL from PHP. I can connect to the database using either phpMyADMIN or

[PHP] db aware text editor? (slightly OT?)

2005-05-24 Thread Murray @ PlanetThoughtful
Hi All, I'm wondering if anyone knows of a 'db aware' text editor? By 'db aware', I mean one that can pull a recordset back from a local MySQL server and edit the content of fields much like a standard text editor does with files. I could probably build myself a simple one in Java, but before I u

[PHP] Very long delay posting to php-general (might be OT)

2005-05-24 Thread Andy Pieters
Hi all I was wondering if it is normal that when posting to the php-general list there is always a very long delay before messages are shown. It's not like with snail mail. Sending mail messages is instant so where is the delay? With kind regards Andy -- Registered Linux User Number 379

RE: [PHP] Regex nightmares

2005-05-24 Thread Murray @ PlanetThoughtful
> [Course, when you *DO* need RegEx it's *more* than a bit of a headache. > More like a migraine :-)] One of these days I will truly master regular expressions. After that, enlightenment should be easy. Regards, Murray -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

Re: [PHP] Re: Re: Re: Re: __get() not reentrant?

2005-05-24 Thread Richard Davey
Hello Christopher, Tuesday, May 24, 2005, 4:25:08 PM, you wrote: CJB> Again, I don't see whats wrong with trying to get fixed what I CJB> think is wrong. PHP is full of things I'm sure lots of us would like to see work differently (personally I'd love to see Java style overloading and to do away

[PHP] Recursive function and formatting string for javascript tree

2005-05-24 Thread Charles Kline
Hi all. I can't seem to figure this one out. I am trying to output a string for a javascript that builds a DHTML tree. The sample string looks like this: [ ['Executive Director', null, null, ['Executive Assistant ', null, null], ['Operations Director', null, null,

[PHP] Re: Re: Re: Re: __get() not reentrant?

2005-05-24 Thread Christopher J. Bottaro
Jochem Maas wrote: >>>On Sun, May 22, 2005 3:24 pm, Christopher J. Bottaro said: >>> And what would make it any different from a normal recursive function? >>> >>>The fact that *ANY* attempt to access a mis-typed property would kick in >>>a __get() call, and that's too frickin' easy to happen

Re: [PHP] Why this doesn't work ?

2005-05-24 Thread Jochem Maas
Mário Gamito wrote: Hi, hi, the subject line of your post is not so good - make the subject relevant to your question, asking 'why doesn't this work' is like asking 'why are we here'. its liable to get you either: a, no answers. b, answers like this one. c, really useful answer like '42' o

[PHP] strtotime('yesterday')

2005-05-24 Thread Rahul S. Johari
Ave, I¹m trying to delete all files in a folder based on a string match with the following code: Erase Successful!All images up to $date, have been permanently erased from the Server."; ?> I need the code to delete all images created till yesterday, and leave images created today. Somehow strtot

Re: [PHP] Why this doesn't work ?

2005-05-24 Thread Rahul S. Johari
Ave, I tried: window.location=\"delete.php?email=$email\" "; } ?> In a simple page. It worked absolutely fine... The value of $email was passed along to delete.php I don't think there's something wrong with your code below.. There might be some other reason affecting the transfer of the $

Re: [PHP] Why this doesn't work ?

2005-05-24 Thread John Nichel
Mário Gamito wrote: Hi, Hi have this bit of code: - echo" window.location=\"valid_cv_insert.php?email=$email\" "; - but when passing to file valid_cv_insert.php, $email value doesn't go

[PHP] Why this doesn't work ?

2005-05-24 Thread Mário Gamito
Hi, Hi have this bit of code: - echo" window.location=\"valid_cv_insert.php?email=$email\" "; - but when passing to file valid_cv_insert.php, $email value doesn't go along. The page that

Re: [PHP] Learning PHP ... online courses?

2005-05-24 Thread Brent Baisley
A few months back I signed up for the O'Reilly Safari Bookshelf. For about $20 a month you can check out up to 10 books to read online (put them on your bookshelf). Too many times I've bought a book and found only one or two chapters helpful. Or bought a book for a specific chapter. Now I can j

Re: [PHP] Re: Re: Re: __get() not reentrant?

2005-05-24 Thread Jochem Maas
Christopher J. Bottaro wrote: Richard Lynch wrote: On Sun, May 22, 2005 3:24 pm, Christopher J. Bottaro said: And what would make it any different from a normal recursive function? The fact that *ANY* attempt to access a mis-typed property would kick in a __get() call, and that's too frick

Re: [Fwd: Re: Re: [PHP] Re: Re: Re: __get() not reentrant?]

2005-05-24 Thread Marek Kilimajer
Christophe Chisogne wrote: Jochem Maas a écrit : if someone with access to the webserver hosting jnsolutions.co.uk could do a quick rm -rf /home/jnsoluti/.autorespond that would be great :-) To that someone, here's the admin URL (cPanel 9) if you forgot it :) http://jnsolutions.co.uk:2082/

Re: [Fwd: Re: Re: [PHP] Re: Re: Re: __get() not reentrant?]

2005-05-24 Thread Christophe Chisogne
Jochem Maas a écrit : > if someone with access to the webserver hosting jnsolutions.co.uk could > do a quick rm -rf /home/jnsoluti/.autorespond that would be great :-) To that someone, here's the admin URL (cPanel 9) if you forgot it :) http://jnsolutions.co.uk:2082/ Ch. -- PHP General Mailing

[Fwd: Re: Re: [PHP] Re: Re: Re: __get() not reentrant?]

2005-05-24 Thread Jochem Maas
if someone with access to the webserver hosting jnsolutions.co.uk could do a quick rm -rf /home/jnsoluti/.autorespond that would be great :-) Original Message Return-Path: <[EMAIL PROTECTED]> X-AntiAbuse: This header was added to track abuse, please include it with any abuse re

Re: [PHP] Free penetration test

2005-05-24 Thread Burhan Khalid
Chris Shiflett wrote: Andy Pieters wrote: I am looking at where I can get my system tested for penetration. [ snip ] You might want to check out the links Christophe mentioned, as these provide free advice, which seems to be more along the lines of what you want. I recently stumbled ont

Re: [PHP] Can I prevent Server variables from being spoofed ?

2005-05-24 Thread Jochem Maas
Richard Lynch wrote: On Mon, May 23, 2005 5:40 am, Jochem Maas said: your site would make you look less like monopolistic idiots (why is it that the organisations with the most freaking money are the least capable of providing a _proper_ site...?) Because their expert friend company (the one

Re: [PHP] Re: Re: Re: __get() not reentrant?

2005-05-24 Thread Jochem Maas
Christopher J. Bottaro wrote: Richard Lynch wrote: On Sun, May 22, 2005 3:24 pm, Christopher J. Bottaro said: And what would make it any different from a normal recursive function? The fact that *ANY* attempt to access a mis-typed property would kick in a __get() call, and that's too frick

Re: [PHP] Can I prevent Server variables from being spoofed ?

2005-05-24 Thread Richard Lynch
On Mon, May 23, 2005 5:40 am, Jochem Maas said: > your site would make you look less like monopolistic idiots (why is it > that the > organisations with the most freaking money are the least capable of > providing a > _proper_ site...?) Because their expert friend company (the one with the most mo

Re: [PHP] Re: Re: Re: __get() not reentrant?

2005-05-24 Thread Richard Lynch
On Mon, May 23, 2005 8:43 am, Christopher J. Bottaro said: You took my suggestions as flames, and responded in kind. They were not intended as such. I'm happy to assume that you're the best programmer on the planet, okay? Let's cut the flames out. > case. Its insulting to our intelligence as

Re: [PHP] Regex nightmares

2005-05-24 Thread Richard Lynch
On Mon, May 23, 2005 8:43 am, W Luke said: > I really struggle with regex, and would appreciate some guidance. > Basically, I have a whole load of files (HTML) which are updated every > few minutes. I need to go through each line, looking for the word > CONFIRMED: (which is always in capitals, and

Re: [PHP] Image Verification - Problems in Safari, Mac OS X

2005-05-24 Thread Richard Lynch
On Mon, May 23, 2005 8:46 am, Rahul S. Johari said: > If I had misunderstood your method and you think your method is better > then > what I'm using now, I'd still really appreciate if you can clarify and > explain. Your method is fine. In fact, it penalizes IE for some stupidity in its caching,