[PHP] detect a file if it exist and display an image

2004-09-17 Thread Louie Miranda
im not sure if i coded one of my application wrong, i am displaying an image by displaying the itemcode and just adding a ".jpg" extension at the end. like this.. $itemCode = $row['itemCode']; .. i assumed before that i can show it all, but i found out that i cannot. my problem now is the $ite

[PHP] Re: detect a file if it exist and display an image

2004-09-17 Thread Louie Miranda
this might work. On Fri, 17 Sep 2004 15:04:44 +0800, Louie Miranda <[EMAIL PROTECTED]> wrote: > im not sure if i coded one of my application wrong, i am displaying an > image by displaying the itemcode and just adding a ".jpg" extension at > the end. > > like this.. > > $itemCode = $row['ite

Re: [PHP] Secret Codes in Spam and PHP

2004-09-17 Thread Fernando Gutierrez
i'm mail admin and works with spam filters I tell you some tricks to fix your problem: 1- If you email is HTML based, it should be correct. 2- If you put a "unsuscribe" code with the email address of the recipient the spam filter "score" high your email. 3- If you send a mail header X-Mai

Re: [PHP] detect a file if it exist and display an image

2004-09-17 Thread John Holmes
From: "Louie Miranda" <[EMAIL PROTECTED]> im not sure if i coded one of my application wrong, i am displaying an image by displaying the itemcode and just adding a ".jpg" extension at the end. like this.. $itemCode = $row['itemCode']; .. i assumed before that i can show it all, but i found out tha

RE: [PHP] Novice PHP Variable/Link Question

2004-09-17 Thread Gryffyn, Trevor
Alternately, you can do it the lazy way like me: Is the same as... I also think that's a little easier to read. But that's my preference in style. -TG > -Original Message- > From: Greg Donald [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 16, 2004 6:02 PM > To: revDAVE >

RE: [PHP] Re: A native Windows binding for PHP - released

2004-09-17 Thread Gryffyn, Trevor
> On 09/16/2004 09:01 PM, Rubem Pechansky wrote: > > I have designed and successfully prototyped a native Windows binding > > for PHP. This binding is very lightweight and it is already > capable of > > doing dialogs, controls, and a lot more with a few dozen lines of > > code. PHP can thus be use

Re: [PHP] Re: A native Windows binding for PHP - released

2004-09-17 Thread Octavian Rasnita
I haven't downloaded it yet because I have seen that I need PHP 4 and that it won't work with PHP 5, but I will install PHP4 just for testing it. I am glad that it uses Win32 native classes because those classes are accessible for the most screen readers used by the blind, so the interfaces will be

Re: [PHP] Host for Mod PHP5

2004-09-17 Thread Burhan Khalid
[EMAIL PROTECTED] wrote: I know this is going to be tough but I need a hosting company that supports PHP5, has unlimited disk space and a good amount of bandwidth with a decently fast connection for a decent price. I realize that this might be rare, but is anyone offering such a package like this a

RE: [PHP] Host for Mod PHP5

2004-09-17 Thread Gryffyn, Trevor
I use DixieSys.com. They seem to have fairly reasonable rates and good speed. They have a very personable support staff that you can reach via their IRC server, ICQ or through conventional email, trouble tickets, etc. They'd big and well equipped but still have a "down home" manner that I really

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The firewall is relevant depending on your circumstances. In any case it > would > take you all of one minute to disable your firewall to test out this "wild > far out suggestion". At the most you would have lost one min

[PHP] Highest Key in an Array

2004-09-17 Thread Daniel Schierbeck
I've been looking at php.net, but i couldn't find what i'm searching for. I have a numeric array, and i'd like to get the highest key. E.g. $arr = array(3 => "foo", 7 => "bar", 43 => "foobar"); What i want is a function that, in this case, returns 43. Daniel Schierbeck -- PHP General Mailin

Re: [PHP] Re: A native Windows binding for PHP - released

2004-09-17 Thread Marek Kilimajer
Gryffyn, Trevor wrote: On 09/16/2004 09:01 PM, Rubem Pechansky wrote: I have designed and successfully prototyped a native Windows binding for PHP. This binding is very lightweight and it is already capable of doing dialogs, controls, and a lot more with a few dozen lines of code. PHP can thus be

Re: [PHP] Highest Key in an Array

2004-09-17 Thread Martin Holm
Daniel Schierbeck wrote: I've been looking at php.net, but i couldn't find what i'm searching for. I have a numeric array, and i'd like to get the highest key. E.g. $arr = array(3 => "foo", 7 => "bar", 43 => "foobar"); What i want is a function that, in this case, returns 43. Daniel Schierbeck

Re: [PHP] Highest Key in an Array

2004-09-17 Thread John Nichel
Daniel Schierbeck wrote: I've been looking at php.net, but i couldn't find what i'm searching for. I have a numeric array, and i'd like to get the highest key. E.g. $arr = array(3 => "foo", 7 => "bar", 43 => "foobar"); What i want is a function that, in this case, returns 43. Daniel Schierbeck

[PHP] Instal or config this package UnxUtils.zip under windows

2004-09-17 Thread Andre
Hello Anyone knows how to install or config this package UnxUtils.zip under windows. Get common GNU utilities to native Win32 here: http://unxutils.sourceforge.net/UnxUtils.zip You need TAR and GZIP executable to compress in tar.gz format with Windows Systems. I need some help please

Re: [PHP] Highest Key in an Array

2004-09-17 Thread John Nichel
Martin Holm wrote: Daniel Schierbeck wrote: I've been looking at php.net, but i couldn't find what i'm searching for. I have a numeric array, and i'd like to get the highest key. E.g. $arr = array(3 => "foo", 7 => "bar", 43 => "foobar"); What i want is a function that, in this case, returns 43.

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Markus Mayer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > It is our experience at my employer that the firewall in XP-SP2, as well > as > other firewalls that are available, are very relevant. Thank you. I have not seen anything that states that explicitly. I doubt that SP2

RE: [PHP] Re: A native Windows binding for PHP - released

2004-09-17 Thread Gryffyn, Trevor
Thanks! The themes for GTK are definitely worth noting. The problem for me is that that seems to accommodate the "look", but what about the "feel" of the interface. It still looks like the functionality and general "feel" isn't going to be what I'm looking for. A true native Windows API is real

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
It is innacuracies such as this that make it difficult for me to pursue the useful suggestions. "Chris Dowell" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > All this is irrelevant; while you're still trying to use MySQL 5 with > mysql_connect() instead of mysqli_connect(), it W

RE: [PHP] Highest Key in an Array

2004-09-17 Thread Gryffyn, Trevor
Or... $highestkey = max(array_keys($arr)); > -Original Message- > From: Martin Holm [mailto:[EMAIL PROTECTED] > Sent: Friday, September 17, 2004 11:11 AM > To: Daniel Schierbeck > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] Highest Key in an Array > > > Daniel Schierbeck wrote: > > > I

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > IIRC the OP did have a successful test case when connecting from the mysql > client. Yes, I did get it to work. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"John Nichel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The MySQL functions work fine in php5. It just doesn't support all the > features available in MySQL => 4.1.0. Unlike php4, support for MySQL > isn't bundled in php5, but when enabled, it works. Thank you. I will t

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > IIRC the OP did have a successful test case when connecting from the mysql > client. For whomever is interested, see my mess(ages) in the php internals. -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] Highest Key in an Array

2004-09-17 Thread Daniel Schierbeck
Trevor Gryffyn wrote: Or... $highestkey = max(array_keys($arr)); -Original Message- From: Martin Holm [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 11:11 AM To: Daniel Schierbeck Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Highest Key in an Array Daniel Schierbeck wrote: I've

Re: [PHP] Instal or config this package UnxUtils.zip under windows

2004-09-17 Thread raditha dissanayake
Andre wrote: Hello Anyone knows how to install or config this package UnxUtils.zip under windows. someone in the microsoft support mailing list might know. -- Raditha Dissanayake. http://www.radinks.com/sftp/ | ht

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > RTFM. > > mysql: > This MySQL extension doesn't support full functionality of MySQL > versions greater than 4.1.0. For that, use MySQLi. > > mysqli: > The mysqli extension is designed to work with the version 4.1.3 or

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Sam Hobbs
"Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I'm not familiar with MySQL under Windows, but I believe that there are > different installers available from various sources. So saying "Typical" > installation option doesn't really mean much. There is only one Windows

Re: [PHP] Highest Key in an Array

2004-09-17 Thread Daniel Schierbeck
I'm using it for the Wiki (thanks for that as well guys): http://aoide.1go.dk/lab/compare.php5 Source: http://aoide.1go.dk/lab/compare.source.php5 (it's just a test) Daniel Schierbeck -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Fw: [PHP] mysql_connect does not connect

2004-09-17 Thread John Holmes
"Sam Hobbs" <[EMAIL PROTECTED]> wrote in message One problem is that I get answers that are not accurate, so it is difficult to know which ones are accurate. You are correct about that. Personally, I not satisfied with the level of support I get from the people paid to monitor this list and help me

Re: [PHP] Secret Codes in Spam and PHP

2004-09-17 Thread Matthew Sims
> On Thu, 2004-09-16 at 18:33, Matthew Sims wrote: >> I'm immune from assassins. >> >> Gunslingers, hatchet men and thugs, on the other hand, still present a >> problem. > > When I first read this I read "thongs" instead of "thugs". It still made > sense though :) > > Cheers, > Rob. I don't think

Re: [PHP] Instal or config this package UnxUtils.zip under windows

2004-09-17 Thread John Nichel
raditha dissanayake wrote: someone in the microsoft support mailing list might know. ^ Now there's an oxymoron. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP] Re: checking multiple URL parameters

2004-09-17 Thread Christian David
Dustin Krysak wrote: > now what I need to do is modify the code so that the script checks 2 > URL parameters, and has 2 variables defined (from the URL parameter)... > > So I need to also check if $_REQUEST['year'] is set as well as the > original (both need to be set to get the first HTML conten

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
The last paragraph refers to me :) and im quite proud of it now, ive printed some of your emails out, and i keep them around, they really do make me smile, not becuase im so much an a$$hole, but becuase, youve already said, that altering your firewall allowed you to connect. Which not so coinciden

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Jason Davidson
Yes yes, your always relevent, we are not... funny that you have the problem and we do not though. Jason "Sam Hobbs" <[EMAIL PROTECTED]> wrote: > > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > I'm not familiar with MySQL under Windows, but I believe that

Re: Fw: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
Cheers on that, this thread has become amusement, that is payment enough Jason "John Holmes" <[EMAIL PROTECTED]> wrote: > > "Sam Hobbs" <[EMAIL PROTECTED]> wrote in message > > One problem is that I get answers that are not accurate, so it is > > difficult to know which ones are accurate. > >

Re: Fw: [PHP] mysql_connect does not connect

2004-09-17 Thread John Nichel
John Holmes wrote: "Sam Hobbs" <[EMAIL PROTECTED]> wrote in message One problem is that I get answers that are not accurate, so it is difficult to know which ones are accurate. You are correct about that. Personally, I not satisfied with the level of support I get from the people paid to monitor t

Re: Fw: [PHP] mysql_connect does not connect

2004-09-17 Thread raditha dissanayake
John Holmes wrote: "Sam Hobbs" <[EMAIL PROTECTED]> wrote in message One problem is that I get answers that are not accurate, so it is difficult to know which ones are accurate. You are correct about that. Personally, I not satisfied with the level of support I get from the people paid to monitor t

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Steve Brown
OK, I'm going to jump in and try and take a stab at this. Sam, if you wouldn't mind answering a question: are you still unable to connect to your mysql server? I'll also add that your understanding of firwalls is lacking. Regardless of where your server is (local or remote), there is still a

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Matthew Sims
> "Markus Mayer" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> >> It is our experience at my employer that the firewall in XP-SP2, as well >> as >> other firewalls that are available, are very relevant. > > Thank you. I have not seen anything that states that explicitly. I doubt

[PHP] confused about magic quotes

2004-09-17 Thread Christopher-Robin
Hi! I got a problem: The server im running my scripts on has . I know, that i just have to stripslashes() the GPC data. But what if is also set ON? The doc says, that in this case only <'> is replaced by <''>, and nothing happens to <">, <\> and NUL, because overwrites behavior. Unfortunately,

Re: Fw: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
Im not a john, but to add to confusion we could all sign with 'J' Jason John Nichel <[EMAIL PROTECTED]> wrote: > > John Holmes wrote: > > "Sam Hobbs" <[EMAIL PROTECTED]> wrote in message > > > >> One problem is that I get answers that are not accurate, so it is > >> difficult to know which one

Re: Fw: [PHP] mysql_connect does not connect

2004-09-17 Thread Matthew Sims
> John Holmes wrote: > >> "Sam Hobbs" <[EMAIL PROTECTED]> wrote in message >> >>> One problem is that I get answers that are not accurate, so it is >>> difficult to know which ones are accurate. >> >> > You are correct about that. Personally, I not satisfied with the level of > >> support I get fro

[PHP] Server upload test

2004-09-17 Thread Richard Whitney
Anyone interested in seeing how fast your server can serve up a 6.5MB file? Run this: '; $i = 1; while($i < 101){ echo $i.' '; $i++; } $end = time(); $total = $end - $start; echo ''; echo $total; ?> Just a little fun! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Server upload test

2004-09-17 Thread Richard Whitney
On Fri, 17 Sep 2004 10:17:41 -0700, Richard Whitney <[EMAIL PROTECTED]> wrote: > Anyone interested in seeing how fast your server can serve up a 6.5MB file? > > Run this: > > $start = time(); > echo $start; > echo ''; > $i = 1; > while($i < 101){ > echo $i.' '; > $i++; > } > $end = time(); >

RE: Fw: [PHP] mysql_connect does not connect

2004-09-17 Thread Jay Blanchard
[snip] Im not a john, but to add to confusion we could all sign with 'J' [/snip] I'm down with that Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] A native Windows binding for PHP - released

2004-09-17 Thread Rubem Pechansky
Hi all, I have designed and successfully prototyped a native Windows binding for PHP. This binding is very lightweight and it is already capable of doing dialogs, controls, and a lot more with a few dozen lines of code. PHP can thus be used as a tool for quick development of native Windows applica

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread John Nichel
Steve Brown wrote: OK, I'm going to jump in and try and take a stab at this. Sam, if you wouldn't mind answering a question: are you still unable to connect to your mysql server? I'll also add that your understanding of firwalls is lacking. Regardless of where your server is (local or remote),

Re: Fw: [PHP] mysql_connect does not connect

2004-09-17 Thread John Nichel
Jay Blanchard wrote: [snip] Im not a john, but to add to confusion we could all sign with 'J' [/snip] I'm down with that Jay Don't you worry, YOU'RE already on 'THE LIST'. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To

[PHP] RE: **[SPAM]** [PHP] Server upload test

2004-09-17 Thread Jay Blanchard
[snip] Anyone interested in seeing how fast your server can serve up a 6.5MB file? Run this: '; $i = 1; while($i < 101){ echo $i.' '; $i++; } $end = time(); $total = $end - $start; echo ''; echo $total; ?> Just a little fun! [/snip] How/where/why does this relate to a 6.5MB file? -- PHP Ge

Re: [PHP] Server upload test

2004-09-17 Thread John Holmes
From: "Richard Whitney" <[EMAIL PROTECTED]> Anyone interested in seeing how fast your server can serve up a 6.5MB file? Run this: '; $i = 1; while($i < 101){ echo $i.' '; $i++; } $end = time(); $total = $end - $start; echo ''; echo $total; ?> Just a little fun! You forgot the set_time_limit(0

Re: [PHP] Instal or config this package UnxUtils.zip under windows

2004-09-17 Thread Mark
--- Andre <[EMAIL PROTECTED]> wrote: > Hello > > Anyone knows how to install or config this package UnxUtils.zip > under > windows. > > Get common GNU utilities to native Win32 here: > http://unxutils.sourceforge.net/UnxUtils.zip > > You need TAR and GZIP executable to compress in tar.gz form

[PHP] Microsoft Support - RE: [PHP] Instal or config this package UnxUtils.zip under windows

2004-09-17 Thread Gryffyn, Trevor
First let me say that I'm a Microsoft product fan. Yeah, I do like their products. I like many *nix products and Mac products as well. Basically I'll use whatever's in front of me, but I prefer Microsoft products in a lot of cases, with all of it's flaws and whatnot. (as an avid Firefox user,

Re: [PHP] RE: **[SPAM]** [PHP] Server upload test

2004-09-17 Thread John Nichel
Jay Blanchard wrote: [snip] Anyone interested in seeing how fast your server can serve up a 6.5MB file? Run this: '; $i = 1; while($i < 101){ echo $i.' '; $i++; } $end = time(); $total = $end - $start; echo ''; echo $total; ?> Just a little fun! [/snip] How/where/why does this relate to a 6.5MB

Re: [PHP] Novice PHP Variable/Link Question

2004-09-17 Thread Jason Wong
On Friday 17 September 2004 21:49, Gryffyn, Trevor wrote: > Alternately, you can do it the lazy way like me: > > > > > > Is the same as... > > > > > I also think that's a little easier to read. But that's my preference > in style. The use of this syntax is governed by the setting of 'short_ope

RE: [PHP] RE: **[SPAM]** [PHP] Server upload test

2004-09-17 Thread Jay Blanchard
[snip] > How/where/why does this relate to a 6.5MB file? > I'm guesing that the output of the script equates to 6.5mb. But I'm not going to take the time to do the math. ;) [/snip] Output? What output? You mean if I saved the final product? I am having a blonde day I tell ya' -- PHP General M

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Jason Wong
On Friday 17 September 2004 23:36, Sam Hobbs wrote: > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > There is only one Windows installer available rom the MySQL web site and it > has an option that explicitly says "Typical". Therefore in this context > "Typical" is e

Re: [PHP] RE: **[SPAM]** [PHP] Server upload test

2004-09-17 Thread John Nichel
Jay Blanchard wrote: [snip] How/where/why does this relate to a 6.5MB file? I'm guesing that the output of the script equates to 6.5mb. But I'm not going to take the time to do the math. ;) [/snip] Output? What output? You mean if I saved the final product? I am having a blonde day I tell ya' He'

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
Hey, the reason it doesnt come in to play for you in linux, is becuase mysql by default will connect through a unix socket, and not over tcpip. The unix socket is a connection thru the filesystem and not the network. Also, in linux, there is a virtual device for lopback, and the firewall i dont b

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread John Nichel
Jason Davidson wrote: Hey, the reason it doesnt come in to play for you in linux, is becuase mysql by default will connect through a unix socket, and not over tcpip. The unix socket is a connection thru the filesystem and not the network. Also, in linux, there is a virtual device for lopback, and

[PHP] Re: A native Windows binding for PHP - released

2004-09-17 Thread Manuel Lemos
Hello, On 09/17/2004 02:40 PM, Rubem Pechansky wrote: Thanks for the your comments. I'll definitely submit it to PECL as soon as it is more stable, but I'm not sure it is a good idea to submit a pre-alpha... There are plenty of extensions in that state in PECL. The point of PECL is that you most l

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Wong
On Friday 17 September 2004 23:23, Sam Hobbs wrote: > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > IIRC the OP did have a successful test case when connecting from the > > mysql client. > > Yes, I did get it to work. It would help in diagnosing your problem if y

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
Windows likely has some sort of loopback device, but i dunno how it works Ive also come accross people complaining that SP2 has funked up local connections for various server/clients. However, ive seen firewalls cuase problems for mysql on both windows and linux, so ya.. who knows... Sam knows..

[PHP] can't get mysql or postgresql support for php

2004-09-17 Thread asolomon15
Hello everyone... I have a problem getting support for mysql within php. I am running freebsd 5.2.1 and php 4.3.8. When I tried to run a php script that uses a mysql db connection, I got this error *Fatal error*: Call to undefined function: mysql_connect() in I did a phpinfo() and noticed

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
Another test you might do , is use something like tcpdump to snif your network to see exactly how its attempting to connect, then you could ascertain on your own (as you dont beleive me) if mysql is connecting over the network or through the filesystem. Jason Jason Wong <[EMAIL PROTECTED]> wrote:

[PHP] To Rasmus

2004-09-17 Thread Richard Whitney
Dear Rasmus, Could you please unblock 140.99.35.6 from the mailing list. I made a mistake once. I subscribed using Gmail and I hate it. Please forgive me. Richard Whitney [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] RE: **[SPAM]** [PHP] Server upload test

2004-09-17 Thread Richard Whitney
Why did this mail get marked as SPAM? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Wong
On Friday 17 September 2004 23:21, Sam Hobbs wrote: > Again, it is okay to say this once but it is not useful to keep insisting. > I am smart enough to be aware of the possibility and if and when other > possibilities have been exahausted I would have tried the possibility of > disabling the firew

Re: [PHP] can't get mysql or postgresql support for php

2004-09-17 Thread Jason Wong
On Saturday 18 September 2004 02:47, asolomon15 wrote: > Hello everyone... I have a problem getting support for mysql within > php. I am running freebsd 5.2.1 and php 4.3.8. When I tried to run a > php script that uses a mysql db connection, I got this error > *Fatal error*: Call to undefin

RE: [PHP] can't get mysql or postgresql support for php

2004-09-17 Thread Jay Blanchard
[snip] Hello everyone... I have a problem getting support for mysql within php. I am running freebsd 5.2.1 and php 4.3.8. When I tried to run a php script that uses a mysql db connection, I got this error *Fatal error*: Call to undefined function: mysql_connect() in [/snip] Did you conf

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Wong
On Saturday 18 September 2004 02:30, Jason Davidson wrote: > Hey, the reason it doesnt come in to play for you in linux, is becuase > mysql by default will connect through a unix socket, and not over > tcpip. The unix socket is a connection thru the filesystem and not the > network. Also, in linu

[PHP] sorting multidimensional array by a second level value

2004-09-17 Thread Chris Lott
I have an array $links like this: [1] => Array ( [href] => http://www.poetrymagazine.org/epstein_sept_prose.html [description] => Thank You, No [time] => 2004-09-17T17:30:32Z ) [2] => Array ( [href] => http://110am.com/projec

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
hehehe.. im actually looking forward to reading responses on this thread.. funny stuff. Jason Jason Wong <[EMAIL PROTECTED]> wrote: > > On Friday 17 September 2004 23:21, Sam Hobbs wrote: > > > Again, it is okay to say this once but it is not useful to keep insisting. > > I am smart enough

Re: [PHP] Re: A native Windows binding for PHP - released

2004-09-17 Thread Mark
--- Manuel Lemos <[EMAIL PROTECTED]> wrote: > Hello, > > On 09/17/2004 02:40 PM, Rubem Pechansky wrote: > > Thanks for the your comments. I'll definitely submit it to PECL > as > > soon as it is more stable, but I'm not sure it is a good idea to > > submit a pre-alpha... > > There are plenty of

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Wong
On Friday 17 September 2004 22:56, Sam Hobbs wrote: > It definitely takes more than a minute. It takes nearly a minute just to > logoff one user and I often have another user, the Administrator account, > also logged in. If the Administrator account is not lgged in already, then > I must log in to

Re: [PHP] Re: Server upload test

2004-09-17 Thread Jason Wong
On Saturday 18 September 2004 01:20, Richard Whitney wrote: > On Fri, 17 Sep 2004 10:17:41 -0700, Richard Whitney <[EMAIL PROTECTED]> wrote: > > Anyone interested in seeing how fast your server can serve up a 6.5MB > > file? > > > > Run this: > > > > > $start = time(); > > echo $start; > > echo '

[PHP] Dissappearing instance variables; Bug or Feature?

2004-09-17 Thread Ryan Briones
This is a scaled down example of something I'm doing in some code. The results are very funky. I guess I could understand this happening if $two was out of scope when print_r($this) was called in One()...actually no I couldn't. test = array(); $two = new Two( $this ); print_r( $thi

Re: [PHP] sorting multidimensional array by a second level value

2004-09-17 Thread Jason Davidson
http://ca3.php.net/manual/en/function.array-multisort.php this might do it. Jason Chris Lott <[EMAIL PROTECTED]> wrote: > > I have an array $links like this: > > [1] => Array > ( > [href] => http://www.poetrymagazine.org/epstein_sept_prose.html > [description]

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread John Holmes
From: "Jason Davidson" <[EMAIL PROTECTED]> hehehe.. im actually looking forward to reading responses on this thread.. Whatever happened to those monthly stat posts? most posts, most posts per thread, etc...?? Who was doing that? I haven't seen one in a while. ---John Holmes... -- PHP General Ma

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
Im not sure who was doing that. i missed that stuff i think. Jason "John Holmes" <[EMAIL PROTECTED]> wrote: > > From: "Jason Davidson" <[EMAIL PROTECTED]> > > hehehe.. im actually looking forward to reading responses on this > > thread.. > > Whatever happened to those monthly stat posts? most

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Andre Dubuc
Amazing how long that thread is -- must be a record. Seems to be classic case of 'ignore-the-obvious' or 'my-mind-is-made-up. Don't-confuse-me-with-facts'. Perhaps I should start a new thread: "[PHP} Can't get NULL to output anything!" hehe Andre On Friday 17 September 2004 03:11 pm, Jaso

Re: [PHP] To Rasmus

2004-09-17 Thread blackwater dev
how did gmail get you blocked? On Fri, 17 Sep 2004 11:48:53 -0700, Richard Whitney <[EMAIL PROTECTED]> wrote: > Dear Rasmus, > > Could you please unblock 140.99.35.6 from the mailing list. > I made a mistake once. > I subscribed using Gmail and I hate it. > Please forgive me. > > Richard Whitney

Re: [PHP] sorting multidimensional array by a second level value

2004-09-17 Thread Steve Brown
> I'd like to sort the array based on one of the values in the field > href, description, or time. Is there a canonical way of doing this? Probably easiest to write your own sort function the use usort(), http://www.php.net/usort has pretty good documentation on how to accomplish this. Steve --

Re: [PHP] sorting multidimensional array by a second level value

2004-09-17 Thread Matt M.
> > I'd like to sort the array based on one of the values in the field > > href, description, or time. Is there a canonical way of doing this? you might be able to use http://us2.php.net/manual/en/function.usort.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

[PHP] Help with PEAR on OS X

2004-09-17 Thread Dan Phiffer
Hi there, I'm having trouble getting PEAR to behave on my Mac, and I was wondering if there might be some obvious reason that somebody could point out. I'm running OS X 10.3.5 and PHP 4.3.8. Here's the summary: $ pear upgrade-all Will upgrade archive_tar Will upgrade db Will upgrade http Will up

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Curt Zirzow
* Thus wrote Sam Hobbs: > "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > RTFM. > > > > mysql: > > This MySQL extension doesn't support full functionality of MySQL > > versions greater than 4.1.0. For that, use MySQLi. > > > > mysqli: > > The mysqli extension

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread John Nichel
John Holmes wrote: From: "Jason Davidson" <[EMAIL PROTECTED]> hehehe.. im actually looking forward to reading responses on this thread.. Whatever happened to those monthly stat posts? most posts, most posts per thread, etc...?? Who was doing that? I haven't seen one in a while. ---John Holmes...

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Curt Zirzow
* Thus wrote Sam Hobbs: > And the relevant portion of that says "external access", which is not > applicable here. I do not see anything else on that page that is relevant. what is relevant? only the last one? :sigh: Curt -- The above comments may offend you. flame at will. -- PHP General M

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread John Nichel
John Holmes wrote: From: "Jason Davidson" <[EMAIL PROTECTED]> hehehe.. im actually looking forward to reading responses on this thread.. Whatever happened to those monthly stat posts? most posts, most posts per thread, etc...?? Who was doing that? I haven't seen one in a while. ---John Holmes...

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Curt Zirzow
* Thus wrote Sam Hobbs: > I appreciate your attempts to help, but you must understand that when > attempts to help just cause time to be wasted, then it might be appropriate :sigh: Curt -- The above comments may offend you. flame at will. -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jennifer Goodie
-- Original message from "John Holmes" : -- > Whatever happened to those monthly stat posts? most posts, most posts per > thread, etc...?? Who was doing that? I haven't seen one in a while. > > ---John Holmes... > Bill Doerrfeld http://marc.theaimsgroup.com/?a=9211645

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
HAHAHA, this thread is awsome though, you all must admit the humor involved here. I hope this thread continues for a couple more days. or here is an idea for a thread {PHP} globals.asp wont set my php vars [EMAIL PROTECTED] wrote: > > Amazing how long that thread is -- must be a record. Seems

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Curt Zirzow
* Thus wrote Sam Hobbs: > "Jason Wong" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > The firewall is relevant depending on your circumstances. In any case it > > would > > take you all of one minute to disable your firewall to test out this "wild > > far out suggestion". A

[PHP] reading from files

2004-09-17 Thread Merlin
Hi there, I am wondering how to read lines from a file to a php array? I would like to integrate a logfile into a html site. Is it possible to read line by line and to check how many lines there are in total? Thank you for any hint on that, Merlin -- PHP General Mailing List (http://www.php.net/

Re: [PHP] Re: A native Windows binding for PHP - released

2004-09-17 Thread Ricardo Cezar
I will wait WinBinder become mature and I will use it! I can´t use it now because I´m not a very experienced programmer, and can´t do nothing without the documentation to teach me! :( But I loved your idea! If it become PHP 5 compatible, and with a OO interface, it will be perfect. Goood wor

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Matthew Sims
> > "[PHP} Can't get NULL to output anything!" > > hehe > Andre > > Check your firewall. -- --Matthew Sims -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: mysql_connect does not connect

2004-09-17 Thread Matthew Sims
> * Thus wrote Sam Hobbs: >> "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> > >> > RTFM. >> > >> > mysql: >> > This MySQL extension doesn't support full functionality of MySQL >> > versions greater than 4.1.0. For that, use MySQLi. >> > >> > mysqli: >> > The mysq

RE: [PHP] mysql_connect does not connect

2004-09-17 Thread Chris Gregors
This whole thread has degraded to the point of: YHBT. YHL. HAND. and I'm not helping it. -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 2:33 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] mysql_connect does not connect * Thus wrote

[PHP] Re: sorting multidimensional array by a second level value

2004-09-17 Thread Jasper Howard
the way i did this was by structuting the array like this $array['href'][0] = 'www.com.com'; $array['description'][0] = 'blah!'; etc... then use the array_multisort function like this To sort by "href": array_multisort($array['href'],$array['description'],$array['time']); a key point is that the

RE: [PHP] reading from files

2004-09-17 Thread Daniel Purdy
[snip] I am wondering how to read lines from a file to a php array? I would like to integrate a logfile into a html site. Is it possible to read line by line and to check how many lines there are in total? Thank you for any hint on that, [/snip] http://www.php.net/fgets is a good starting poin

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
hahahaha, what can i do in 30 minutes... hmm.. install almost any linux distro, most windows distros.. i could disbaled and enable my firewall about 180 times i could read just one of the long winded emails how i obsfuscate the thread with irrelevant solutions and wild suggestions of inaccuracy

  1   2   >