Re: [PHP] Displaying information from table graphically

2008-11-22 Thread Stut
Please keep the discussion on-list. On 22 Nov 2008, at 13:40, [EMAIL PROTECTED] wrote: The second approach is I believe exactly what I need. I dont actually have to make sophisticated graphics at all. Just a simple graphical representation of a room and beds inside in different colors

[PHP] Form Input Type=File

2008-11-22 Thread Stan
This generated HTML puts up a file selection dialog . echo p align=centerspan\n; echo Pick a picture file to examine ...\n; echo form method=\get\ enctype=\text/plain\ action=\Default.php\

Re: [PHP] Form Input Type=File

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 06:21 -0600, Stan wrote: This generated HTML puts up a file selection dialog . echo p align=centerspan\n; echo Pick a picture file to examine ...\n; echo form

Re: [PHP] Form Input Type=File

2008-11-22 Thread Stan
Default.php sets a session variable named thisSelectedFile before putting the page designated by the ID (in this case PictureProperties.php) up. PictureProperties.php is . ?PHP session_start(); if (isset($_SESSION[Stan-and-Jeanne]))

Re: [PHP] Form Input Type=File

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 06:57 -0600, Stan wrote: Default.php sets a session variable named thisSelectedFile before putting the page designated by the ID (in this case PictureProperties.php) up. PictureProperties.php is . ?PHP session_start(); if

Re: [PHP] Displaying information from table graphically

2008-11-22 Thread dzenan . causevic
I mean composite in a figurative way, but they have to be overlapping individual images in order to be individually clickable. Does GD allow that? Can I create multiple images on the top of each other in GD? And how would imagemap work in this respect? On Sat, 2008-11-22 at 12:51 -0100, [EMAIL

Re: [PHP] Form Input Type=File

2008-11-22 Thread Stan
In both cases the full path appears in the file selection dialog created by input name=\SELECTEDFILE\ type=\file\ /. The only thing the user does after selecting the file is click the submit button. Default.php creates the session variable by first unset($_SESSION['thisSelectedFile']); and

[PHP] about SimpleXMLElement.

2008-11-22 Thread LKSunny
?xml version='1.0' encoding='UTF-8'? array aa:bb a='1' b='2' / /array how can i get a=1 and b=2 in PHP ? i know SimpleXMLElement-attributes(); however i don't know how to get attributes in tag aa:bb -array-aa:bb-attributes(); that will error. Thank You Very Much. -- PHP General

Re: [PHP] Form Input Type=File

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 07:31 -0600, Stan wrote: In both cases the full path appears in the file selection dialog created by input name=\SELECTEDFILE\ type=\file\ /. The only thing the user does after selecting the file is click the submit button. Default.php creates the session variable by

Re: [PHP] Displaying information from table graphically

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 14:22 -0100, [EMAIL PROTECTED] wrote: I mean composite in a figurative way, but they have to be overlapping individual images in order to be individually clickable. Does GD allow that? Can I create multiple images on the top of each other in GD? And how would imagemap

Re: [PHP] Form Input Type=File

2008-11-22 Thread Stan
Ashley, If you go back to the original append you will see the URLs. IE 6 SP1 returns exactly the string that appears in the input name=\SELECTEDFILE\ type=\file\ / text box, FireFox does not. I would assume that anyone using the dialog would expect the behaviour that IE demonstrates.

[PHP] IMagick confusion

2008-11-22 Thread Stan
This code (invoked by an IMG tag on a page) will return the image which is then displayed: ?php $picture = $_GET['PICTURE']; /* need to get filetype from querystring picture= */ header('Content-type:

[Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread dzenan . causevic
At least that eliminates GD as an option for this particular purpose. Yes exactly something Flash like that allows interaction as well. But how to exchange data between flash multimedia file and MySQL queries. This is a serious issue, this is not trivial. I know there must be some way, but I

[PHP] a for loop and probability random all i need is make them to reverse

2008-11-22 Thread Tontonq Tontonq
i want it returns *Raptor +1 (1 in 62,000) * but it returns me nearly everytime how can i make them reverse help me please index.php ? include( 'lib.probabilityRandom.php' ); $prExample = new probabilityRandom; function arasi($a,$b,$data) { $x = explode($a,$data); $z = explode($b,$x[1]); $oh

Re: [Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Stut
On 22 Nov 2008, at 16:23, [EMAIL PROTECTED] wrote: At least that eliminates GD as an option for this particular purpose. Yes exactly something Flash like that allows interaction as well. But how to exchange data between flash multimedia file and MySQL queries. This is a serious issue, this

Re: [PHP] about SimpleXMLElement.

2008-11-22 Thread Yeti
There are some nice SimpleXML examples at php.net, one of them also covers handling attributes ... http://in.php.net/manual/en/simplexml.examples.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] IMagick confusion

2008-11-22 Thread Yeti
First of all .. always be careful with tainted data. Like when you $picture = $_GET['PICTURE']; be aware that this could be a security risk one day an ImageMagick exploid is circulating. At the first glance I saw a syntactical thingy that might cause problems .. case default: break; In PHP

Re: [PHP] a for loop and probability random all i need is make them to reverse

2008-11-22 Thread Yeti
That should output the full line now ? $prExample = new probabilityRandom; function arasi($a,$b,$data) { $x = explode($a,$data); $z = explode($b,$x[1]); $oh = $z[0]; if($x $z) { return $oh; } else { return false; } }

Re: [Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Stut
For the love of $DEITY, please include the list when replying!! On 22 Nov 2008, at 17:26, [EMAIL PROTECTED] wrote: But imagemaps are constructed using DIV's and that would not be supported by IE6 correct? Is there another way to build imagemaps beside DIV's that would be supported at least

[Fwd: Re: [Fwd: Re: [PHP] Displaying information from table graphically]]

2008-11-22 Thread dzenan . causevic
But imagemaps are constructed using DIV's and that would not be supported by IE6 correct? Is there another way to build imagemaps beside DIV's that would be supported at least since IE5? On 22 Nov 2008, at 16:23, [EMAIL PROTECTED] wrote: At least that eliminates GD as an option for this

Re: [PHP] Form Input Type=File

2008-11-22 Thread Shawn McKenzie
Stan wrote: Ashley, If you go back to the original append you will see the URLs. IE 6 SP1 returns exactly the string that appears in the input name=\SELECTEDFILE\ type=\file\ / text box, FireFox does not. I would assume that anyone using the dialog would expect the behaviour that IE

Re: [PHP] gethostbyaddr and IPv6

2008-11-22 Thread Glen C
On 11/22/2008 02:17 AM, Lars Torben Wilson wrote: 2008/11/21 Glen Carreras[EMAIL PROTECTED]: On 11/22/2008 12:10 AM, Lars Torben Wilson wrote: Hi Glen, Works for me. IPv6 support was added in 2001. You didn't say what version of PHP you are having this problem with, so it's hard to say why

[PHP] Some kind of Popup

2008-11-22 Thread Patrick Moloney
I have web pages that display multiple physical products. I'd like to be able to include a button near each one to display certain characteristics (eg: height, length, depth, weight etc). These characteristics will be in a single table record in Mysql for each product, so I can retrieve the

[PHP] Hi,

2008-11-22 Thread idan72
I would like to write code where the user will input directory name. I want it to be able to browse to directory and choose it. With HTML if can only choose file. Can I do that in PHP ? Thanks -- View this message in context: http://www.nabble.com/Hi%2C-tp20637953p20637953.html Sent from

[PHP] Re: Some kind of Popup

2008-11-22 Thread Shawn McKenzie
Patrick Moloney wrote: I have web pages that display multiple physical products. I'd like to be able to include a button near each one to display certain characteristics (eg: height, length, depth, weight etc). These characteristics will be in a single table record in Mysql for each product,

[PHP] Re: Some kind of Popup

2008-11-22 Thread Patrick Moloney
Would #2 be blocked by user popup blocker? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Some kind of Popup

2008-11-22 Thread Shawn McKenzie
Patrick Moloney wrote: Would #2 be blocked by user popup blocker? I guess it depends on the popup blocker, but I would say no since it requires user action to open the window. I think most popup blockers block automatic popups. This popup technique works for me with firefox when I have it

Re: [PHP] Re: Some kind of Popup

2008-11-22 Thread Yeti
Another JavaScript method would be to load the content in a hidden div with position: absolute. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

İlgi: [PHP] a for loop and probability random all i need is make them to reverse

2008-11-22 Thread Tontonq Tontonq
sorry i think i did tell u wrong about it problem is not showing name of it as exaclty i just wanted give a point to it thats not real problem real problem is i want it be more unpossible when i give the class's add function's higher value 2008/11/22, Yeti [EMAIL PROTECTED]: That should output

Re: [PHP] Re: Some kind of Popup

2008-11-22 Thread Patrick Moloney
Yeti wrote: Another JavaScript method would be to load the content in a hidden div with position: absolute. I think that's what I was considering doing with CSS except it would be labels only in the content. I only wanted to retrieve the data record from mysql if the user asked for the

Re: [Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread dzenan . causevic
After reading the article I first thought imagemaps would be the best solution, however then I realized that although I can click on individual images inside the composite image, I can not change just that individual element. I would have to reload the whole new composite image containing

Re: [PHP] Form Input Type=File

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 09:54 -0600, Shawn McKenzie wrote: Stan wrote: Ashley, If you go back to the original append you will see the URLs. IE 6 SP1 returns exactly the string that appears in the input name=\SELECTEDFILE\ type=\file\ / text box, FireFox does not. I would assume that

Re: [PHP] Re: Some kind of Popup

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 12:32 -0500, Patrick Moloney wrote: Yeti wrote: Another JavaScript method would be to load the content in a hidden div with position: absolute. I think that's what I was considering doing with CSS except it would be labels only in the content. I only wanted to

Re: [PHP] Hi,

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 08:30 -0800, idan72 wrote: I would like to write code where the user will input directory name. I want it to be able to browse to directory and choose it. With HTML if can only choose file. Can I do that in PHP ? Thanks -- View this message in context:

[Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread dzenan . causevic
Since I am not an expert in FLASH, I need to make sure I understand what you suggested below. From what I understand I can pass the data from SQL query to Flash via some sort of flash parameters (flashvars), but I am not sure what XML file serves here for? All I need is to somehow trigger SQL

Re: [Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 19:47 -0100, [EMAIL PROTECTED] wrote: Since I am not an expert in FLASH, I need to make sure I understand what you suggested below. From what I understand I can pass the data from SQL query to Flash via some sort of flash parameters (flashvars), but I am not sure what

Re: [Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Nathan Rixham
Ashley Sheridan wrote: On Sat, 2008-11-22 at 19:47 -0100, [EMAIL PROTECTED] wrote: Since I am not an expert in FLASH, I need to make sure I understand what you suggested below. From what I understand I can pass the data from SQL query to Flash via some sort of flash parameters (flashvars), but

Re: [PHP] Re: Some kind of Popup

2008-11-22 Thread Yeti
One issue is I don't want to leave the space available on my regular web page and would like to try not to overwrite something there - I'd rather have a separate window of some sort that sort of floats over the web page. Well, since Javascript does the Job anyways you don't have to load it

Re: [Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread dzenan . causevic
So basically all the data between Flash and SQL queries goes thru temporary XML files correct? Ashley Sheridan wrote: On Sat, 2008-11-22 at 19:47 -0100, [EMAIL PROTECTED] wrote: Since I am not an expert in FLASH, I need to make sure I understand what you suggested below. From what I

Re: [Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Nathan Rixham
[EMAIL PROTECTED] wrote: So basically all the data between Flash and SQL queries goes thru temporary XML files correct? not so much temporary as you convert the data to xml packets and transport in that format, you use the xml as a way of keeping the data structured and transportable (see

Re: [Fwd: Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread dzenan . causevic
I see that. Is there some good tutorial on this topic? How to make Flash interact with SQL queries in PHP [EMAIL PROTECTED] wrote: So basically all the data between Flash and SQL queries goes thru temporary XML files correct? not so much temporary as you convert the data to xml packets and

Re: İlgi: [PHP] a for loop and probability random all i need is make them to reverse

2008-11-22 Thread Yeti
2008/11/22 Tontonq Tontonq [EMAIL PROTECTED]: sorry i think i did tell u wrong about it problem is not showing name of it as exaclty i just wanted give a point to it thats not real problem real problem is i want it be more unpossible when i give the class's add function's higher value In that

[PHP] Displaying information from table graphically]

2008-11-22 Thread dzenan . causevic
http://en.wikipedia.org/wiki/Adobe_Flash#Programming_language Of late, the Flash libraries are being used with the XML capabilities of the browser to render rich content in the browser. This technology is known as Asynchronous Flash and XML, much like AJAX. This technology of Asynchronous Flash

[PHP] Re: Displaying information from table graphically]

2008-11-22 Thread Nathan Rixham
[EMAIL PROTECTED] wrote: http://en.wikipedia.org/wiki/Adobe_Flash#Programming_language Of late, the Flash libraries are being used with the XML capabilities of the browser to render rich content in the browser. This technology is known as Asynchronous Flash and XML, much like AJAX. This

Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Ashley Sheridan
On Sat, 2008-11-22 at 23:07 -0100, [EMAIL PROTECTED] wrote: http://en.wikipedia.org/wiki/Adobe_Flash#Programming_language Of late, the Flash libraries are being used with the XML capabilities of the browser to render rich content in the browser. This technology is known as Asynchronous Flash

Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Nathan Rixham
Ashley Sheridan wrote: On Sat, 2008-11-22 at 23:07 -0100, [EMAIL PROTECTED] wrote: http://en.wikipedia.org/wiki/Adobe_Flash#Programming_language Of late, the Flash libraries are being used with the XML capabilities of the browser to render rich content in the browser. This technology is

Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Nathan Rixham
Nathan Rixham wrote: WSOT is worth a look... sorry my nickname for it.. i meant wso2 (wso2.org) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Open Project

2008-11-22 Thread Nathan Rixham
Evening All, I'm feeling the need to either start or contribute to something opensource and in PHP. Anybody have any worthy causes or projects they'd like to collab on to get off the ground; open to all options preference going to anything framework, orm, webservice or basically anything

RE: [PHP] Open Project

2008-11-22 Thread Alex Chamberlain
Evening All, I'm feeling the need to either start or contribute to something opensource and in PHP. Anybody have any worthy causes or projects they'd like to collab on to get off the ground; open to all options preference going to anything framework, orm, webservice or basically anything

RE: [PHP] Open Project

2008-11-22 Thread Alex Chamberlain
Evening All, I'm feeling the need to either start or contribute to something opensource and in PHP. Anybody have any worthy causes or projects they'd like to collab on to get off the ground; open to all options preference going to anything framework, orm, webservice or basically

Re: [PHP] Open Project

2008-11-22 Thread Nathan Rixham
Alex Chamberlain wrote: Evening All, I'm feeling the need to either start or contribute to something opensource and in PHP. Anybody have any worthy causes or projects they'd like to collab on to get off the ground; open to all options preference going to anything framework, orm, webservice

Re: [PHP] Open Project

2008-11-22 Thread Craige Leeder
Hi Nathan, Are you fluent with OOP concepts? I'm working on a framework called Ember, and wouldn't mind some help. I literally JUST started the re-code though - Craige Nathan Rixham wrote: Evening All, I'm feeling the need to either start or contribute to something opensource and in PHP.

Re: [PHP] Open Project

2008-11-22 Thread Nathan Rixham
Craige Leeder wrote: Hi Nathan, Are you fluent with OOP concepts? I'm working on a framework called Ember, and wouldn't mind some help. I literally JUST started the re-code though - Craige Hi Craige, Do send through more details, I'm fluent with OO concepts and design patterns etc,

Re: [PHP] Hi,

2008-11-22 Thread Craige Leeder
idan72 wrote: I would like to write code where the user will input directory name. I want it to be able to browse to directory and choose it. With HTML if can only choose file. Can I do that in PHP ? Thanks I have to say I have NO idea what you just said besides you want to build a

Re: [PHP] Displaying information from table graphically]

2008-11-22 Thread Robert Cummings
Maybe I missed soemthing... what was wrong with Stut's suggestion of using divs? Absolute divs within a relative div is great for treating a box as a canvas with image layers. Each layer being clickable in it's visible portion (unless obscured by an overlayed transparent image). Cheers, Rob. --

Re: [PHP] Open Project

2008-11-22 Thread sharmishtha gupta
Hi Alex I visited your link. i would like to contribute. can you send me more details about the plan and requirements. -Sharmishtha On Sun, Nov 23, 2008 at 7:07 AM, Nathan Rixham [EMAIL PROTECTED] wrote: Craige Leeder wrote: Hi Nathan, Are you fluent with OOP concepts? I'm working on a