[PHP] Dynamic Images

2006-08-02 Thread Manoj Singh
Hello all, I am creating a a script in which a dynamic graph is generated through gd library. The format of the picture is jpeg. Now the problem is that the browser is caching the images and after updating also it is displaying the older image. Currently for clearing the cache i am using this

[PHP] Directory Structure

2006-09-07 Thread Manoj Singh
Hello all, I am developing a site in which i have to show the directory structure of any server i.e the admin will enter any site name and i have to show the dir structure of that site name. Please help me to fix this. Thanks Regards Manoj

[PHP] fput error

2006-11-27 Thread Manoj Singh
Hello all, I am using ftp function to upload the file in server. But i am getting this error: The filename, directory name, or volume label syntax is incorrect. Can anyone help me? Thanks Regards Manoj

[PHP] Optimization of PHP Code

2008-07-18 Thread Manoj Singh
Hello All, I am developing the web site in PHP using MYSQL database. Can you please provide me some tips to write the optimized code. Best Regards, Manoj Kumar Singh

[PHP] Not found regex

2008-08-04 Thread Manoj Singh
Hello All, I have to create the regular expression to allow all the file extensions except the specified extension. Suppose I want to allow extensions with php, so the regex is: ^.+\.php$ But here i need the regex which allows all the extensions except php. I will appreciate any help. Best

Re: [PHP] Not found regex

2008-08-04 Thread Manoj Singh
just opposite. Need your help here. RewriteRule .* https://%{HTTP_HOST}/ [L] Hope this helps to understand the problem. Best Regards Manoj Singh On Mon, Aug 4, 2008 at 8:24 PM, Yeti [EMAIL PROTECTED] wrote: ?php $file = '/example/hello.php'; $info = pathinfo($file); $not_allowed = array('php

[PHP] Task workflow management system

2008-08-08 Thread Manoj Singh
Hi all, I am developing the system where i have to dynamically assigned the tasks to the workers based on certain rules as well as also considering load balance. If you have solved this type of problem or any idea or documentation on how to achieve this, then please help me. Best Regards, Manoj

[PHP] Prevent execution bad commands

2008-09-27 Thread Manoj Singh
Hi All, I am developing a web page where i have to display the files list based on some search criteria and of certain duration. My web server is on linux operating system. The command i am using for this peropse is: find /home/test -mtime -$duration | sort | xargs grep -l $search_criteria Is

[PHP] Create DLL of PHP class

2008-10-03 Thread Manoj Singh
Hello All, I have the task to create DLL of PHP class. Please advise how to do it. Regards, Manoj Kumar Singh

[PHP] PHP to get File Type

2008-10-14 Thread Manoj Singh
Hello All, Is there any function in PHP to get the file/Mime type of any file? Any help will be appreciated. Regards, Manoj Kumar Singh

[PHP] Simplexml encodes output xml

2008-11-05 Thread Manoj Singh
Hi All, I am using PHP's senderxml library to generate the xml. My problem is that xml generated by this library encode some characters like , etc. Since i have to give the output xml to the device so i don't want to encode these characters. I know there is html_entity_decode method which can

[PHP] xhtml to pdf conversion

2006-06-21 Thread Manoj Singh
Hello all, I am developing a script which converts the xhtml to pdf. Now the problem is : I am applying multiple fonts in this script according to HTML Font Tag but when pdf is generated the pdf file gives error The Font Name of font Contain a bad /BBox.. So please advice me what should i do

[PHP] Multithreading in PHP

2009-03-17 Thread Manoj Singh
Hi Guys, I am creating a page which submits the form through Ajax request the submitted page is sending the mails to n number of users. Now until the mail sends or the page process completed the end user has to wait. Is it possible that server sends the response to the client then start

Re: [PHP] Multithreading in PHP

2009-03-17 Thread Manoj Singh
On Tue, Mar 17, 2009 at 7:01 PM, Alpár Török torokal...@gmail.com wrote: 2009/3/17 Manoj Singh manojsingh2...@gmail.com: Hi Guys, I am creating a page which submits the form through Ajax request the submitted page is sending the mails to n number of users. Now until the mail sends

Re: [PHP] Multithreading in PHP

2009-03-17 Thread Manoj Singh
Hi Sudheer, Can you please put more focus or sample code for the second option which you have suggested Send the email after you flush the output.. Regards, Manoj On Tue, Mar 17, 2009 at 7:28 PM, Sudheer Satyanarayana sudhee...@binaryvibes.co.in wrote: Manoj Singh wrote: Hi Guys, I am

[PHP] Server document root change

2009-03-30 Thread Manoj Singh
Hi All, My production server has facing disk full problem. Actually my server has the following drives mounted: /var - 10 GB /home - 200 GB etc... Now i want to change the document root of apache server from /var to /home. Is there any problem if i change this? Please suggest. Regards, Manoj

[PHP] SMS gateway

2009-05-13 Thread Manoj Singh
Hi All, I need to create the SMS functionality in PHP. Do you have any idea of Open Source SMS gateway which i can use? Thanks, Manoj

[PHP] Timezone details

2009-07-03 Thread Manoj Singh
Hi All, Is there any function in PHP which will provide me the details of any timezone such as current time, DST, offset etc. Thanks in advance, Manoj

[PHP] putenv usage

2009-07-22 Thread Manoj Singh
Hi All, I have a page where the user specifies in which timezone they belong to and based on that i have to show the date time. So I have to set the different timezones. For this I am using putenv function like: putenv(TZ=US/Eastern); Now my question is whether it is fine to use putenv in the

[PHP] Horizontall scrollbars in pdf

2009-10-09 Thread Manoj Singh
Hi, I have a task where I am exporting the report into pdf format through fpdf php library. Report width depends on it's data and it can be large also. My problem is that if the report width is large then instead of showing horizontal scrollbars the report gets truncated. Do you have any idea of

[PHP] SOAP: Return object to client

2009-11-26 Thread Manoj Singh
Hi All, I am implementing the web service through PHP SOAP library. Actually I want to return the object to the client through web service so that client can call all the methods of that object. Please help me out. Regards, Manoj

[PHP] PHP excel graph generator

2009-12-30 Thread Manoj Singh
Hi, I have the task to create excel sheet with embedded charts and graphs through PHP. The charts are pie chart and bar chart. The project will be run on the linux server. My question is it is possible to implement this through PHP? If yes, then please suggest the available implementations.

[PHP] PHP uploaded files logs

2009-12-31 Thread Manoj Singh
Hi, Is PHP maintaining the logs regarding files uploaded? Actually I needed it because recently in my developed web site upload functionality seems to stop working even for the correct file and i want to check that which type of files are uploaded. Actually I cannot debug through PHP on the