[PHP] XML PHP question

2003-01-30 Thread Hardik Doshi
Hi everyone, Can you please tell me what is the best way of working with XML technology using PHP? I am not clear about integration of these two technologies. Suggest some books or links or good tutorials. thanks Hardik Doshi Web Application Developer Chicago

RE: [PHP] XML PHP question

2003-01-30 Thread Hardik Doshi
. Again thanks for your positive response. Hardik Doshi Web Application Developer Institute of Design, Chicago IL Chris McCluskey [EMAIL PROTECTED] wrote:Hardik, I have created my own XML parser based on the existing php xml functions http://php.net/xml . I've found this is nice but a bit annoying

RE: [PHP] Securing php files on shared servers

2003-02-03 Thread Hardik Doshi
Hi everyone, I found the same problem regarding security issue with database password file. Does anyone has solution for that? thanks Hardik John W. Holmes [EMAIL PROTECTED] wrote: Major security question: I manage a shared Linux web server running PHP 4.2.3. Apache must have read

[PHP] Config files

2003-08-14 Thread Hardik Doshi
Hi Group, I have following options for working with the configuration files with the relatively large web application. 1. Configuration variables using the DEFINE. 2. Array - Each configuration variable as an array element. 3. PHP.INI like config files. Please let me know which one is the

[PHP] Function arguments

2003-08-15 Thread Hardik Doshi
Hi Group, I have a question on overloaded function. What is the best way to pass the arguments so it is easy to maintain in future if function behaviour changes by adding/removing one or more arguments? Currently i am passing arguments in array. But i think it is not the clean way to do it and

Re: [PHP] Can Objects be passed to another page?

2003-09-04 Thread Hardik Doshi
Yeah you can pass object using serialize function and later on you can use unserialize function to convert the serialized variable in the original object. --- Radu Manole [EMAIL PROTECTED] wrote: using serialize might work - Original Message - From: Marco Schuler [EMAIL PROTECTED]

[PHP] Form data

2003-09-08 Thread Hardik Doshi
form into the database associated with the session id. Second is to store $_POST array of parent form into the session file itself. But i don't know which one is the efficient and real world solution. Even i would like to know other possible solutions. Please let me know. Thanks Hardik Doshi

[PHP] Multiple image buttons

2003-09-09 Thread Hardik Doshi
Hi Group, I have a page on which there are multiple image buttons. Is there any way to determine which button is pressed by the user? For example, there is a page on which i display all the users of the system with the edit and delete button beside each user entry. Now if admin wants to delete

[PHP] Printing reports

2003-09-15 Thread Hardik Doshi
Hi, From the different PHP mailing lists archives i found out that printing reports with the PDF is good solution. Let me know if you guys know any better solution for printing the reports. Currently i am testing report module with the FPDF library. My main goal is to print addresses information

RE: [PHP] Mail - avoid backslash before apostrophe

2003-06-03 Thread Hardik Doshi
Hi there, I think you need to check magic quotes setting under php.ini. I guess it should be on. Try to make it off and try your mail function. Thanks Hardik Doshi --- Dillon, John [EMAIL PROTECTED] wrote: I have a text box on a web page and submit button. The php code sends the text

[PHP] Configuration values

2003-06-05 Thread Hardik Doshi
Hi Group, I have a question regarding setting up configuration values (environmental variables) for particular PHP based web application. Currently i am doing it by using DEFINE but is there any better way to do it? Please let me know. Thanks Hardik Doshi

[PHP] Session filesize limit

2003-06-18 Thread Hardik Doshi
know what should be the filesize limit. I am just trying to save database calls on each request. If anyone has other suggestions then please let me know. Thanks Hardik Doshi - Hardik K. Doshi Web Application Developer Institute of Design Illinois Institute of Technology 350, North Lasalle

RE: [PHP] Session filesize limit

2003-06-18 Thread Hardik Doshi
functionality in the system and for that i need to add some more information in the session files. So i was just worrying about the size of these files. Anyway let me know if i am wrong or if you have any suggestions. Thanks again. Hardik Doshi --- Jay Blanchard [EMAIL PROTECTED] wrote: [snip

[PHP] Performance question

2003-06-23 Thread Hardik Doshi
Hi Group, I have a question regarding retrieving the information. I have the functionlity in which on every user click, system needs to retrieve information for particular user and display the page according to the retrieved information. Now question is which is the scalable solution? (1)

[PHP] Change image file size dynamically

2003-06-23 Thread Hardik Doshi
Hi Group, Is there any way to change the image size (Not height and width. I am talking about image file size) dynamically? Our users upload the big files and we want to find a way so once user upload such file, system will automatically generate the small file and store both versions on the

Re: [PHP] Session Performance questions

2003-07-02 Thread Hardik Doshi
I think writing 2 to 3K data into the session is faster than writing to sql db. Your session files are mostly stored on the swap space of your server and swap space is faster to read than database files stored in the hard drive. Let me know if i am incorrect thanks Hardik Doshi --- Sancar

Re: [PHP] how can I logout autamaitcally (using session)

2003-07-02 Thread Hardik Doshi
is greater than the thresold limit you have decided (idle time of user) than just logout that particular user otherwise set the current_time to the last_request_time and proceed.. I hope the algorithm is clear to you. Let me know if u need any help thanks Hardik Doshi --- sunwei [EMAIL PROTECTED

[PHP] Database question

2003-07-03 Thread Hardik Doshi
wrong anywhere and if any one of you have better idea then please disucss. Thanks Hardik Doshi __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Code and Good Design Methods

2003-07-15 Thread Hardik Doshi
Hi Joel, Thanks for nice comments on the XML, XSL. I want to know more about it. can you please send me some article, links and tutorials? Thanks Hardik --- Joel Rees [EMAIL PROTECTED] wrote: Let's be honest, XSL is is one big logic step itself -- moreover it's a whole other language to

Re: [PHP] XML

2003-07-16 Thread Hardik Doshi
Hi there, I read this interesting thread and come up with some questions. 1. How efficient is to use XML+XSLT solution? Does it add processing overhead to the system? 2. Do you have some examples which can describe the separation of layers using the XML+XSLT technology? 3. Currently i am

Re: [PHP] Auto session timeout

2003-07-20 Thread Hardik Doshi
Hi, I have implemented the Auto session timeout after the specific period of time. What i am doing is..At the time of login to the system, my script is storing the current unix time into the session and later on at every user click, It (my script) is checking the stored unix time with the

Re: [PHP] Auto session timeout

2003-07-21 Thread Hardik Doshi
more. Thanks again for your positive reply. Hardik --- John W. Holmes [EMAIL PROTECTED] wrote: Hardik Doshi wrote: Hi, I have implemented the Auto session timeout after the specific period of time. What i am doing is..At the time of login to the system, my script is storing

Re: [PHP] WYSIWYG Content Management system?

2003-02-05 Thread Hardik Doshi
Hey Jason, I am looking for the same. Do you have or any one in this list has any idea? Please let me know. thanks Hardik Jason Wong [EMAIL PROTECTED] wrote:On Wednesday 05 February 2003 09:43, J J wrote: I've seen CMS systems like phpnuke but it's kind of overkill for what I need and almost

[PHP] Documentation Help

2003-02-05 Thread Hardik Doshi
Hi Everyone, I worked on educational intranet and library management system. I did comment my code but i dont know how to document functional and technical specification as well as database schema. Can anyone help me how to start working on documentation part so other developer can easily

Re: [PHP] WYSIWYG Content Management system?

2003-02-05 Thread Hardik Doshi
is.. how to do a WYSIWYG editor that will be able to run on all browsers... At this time, my tool works well with all IE versions (later than 5.0).. If I can, I'll release a lite version of the tool on the net... - Original Message - From: Hardik Doshi To: Sent: Wednesday, February 05

Re: [PHP] Searching MySQL 'text' field

2003-02-06 Thread Hardik Doshi
Hi there, You have to use full text search capabilities of MySQL. Please take a look mysql documentation for full text search. thanks Hardik --- Vernon [EMAIL PROTECTED] wrote: I've setup a search page using PHP which when searching a MySQL 'varchar' field it works just fine, but I'm trying

RE: [PHP] WYSIWYG Content Management system?

2003-02-07 Thread Hardik Doshi
:01 PM To: PHP General list; Hardik Doshi Subject: Re: [PHP] WYSIWYG Content Management system? I am working on such a CMS right yet. I want to implement infinitly Language Support and an Wordpad like HTML Editor which allows you to chose basic design tem- plates and lets you

[PHP] 3 tier web development

2003-02-07 Thread Hardik Doshi
Hi Everyone, I am curious to know how one can develop 3-tier web based applications using PHP, MySQL. Here Database should be changed in future using database abstraction layer. Can anybody tell me in detail that how can i build 3 tier flexible web application? More questions on this thread: 1.

Re: [PHP] 3 tier web development

2003-02-07 Thread Hardik Doshi
Ok so for seperating interface and PHP code, smarty templace engine is the best right? What about database abstraction layer? thanks for your information. I really appreciate that. Hardik --- John Wells [EMAIL PROTECTED] wrote: Hardik Doshi said: 1. How one can seperate HTML and PHP

RE: RE: [PHP] WYSIWYG Content Management system?

2003-02-07 Thread Hardik Doshi
Hi Sascha, Really Nice. I like your thoughts about CMS. Today i am looking in PHP Nuke CMS and i found it has really nice functionalities. I don't know much about PHP nuke CMS. That's what you are looking for? Give some thoughts on PHP Nuke project. thanks and all the best for your ideas Hardik

RE: [PHP] 3 tier web development

2003-02-07 Thread Hardik Doshi
databases .. and guarantee the portability .. I hope this helps. Regards. Daniel. -Mensaje original- De: Hardik Doshi [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 07 de febrero de 2003 10:24 Para: [EMAIL PROTECTED] Asunto: [PHP] 3 tier web development Hi Everyone, I

Re: [PHP] delete query doesnt work

2003-02-07 Thread Hardik Doshi
Hi, I think you are facing problem with variable delete. Make sure your Php.ini settings for global off. Check value of variable is coming on the form or not. In case of your update, i think you forget to put where part. For example: mysql_query(update table_name set

Re: [PHP] strip slashes from variable content

2003-02-07 Thread Hardik Doshi
Ok i got your problem. First of all check php.ini settings for magic_gpc_quotes. If it is on then turn it off. I guess that the only problem you have. If you want to make it turn it on then you have to use stripslashes function. thanks Hardik --- Jason Wong [EMAIL PROTECTED] wrote: On Saturday

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Hardik Doshi
I have a same question in my mind about XML. I have another question in my mind too. If we are using smarty template engine in our development then what is need of XML and XSLT for presentation layer? I think XML and XSLT work is automatically done in smarty template engine. Am i right? Please

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Hardik Doshi
all my Websites in XML, if this is possible. Maybe someone knows a litte more and want to tell some about. Have a nice day! Sascha - Original Message - From: Hardik Doshi [EMAIL PROTECTED] To: Sascha Braun [EMAIL PROTECTED]; PHP General list [EMAIL PROTECTED]; Aaron

Re: [PHP] WYSIWIG CMS Part1

2003-02-10 Thread Hardik Doshi
--- Kevin Waterson [EMAIL PROTECTED] wrote: This one time, at band camp, Hardik Doshi [EMAIL PROTECTED] wrote: I know how to write XSL style sheet along with XML document. But i really dont know what contents should be in XML. If XML contains data (and it is true) then what

[PHP] Full text search of mysql

2003-02-12 Thread Hardik Doshi
Hello, I want to use mysql's full text search capabilities with two different tables. Can i join tables using full text search? I am using mysql 3.23.55 thanks Hardik __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day

[PHP] Does ZEND studio has secure FTP?

2003-02-17 Thread Hardik Doshi
Hi Everyone, Does zend studio has Secure FTP feature? I am not able to find information from Zend website. thanks Hardik __ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- PHP General Mailing List

[PHP] XML+XSLT or Smarty again??

2003-03-28 Thread Hardik Doshi
more and more concern for perfect selection of template engine. It would be nice if anyone can share XML+XSLT development with me. Regards, Hardik Doshi __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http

Re: [PHP] Re: XML+XSLT or Smarty again??

2003-03-31 Thread Hardik Doshi
Hi, From my point of view, XML+XSLT increases complexity with very less number of advantages. Fundamental of using XML+XSLT with PHP is to seperate HTML code from the PHP and database code. But in the following article, it shows XSL stylesheet comes with full of logic. Do we really need this

Re: [PHP] File upload meter

2003-10-08 Thread Hardik Doshi
this is not the official site. -Original Message- From: Hardik Doshi [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 08, 2003 9:47 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] File upload meter Hi Group, It's really nice to see the file upload meter

[PHP] File upload meter

2003-10-08 Thread Hardik Doshi
will release? Is PHP community planning to put file upload meter code permanently in every distributions of the php? Please let me know about my queries. I really want to use this feature but worrying for the future php releases. Thanks Regards, Hardik Doshi __ Do you

[PHP] Data modelling software

2003-10-20 Thread Hardik Doshi
Hi Group, Can anyone tell me which data modelling software is good for the mysql database? Thanks Hardik __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/) To

[PHP] Tab index

2003-10-22 Thread Hardik Doshi
menu doesn't work on certain browsers? Thanks Hardik Doshi __ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Tab index

2003-10-22 Thread Hardik Doshi
I am using the HTML. Javascript is not standard of W3C organization and that's why i don't want to use it. Is there any other solution for setting up the tabindex on the Drop down menu? Thanks Hardik --- Payne [EMAIL PROTECTED] wrote: Hardik Doshi wrote: Is it DHTML or Javascript? Becaucse

[PHP] Search logic question

2003-12-04 Thread Hardik Doshi
Hi Group, I need to implement the search engine for retrieving the image observations data from the MySQL database. The critical part in the search is the ability to add search criteria (Multipage search) from page to page. Anywhere during the process, user can click on the search button to

Re: [PHP] Re: PHP My SQL vs ASP.NET SQL 2000 Server

2003-12-08 Thread Hardik Doshi
Before you make any decision please take a look the power of PHP. http://www.dreamlab.ca/technology/phpsites/ Thanks Hardik --- Manuel Lemos [EMAIL PROTECTED] wrote: Hello, On 12/08/2003 07:42 PM, Ryotaro Ishikawa Md wrote: Hi, I am a MD, involved in a very large medical project that

[PHP] Singleton pattern question

2003-12-31 Thread Hardik Doshi
Hi Group, Currently i am using the singleton design pattern in one of my projects. I was under impression that by using the singleton pattern i need to initialize system configuration only one time (At the time of login) but once i implemented the system, i came to know that system initializes an

[PHP] Session and Cookie issue

2004-03-02 Thread Hardik Doshi
-in to the system. I saw the cookie file and it is storing the session id value in it. Can anyone tell me how can i turn off registering cookie to the local machine while working with the session handing functions? Thanks Hardik Doshi __ Do you Yahoo!? Yahoo! Search

Re: [PHP] Session and Cookie issue

2004-03-02 Thread Hardik Doshi
The problem is when i start a session (session_start()), a cookie is automatically generated on the local machine (PHPSESSID). This is expected and normal. If it is really a problem for you, you should probably explain why. I have selected Disable cookie option in the safari browser

Re: [PHP] Session and Cookie issue

2004-03-03 Thread Hardik Doshi
Thank you Chris. I have selected Disable cookie option in the safari browser setting on my MAC. Before selecting this option, my website was working fine but after disabling the cookie option, i am not able to log-in to my website. There are at least two options: 1. Include the

RE: [PHP] php session ID attached to URL

2004-03-04 Thread Hardik Doshi
In case, client has selected disabled cookie option then everytime you have to append session id variable to the URL. While appending the session id variable to the URL, one must know the security concerns. This is the nice article about session and security.

Re: [PHP] new session in new window

2004-03-09 Thread Hardik Doshi
Nice article by the way, and I am indeed already using those same methods to secure the user session. (I use SHA1 on the IP, PHPSESSIONID, user agent, and a secret...) Thanks for the kind words. I must point out that you'll never see me suggesting to use the IP address for anything

Re: [PHP] addslashes vs. mysql_real_escape_string

2004-04-19 Thread Hardik Doshi
Thank you John. Currently i am using PEAR DB abstration layer. Which function should i use to escape the ' character? There are couple of functions in the PEAR DB documentation so i don't know which one should i use. Hardik --- John W. Holmes [EMAIL PROTECTED] wrote: Richard Davey wrote:

Re: [PHP] Re: Re: sessions getting destroyed for *Some* clients

2004-04-20 Thread Hardik Doshi
if that is the case. Hardik Doshi --- Jaskirat Singh [EMAIL PROTECTED] wrote: I do not think it is the server name issue. I used www.original-remote-control.co.uk for testing ..and I have done that scores of times now :) .. I do not use setcookie .. I just call session_start() in the beginning to set

RE: [PHP] FW: Resizing Pictures

2004-04-20 Thread Hardik Doshi
You can resize a file using the GD library. Look for the GD library functions in php manual. Hardik Doshi [...] Hi Warren, Thanks for the reply; however, that wasn't the answer I was searching for. Using PHP, I would like to resize a file once it's store in a directory on a (my

Re: [PHP] single quote escape questions

2004-04-20 Thread Hardik Doshi
of it easily. Thanks for your time, Kathleen Hardik Doshi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php __ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints

[PHP] session HTML target = _blank element

2004-05-26 Thread Hardik Doshi
any one know this strange behaviour?? Let me know if i am doing anything wrong. Thank you. Regards, Hardik Doshi __ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ -- PHP General Mailing

[PHP] Tiff to Jpeg conversion

2004-07-16 Thread Hardik Doshi
Hi Group, Can anyone suggest me a tool for converting Tiff image to JPEG image? Currently i am using the GD library for manipulating images and i didn't see any function which converts Tiff image to JPEG image. I notice Imagmagic support this feature. Please let me know if anyone has any idea

Re: [PHP] PHP/MySQL based webmail?

2004-08-09 Thread Hardik Doshi
I strongly recommend Horde web mail. We are currently using it in our institute and it scales better. Thanks, Hardik --- Matthew Sims [EMAIL PROTECTED] wrote: On Mon, 2004-08-09 at 14:28, Alex Shi wrote: Hi All, Can any one recommend a strong/stable PHP/MySQL based web mail system?

[PHP] PHP5 - OOP Question

2004-08-09 Thread Hardik Doshi
Hello Group, I would like to know which one is the most appropriate way to implement the following scenario. For example, I want to display a products catalogue of 100 products. I do have a base class of product which contains all the basic property of the product (Product title, product

Re: [PHP] PHP/MySQL based webmail?

2004-08-10 Thread Hardik Doshi
into the Horde code base and it seems good and i am following them since last 5 years. Any SquirrelMail users? Let me know if you need any help with Horde so i can forward you to person who is actually managing it. Thanks, Hardik --- Chris Shenton [EMAIL PROTECTED] wrote: Hardik Doshi [EMAIL PROTECTED

Re: [PHP] PHP/MySQL based webmail?

2004-08-11 Thread Hardik Doshi
Hi Chris, Horde is little bit heavier than Squirrelmail. You can buy a Zend acclerator to speed up the things. I think your community is not that big and Horde works fine in our organization where we have 1000 users and all are pretty active. Look and feel matters in the web mail so before you