Re: [PHP] create and read array

2004-09-17 Thread John Holmes
John Taylor-Johnston wrote: John, $sql .= "INSERT INTO newtable VALUES ({$mydata->AUS},{$mydata->id});\r\n"; I thought mysql would not permit that, running more than one query (insert ...) at a time? You can get away with it in phpmyadmin, although. You can only run one query per mysql_query() cal

[PHP] How to re-code?

2004-09-17 Thread John Taylor-Johnston
I had an $array, with a list of authors and an entry number. Below is the code I used. Now I have compiled it all into a table. I don't know how to re-code these lines: foreach (array_count_values ($authors) as $author=>$count) foreach ($author_list[$author] as $ausid) ---new code---

Re: [PHP] thumbnail of webpage

2004-09-17 Thread Brad Pauly
> Michael Mao wrote: > > > Is there a way to capture a snapshot of a html page and save it as a > > jpg using php? This is a bit of a hack, but kinda neat if you don't mind setting it up. I'm sure you could use php to call a script anyway. Heh. http://www.livejournal.com/users/brad/2015327.html

Re: [PHP] thumbnail of webpage

2004-09-17 Thread Curt Zirzow
* Thus wrote Michael Mao: > Is there a way to capture a snapshot of a html page and save it as a jpg > using php? As you can see this isn't an easy task. One possiblity is to ask the mozilla/gecko developers if it would be possible to to create a library that would render a page into a bitmap.

Re: [PHP] DROP TABLE IF EXISTS

2004-09-17 Thread raditha dissanayake
John Taylor-Johnston wrote: MySQL question: DROP TABLE IF EXISTS Instead of dropping the table, I want to truncate the table if it contains something. ANyone know of a way? I couldn't find anything under truncate in the manual. some one in the mysql list might know. -- Raditha Dissanayake.

Re: [PHP] Code spacing causing HEADER problem?

2004-09-17 Thread Curt Zirzow
* Thus wrote BOOT: > I don't get this! > > Why does example (a) work for me but not example (b) ??? I realize that no > output can be sent to the browser before the header but why would code > linepace effect? Thanks for any info! > > > (a) > > > > > > (b) > > > > PHP is friendly only

[PHP] DROP TABLE IF EXISTS

2004-09-17 Thread John Taylor-Johnston
MySQL question: DROP TABLE IF EXISTS Instead of dropping the table, I want to truncate the table if it contains something. ANyone know of a way? I couldn't find anything under truncate in the manual. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/un

Re: [PHP] create and read array

2004-09-17 Thread John Taylor-Johnston
John, $sql .= "INSERT INTO newtable VALUES ({$mydata->AUS},{$mydata->id});\r\n"; I thought mysql would not permit that, running more than one query (insert ...) at a time? You can get away with it in phpmyadmin, although. -- John Taylor-Johnston --

Re: [PHP] very interesting post problem

2004-09-17 Thread raditha dissanayake
QT wrote: Dear Sirs, I need to post 3 string data to destination adres. But I see first time, the name of the variables are same such as DATA. I ask the destination ovner is there any error. Should be the form fields name such as DATA1, DATA2 and DATA3. You appear to be posting to a servlet and

Re: [PHP] thumbnail of webpage

2004-09-17 Thread raditha dissanayake
Michael Mao wrote: Is there a way to capture a snapshot of a html page and save it as a jpg using php? This is something that's very very hard to do with PHP but can be easily done with Java. -- Raditha Dissanayake. http

RE: [PHP] thumbnail of webpage

2004-09-17 Thread Vail, Warren
I have been looking into this over the last week and have come up blank as well. Doing this manually is simple, point your browser to your URL, and in windows use to copy an image of the rendering in the browser to the scratch-pad, then paste the image into a tool like paint to cut out the part o

Re: [PHP] thumbnail of webpage

2004-09-17 Thread Jason Davidson
First, im not sure how you would capture a snapshot of the page, sinse the page is rendered by the browser, and php is completely server side. Possibly there is a way to fopen a page or something, but... i dunno.. as for making thumbnail, using the gd extension, is quite easy. check the manual fo

Re: [PHP] Re: Server upload test

2004-09-17 Thread raditha dissanayake
Jason Wong wrote: On Saturday 18 September 2004 05:22, Richard Whitney wrote: And just what metrics do you hope to be measuring (if any)? Or is this just for the fun of it? I have a client who was going to host his website at a particular host. It seemed rather slow so I wrote this liittl

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread raditha dissanayake
Jay Blanchard wrote: [snip] Thanks for the input, Jay! I prefer top posting since you get the answer first, then the question (iff you're interested enough to scroll down -- sigh -- I'm too lazy :>) [/snip] .siht ekil rewsna dluohs I nehT did you do that with strrev() or type it out by hand? -

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

2004-09-17 Thread Manuel Lemos
Hello, On 09/17/2004 04:15 PM, Mark 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 likely get m

Re: [PHP] Code spacing causing HEADER problem?

2004-09-17 Thread Jason Wong
On Saturday 18 September 2004 06:35, BOOT wrote: > I don't get this! > > Why does example (a) work for me but not example (b) ??? I realize that no > output can be sent to the browser before the header but why would code > linepace effect? Thanks for any info! > > > (a) > > > > > > (b) > > > >

Re: [PHP] Code spacing causing HEADER problem?

2004-09-17 Thread Jason Davidson
You absolutely can not send anything to the browser before a header is sent... so if you put a space in there, it gets sent to the client.. no good.. its not the code thats the problem . its that you escaped from php and left space between. Jason "BOOT" <[EMAIL PROTECTED]> wrote: > > I don't

[PHP] thumbnail of webpage

2004-09-17 Thread Michael Mao
Is there a way to capture a snapshot of a html page and save it as a jpg using php? -- 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 Davidson
haha John Nichel <[EMAIL PROTECTED]> wrote: > > How do I sync an Oracle and MSSQL database on an AIX system remotely > from Windows '95? > > p.s. I found this email address on the php website, which means I've > been to the php website, therefore this is a php question. Don't you > dare fl

RE: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
what is top posting "Jay Blanchard" <[EMAIL PROTECTED]> wrote: > > Did you just top post? Top posting === evil; > > -Original Message- > From: Jason Davidson [mailto:[EMAIL PROTECTED] > Sent: Friday, September 17, 2004 3:14 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re:

[PHP] Code spacing causing HEADER problem?

2004-09-17 Thread BOOT
I don't get this! Why does example (a) work for me but not example (b) ??? I realize that no output can be sent to the browser before the header but why would code linepace effect? Thanks for any info! (a) (b) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Wong
On Saturday 18 September 2004 05:17, Greg Donald wrote: > Well.. could you at least not top post while you're not helping.. > Trying to keep this dignified and stuff. :) I think everybody who is anybody who had a point to make has already done so. Can we bury this thread now? -- Jason Wong ->

Re: [PHP] Re: Server upload test

2004-09-17 Thread Jason Wong
On Saturday 18 September 2004 05:22, Richard Whitney wrote: > > And just what metrics do you hope to be measuring (if any)? Or is this > > just for the fun of it? > > I have a client who was going to host his website at a particular host. > It seemed rather slow so I wrote this liittle script to di

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread John Nichel
How do I sync an Oracle and MSSQL database on an AIX system remotely from Windows '95? p.s. I found this email address on the php website, which means I've been to the php website, therefore this is a php question. Don't you dare flame me. Jay Blanchard wrote: Did you just top post? Top post

[PHP] very interesting post problem

2004-09-17 Thread QT
Dear Sirs, I need to post 3 string data to destination adres. But I see first time, the name of the variables are same such as DATA. I ask the destination ovner is there any error. Should be the form fields name such as DATA1, DATA2 and DATA3. According him, his form is working fine and fields ar

Re: [PHP] reading from files

2004-09-17 Thread Jason Wong
On Saturday 18 September 2004 04:58, Steve Brown wrote: > > 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? > > I'm new here, so someone ple

Re: [PHP] reading from files

2004-09-17 Thread Greg Donald
On Fri, 17 Sep 2004 15:58:04 -0500, Steve Brown <[EMAIL PROTECTED]> wrote: > I'm new here, so someone please tell me if "RTFM" is frowned upon as a > response. :) RTFA and find out :) -- Greg Donald http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.ne

RE: [PHP] reading from files

2004-09-17 Thread Jay Blanchard
[snip] I'm new here, so someone please tell me if "RTFM" is frowned upon as a response. :) [/snip] Yes. Becasue you have forgotten the also important STFA and STFW. All or nothingall or nothing. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsu

RE: [PHP] mysql_connect does not connect

2004-09-17 Thread Jay Blanchard
[snip] Thanks for the input, Jay! I prefer top posting since you get the answer first, then the question (iff you're interested enough to scroll down -- sigh -- I'm too lazy :>) [/snip] .siht ekil rewsna dluohs I nehT -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Andre Dubuc
) Andre On Friday 17 September 2004 05:08 pm, you wrote: > Did you just top post? Top posting === evil; > > -Original Message- > From: Jason Davidson [mailto:[EMAIL PROTECTED] > Sent: Friday, September 17, 2004 3:14 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: [PHP] mysql_

Re: [PHP] Re: Server upload test

2004-09-17 Thread Richard Whitney
> > And just what metrics do you hope to be measuring (if any)? Or is this just > for the fun of it? I have a client who was going to host his website at a particular host. It seemed rather slow so I wrote this liittle script to display the difference between that host and mine - just a visual te

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Greg Donald
On Fri, 17 Sep 2004 14:41:28 -0600, Chris Gregors <[EMAIL PROTECTED]> wrote: > This whole thread has degraded to the point of: > > YHBT. YHL. HAND. > > and I'm not helping it. Well.. could you at least not top post while you're not helping.. Trying to keep this dignified and stuff. :)

Re: [PHP] To Rasmus

2004-09-17 Thread Richard Whitney
On Fri, 17 Sep 2004 07:46:23 -1200, blackwater dev <[EMAIL PROTECTED]> wrote: > > > how did gmail get you blocked? Gmail did not block me - Rasmus blocked me 18 months ago when I posted a joke to 2 different mailing lists - I was just trying to make people have a laugh. Richard -- PHP General

RE: [PHP] reading from files

2004-09-17 Thread Gryffyn, Trevor
I usually use file(): http://www.php.net/manual/en/function.file.php -TG > -Original Message- > From: Merlin [mailto:[EMAIL PROTECTED] > Sent: Friday, September 17, 2004 4:17 PM > To: [EMAIL PROTECTED] > Subject: [PHP] reading from files > > > Hi there, > > I am wondering how to read

Re: [PHP] reading from files

2004-09-17 Thread John Holmes
From: "Merlin" <[EMAIL PROTECTED]> 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, Hint: http://www.php.net/manua

RE: [PHP] mysql_connect does not connect

2004-09-17 Thread Jay Blanchard
Did you just top post? Top posting === evil; -Original Message- From: Jason Davidson [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 3:14 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [PHP] mysql_connect does not connect HAHAHA, this thread is awsome though, you al

RE: [PHP] reading from files

2004-09-17 Thread Jay Blanchard
[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? [/snip] Start with http://www.php.net/fopen -- PHP General Mailing List (http://www.php.n

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Greg Donald
On Fri, 17 Sep 2004 13:34:18 -0700 (PDT), Matthew Sims <[EMAIL PROTECTED]> wrote: > > Check your firewall. I would but I don't have 30 minutes to spare. Too busy walking my lizard.. or something. -- Greg Donald http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Jason Davidson
that takes the cake. :D :D J "Matthew Sims" <[EMAIL PROTECTED]> wrote: > > > > > "[PHP} Can't get NULL to output anything!" > > > > hehe > > Andre > > > > > > Check your firewall. > > -- > --Matthew Sims > -- > > -- > PHP General Mailing List (http://www.php.ne

Re: [PHP] reading from files

2004-09-17 Thread Steve Brown
> 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? I'm new here, so someone please tell me if "RTFM" is frowned upon as a response. :) http://w

Re: [PHP] reading from files

2004-09-17 Thread Greg Donald
On Fri, 17 Sep 2004 22:16:43 +0200, Merlin <[EMAIL PROTECTED]> wrote: > 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 h

Re: [PHP] mysql_connect does not connect

2004-09-17 Thread Matthew Sims
> 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 Firewall. -- --Matthew Sims -- -- PHP General Mailing

RE: [PHP] mysql_connect does not connect

2004-09-17 Thread Chris Gregors
:^) too many free cycles. -Original Message- From: Jennifer Goodie [mailto:[EMAIL PROTECTED] Sent: Friday, September 17, 2004 2:10 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] mysql_connect does not connect -- Original message from "John Holmes" : -- > Whatever

Re: [PHP] reading from files

2004-09-17 Thread Jason Davidson
use the functoin file, it does exactly that. http://ca3.php.net/manual/en/function.file.php Jason Merlin <[EMAIL PROTECTED]> wrote: > > 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 li

Re: [PHP] reading from files

2004-09-17 Thread Mark
--- Merlin <[EMAIL PROTECTED]> wrote: > 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? http://www.php.net/file > > Th

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

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

[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] 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

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 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: 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

[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] 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

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 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 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 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] 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

[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] 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://

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] 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] 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] 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 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] 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]

[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] 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 '

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: 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 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

[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 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

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] 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] 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] 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

[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] 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] 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
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..

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

[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 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

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] 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] 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 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] 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 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

[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] 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

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

[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: 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

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),

[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

  1   2   >