[PHP] PHP screen generator?
I meant I could drop some controls into a form freely and the tool would automatically generate the HTML+CSS to produce the screen. -- .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Ubuntu 6.10) Linux 2.6.21.1 ^ ^ 19:19:01 up 13 days 4:12 0 users load average: 0.00 0.01 0.00 news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP screen generator?
what screen? you mean the client's screen? I think that's basically nonsense since php is server side. if I misunderstood what you want then please explain it more clearly greets Zoltán Németh 2007. 05. 11, péntek keltezéssel 19.21-kor Man-wai Chang ezt írta: I meant I could drop some controls into a form freely and the tool would automatically generate the HTML+CSS to produce the screen. -- .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Ubuntu 6.10) Linux 2.6.21.1 ^ ^ 19:19:01 up 13 days 4:12 0 users load average: 0.00 0.01 0.00 news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP screen generator?
you have a screen design image file and you want html and css created from that? if yes, then I don't think you'll find an automated software doing that... it's just too complicated - for example how can a software Doesn't have to use an image as a starting point, but something like this in dBase: @1,2 say input your name: get m.name picture @! @3,2 say input your age: get m.age picture @! @5,2 say input your gender: get m.gender choices male,female read Doesn't have to be table. How about CSS? -- .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Ubuntu 6.10) Linux 2.6.21.1 ^ ^ 22:55:01 up 13 days 7:48 0 users load average: 0.00 0.00 0.00 news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP screen generator?
Zoltán Németh wrote: what screen? you mean the client's screen? I think that's basically nonsense since php is server side. if I misunderstood what you want then please explain it more clearly I don't know whether there is a php project that generates codes from screen designer. :) -- .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Ubuntu 6.10) Linux 2.6.21.1 ^ ^ 22:47:01 up 13 days 7:40 0 users load average: 0.00 0.00 0.00 news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: PHP screen generator?
2007. 05. 11, péntek keltezéssel 22.47-kor Man-wai Chang ezt írta: Zoltán Németh wrote: what screen? you mean the client's screen? I think that's basically nonsense since php is server side. if I misunderstood what you want then please explain it more clearly I don't know whether there is a php project that generates codes from screen designer. :) you have a screen design image file and you want html and css created from that? if yes, then I don't think you'll find an automated software doing that... it's just too complicated - for example how can a software detect if a horizontal line in the image means a hr or the end of a div? hire a person who is good in html and css and let him do it greets Zoltán Németh -- .~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org / v \ Simplicity is Beauty! May the Force and Farce be with you! /( _ )\ (Ubuntu 6.10) Linux 2.6.21.1 ^ ^ 22:47:01 up 13 days 7:40 0 users load average: 0.00 0.00 0.00 news://news.3home.net news://news.hkpcug.org news://news.newsgroup.com.hk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
On 23/10/06, Ed Lazor [EMAIL PROTECTED] wrote: On Oct 22, 2006, at 5:29 PM, Sancar Saran wrote: Convert to pdf. Are you logging the stats? That would allow you to graph the usage whenever you want. -Ed Has anybody read the original post? The OP wants a screenshot of his users' desktops. He does not want stats. Dotan Cohen http://what-is-what.com/what_is/ubuntu.html http://technology-sleuth.com/question/what_is_a_cellphone.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
Dotan Cohen wrote: On 23/10/06, Ed Lazor [EMAIL PROTECTED] wrote: On Oct 22, 2006, at 5:29 PM, Sancar Saran wrote: Convert to pdf. Are you logging the stats? That would allow you to graph the usage whenever you want. -Ed Has anybody read the original post? The OP wants a screenshot of his users' desktops. He does not want stats. the way I read it he's looking for something akin to a group photo. given that his users could be anywhere on the planet that's quite a challenge. ;-) Dotan Cohen http://what-is-what.com/what_is/ubuntu.html http://technology-sleuth.com/question/what_is_a_cellphone.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
On Monday 23 October 2006 13:00, Jochem Maas wrote: Dotan Cohen wrote: On 23/10/06, Ed Lazor [EMAIL PROTECTED] wrote: On Oct 22, 2006, at 5:29 PM, Sancar Saran wrote: Convert to pdf. Are you logging the stats? That would allow you to graph the usage whenever you want. -Ed Has anybody read the original post? The OP wants a screenshot of his users' desktops. He does not want stats. the way I read it he's looking for something akin to a group photo. given that his users could be anywhere on the planet that's quite a challenge. ;-) Dotan Cohen http://what-is-what.com/what_is/ubuntu.html http://technology-sleuth.com/question/what_is_a_cellphone.html Do you want take screen shot of webpage from server? Convert your web page into pdf. Do you want take screen shot of your online user count. Collect user data into sql. generate web page from sql data and convert to pdf. Do you want take screen shot of your online users locations. Do someting with ip to location databases put into sql, generate a web page from that data then convert to pdf. Regards Sancar Saran -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
Sancar Saran wrote: Do you want take screen shot of webpage from server? Convert your web page into pdf. Do you want take screen shot of your online user count. Collect user data into sql. generate web page from sql data and convert to pdf. Do you want take screen shot of your online users locations. Do someting with ip to location databases put into sql, generate a web page from that data then convert to pdf. Somebody needs weeding off their PDF habit. I mean, seriously, why the obsession? -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
Stut wrote: Sancar Saran wrote: Do you want take screen shot of webpage from server? Convert your web page into pdf. Do you want take screen shot of your online user count. Collect user data into sql. generate web page from sql data and convert to pdf. Do you want take screen shot of your online users locations. Do someting with ip to location databases put into sql, generate a web page from that data then convert to pdf. Somebody needs weeding off their PDF habit. I mean, seriously, why the obsession? it's a Pretty Damning Format ;-) -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
At 12:00 PM +0200 10/23/06, Jochem Maas wrote: Dotan Cohen wrote: Has anybody read the original post? The OP wants a screenshot of his users' desktops. He does not want stats. the way I read it he's looking for something akin to a group photo. given that his users could be anywhere on the planet that's quite a challenge. ;-) Yes, and I am surprised at the amount of posting over this. Considering that this would most certainly be a client-side operation, what does this have to do with php? If the OP wants to see what his site looks like on other desk-tops, then he might try BrowserCam. tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Screen Shots
Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? This is not a PHP question, but here's an answer anyway: With your users conscent, yes. There is a tiny utility that will take a screenshot at set intervals using the VNC protocol. This would require that your users have VNC server loaded and configured to allow it. If your goal is to spy on users of your website without their knowledge, then there is (thank $diety) no practical way to do it. JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
Jim Moseby wrote: Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? This is not a PHP question, but here's an answer anyway: With your users conscent, yes. There is a tiny utility that will take a screenshot at set intervals using the VNC protocol. This would require that your users have VNC server loaded and configured to allow it. If your goal is to spy on users of your website without their knowledge, then there is (thank $diety) no practical way to do it. with the exception of the proud owners of 'Windows Genuine Advantage Tool' ;-) JM -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
On 23/10/06, Jim Moseby [EMAIL PROTECTED] wrote: Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? This is not a PHP question, but here's an answer anyway: With your users conscent, yes. There is a tiny utility that will take a screenshot at set intervals using the VNC protocol. This would require that your users have VNC server loaded and configured to allow it. If your goal is to spy on users of your website without their knowledge, then there is (thank $diety) no practical way to do it. I wish that this was true. If your users use Internet Explorer =6 (I don't know about the new v7) then there actually is a way to get them to authorize a VNC session without their knowledge (assuming that a VNC server is already installed on the machine). I'll leave it as an excersize to the reader, but I'll give this hint: it is possible to disguise the pop up as something else. Please don't email me asking how. I give this information to spread awareness, not to spread malicious code, FUD, exploits, or anything else. I myself don't possess the skills to do it, but I have personally seen an example of it on a fully patched (at the time- a few months ago) Windows XP machine. I don't know if it was Home or Professional. Dotan Cohen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
On 23/10/06, Jochem Maas [EMAIL PROTECTED] wrote: it's a Pretty Damning Format ;-) I'd always thought of it as the Potty-Diaper Format. I stand corrected. Dotan Cohen http://faq-google.com http://what-is-what.com/what_is/spam.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
On 23 Oct 2006, at 08:32 , Dotan Cohen wrote: I give this information to spread awareness, not to spread malicious code, FUD, exploits, or anything else. On he other hand, IE related malicious code and exploits should be distributed as widely as possible as it is the only way MSFT will fix anything. I love how the new improved windows vista already has viruses and exploits. Tee Hee. -- Real stupidity beats artificial intelligence every time. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
Please don't reply directly to me - always include the list. Mark wrote: It is just my friends kids on this site so do you know how i could do the active x thing please help thanks I don't care if it's on your Intranet! Spying on visitors to a website is not good on several levels. If you really want to do it put in the research - everything you need can be found with your favourite search engine, you just need to put the effort in to pull it all together. -Stut - Original Message - From: Stut [EMAIL PROTECTED] To: Mark McWhirter [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Sunday, October 22, 2006 3:29 PM Subject: Re: [PHP] Screen Shots Mark McWhirter wrote: Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? Wow, does that ever have nothing to do with PHP!! To answer the inappropriate question... No. Or rather, not without the use of a client-side technology such as ActiveX and the ability to bypass any active content security or convince your visitors to give you permission to spy on them. So, as I said previously, no. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
On Sun, October 22, 2006 7:19 am, Mark McWhirter wrote: Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? You mean a literal screen shot of what's on my monitor?! Uhhh, no. That would be just a tiny bit of a security hole, don't you think? Okay, more like a sucking chest wound of a security hole, actually... If you just want to copy all the session files over somewhere to examine their state later for forensics, I suppose that shouldn't be too hard. http://php.net/copy http://php.net/glob http://php.net/exec would all be potentially useful. -- Some people have a gift link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
On 23/10/06, Stut [EMAIL PROTECTED] wrote: Mark wrote: It is just my friends kids on this site so do you know how i could do the active x thing please help thanks I don't care if it's on your Intranet! Spying on visitors to a website is not good on several levels. If you really want to do it put in the research - everything you need can be found with your favourite search engine, you just need to put the effort in to pull it all together. Come on, show him how to access the user's webcam and actually see his friends' kids! Dotan Cohen http://essentialinux.com/basics.php http://what-is-what.com/what_is/ubuntu.html -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Screen Shots
Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
Mark McWhirter wrote: Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? Wow, does that ever have nothing to do with PHP!! To answer the inappropriate question... No. Or rather, not without the use of a client-side technology such as ActiveX and the ability to bypass any active content security or convince your visitors to give you permission to spy on them. So, as I said previously, no. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
Stut may not be entirely correct here. It /is/ possible if the user sends all the pixels of their current view (and their colors), or simply a print screen and then upload it :) Ok, bad joke. On 10/22/06, Stut [EMAIL PROTECTED] wrote: Mark McWhirter wrote: Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? Wow, does that ever have nothing to do with PHP!! To answer the inappropriate question... No. Or rather, not without the use of a client-side technology such as ActiveX and the ability to bypass any active content security or convince your visitors to give you permission to spy on them. So, as I said previously, no. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Mukul Sabharwal http://mjsabby.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
On Sunday 22 October 2006 15:19, Mark McWhirter wrote: Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? Convert to pdf. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Shots
On Oct 22, 2006, at 5:29 PM, Sancar Saran wrote: On Sunday 22 October 2006 15:19, Mark McWhirter wrote: Is there any way that I can get a script to take a screen shot every minute of all the users using my php website? Convert to pdf. Are you logging the stats? That would allow you to graph the usage whenever you want. -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Screen Scraping with php
I am trying to use php to pull an url out of an html page If I have an html page that is being 'fread' and the html source contains the below and, I want to get the image: http://image.com.com/gamespot/images/2005/132/ 914653_20050513_screen006.jpg !-- END SCREENSHOT NAVIGATION --span class=spacer6 /spanbrdiv class=scaptionimg src=http://image.com.com/gamespot/images/2005/132/ 914653_20050513_screen006.jpg border=0 How would I parse the html page and get the image url ? Is this an eregi kind of thing or is there some easier way ? this is the sample page I want to parse: http://www.gamespot.com/pc/rpg/guildwars/screens.html?page=264 would I search for the string ,!-- END SCREENSHOT NAVIGATION --, and then search for the first occurence of img src = ? any help is appreciated :) g -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Scraping with php
thank Robert :) I ran the script and got: Warning: ereg(): REG_BADRPT on line 6 which is in the ereg function do you know what it could be ? will woodshed a bit on ereg g On Jul 7, 2005, at 6:51 PM, Robert Cummings wrote: $html = file( 'http://www.gamespot.com/pc/rpg/guildwars/screens.html?page=264' ); $matches = array(); if( ereg( 'END SCREENSHOT NAVIGATION.*?img src=([^)+', $html, $matches ) ) { $image = $matches[1]; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Scraping with php
On Thu, 2005-07-07 at 23:46, Graham Anderson wrote: thank Robert :) I ran the script and got: Warning: ereg(): REG_BADRPT on line 6 which is in the ereg function do you know what it could be ? will woodshed a bit on ereg g On Jul 7, 2005, at 6:51 PM, Robert Cummings wrote: $html = file( 'http://www.gamespot.com/pc/rpg/guildwars/screens.html?page=264' ); $matches = array(); if( ereg( 'END SCREENSHOT NAVIGATION.*?img src=([^)+', $html, $matches ) ) { $image = $matches[1]; } My bad, forgot to use file_get_contents() so as to not have an array, and also forgot that ereg() doesn't support the ? for changing greediness of the matching. The following works as expected (tested :) $html = file_get_contents( 'http://www.gamespot.com/pc/rpg/guildwars/screens.html?page=264' ); $matches = array(); if( preg_match( '/END SCREENSHOT NAVIGATION.*?img src=([^]+)/', $html, $matches ) ) { $image = $matches[1]; } echo 'Foo: '.$image.\n; Cheers, Rob. -- .. | InterJinn Application Framework - http://www.interjinn.com | :: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Screen resolution in php
Hi, How can i get the screen resolutin in php. I've read that i can't this. With java i can do this. SCRIPT LANGUAGE=JavaScript document.write(Your Screen Resolution Is : ); document.write(screen.width + x + screen.height); /script My question is how can pass the screen resolution from java to a variable? It is a better way? Any help would be appreciated! Thanks
Re: [PHP] Screen resolution in php
[EMAIL PROTECTED] wrote: Hi, How can i get the screen resolutin in php. I've read that i can't this. With java i can do this. SCRIPT LANGUAGE=JavaScript document.write(Your Screen Resolution Is : ); document.write(screen.width + x + screen.height); /script My question is how can pass the screen resolution from java to a variable? It is a better way? The best you can do is have JavaScript write out the URL and pass the variables that way... document.location ( 'http://www.yoursite.com/whatever.php?width=' + screen.width + 'height=' + screen.height ); On the php page you can access those variables via $_GET Java != JavaScript -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Screen resolution in php
[snip] How can i get the screen resolutin in php. I've read that i can't this. With java i can do this. SCRIPT LANGUAGE=JavaScript document.write(Your Screen Resolution Is : ); document.write(screen.width + x + screen.height); /script My question is how can pass the screen resolution from java to a variable? It is a better way? [/snip] First of all, it is JavaScript...NOT Java.way different. Everyone sing along... JavaScript is client-side, PHP is server-side, You can place the JavaScript values into hidden form fields, And send them back with the tide You'll open a window, get the values and place them into hidden form fields. Then when you ppost that paage back to the server, PHP will have them. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Screen Res
I am trying to get the users screen res into a var for php. And I have the Javascript that gets the screen res. But when I try to put that into a var, it puts it in as a string, storing the javascript code instead of the results of that code. Is there a way to fix this? Here is a link that explains taking javascript vars and putting them into php vars. http://www.iwdp.co.uk/javascript_to_php.htm HTH, alex hogan -Original Message- From: res0b8b6 [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 10, 2004 10:58 PM To: [EMAIL PROTECTED] Subject: [PHP] Screen Res -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php ** The contents of this e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom it is addressed. The views stated herein do not necessarily represent the view of the company. If you are not the intended recipient of this e-mail you may not copy, forward, disclose, or otherwise use it or any part of it in any form whatsoever. If you have received this e-mail in error please e-mail the sender. **
[PHP] Screen Res
I am trying to get the users screen res into a var for php. And I have the Javascript that gets the screen res. But when I try to put that into a var, it puts it in as a string, storing the javascript code instead of the results of that code. Is there a way to fix this? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Res
1) Your questions is not very clear. 2) javascript and php are not stronly typed languages. 3) This topic has been covered quite extensively in the past please check the archives. all the best res0b8b6 wrote: I am trying to get the users screen res into a var for php. And I have the Javascript that gets the screen res. But when I try to put that into a var, it puts it in as a string, storing the javascript code instead of the results of that code. Is there a way to fix this? -- Raditha Dissanayake. --- http://www.radinks.com/upload/ Drag and Drop Upload thousands of files and folders in a single transfer. (HTTP or FTP) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Resoultion
Leif K-Brooks wrote: [EMAIL PROTECTED] wrote: i didnt understand a word of that , please rephrase ?? ASP doesn't do an upload meter by magic. PHP can do anything ASP can do, it simply doesn't have built-in features for anything unessential. So true.. I use PHP a lot to dynamically generate DHTML and JScript, which of course are tied to ways to get data back to PHP from jscript/dhtml results. My latest project is dynamically generating cool menus using Thomas Brattli's Coolmenus library (jscript/dhtml) with PHP and database results. A while back, out of sheer boredom, I wrote a PHP script which dynamically generates a PHP script using database results, saves it to a database, and then grabs and executes the new script. I havent used that for anything except playing around and burning time/killing boredom. However, I also have a PHP program which you can run and edit the source code for the program inside the program itself, hit render and all of a sudden you are running the new version of the program. It is so cool that it is just plain sick. I use this methodology all the time - every day, everyone loves it, and my fridge has good food in it as a result. My point is that nothing is impossible, it is all just a matter of how you perceive things and how you react to these perceptions. Free your mind and the paychecks will follow, not to mention good code will just flow from your fingertips. :) Kris http://2binteractive.com http://doomstar.com/?target=me -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Screen Resoultion
Kris Yates mailto:[EMAIL PROTECTED] on Friday, August 15, 2003 11:55 AM said: However, I also have a PHP program which you can run and edit the source code for the program inside the program itself, hit render and all of a sudden you are running the new version of the program. It is so cool that it is just plain sick. I use this methodology all the time - every day, everyone loves it, and my fridge has good food in it as a result. Hhmmm... tell us more. c. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Resoultion
Chris W. Parker wrote: Kris Yates mailto:[EMAIL PROTECTED] on Friday, August 15, 2003 11:55 AM said: However, I also have a PHP program which you can run and edit the source code for the program inside the program itself, hit render and all of a sudden you are running the new version of the program. It is so cool that it is just plain sick. I use this methodology all the time - every day, everyone loves it, and my fridge has good food in it as a result. Hhmmm... tell us more. c. Basically it is just a lean and mean content editor I wrote that saves anything (html, php, yada yada-you-name-it) to a database. I use it inside an environment framework system I created which controls logging in and using the editor. So you go to the 'site', log in, and then you can run the editor and whatever other apps you have been given user-level access to. Your access level also determines what content you can access. Low level access users can edit only their own content. Super elite users can view/edit all content of all users, and as well can edit the HTML/PHP, etc. of the site itself. As super user elite, you can also select the content editor and edit the source code (PHP) of the content editor. Really, you can edit any application that is inside the environment framework system. ...hmmm.. Based on a setting defined for each peice of content in the database, when you click 'render', some PHP files may be written to a specified file system while other content 'chunks' stay in the database and never rendered out as files. These chunk files can but do not contain PHP... this is used for just content or referencing actual content chunks.. so I created a very basic macro psuedo language using PHP.. I call it metaChunk but I imagine the name may already be taken, otherwise this email acts as my copyright to that name according to the Berne Copyright convention. :) LOL ... An example of a content 'chunk' as seen in the editor (just an example that does not *really* exist - just typing junk from my head that would parse): bHello !!$:varuser!!bbr You have logged in !!$:logins!! timesbrbr !!displayChunk:menu.js!! !!displayChunk:userscreen!! !!includefile:funk.php!! The output is of course an HTML document that the end-user sees in ye olde browser. This is all a couple of years old and since then I have found others that have developed similar things.. lots of CMS systems and macro languages. someone said my metaChunk psuedo lang looks like struts, which I have yet to see for myself or bother to read about. So Chunks can include and run PHP, display and render other chunks, and display variables. One day I may expand it. I'd like to release all this to open source but I just cant afford to do that yet, and a contract with my employer is another deterent. I am guessing others out there are in the same boat. I have been PHP'ing since late 98 but working on this stuff specifically since 2k. In my 3 years of developing this stuff, I have made a point to not examine open source code so as to keep everything 'original'. I am just an old school programmer/ex hacker from the 80's that refuses to rip others off as I have already been ripped off a time or two in the past both in the music biz and the technology biz, including *major* media companies to say the least If you were to put ? echo Hello, World!; ? inside the database as a content 'chunk', it will just display the PHP to the web-browser instead of actually executing the code. All in all this whole deal just makes my life easier since I dont need my users being able to exec any code. Just FYI, this project started in late 2000 after my return from Los Angeles where I was recording at Paramount. I bought a Commodore 64 SX at a yard sale for $5.00 US. I got a copy of CNET 10.0 BBS out of a dusty old box and set it up for fun. It became my reference point for the first few months to create a BBS like system for the web which was similar to the old days of BBS, unlike the majority of BBS type systems on the web today. Just trying to be unique and different in my own old-school way. I blab about all of this vaguely at my doomstar.com site, which implements these tools and my employer is also allowing me to reuse my codeBase in applications I develop for their clients. Note to all: please send private replies as any further discussion could quickly become 'off topic' for the php-general list. I am interested in meeting other like minded people whom already know how to code and just want to throw ideas around for fun and inspiration. Thanks for you interest in my work! It is greatly appreciated. Kris http://doomstar.com/?target=me -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Resoultion
[EMAIL PROTECTED] wrote: umm sorry i wouldnt know i've never sold my soul to the devil lol jscript dude , dont get the boyz and girlz started , it would be nice if php could do client stuff like asp --You -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Resoultion
lol jscript dude , dont get the boyz and girlz started , it would be nice if php could do client stuff like asp Hello, Can anyone pls tell me is it possible to get the screen resoultion using php script ?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Screen Resoultion
You can do so with JavaScript and have that pass the information onto your PHP scripts to do whatever it is that you want. -M -Original Message- From: Uma Shankari T. [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 12:12 AM To: PHP Subject: [PHP] Screen Resoultion Hello, Can anyone pls tell me is it possible to get the screen resoultion using php script ?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Resoultion
oh right sure thats easy done , i assumed u meant the variable itself document.formname.fieldname.value=somevar; Use JS to set the value of a hidden form-field and then have it immediately submit the form and it can be passed to php. Not impossible. Greg -- phpDocumentor http://www.phpdoc.org [EMAIL PROTECTED] wrote: how is it possible to send a jscript variable to php thats impossible You can do so with JavaScript and have that pass the information onto your PHP scripts to do whatever it is that you want. -M -Original Message- From: Uma Shankari T. [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 12:12 AM To: PHP Subject: [PHP] Screen Resoultion Hello, Can anyone pls tell me is it possible to get the screen resoultion using php script ?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Screen Resoultion
Hello, Can anyone pls tell me is it possible to get the screen resoultion using php script ?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Resoultion
Use JS to set the value of a hidden form-field and then have it immediately submit the form and it can be passed to php. Not impossible. Greg -- phpDocumentor http://www.phpdoc.org [EMAIL PROTECTED] wrote: how is it possible to send a jscript variable to php thats impossible You can do so with JavaScript and have that pass the information onto your PHP scripts to do whatever it is that you want. -M -Original Message- From: Uma Shankari T. [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 12:12 AM To: PHP Subject: [PHP] Screen Resoultion Hello, Can anyone pls tell me is it possible to get the screen resoultion using php script ?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Resoultion
umm sorry i wouldnt know i've never sold my soul to the devil [EMAIL PROTECTED] wrote: oh right sure thats easy done , i assumed u meant the variable itself document.formname.fieldname.value=somevar; Well, ASP can't do any more in that area than PHP can, nor should it be able to. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Resoultion
[EMAIL PROTECTED] wrote: i didnt understand a word of that , please rephrase ?? ASP doesn't do an upload meter by magic. PHP can do anything ASP can do, it simply doesn't have built-in features for anything unessential. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Screen Resoultion
umm sorry i wouldnt know i've never sold my soul to the devil Some people just rent it to him for a while... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Resoultion
[EMAIL PROTECTED] wrote: how is it possible to send a jscript variable to php thats impossible It would look something like this (unfinished, using comments instead of real code in a few places: ?php if(!isset($_GET['height'])){ ? script type=text/javascript !-- var height = //resolution height var width = //resolution width document.location.href = document.location.href + ?height= + height + width= + width; -- /script ?php }else{ echo 'Your resolution is ', $_GET['height'], 'x', $_GET['width'], '.'; } ? -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Screen Resoultion
how is it possible to send a jscript variable to php thats impossible You can do so with JavaScript and have that pass the information onto your PHP scripts to do whatever it is that you want. -M -Original Message- From: Uma Shankari T. [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 12, 2003 12:12 AM To: PHP Subject: [PHP] Screen Resoultion Hello, Can anyone pls tell me is it possible to get the screen resoultion using php script ?? Regards, Uma -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Resoultion
[EMAIL PROTECTED] wrote: oh right sure thats easy done , i assumed u meant the variable itself document.formname.fieldname.value=somevar; Well, ASP can't do any more in that area than PHP can, nor should it be able to. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Resoultion
[EMAIL PROTECTED] wrote: yeh i'm saying it would be nice , i didnt say can it, i built an image uploader progress bar class , it had to use javascript with flash as php has no way of working out how much a file has uploaded where asp can Luckily, ASP doesn't work by magic. PHP (thankfully) doesn't have automatic features for doing everything, but it can be used for everything ASP can. -- The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be prosecuted to the full extent of the law. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Screen
Hod do i get the with and hight of the users screen and then put it into a variable? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen
This is a client matter, so PHP can't help you. Look into some JavaScript documentation for 'screen.width' 'screen.height'. HTH, Florin. On Fri, 7 Mar 2003 21:32:58 +0100 Kiswa [EMAIL PROTECTED] wrote: Hod do i get the with and hight of the users screen and then put it into a variable? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Florin Dumitrescu Webmaster Departamentul Internet Astral Telecom SA, Sucursala Brasov -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Screen Size detect??
On a slight side note to this, how can you pass javascript variables to PHP via POST? Newbie Powell On Saturday, February 1, 2003, at 12:21 PM, [EMAIL PROTECTED] wrote: From: Sean Malloy [EMAIL PROTECTED] Date: Sat Feb 1, 2003 6:48:26 AM Europe/London To: Dade Register [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] Screen Size detect?? Create index.htm; script language=JavaScript var width = screen.width; var height = screen.height; window.location = 'index.php?width=' + width + 'height=' + height; /script and in index.php $width = $_GET['width']; $height = $_GET['height']; etc etc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Screen Size detect??
index.htm script language=JavaScript function SubmitForm { document.myform.var.value = javascriptvalue; document.myform.submit(); } /script body onLoad='SubmitForm();' form name='myform' action='index.php' method='post' input type='hidden' name='var' value='' /form /body or something. I don't even know if that code works... I haven't tested it. but that could be the basis for somehting -Original Message- From: Nigel Powell [mailto:[EMAIL PROTECTED]] Sent: Sunday, 2 February 2003 3:25 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Screen Size detect?? On a slight side note to this, how can you pass javascript variables to PHP via POST? Newbie Powell On Saturday, February 1, 2003, at 12:21 PM, [EMAIL PROTECTED] wrote: From: Sean Malloy [EMAIL PROTECTED] Date: Sat Feb 1, 2003 6:48:26 AM Europe/London To: Dade Register [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] Screen Size detect?? Create index.htm; script language=JavaScript var width = screen.width; var height = screen.height; window.location = 'index.php?width=' + width + 'height=' + height; /script and in index.php $width = $_GET['width']; $height = $_GET['height']; etc etc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Size detect??
you can create a form with hidden fields like this script language=JavaScript document.screendata.height.value=screen.height; document.screendata.width.value=screen.width; screendata.submit(); /script form method=post action=index.php name=screendata input type=hidden name=height input type=hidden name=width /form bye Nigel Powell [EMAIL PROTECTED] escribió en el mensaje [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... On a slight side note to this, how can you pass javascript variables to PHP via POST? Newbie Powell On Saturday, February 1, 2003, at 12:21 PM, [EMAIL PROTECTED] wrote: From: Sean Malloy [EMAIL PROTECTED] Date: Sat Feb 1, 2003 6:48:26 AM Europe/London To: Dade Register [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: RE: [PHP] Screen Size detect?? Create index.htm; script language=JavaScript var width = screen.width; var height = screen.height; window.location = 'index.php?width=' + width + 'height=' + height; /script and in index.php $width = $_GET['width']; $height = $_GET['height']; etc etc -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Screen Size detect??
I'm trying to detect the screen size of any client browser, or at least IE. Is there a php function that can do this? If not, does anyone have any ideas on a JS that would work too? Plz help. Thanx. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Size detect??
There is no way to do that with PHP. PHP/JavaScript rule #1: PHP = Client Side JS = Server Side Obviously, client's browser is Client Side and PHP, which is Server Side, cannot be used for detecting Client's properties on page request (page wasn't prepared by PHP yet to activate any JS). With JS you can detect screen sizes by using JavaScript `screen' and `window' objects. Find them on developer.netscape.com. The wildest combination of PHP with client's screen sizes would be adding JS code into a page that sets the width/height (JS) variables as the page starts loading to then launch an 1x1 pixel image with these two variables passed as the URL parameters of the image tag and, the image is actually to be a PHP script which temporarily records it. Comparing the sessions of the current page and image's request you would be able to retrieve the screen size before continuing the page loads, adjusting the HTML to fit into that very screen. But, that is only theoretical. Technically it would mean a lot of trouble. Firstly because you would need to suspend the page load till when the client requested that image so your server knows the screen width/height, to then release the rest of thepage to browser. Not all browsers will support it either and you might end up in a lot of loops and slow response times/timeouts. I have once done something silly like that for a project which *really* depended on it (a videogame). And, I wouldn't do it once again :) Best solution? Perhaps using an absolute width for HTML tables (100%) or a fixed (minimal) page width (775 px recommended) P.S: Hope this email gets read archived and read from there :) -- Maxim Maletsky [EMAIL PROTECTED] On Fri, 31 Jan 2003 20:48:19 -0800 (PST) Dade Register [EMAIL PROTECTED] wrote: I'm trying to detect the screen size of any client browser, or at least IE. Is there a php function that can do this? If not, does anyone have any ideas on a JS that would work too? Plz help. Thanx. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen Size detect??
On Sat, 01 Feb 2003 18:44:19 +0100 Maxim Maletsky [EMAIL PROTECTED] wrote: There is no way to do that with PHP. PHP/JavaScript rule #1: PHP = Client Side JS = Server Side Geez I mean viceversa :) In Stalin's times I'd get killed for certain mistakes :) -- Maxim Maletsky [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Screen Size detect??
Create index.htm; script language=JavaScript var width = screen.width; var height = screen.height; window.location = 'index.php?width=' + width + 'height=' + height; /script and in index.php $width = $_GET['width']; $height = $_GET['height']; etc etc -Original Message- From: Dade Register [mailto:[EMAIL PROTECTED]] Sent: Saturday, 1 February 2003 3:48 PM To: [EMAIL PROTECTED] Subject: [PHP] Screen Size detect?? I'm trying to detect the screen size of any client browser, or at least IE. Is there a php function that can do this? If not, does anyone have any ideas on a JS that would work too? Plz help. Thanx. __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] screen resolution
I am making some pictures for my website in photoshop. Is there anyway I can use php or html to get the screen resolution so that I can load different images accordingly. I know I can just make them all less than 640 pixels wide but then they look to small on most computers. Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] screen resolution
PHP runs on the server. It knows nothing about the client. Use Javascript to get information about the client and pass it to your PHP script. -Kevin - Original Message - From: Edward Peloke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 29, 2002 2:18 PM Subject: [PHP] screen resolution I am making some pictures for my website in photoshop. Is there anyway I can use php or html to get the screen resolution so that I can load different images accordingly. I know I can just make them all less than 640 pixels wide but then they look to small on most computers. Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] screen resolution
Try a JavaScript mailing list. - Original Message - From: Edward Peloke [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 29, 2002 2:18 PM Subject: [PHP] screen resolution I am making some pictures for my website in photoshop. Is there anyway I can use php or html to get the screen resolution so that I can load different images accordingly. I know I can just make them all less than 640 pixels wide but then they look to small on most computers. Thanks, Eddie -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Screen resolution
javascript. and no, this isn't a php question :) justin on 25/10/02 2:04 AM, [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote: Is there any way to have the client browser report what resolution it currently uses? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Screen Scraping using PHP
I am having to do a remote URL screen scrape using PHP in safe-mode. What do you recommend I do? Thanx Phil -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] screen resolution
Search the archives for the following e-mail : Subject: RE: [PHP3] Checking screen resolution and/or window size Date: Wed, 23 Feb 2000 09:54:05 -0500 From: "Michael Geier" [EMAIL PROTECTED] I think this will cover your questions. -Stathis. Nikola Veber wrote: Hi ! I would like to know if it is possible to determine the screen resolution of the visitor using php ? Thanks Nikola -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Screen Resolution in PHP?
Is there a way to get the client's screen resolution in php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Screen Resolution in PHP?
Jay Paulson wrote: Is there a way to get the client's screen resolution in php? No. Use JavaScript. -- W | I haven't lost my mind; it's backed up on tape somewhere. + Ashley M. Kirchner mailto:[EMAIL PROTECTED] . 303.442.6410 x130 IT Director / SysAdmin / WebSmith . 800.441.3873 x130 Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6 http://www.pcraft.com . . .. Boulder, CO 80303, U.S.A. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Screen Resolution in PHP?
ACK! Just saw a post that answered this question. Sorry bout this post should have checked with archives first. - Original Message - From: Jay Paulson [EMAIL PROTECTED] To: php list [EMAIL PROTECTED] Sent: Monday, September 24, 2001 10:50 AM Subject: [PHP] Screen Resolution in PHP? Is there a way to get the client's screen resolution in php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Screen Resolution in PHP?
So sprach »Jay Paulson« am 2001-09-24 um 10:50:02 -0500 : Is there a way to get the client's screen resolution in php? no, because, as you say, it's the client's screen resolution and PHP runs on the server. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen Uptime: 1 day 6 hours 11 minutes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] screen
header (Location: $PHP_SELF); Sheridan (Seriously though... PHP produces HTML pages which are then handed to the client. It can't clear the screen the way an interactive program does.) - Original Message - From: Jeremy Morano [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, July 18, 2001 4:35 PM Subject: [PHP] screen is there any refresh or clear screen function in php? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Screen Resolutions
Could anyone tell me if there is a easy way of detecting screen resolutions in php, Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Screen Resolutions
PHP is server side, so it has no mthodology for detecting client side information. Try javascript. -Original Message- From: Stuart Rees [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 17, 2001 4:05 PM To: [EMAIL PROTECTED] Subject: [PHP] Screen Resolutions Could anyone tell me if there is a easy way of detecting screen resolutions in php, Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Screen Resolutions
On Mi 18 Abr 2001 00:15, Michael Geier wrote: PHP is server side, so it has no mthodology for detecting client side information. This is half true. It is server side, but remember that the browser sends information about the client. Of course, not the resolution! ;-) Try javascript. This is a very good idea! Saludos... :-) -- El mejor sistema operativo es aquel que te da de comer. Cuida tu dieta. - Martin Marques |[EMAIL PROTECTED] Programador, Administrador | Centro de Telematica Universidad Nacional del Litoral - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Screen Resolutions
script language=javascript type="TEXT/JAVASCRIPT" !-- widthvar = screen.width heightvar = screen.height // -- /script or something like that "Martín Marqués" [EMAIL PROTECTED] wrote in message 01041718172501.16385@bugs">news:01041718172501.16385@bugs... On Mié 18 Abr 2001 00:15, Michael Geier wrote: PHP is server side, so it has no mthodology for detecting client side information. This is half true. It is server side, but remember that the browser sends information about the client. Of course, not the resolution! ;-) Try javascript. This is a very good idea! Saludos... :-) -- El mejor sistema operativo es aquel que te da de comer. Cuida tu dieta. - Martin Marques |[EMAIL PROTECTED] Programador, Administrador | Centro de Telematica Universidad Nacional del Litoral - -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Screen Size?
Just remember that not everyone surfs with their browser window maximised. IIRC there's a window.innerheight and .innerwidth in NN's model, but not in IE's sigh Cheers Jon -Original Message- From: Todd Kerpelman [mailto:[EMAIL PROTECTED]] Sent: 26 February 2001 19:03 To: PHP Subject: RE: [PHP] Screen Size? How do you determine a user's screen size (resolution)? Isn't there a variable/function for this? I doubt you could do this in PHP, since your browser doesn't normally include screen size information in the headers it sends across to web servers. However, JavaScript can do this -- there's a screen object, with properties called screen.width and screen.height that specify (surprisingly enough) the width and height of the user's screen. You could create a form with some hidden inputs, and have a JavaScript body onLoad() event that would set the values of these hidden inputs to your user's screen size. When PHP receives this form. it could process the information from there. Hope this helps... --Todd -Original Message- From: Jason Bryner :: Focus Design Group, Inc. [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 10:52 PM To: PHP Subject: [PHP] Screen Size? How do you determine a user's screen size (resolution)? Isn't there a variable/function for this? -- Focus Design Group, Inc. http://www.focusdesigngroup.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] ** 'The information included in this Email is of a confidential nature and is intended only for the addressee. If you are not the intended addressee, any disclosure, copying or distribution by you is prohibited and may be unlawful. Disclosure to any party other than the addressee, whether inadvertent or otherwise is not intended to waive privilege or confidentiality' ** -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Screen Size?
How do you determine a user's screen size (resolution)? Isn't there a variable/function for this? -- Focus Design Group, Inc. http://www.focusdesigngroup.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] Screen Size?
How do you determine a user's screen size (resolution)? Isn't there a variable/function for this? I doubt you could do this in PHP, since your browser doesn't normally include screen size information in the headers it sends across to web servers. However, JavaScript can do this -- there's a screen object, with properties called screen.width and screen.height that specify (surprisingly enough) the width and height of the user's screen. You could create a form with some hidden inputs, and have a JavaScript body onLoad() event that would set the values of these hidden inputs to your user's screen size. When PHP receives this form. it could process the information from there. Hope this helps... --Todd -Original Message- From: Jason Bryner :: Focus Design Group, Inc. [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 25, 2001 10:52 PM To: PHP Subject: [PHP] Screen Size? How do you determine a user's screen size (resolution)? Isn't there a variable/function for this? -- Focus Design Group, Inc. http://www.focusdesigngroup.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]