[PHP] Any PHP editor for windows
Hey, does anyone knows of a good PHP editor for windows. I have also heard emacs is available for windows. Does anyone know where to download it from? Dasmeet http://www.einfotimes.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] User Management
Hi! I am developing an applicaton in PHP where different users would have different permissions and access to different functions/pages of website. Now whats the best way to do tht? One way I can think of is keep all permissions in a table and divide everyting on site into functions..and when every function is called, check whether thecurrent user has permission to particular function.. But this method looks quiet complicated..is ther any other way to do this? Also if you can give me some links to articles/tutorials on user/levels management in PHP, it would be really helpful.. Thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] User Management
Thanks.. And how to manage user and their permissions.. should I store each page name in a table and then store permissions of each and every user to individual pages in another table? Is there any other way to do this? [EMAIL PROTECTED] wrote: use an include file at the top of each page. in this include file you will check to see whether that user has access to see that page, if they dont then just redirect to the main menu page or an error page. hope this helps Angelo Zanetti Z Logic www.zlogic.co.za This message was sent using IMP, the Internet Messaging Program. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] User Management
Thanks I checked fusebox.. its really nice and interesting.. Still I wasnt able to find anything related to managing users on its site.. or I have to seperately built a user authentication system? Stephen March wrote: This is one of the many reasons I've been using Fusebox for the past few years. http://www.fusebox.org It's an open sourced framework that provides you with an interesting way to do includes, to break your application out into MVC (Model View Controller) and allows you to provide a better granular security. You then control the users permissions to a series of circuits and fuses (much like folders and functions) - rather than to specific code pages. For my purposes I find it more beneficial to diagram out my UML Use Cases (A user will do 'x', whereas an administrator will do 'y'). Eventually you will need a mechanism to store that information - whether it be a MySQL table or a directory server accessible via LDAP. I generally try to develop a table for roles (or groups), for users, permissions. Assign the permissions to the roles, and assign a user to role. I haven't found an easy solution per-se, but this is effective for me. Cheers, ~Stephen March, CIS, BSc -Original Message- From: Dasmeet Singh [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 13, 2005 4:15 AM To: php-general@lists.php.net; [EMAIL PROTECTED] Subject: Re: [PHP] User Management Thanks.. And how to manage user and their permissions.. should I store each page name in a table and then store permissions of each and every user to individual pages in another table? Is there any other way to do this? [EMAIL PROTECTED] wrote: use an include file at the top of each page. in this include file you will check to see whether that user has access to see that page, if they dont then just redirect to the main menu page or an error page. hope this helps Angelo Zanetti Z Logic www.zlogic.co.za This message was sent using IMP, the Internet Messaging Program. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: User Management
This seems to be something exactly as i was looking for.. Can you pls send me some tutorials/examples/links on how to implement it? Regards, Dasmeet http://hostwindow.info Eugene Voznesensky wrote: Yoy can try this one: http://pear.php.net/package/LiveUser Hi! I am developing an applicaton in PHP where different users would have different permissions and access to different functions/pages of website. Now whats the best way to do tht? One way I can think of is keep all permissions in a table and divide everyting on site into functions..and when every function is called, check whether thecurrent user has permission to particular function.. But this method looks quiet complicated..is ther any other way to do this? Also if you can give me some links to articles/tutorials on user/levels management in PHP, it would be really helpful.. Thanks in advance -- 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] Re: mod_rewrite from .htaccess
Matthew Weier O'Phinney wrote: * Amir Mohammad Saied [EMAIL PROTECTED]: I want to use mod_rewrite patterns, but i have not access to the httpd.conf so i think i should use .htaccess, but the patterns don't work properly there, have my admin should set any settings in the httpd.conf? I use mod_rewrite from .htaccess all the time; just make sure that you have the 'RewriteEngine on' directive in your .htaccess file before your rewrite rules. It's entirely possible, however, that the server admin has denied permission for that action in the global httpd.conf, though. If you simply cannot get rules to work -- rules that you know work on another machine, for instance, that would be the next step to try. This should help you :) http://www.yourhtmlsource.com/sitemanagement/urlrewriting.html http://www.webmasterworld.com/forum92/82.htm Regards, Dasmeet http://hostwindow.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] unserialize problem
Hi! I am trying to unserialize a serialized array stored in cookie... I am using following code : echo(Welcome to Members Areabr); echo(br$loginbr); $m_l_d=unserialize($login); echo $m_l_d; echo($m_l_d[0], $m_l_d[1], $m_l_d[2]); However the output is: Welcome to Members Area a:4:{i:0;s:1:\h\;i:1;s:1:\2\;i:2;s:1:\1\;i:3;s:1:\g\;} , , that means $login exists and it echos properly.. but why isnt it unserializing? http://hostwindow.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: unserialize problem
Dasmeet Singh wrote: Hi! I am trying to unserialize a serialized array stored in cookie... I am using following code : echo(Welcome to Members Areabr); echo(br$loginbr); $m_l_d=unserialize($login); echo $m_l_d; echo($m_l_d[0], $m_l_d[1], $m_l_d[2]); However the output is: Welcome to Members Area a:4:{i:0;s:1:\h\;i:1;s:1:\2\;i:2;s:1:\1\;i:3;s:1:\g\;} , , that means $login exists and it echos properly.. but why isnt it unserializing? http://hostwindow.info I have also tried stripslashes..still not working :( http://hostwindow.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] unserialize problem
Marek Kilimajer wrote: Dasmeet Singh wrote: Hi! I am trying to unserialize a serialized array stored in cookie... I am using following code : echo(Welcome to Members Areabr); echo(br$loginbr); $m_l_d=unserialize($login); echo $m_l_d; echo($m_l_d[0], $m_l_d[1], $m_l_d[2]); However the output is: Welcome to Members Area a:4:{i:0;s:1:\h\;i:1;s:1:\2\;i:2;s:1:\1\;i:3;s:1:\g\;} , , that means $login exists and it echos properly.. but why isnt it unserializing? magic_quotes_gpc is on, so the cookie is quoted. Use first: $login = (ini_get('magic_quotes_gpc') ? stripslashes($_COOKIE['login']) : $_COOKIE['login']); then unserialize. !!!WARNING!!! array elements in $m_l_d are NOT quoted, don't use them directly in sql queries, validate them first Yep! That is working :) Thanks! http://hostwindow.info -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Setting permissions such that file can be included but not open directly
Hi! I use a page to authorize a user and based on certain criterias (user group etc) include a file in another directory (named private)... Everything is working fine but the problem is anyone goign directly to private/includefile.php can run the script without authorising themselves... Is it possible to set folder permission such that files inside it cant be open directly but could be included? thanks in advance :) -- Free cPanel Web Hosting http://hostwindow.info/web-hosting/2/free-cpanel-web-hosting/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Setting permissions such that file can be included but not open directly
Dasmeet Singh wrote: Hi! I use a page to authorize a user and based on certain criterias (user group etc) include a file in another directory (named private)... Everything is working fine but the problem is anyone goign directly to private/includefile.php can run the script without authorising themselves... Is it possible to set folder permission such that files inside it cant be open directly but could be included? thanks in advance :) .htaccess thing worked ..Thanks :) Free cPanel Web Hosting http://hostwindow.info/web-hosting/2/free-cpanel-web-hosting/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Are sessions unreliable?
Hi! I store some user info in sessions.. it works fine but sometimes what happens is that the user id stored in session get changed.. and it happens only sometimes.. Can it be browser problem? or this is common? Thanks - Free cPanel Web Hosting http://hostwindow.info/web-hosting/2/free-cpanel-web-hosting/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Are sessions unreliable?
Hi! Warren Thanks for such a detailed reply... I am already looking into the code... Just wanted to ask... I recently updated Red Hat's kernel.. and this problem seems to started appearing after that... is there a possibility of any connection between these two? Warren Vail wrote: I have had similar things happen but in every case it turned out to be a program bug in my code. It was usually something I looked at over and over and I saw the way it was supposed to work, but because I missed a detail it was not working that way. I would suggest you find someone to look over your code and help you with the debug process. I found many bugs just trying to explain to someone clearly how it worked. I suppose it could be a browser problem, but you need to solve those as well, or at least handle them gracefully. Do you make it a practice of having multiple browser instances open at the same time. I believe they will each normally get their own session key, and if you get your hands crossed, you will be looking at the symptoms in the wrong browser, bottom line, test, test, and test, then get a second set of eyes to look at your code, show them how it works, they don't need to really know a lot about PHP, or even programming for that matter, they will ask questions that as you try to answer them, you will find your problems. I have never found a legitimate bug in PHP Sessions, I have on the other hand found I was inconsistently using session handler routines, and before register globals was turned off, I was finding form variables that clobbered my session variables (or maybe it was the other way). Good Luck, Warren Vail [EMAIL PROTECTED] -Original Message- From: Dasmeet Singh [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 11:04 PM To: php-general@lists.php.net Subject: [PHP] Are sessions unreliable? Hi! I store some user info in sessions.. it works fine but sometimes what happens is that the user id stored in session get changed.. and it happens only sometimes.. Can it be browser problem? or this is common? Thanks - Free cPanel Web Hosting http://hostwindow.info/web-hosting/2/free- cpanel-web-hosting/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - Free cPanel Web Hosting http://hostwindow.info/web-hosting/2/free-cpanel-web-hosting/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Chat Script
Sukalyan Banga wrote: Hi! I am finding a chat script from which I can use that script as a private chatting work at my own URL. see this :) http://www.hotscripts.com/PHP/Scripts_and_Programs/Chat_Scripts/index.html - Free cPanel Web Hosting http://hostwindow.info/web-hosting/2/free-cpanel-web-hosting/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] image handling
I have a form on my website that allows users to upload photographs.. 1. How to find out the file type they are uploading..like jpeg or png or gif? 2. Also is there any way to find out size and resolution of the image? Thanks in advance :) - Free cPanel Web Hosting http://hostwindow.info/web-hosting/2/free-cpanel-web-hosting/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: query error
pete M wrote: I've got a database table with a whole list of windows file paths. eg Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Binder.lnk Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Excel.lnk Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Office Setup.lnk Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Outlook.lnk Advent Tower PC\C\Program Files\Microsoft Office\Microsoft PowerPoint.lnk Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Word.lnk Advent Tower PC\C\Program Files\Microsoft Office\MS Access Workgroup Administrator.lnk Advent Tower PC\C\Program Files\Microsoft Office\MSCREATE.DIR Advent Tower PC\C\Program Files\Microsoft Office\OF97SPEC.INI Advent Tower PC\C\Program Files\Microsoft Office\Office Advent Tower PC\C\Program Files\Microsoft Office\Office\1033 Now I want my DB query to search for directories .. here's a sample query select * from ff_files where full_path like 'Advent Tower PC\C\freeserve\help\images\%' doesnt work as the % is taken as a literal '%' I've aslso tried like 'Advent Tower PC\\C\\freeserve\\help\\images\%' I'm completely lost .. all I want is to return all rows that start with 'Advent Tower PC\C\freeserve\help\images\' tia Pete Try like 'Advent Tower PC\\C\\freeserve\\help\\images\\%' Free cPanel Web Hosting http://hostwindow.info/web-hosting/2/free-cpanel-web-hosting/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: chat script
Sukalyan Banga wrote: Sir, I am hosted a chat script at www.bioraj.net/raj/chat/ but it shows some error what should I do. sukalyan I got a virus warning while trying to open your site.. Free cPanel Web Hosting http://hostwindow.info/web-hosting/2/free-cpanel-web-hosting/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] mysql insert function
Hi! I regularly need to insert data into MySQL.. and instead of writing Insert query everytime i wrote this function... and it works well.. Please see and tell is it a good idea using this..or there might be problems with it? function db_query($sql) { global $dbh; $result = mysql_query($sql,$dbh) or die(mysql_error()); return $result; } function insertArray($table, $array) { //var_dump($array); $sql1=INSERT INTO `.$table.`(; $sql2=) VALUES(; while (list($key,$value) = each($array)) { //echo ($key, $value BR); $sql1=$sql1.`.$key.`,; $sql2=$sql2.\.$value.\,; } $sql1=rtrim($sql1,,); $sql2=rtrim($sql2,,); $sql=$sql1.$sql2.); //echo $sql; db_query($sql); } And when i need to insert any data I create it as an array like below and call function: $fields=array( Title = $Title, OwnerMemberId = $memberid, Address = $Address, City = $City, State = $State, Pin = $Pin ); insertArray(Property, $fields); where Property is the table name - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Setting permissions such that file can be included but not open directly
Kim Madsen wrote: -Original Message- From: Mike [mailto:[EMAIL PROTECTED] Sent: Friday, April 15, 2005 9:43 PM To: 'Dasmeet Singh'; php-general@lists.php.net Subject: RE: [PHP] Setting permissions such that file can be included but not open directly directly to private/includefile.php can run the script without authorising themselves... Is it possible to set folder permission such that files inside it cant be open directly but could be included? Can you just give read permissions -only- to the user that PHP runs as and not these other users? Just put these kinda directives outside webscope, I.E.: /home/USER/public_html/ /home/USER/private/ -- Med venlig hilsen / best regards ComX Networks A/S Kim Madsen Systemudvikler/Systemdeveloper Thanks that works as well :) - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] parse error, unexpected T_CLASS
Hi! When i try to run the following line: echo (div class=pmini h1 $row[1] /h1 p Location- $row[4] br Property Type- $ptypebrMin Price- $row[9] /div); it gives an error.. Parse error: parse error, unexpected T_CLASS in /home/real/public_html/functions.php on line 162 Any idea..why? Probably any stupid mistake .. :( - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] parse error, unexpected T_CLASS
Jay Blanchard wrote: [snip] echo (div class=pmini h1 $row[1] /h1 p Location- $row[4] br Property Type- $ptypebrMin Price- $row[9] /div); it gives an error.. Parse error: parse error, unexpected T_CLASS in /home/real/public_html/functions.php on line 162 Any idea..why? Probably any stupid mistake .. :( [/snip] Takes the parentheses out. echo div class=pmini h1 $row[1] /h1 p Location- $row[4] br Property Type- $ptypebrMin Price- $row[9] /div; From http://www.php.net/echo echo() is not actually a function (it is a language construct) so you are not required to use parentheses with it. In fact, if you want to pass more than one parameter to echo, you must not enclose the parameters within parentheses. Removed the ()..still the same error :(.. am copying complete function..if its because of something else... function showProperty($filter, $by, $value) { if($filter==true) { $query=SELECT * FROM `Property` WHERE .$by. = '.$value.' ORDER BY DateAdded DESC; } else { $query=SELECT * FROM `Property`ORDER BY DateAdded DESC; } $result=db_query($query); while($row=mysql_fetch_row($result)) { $ptype= getName('propertyTypes', 'id', $row[8] , 'Name'); echo div class=pmini h1 $row[1] /h1 p Location- $row[4] br Property Type- $ptypebrMin Price- $row[9] /div; } } - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] parse error, unexpected T_CLASS
Marek Kilimajer wrote: Dasmeet Singh wrote: Jay Blanchard wrote: [snip] echo (div class=pmini h1 $row[1] /h1 p Location- $row[4] br Property Type- $ptypebrMin Price- $row[9] /div); it gives an error.. Parse error: parse error, unexpected T_CLASS in /home/real/public_html/functions.php on line 162 Any idea..why? Probably any stupid mistake .. :( [/snip] Takes the parentheses out. echo div class=pmini h1 $row[1] /h1 p Location- $row[4] br Property Type- $ptypebrMin Price- $row[9] /div; From http://www.php.net/echo echo() is not actually a function (it is a language construct) so you are not required to use parentheses with it. In fact, if you want to pass more than one parameter to echo, you must not enclose the parameters within parentheses. Removed the ()..still the same error :(.. am copying complete function..if its because of something else... function showProperty($filter, $by, $value) { if($filter==true) { $query=SELECT * FROM `Property` WHERE .$by. = '.$value.' ORDER BY DateAdded DESC; } else { $query=SELECT * FROM `Property`ORDER BY DateAdded DESC; ^ missing double quote. Get some decent editor with syntax highlighting Thanks.. That was really silly.. BTW.. pls suggest some good editor.. I use notepad currently.. - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] image maps in PHP
Hi! I need to create an image map on a country map, where people can click on any state and get some info related to it.. In such case the regular polygon/circle/rectengle image map wont do bcoz of shapes of state.. I guess this must be possible someway in PHP.. please tell me if you have any idea how to go abt this.. Thanks in advance :) - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: 1 web site, 3 servers, 3 countries - best practises?
Richard Davey wrote: Hello Jochem, Friday, April 22, 2005, 8:13:15 AM, you wrote: JM in a round about way he seems to be asking 'why'? which is not JM totally invalid. To be honest when I ask people why? I actually use that word (or at least something closely related to it). JM do you want/need a master/slave configuration JM or true decentralisation and/or two way syncing? See my reply to Drewcore for far more detail which answers the above. JM sounds like a costly undertaking, not to be taken lightly... I'm JM interested to understand the requirement that dictates such server JM redundancy. Given the implied cost, planning/implementation should JM probably left to a company who already knows the answers to your JM questions :-/? This isn't about redundancy, it's about enhancing the experience for customers physically located thousands of miles away from the server they are trying to access. So, bring the content closer to them and drop their wait times massively. It's easy for those of us sat on the end of cable connections to become complacent about this IMHO (i.e. the Internet is fast enough now that you don't need to do this), but in reality that's not really yet the case. Best regards, Richard Davey I dont have much knowledge about this thing.. still isnt it possible to rsync the contents after you update your site? If this is possible in your case, then its quiet easy I guess.. sorry if I misunderstood :) - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] image maps in PHP
Mark Rees wrote: Yes, I once did this for all the states in Brazil. It took me a few hours to trace the states, but it looked beautiful when it was finished. This will already have been done for the states many times - you could probably borrow someone else's work and scale it up or down a bit if it doesn't fit. Mark -Original Message- From: Mike [mailto:[EMAIL PROTECTED] Sent: 22 April 2005 14:16 To: php-general@lists.php.net Subject: RE: [PHP] image maps in PHP Hi! I need to create an image map on a country map, where people can click on any state and get some info related to it.. In such case the regular polygon/circle/rectengle image map wont do bcoz of shapes of state.. I guess this must be possible someway in PHP.. please tell me if you have any idea how to go abt this.. Is the problem you're experiencing that the image map isn't being built properly or are you passing information to it that does not appear to be consistant. If it's the former, then PHP has nothing to do with that. I'm sure you can find some tools to generate image maps for you. There have always been free ones with a minimum of effort. If you're having problem with PHP in the mix, can you describe the PHP problem, provide some code, some sample output, etc.? I've used image maps in the past (though I try to stay away from them) and you can create a link with virtually any polygon if you have the patience to may out the plot points. You could easily create a star with many, many points and have it be clickable - which would indicate that most states would be a piece of cake. -M Thanks.. actually I found some maps for US states with image map done.. but I am looking for a map of India.. and still havent find any - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] image maps in PHP
Actually I am not able to make image maps because of uneven state boundaries.. Can you please suggest some tools... I haven't used any yet... Thanks - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ Mike wrote: Hi! I need to create an image map on a country map, where people can click on any state and get some info related to it.. In such case the regular polygon/circle/rectengle image map wont do bcoz of shapes of state.. I guess this must be possible someway in PHP.. please tell me if you have any idea how to go abt this.. Is the problem you're experiencing that the image map isn't being built properly or are you passing information to it that does not appear to be consistant. If it's the former, then PHP has nothing to do with that. I'm sure you can find some tools to generate image maps for you. There have always been free ones with a minimum of effort. If you're having problem with PHP in the mix, can you describe the PHP problem, provide some code, some sample output, etc.? I've used image maps in the past (though I try to stay away from them) and you can create a link with virtually any polygon if you have the patience to may out the plot points. You could easily create a star with many, many points and have it be clickable - which would indicate that most states would be a piece of cake. -M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Php defense
wikipedia.org also uses PHP - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ -K. wrote: As i recall Yahoo uses PHP. Quick Google turned up: http://public.yahoo.com/~radwin/talks/yahoo-phpcon2002.htm Also i remember it was a pretty big deal when Friendster switched to PHP. And the resulting improvement in performance was pretty dramatic. O'Reilly has a good article. http://www.oreillynet.com/pub/wlg/5155 Google around some, especially on the Friendster switch, which as I recall caused quite a stir, for more information. -k. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] image maps in PHP
John Coppens wrote: On Fri, 22 Apr 2005 19:11:23 +0530 [EMAIL PROTECTED] (Dasmeet Singh) wrote: Actually I am not able to make image maps because of uneven state boundaries.. Can you please suggest some tools... I haven't used any yet... Did you check GIMP? It has an option to make HTML image maps. Check Filters|Web|ImageMap John Thanks - Free Website Promotion - A Complete Guide http://hostwindow.info/web-hosting/9/free-website-promotion/1/ Mike wrote: Hi! I need to create an image map on a country map, where people can click on any state and get some info related to it.. In such case the regular polygon/circle/rectengle image map wont do bcoz of shapes of state.. I guess this must be possible someway in PHP.. please tell me if you have any idea how to go abt this.. Is the problem you're experiencing that the image map isn't being built properly or are you passing information to it that does not appear to be consistant. If it's the former, then PHP has nothing to do with that. I'm sure you can find some tools to generate image maps for you. There have always been free ones with a minimum of effort. If you're having problem with PHP in the mix, can you describe the PHP problem, provide some code, some sample output, etc.? I've used image maps in the past (though I try to stay away from them) and you can create a link with virtually any polygon if you have the patience to may out the plot points. You could easily create a star with many, many points and have it be clickable - which would indicate that most states would be a piece of cake. -M Thanks John, I never knew about any such thing in Gimp :) SayOrange.com How to choose the best web hosting? http://www.sayorange.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Creating ERD from an existing MySQL Table
Hi! I need to create an ERD from an existing MySQL table. Is there any such tool/script to do it automatically? Thanks in advance :) SayOrange.com How to choose the best web hosting? http://www.sayorange.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Creating ERD from an existing MySQL Table
Dasmeet Singh wrote: Hi! I need to create an ERD from an existing MySQL table. Is there any such tool/script to do it automatically? Thanks in advance :) SayOrange.com How to choose the best web hosting? http://www.sayorange.com Just an update.. i was able to do what i want through dbvisualizer http://www.minq.se/products/dbvis/ SayOrange.com How to choose the best web hosting? http://www.sayorange.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] editor that typesets the php code
Hi! I have just completed coding for a script... i want to take a printout of the code.. but the code is very hotch potch.. Is there any software to automatically set the code with proper spacing/tabs extra..and possibly give colors to it too...?? Thanks in advance :) SayOrange.com How to choose the best web hosting? http://www.sayorange.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] is this possible in PHP?
Hi! I want a script that can display a list of all the websites currently hosted on my server.. (i have root access to the server) Say I have a page sitesonmyserver.php..it shud show a list of all the websites hosted on my server..eg: abc.com xyz.om And any additional info if possible? Is such a thing possible in PHP.. or does any such script exists? Thanks in advance! Dasmeet SayOrange.com How to choose the best web hosting? http://www.sayorange.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Does mail() can be used to send attachments?
Is it possible to send attachments using mail() command? If yes then how is it done. Thanks for any help. -- http://www.pluginjokes.com Add FREE Dynamic Jokes To Your Site! -- 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] PHP software tool
Check ConTEXT at http://www.fixedsys.com/context It not only supports PHP but many other.Got good Syntax Highlighting and other features. On Sun, 2001-12-23 at 00:16, LaserJetter wrote: Does anybody know of or can recommend any freeware text editing tools for editing PHP code in Win32? I can manage with Windows' Notepad but something with code highlighting etc and of a similar footprint to notepad would be useful. -- 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] -- http://www.pluginjokes.com Add FREE Dynamic Jokes To Your Site! -- http://www.pluginjokes.com Add FREE Dynamic Jokes To Your Site! -- 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] php-gtk
Hello! Can anyone tell me about sites where I can find some help and resources on PHP GTK. Is their any visual editor available for PHP GTK? Thanks in advance. -- 'The rose is sweetest washed with morning dew And love is loveliest when embalmed in tears' - Walter Scott __ http://www.pluginJokes.com - Add Free Dynamic Jokes To Your Site. http://nitro.fedoxpress.com - Earn Money While You Surf The Net. http://www.fedoXpress.com - Free, Fast Easy Email. http://freeads.fedoXpress.com - Advertise Your Site For Free. __ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHPhish Logo
How about a tiger? After all PHP is vast (and dangerous). Alok K. Dhir wrote: How about the Phrog? It's sort of a marine animal as well... Don't think there are any trademark infringements there. Although my guess is Phish wouldn't mind our using the 'Phish'. PHP is hardly in the same industry as the band... Or - how about Phundulus? http://zeus.mbl.edu/public/mrc/animals.php?func=detailmyID=F3196source _myID=D1 Some quotes from the description: most abundant species very hardy, existing in an environment of extremes Seems appropriate, no? Good PHP metaphors. :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]. net] On Behalf Of Mark Sent: Wednesday, December 12, 2001 3:53 PM To: [EMAIL PROTECTED]; Armin Hartinger Cc: PHP Subject: Re: [PHP] PHPhish Logo On Wed, 12 Dec 2001 09:09:38 -0600, Barton Hodges wrote: The PHP PHish. great idea (and great band too!) with great trademark lawyers! bad idea I think/ :( Armin Hartinger wrote: Personally, I think it should be something f-based ... the f will then be replaced with the ph ... e.g. Phish etc... Also I think it should be something maritime ... Penguin, Dolphin After all, Linux, PHP MySQL is the killer-combo, isn't it? -Armin On Tue, 2001-12-11 at 19:32, Andrew Chase wrote: Maybe an animal beginning with P would be a good Mnemonic device (and good for alliteration; think The PHP Panda or The PHP Platypus.) Hmm, I guess Panda and Platypus aren't particularly powerful animals, though. :/ Other animals beginning with P: Pelican Panther (cheesy) Polliwog Protozoa Of course, the Penguin is already spoken for. :) Personally, I don't have a problem with the current PHP logo... From a marketing standpoint, I don't know; has MySQL become a more attractive prospect to the pointy haired bosses of the world since they streamlined their logo and added a Dolphin? It would be interesting to know. If PHP was going to adopt a mascot, I kinda like the idea of the Platypus. If you want to force a metaphor, think of PHP as an interesting language that fits between traditional scripting languages and the HTTP server - sort of like the Platypus is an interesting critter that fits somewhere between mammal and.. whatever else. :) -Andy -Original Message- From: Tim Ward [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 11, 2001 2:02 AM To: PHP; Valentin V. Petruchek Subject: RE: [PHP] Logo proposal Chinchillas are fluffy, and I don't think anyone is using them for their logo. -- From: Valentin V. Petruchek [SMTP:[EMAIL PROTECTED]] Sent: 10 December 2001 16:58 To: PHP Subject: [PHP] Logo proposal Hello world of php-programmers! It seemes to me PHP is very powerful tool and very popular among web-programmers, too. As for me I use php for solving web tasks for 2 years and I'm very satisfied with it. It seemes to me current PHP logo (can be found by http://www.php.net/gifs/logo.gif) doesn't suite to PHP. It's common logo without any idea except using title in it. I propose to create and develop new PHP logo corresponding to its power. My propose is WoodPecker (e.g. like Woody). Other propositions? Respectfully, Zliy Pes http://www.zliypes.com.ua -- 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: php-list- [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: php-list- [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] -- http://www.fedoXpress.com Looking for a new email address? http://www.fedoXpress.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] Re: Script like this for PHP
You may also try using flash. It looks good and files are small too Peter wrote: The pop outs are done using JavaScript. Its something to do with setting the STYLE=visibility: hidden property of the HTML element. I'm not sure exactly how its done though. If you can get your hands on a copy of IE 4 (or maybe it was IE 3!), this kind of thing was done on the 'friendly error messages'. The code was very simple there and easy to follow through. Indera [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, I came across this FAQ and I really would like to create my FAQ like this one. I was wondering if someone would take a look at this link and let me know how it's created. I looked at the code, but can't figure out how it's done. http://www.installshield.com/ds/info/generalqa.asp Thanks Indera -- http://www.fedoXpress.com Looking for a new email address? http://www.fedoXpress.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] Searching for a new provider
Try http://www.portland.co.uk Andy wrote: Hi there, I am searching for a provider who fullfills those criterias and does not cost a fortune: - PHP = 4.06 bzw. PHP 4.x mit GDLibrary ab 2.0 - GDLibrary = 2.0 - PHP installed as module - mind 5 Subdomains - mind 100 MB Speicherplatz - evtl. Java VM - MySQL Thanx andy -- http://www.fedoXpress.com Looking for a new email address? http://www.fedoXpress.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]