[PHP] is this possible in PHP?

2005-05-03 Thread Dasmeet Singh
? 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] Creating ERD from an existing MySQL Table

2005-04-27 Thread Dasmeet Singh
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:

[PHP] Re: Creating ERD from an existing MySQL Table

2005-04-27 Thread Dasmeet Singh
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

[PHP] editor that typesets the php code

2005-04-27 Thread Dasmeet Singh
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

Re: [PHP] Php defense

2005-04-23 Thread Dasmeet Singh
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

Re: [PHP] image maps in PHP

2005-04-23 Thread Dasmeet Singh
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

[PHP] image maps in PHP

2005-04-22 Thread Dasmeet Singh
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

Re: [PHP] Re: 1 web site, 3 servers, 3 countries - best practises?

2005-04-22 Thread Dasmeet Singh
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

Re: [PHP] image maps in PHP

2005-04-22 Thread Dasmeet Singh
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

Re: [PHP] image maps in PHP

2005-04-22 Thread Dasmeet Singh
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

[PHP] parse error, unexpected T_CLASS

2005-04-19 Thread Dasmeet Singh
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

Re: [PHP] parse error, unexpected T_CLASS

2005-04-19 Thread Dasmeet Singh
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

Re: [PHP] parse error, unexpected T_CLASS

2005-04-19 Thread Dasmeet Singh
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

Re: [PHP] Setting permissions such that file can be included but not open directly

2005-04-18 Thread Dasmeet Singh
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

[PHP] Re: query error

2005-04-17 Thread Dasmeet Singh
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

[PHP] Re: chat script

2005-04-17 Thread Dasmeet Singh
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

[PHP] mysql insert function

2005-04-17 Thread Dasmeet Singh
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 =

[PHP] Re: Setting permissions such that file can be included but not open directly

2005-04-16 Thread Dasmeet Singh
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

[PHP] Are sessions unreliable?

2005-04-16 Thread Dasmeet Singh
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

Re: [PHP] Are sessions unreliable?

2005-04-16 Thread Dasmeet Singh
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

[PHP] Re: Chat Script

2005-04-16 Thread Dasmeet Singh
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

[PHP] image handling

2005-04-16 Thread Dasmeet Singh
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

[PHP] Setting permissions such that file can be included but not open directly

2005-04-15 Thread Dasmeet Singh
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

Re: [PHP] Re: User Management

2005-04-14 Thread Dasmeet Singh
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

[PHP] Re: mod_rewrite from .htaccess

2005-04-14 Thread Dasmeet Singh
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

[PHP] unserialize problem

2005-04-14 Thread Dasmeet Singh
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

[PHP] Re: unserialize problem

2005-04-14 Thread Dasmeet Singh
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

Re: [PHP] unserialize problem

2005-04-14 Thread Dasmeet Singh
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

[PHP] User Management

2005-04-13 Thread Dasmeet Singh
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

Re: [PHP] User Management

2005-04-13 Thread Dasmeet Singh
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

Re: [PHP] User Management

2005-04-13 Thread Dasmeet Singh
-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

[PHP] CPanel adding POP account

2003-09-14 Thread Dasmeet
I am having a server that runs CPanel/WHM... I wish to create a free email service... Are there any PHP scripts available for the same?? Thanks in advance Dasmeet -- -- Domainwala.com Domain Names from $7.99 at http://www.domainwala.com -- PHP General Mailing List (http://www.php.net

[PHP] Cpanel or Plesk

2003-09-06 Thread Dasmeet
Hi! I guess many of you must have used both CPanel and Plesk. Can you tell me which one is better and what are the basic differences between them? Also can accounts hosted on WHM/CPanel moved to Plesk? Any information would be of great help. Thanks in advance! Dasmeet -- -- Domainwala.com

[PHP] homepage script..

2003-08-24 Thread Dasmeet
! Thanks Dasmeet -- -- Domainwala.com Domain Names from $7.99 at http://www.domainwala.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Any IMAP portal system

2003-08-17 Thread Dasmeet
Hi! Is there any PHP Portal system (scripts) that have IMAP/SMTP, calendar, notebook and other utilities build in to it alongwith other general portal utilities? Any information would be of great help. Thanks Dasmeet -- Domainwala.com Domain Names from $7.99 at http://www.domainwala.com -- PHP

Re: [PHP] mail() usage in for loops

2003-08-14 Thread Dasmeet
.. MyMail.. http://scripts.codingclick.com/MyMail/ Bye! Dasmeet -- Domainwala.com Domain Names from $7.99 Mohanaraj wrote: Dear all, I have read that using mail() in a for loop to send a lot of emails ( around 1k-10k ) emails is not advised due to the fact that it can be resource intensive hence

Re: [PHP] info

2003-08-12 Thread Dasmeet
What are these un/pwds for? guess these were not meant to be posted to mailing list Kevin Stone wrote: domain: asiostudios.com host: Helpelf ftp_un: asio ftp_pw: uZGG7ai registrar: Godaddy reg_un: 1398706 reg_pw: iktomi reg-account email: [EMAIL PROTECTED] email1: [EMAIL PROTECTED] un:

[PHP] Any PHP editor for windows

2002-07-18 Thread Dasmeet Singh
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] php-gtk

2002-02-21 Thread Dasmeet Singh Arora
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

Re: [PHP] PHP software tool

2001-12-23 Thread Dasmeet Singh Arora
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

[PHP] Does mail() can be used to send attachments?

2001-12-22 Thread Dasmeet Singh Arora
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

Re: [PHP] PHPhish Logo

2001-12-13 Thread Dasmeet Singh Arora
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

Re: [PHP] Re: Script like this for PHP

2001-12-13 Thread Dasmeet Singh Arora
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

Re: [PHP] Searching for a new provider

2001-12-13 Thread Dasmeet Singh Arora
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 -