[PHP] PHP uploaded files logs
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 server as my site is on production. Please help me out. Regards, Manoj
[PHP] PHP excel graph generator
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. Thanks in advance. Regards, Manoj
[PHP] SOAP: Return object to client
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] Horizontall scrollbars in pdf
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 how to show horizontal scrollbars while generating PDF file? Regards, Manoj
[PHP] putenv usage
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 production environment? Whether the putenv changes the timezone value globally for all request or for the current request only? Please advise. Regards, Manoj
[PHP] Timezone details
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
Re: [PHP] textarea new line to mysql database
Well, instead of storing the text from the textarea directly into the db, validate it and wrap it with br / tags (replace \n) and then store it. This way you needn't use nl2br every time you retrieve the text from db. -Sterex On Fri, May 15, 2009 at 7:42 PM, Stuart stut...@gmail.com wrote: 2009/5/15 PHPScriptor cont...@phpscriptor.com: Hello, How do you guys handle this problem. Just a form with a textarea. When I use enters in the textarea it's saved to the db like this: database: first line second line when I edit the value in the form: first line second line when I output the value to html: first linesecond line (unless I use nl2br()) Is there a way that I could save it to the db that will work for db, output and edit without using any other function like nl2br? What's your problem with using nl2br? This is the reason it exists!! Store the raw data in the database, and run nl2br on it when you display it. I don't see a problem. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] textarea new line to mysql database
Well, its not exactly a 'problem' at all. The textarea just does what its meant to do - accept raw text input and lets you process it via form action. This is neither a PHP or a HTML 'problem'. The reason you cannot see the line breaks when you echo the text on your browser is the fact that the browser does not recognize '\n' as a line break; it only recognizes 'br /'. Coming to the pre tag, pre stands for preformatted; it tells the browser to output the text in the raw format as it is. Hence it displays properly. -Sterex On Fri, May 15, 2009 at 7:54 PM, PHPScriptor cont...@phpscriptor.comwrote: Yes, I thought about that. But then you have a problem when you're going to 'edit' that data back in a form. Then you get first linebr /second line in your textarea. Manoj Sterex wrote: Well, instead of storing the text from the textarea directly into the db, validate it and wrap it with br / tags (replace \n) and then store it. This way you needn't use nl2br every time you retrieve the text from db. -Sterex On Fri, May 15, 2009 at 7:42 PM, Stuart stut...@gmail.com wrote: 2009/5/15 PHPScriptor cont...@phpscriptor.com: Hello, How do you guys handle this problem. Just a form with a textarea. When I use enters in the textarea it's saved to the db like this: database: first line second line when I edit the value in the form: first line second line when I output the value to html: first linesecond line (unless I use nl2br()) Is there a way that I could save it to the db that will work for db, output and edit without using any other function like nl2br? What's your problem with using nl2br? This is the reason it exists!! Store the raw data in the database, and run nl2br on it when you display it. I don't see a problem. -Stuart -- http://stut.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php - visit my website at http://www.phpscriptor.com/ http://www.phpscriptor.com/ -- View this message in context: http://www.nabble.com/textarea-new-line-to-mysql-database-tp23560478p23560882.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] textarea new line to mysql database
@Robert: True. I was assuming that the text was going to be final and not being edited again. @PHPScriptor: If you do have a lot of textareas to work around with, why don't you give TinyMCE a try. Thats the best option you have got. It replaces the textarea into more of a html compatible one and when you are editing the text again, it will be properly formatted. You'll also get toolbars for text editing etc., more like your mail compose window right now. :) -Sterex On Fri, May 15, 2009 at 7:56 PM, Robert Cummings rob...@interjinn.comwrote: On Fri, 2009-05-15 at 19:48 +0530, Manoj Sterex wrote: Well, instead of storing the text from the textarea directly into the db, validate it and wrap it with br / tags (replace \n) and then store it. This way you needn't use nl2br every time you retrieve the text from db. Don't do that unless it's a cached entry in the DB. Unless you absolutely know you'll never need the raw text again, you should always store the raw text so it can be processed in the future in any way you see fit. If you want to speed up the process of conversion, use an additional field in the database, or a cache, that contains the processed content. Cheers, Rob. -- http://www.interjinn.com Application and Templating Framework for PHP -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] textarea new line to mysql database
TinyMCE: http://tinymce.moxiecode.com/ -Sterex On Fri, May 15, 2009 at 7:56 PM, Paul M Foster pa...@quillandmouse.comwrote: On Fri, May 15, 2009 at 07:03:49AM -0700, PHPScriptor wrote: Hello, How do you guys handle this problem. Just a form with a textarea. When I use enters in the textarea it's saved to the db like this: database: first line second line when I edit the value in the form: first line second line when I output the value to html: first linesecond line (unless I use nl2br()) Is there a way that I could save it to the db that will work for db, output and edit without using any other function like nl2br? If I understand your question, the answer is no. If you have wrap=hard as an attribute for your textarea, it will store the data with CR/LF. But CR/LF don't show up as a line ending when displayed in HTML. You have to use nl2br() to translate for HTML. It also may be that you need to do a translation from CR/LF (textarea line ending) to LF (*nix line ending). The CR/LF *will* show up properly when *editing* in the textarea field, just not when displayed without a textarea. Paul -- Paul M. Foster -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] textarea new line to mysql database
@tedd: Its just another way of looking at the things. Putting HTML into the DB is not really wrong (perhaps in this context it is). If you do have HTML in the DB, you can directly echo it out and use CSS to style it accordingly. Just my 2 cents. :) -Sterex On Fri, May 15, 2009 at 8:24 PM, tedd tedd.sperl...@gmail.com wrote: At 7:22 AM -0700 5/15/09, PHPScriptor wrote: Well, the problem is that I have a lot of forms, a lot of data to output, and even then, I don't know always where I have a textarea or just a inputfield. But true, I could even set the nl2br on an input field, it wouldn't make a difference. But I just don't understand why this problem exists? What's the reason? Simply, the problem deals with how different systems handle the end of line (EOL) character? You can read more about it here: http://en.wikipedia.org/wiki/Newline What you've encountered (IMO) is just another extension/example of the problem. Now, your choices are to: 1. Listen to Rob (the wisest) and use the pre tag. 2. Listen to Stuart (the wisest) and use the nl2br() function 3. Listen to Sterex (IMO -- who is totally wrong) and put html in your database; 4. Or, listen to me (who is somewhere between Rob/Stuart and Sterex) and use either the pre tag or the nlbr() function depending upon what you want to do with the output. Both solutions [1 and 2] provide different ways to handle data. Number [3] simply creates another problem you, or someone else, will have to deal with later on. Cheers, 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
[PHP] SMS gateway
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] Server document root change
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] Multithreading in PHP
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 processing so that the client doesn't have to wait for the server response. Please suggest. Regards, Manoj
Re: [PHP] Multithreading in PHP
Hi Alpar, Thanks for reply. Actually the form is submitted through ajax request and the validation is checking on the server side. So if any error occurs on submission of form, then we are displaying the errors to the user. And is there is no error, then the submitted page started processing. So here client has to wait until the page process completed or not. What i want here if possible, after validating the user input server sends the thanks response to the client so that cleint doesn't has to wait, then the server starts the processing. Please suggest if it is possible. Regards, Manoj 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 or the page process completed the end user has to wait. Is it possible that server sends the response to the client then start processing so that the client doesn't have to wait for the server response. Please suggest. Regards, Manoj Since you are using Ajax requests, which by their nature are asynchronous , your user won't have to wait. You can write some JS code to let him know that the request was sent, and just let the ajax call run in the background. On the server side make sure to ignore user abort, just in case the user navigates away. -- Alpar Torok
Re: [PHP] Multithreading in PHP
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 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 processing so that the client doesn't have to wait for the server response. I can think of two ways to solve this apart from creating an Ajax request: 1. Queue the emails. Run a cron job to process the queue later. 2. Send the email after you flush the output. -- With warm regards, Sudheer. S Business: http://binaryvibes.co.in, Tech stuff: http://techchorus.net, Personal: http://sudheer.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Simplexml encodes output xml
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 decode these characters. But I want to confirm that whether this method is decoding all characters or i need to use some other method for that? Also if there any parameter in senderxml library which tells this library not to encode the output xml. Any help will be appreciated. Regards, Manoj Kumar Singh
[PHP] PHP to get File Type
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] Create DLL of PHP class
Hello All, I have the task to create DLL of PHP class. Please advise how to do it. Regards, Manoj Kumar Singh
[PHP] Prevent execution bad commands
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 any malicious user can use the search criteria to perform some bad commands in the operating system. If it is then please suggest how to prevent it. Please help me out. Best Regards, Manoj Kumar Singh
[PHP] Task workflow management system
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 Kumar Singh
[PHP] Not found regex
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 Regards, Manoj Kumar Singh
Re: [PHP] Not found regex
Hi All, Thanks for your replies. Actually i am placing this regex in .htaccess file. Here i have to redirect all the request to https if it is not for ogg file. The complete code is: RewriteCond %{HTTPS} off RewriteCond %{REQUEST_URI} ^.+\.ogg$ //Need some tweaking here. I know this code works 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', 'pt', 'exe'); if (!in_array(strtolower($info['extension']), $not_allowed)) { // do something } // why use a regex? ? On Mon, Aug 4, 2008 at 4:44 PM, Manoj Singh [EMAIL PROTECTED] wrote: 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 Regards, Manoj Kumar Singh
[PHP] Optimization of PHP Code
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] fput error
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] Directory Structure
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] Dynamic Images
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 code ?php header(Last-Modified: . gmdate(D, d M Y H:i:s) . GMT); header(Cache-Control: no-store, no-cache, must-revalidate); header(Cache-Control: no-cache); header(Pragma: no-cache); ? But this code is not working me. Please help me. Regards Manoj -- Manoj Kumar Singh Software Engineer Kalptaru Infotech Ltd Dawa Bazaar Indore (MP) 452001
[PHP] xhtml to pdf conversion
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 for fix this error. Waiting for positive reply. Thankx Regards -- Manoj Kumar Singh Software Engineer Kalptaru Infotech Ltd Dawa Bazaar Indore (MP) 452001
[PHP] Differentiating between POST from an application or browser
Hello, In our product, we use PHP for webservices that is inbuilt in the app. Basically, the tool calls the PHP over which is hosted over internet and communicates using XML. We send the data as raw post and in the PHP we get it as: $xmlrcvd = file_get_contents(“php://”); Now if the user accesses the page from the browser then no POST is sent and strlen($xmlrcvd) would be 0 which is correct. But file_get_contents(..) is only available from 4.3.0 and above. Calling the script below that version throws up a fatal error. I would like to check the PHP version before the above statement but would like to show different message if the file is requested by -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.8.3/359 - Release Date: 6/8/2006 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Creating PDF from a Image
Hi All, To create fdf with text info is very simple but I am wondering how to convert a PNG image into pdf file? Any suggestion? Regards, Manoj
Re: [PHP] Creating PDF from a Image
Dear Pranav, Thanks! I would like to do something like this: ABC.PNG -- (CONVERT USING ANY PHP LIBRARY)-ABC.PDF abc.pdf should be Press optimized pdf. Press optimized is the somewhat high level of pdf format. Your suggestions are hightly appreciated. Thanks Regards, Manoj - Original Message - From: Pranav Negandhi [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, November 07, 2005 1:55 PM Subject: Re: [PHP] Creating PDF from a Image There doesn't seem to be any function to add an image to an FDF document, but since an FDF is just a PDF file, you might be able to create a hack using a PDF generation library. I've used FPDF for generating PDF's in the past. http://www.fpdf.org Regards, Pranav www.concept-i.co.in Manoj Kr. Sheoran wrote: Hi All, To create fdf with text info is very simple but I am wondering how to convert a PNG image into pdf file? Any suggestion? Regards, Manoj -- 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] Creating PDF from a Image
Hi Pranav, Thanks for reply and it really helped me a lot. Now I have one more issue: - PNG doesn't support CMYK color scheme and that is supported by JPEG so I need to convert it to JPEG and then JPEG back to Press optimized pdf. I 've only PNG as input. Is there any method that can help me to convert PNG to JPEG and then create PDF to that. Thanks.. Regards, Manoj - Original Message - From: Pranav Negandhi [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, November 07, 2005 2:48 PM Subject: Re: [PHP] Creating PDF from a Image You're sure to find a working example on the fpdf site, that uses images. Check here http://www.fpdf.org/en/tutorial/index.php If you have the resources, PDFLib is a commercial component that makes your work a lot easier. http://www.pdflib.com/ Regards, Pranav www.concept-i.co.in Manoj Kr. Sheoran wrote: Dear Pranav, Thanks! I would like to do something like this: ABC.PNG -- (CONVERT USING ANY PHP LIBRARY)-ABC.PDF abc.pdf should be Press optimized pdf. Press optimized is the somewhat high level of pdf format. Your suggestions are hightly appreciated. Thanks Regards, Manoj - Original Message - From: Pranav Negandhi [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, November 07, 2005 1:55 PM Subject: Re: [PHP] Creating PDF from a Image There doesn't seem to be any function to add an image to an FDF document, but since an FDF is just a PDF file, you might be able to create a hack using a PDF generation library. I've used FPDF for generating PDF's in the past. http://www.fpdf.org Regards, Pranav www.concept-i.co.in Manoj Kr. Sheoran wrote: Hi All, To create fdf with text info is very simple but I am wondering how to convert a PNG image into pdf file? Any suggestion? Regards, Manoj -- 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] Creating PDF from a Image
Hi, Jens! Thanks!. PNG doen't support CMYK color scheme that's why I want to convert it in JPG first and then I want to create pdf file from that PJG file. I created pdf file from PJG using fpdf but no idea that how to I convert PNG to jpg file (not using any third part tool only uing php). Secondly, My motive is to create Press optimized pdf file rather than simple pdf file. Thanks for help and looking for suggestion. Regards, Manoj - Original Message - From: Jens Schulze [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Monday, November 07, 2005 8:14 PM Subject: Re: [PHP] Creating PDF from a Image Manoj Kr. Sheoran schrieb: I 've only PNG as input. Is there any method that can help me to convert PNG to JPEG and then create PDF to that. PNG and press-ready PDF isn't anything that fits together very well from the view of a prepress professional, but your way would be ImageMagick (http://www.imagemagick.org), which should be able to convert from PNG to PDF (with the help of Ghostscript). Jens -- 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] if then else short form
language tutorial (basic)... if ( a=b ) ? a=1 ; a=2; a = a==b ? 1 : 2 ; Cheer, Manoj Kr. Sheoran Software Engg. Daffodil Software Ltd. web: www.daffodildb.com INDIA On Fri, 2005-01-21 at 17:31, Ben Edwards wrote: I seem to remember seing someone use a abreaviated form of a if/them/else of the type that can be used in java. It was something like if ( a=b ) ? a=1 ; a=2; Anybody know what the correct syntax is? Ben -- Ben Edwards - Poole, UK, England WARNING:This email contained partisan views - dont ever accuse me of using the veneer of objectivity If you have a problem emailing me use http://www.gurtlush.org.uk/profiles.php?uid=4 (email address this email is sent from may be defunct) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] From Poland
What the mean to spend time of a group for this type of off topics. --mksheoran -Original Message- From: Ewa Rubach Wardawy [mailto:[EMAIL PROTECTED] Sent: Saturday, January 08, 2005 11:59 PM To: php-general@lists.php.net Subject: [PHP] From Poland Dear Greg! This is Jarek.Wardawy. It's not a joke I promisse! This is my real name. Some time ago I found your name in internet I wrote an e-mail to you. No answer. Maybe this time. I' m from Poland, living in a city Ostrow Wielkopolski. I'm working as a journalist, and that's the reason why I spend so much time in internet. I'm oopen minded person, 40 years old. I'll be happy o write you more about me and my family. At least, we have the family name. I'm interested of your background, probably it comes from Poland. Is interesting for you? If so, write me back, also for [EMAIL PROTECTED] Just put the name wardawy in google, and you'll see, that it's not a stupid joke. Best regards Jarek Wardawy From Poland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Mysql Connect Help
You should enable php_mysql module in your php.ini file. -- Manoj Kr. Sheoran -Original Message- From: Nathan Mealey [mailto:[EMAIL PROTECTED] Sent: Sunday, November 21, 2004 10:56 PM To: [EMAIL PROTECTED] Subject: [PHP] Mysql Connect Help A seemingly simple problem, still confounding me. The following line of code: mysql_connect('database','user','password'); [with values of course] Generates the following error: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/phptest.php on line 3 My PHP info page says that PHP (4.3) was compiled with MySQL, and extensions_dir is correct (although the extensions_dir itself is empty, but I don't know if this matters). So PHP itself is working. I installed MySQL 4.1 from RPM (client and server RPMs) on Redhat 8.0 this morning. Thanks for any help, Nathan -- Nathan Mealey Director of Operations Cycle-Smart, Inc. P.O. Box 1482 Northampton, MA 01061-1482 [EMAIL PROTECTED] (413) 587-3133 (413) 210-7984 Mobile (512) 681-7043 Fax -- 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] Warning: Unknown list entry type in request shutdown (0) in Unknown on line 0
Hi folks , What is the case of following warning ... Warning: Unknown list entry type in request shutdown (0) in Unknown on line 0 -- Manoj Kr. Sheoran www.daffodildb.com BLOCKED::http://www.daffodildb.com
[PHP] ERP - CRM implemented in PHP
Hi folks, Would you please suggest me the name of ERP - CRM software solely implemented in PHP . -- Manoj Kr. Sheoran
[PHP] Re. [PHP] mysql networking ?
Hi its a php mailing list ? Okey . -- Manoj Kr. Sheoran Aalee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi guys, I have a small home network working with just 4 computers (PC's on WinXP Pro) connected through a switch just using the local ip's 192.168.0.1 and so on. And the netwok is working fine. I have installed MySQL on one computer and setup a database and installed MySQL on the other PCs aswell. But am having problem getting into the server computer where the databases are setup. Does any one of you know of any good tutorials out there how to setup a small network using MySQL using windows XP. I have come across some tutes, but most of them are on using Linux. Or any advice would be helpful. Thanks on advance aalee -- 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] mysql_connect
Hi Ben , $connection = mysql_connect$host,$user,$password); if(!$connection) echo echo mysql_error(); After checking error msg . I can help you --Mannoj Kr. Sheoran - Original Message - From: Ben Miller [EMAIL PROTECTED] To: php-general [EMAIL PROTECTED] Sent: Thursday, November 04, 2004 11:52 AM Subject: [PHP] mysql_connect I am having trouble connecting to a database on another server. I have the following for the connection, but it seems to be overriding the value for the $host variable, and replacing it with localhost. Anyone got any ideas? $host=domain.com; $user=username; $password=password; $database=dbname; $connection = mysql_connect($host,$user,$password) or die (Couldn't connect to server.); $db = mysql_select_db($database,$connection) or die (Couldn't select database.); -- 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] JDBC Driver for MySQL
see this link http://dev.mysql.com/downloads/connector/j/3.0.html official mysql jdbc driver. PS. Give google a chance. On Sun, 12 Sep 2004 15:52:12 +0200, Daniel Schierbeck [EMAIL PROTECTED] wrote: I'm sorry if this is off-topic, but i figured this was the best place to ask: I've begun using the Eclipse IDE, and has downloaded the Quantum DB plugin. It says that i need a JDBC driver in order to connect to a remote MySQL database - where do i get that? I've looked at mysql.com, but i couldn't find anything (i might just be stupid ;)). Hope some of you know :) PS. And thanks to the guy that recommended Eclipse in this list - it rocks! Daniel Schierbeck -- 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] How to include a datbase extention module in php source ??
hi everybody, Could anybody tell me How to include a datbase extention module in php source , so that will be available with php source. What is procedure to include it on php source ..It's very urget , plz suggest me.. Reagards, Manoj Kr. Sheoran www.daffodildb.xom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] No support for DBX module ?
hi developers, Could anybody tell me How to include a datbase extention module in hp source , so that will be available with php source. What is procedure to include it on php source ..It's very urget , plz suggest me.. Reagards, Manoj Kr. Sheoran www.daffodildb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] No support for DBX module ?
hi developers, Could anybody tell me How to include a datbase extention module in hp source , so that will be available with php source. What is procedure to include it on php source ..It's very urget , plz suggest me.. Reagards, Manoj Kr. Sheoran www.daffodildb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] No support for DBX module ?
hi developers, Could anybody tell me How to include a datbase extention module in hp source , so that will be available with php source. What is procedure to include it on php source ..It's very urget , plz suggest me.. Reagards, Manoj Kr. Sheoran www.daffodildb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Would you help me ?
hi developers, Could anybody tell me How to include a datbase extention module in hp source , so that will be available with php source. What is procedure to include it on php source ..It's very urget , plz suggest me.. Reagards, Manoj Kr. Sheoran www.daffodildb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Support issue ...
hi dear developers, We developed a module in (php_home/ext/) with name daffodildb , This module will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what is procedure to include a new module in php source(php cvs ) , so it will available free to developers with php source. Can anybody suggest me. Reagards, Manoj Kr. Sheoran Software Engg. SCO-42 ,3rd Floor OJC, Civil Lines Gurgoan (HARYANA) INDIA mailto: [EMAIL PROTECTED] www.daffodildb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] New module Entry issue ..
hi dear developers, We developed a module in (php_home/ext/) with name daffodildb , This module will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what is procedure to include a new module in php source(php cvs ) , so it will available free to developers with php source. Can anybody suggest me. Reagards, Manoj Kr. Sheoran Software Engg. SCO-42 ,3rd Floor OJC, Civil Lines Gurgoan (HARYANA) INDIA mailto: [EMAIL PROTECTED] www.daffodildb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi friends Plz give suggestion ..
hi dear developers, We developed a module in (php_home/ext/) with name daffodildb , This module will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what is procedure to include a new module in php source(php cvs ) , so it will available free to developers with php source. Can anybody suggest me. Reagards, Manoj Kr. Sheoran Software Engg. SCO-42 ,3rd Floor OJC, Civil Lines Gurgoan (HARYANA) INDIA mailto: [EMAIL PROTECTED] www.daffodildb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Goosebump ? ? New feature / implementaion in PHP
hi dear developers, We developed a module in (php_home/ext/) with name daffodildb , This module will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what is procedure to include a new module in php source(php cvs ) , so it will available free to developers with php source. Can anybody suggest me. Reagards, Manoj Kr. Sheoran Software Engg. SCO-42 ,3rd Floor OJC, Civil Lines Gurgoan (HARYANA) INDIA mailto: [EMAIL PROTECTED] www.daffodildb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Good news for each develper
hi dear developers, We developed a module in (php_home/ext/) with name daffodildb , This module will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what is procedure to include a new module in php source(php cvs ) , so it will available free to developers with php source. Can anybody suggest me. Reagards, Manoj Kr. Sheoran Software Engg. SCO-42 ,3rd Floor OJC, Civil Lines Gurgoan (HARYANA) INDIA mailto: [EMAIL PROTECTED] www.daffodildb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Completing dream of connect with Java RDBMS with php
hi dear developers, We developed a module in (php_home/ext/) with name daffodildb , This module will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what is procedure to include a new module in php source(php cvs ) , so it will available free to developers with php source. Can anybody suggest me. Reagards, Manoj Kr. Sheoran Software Engg. SCO-42 ,3rd Floor OJC, Civil Lines Gurgoan (HARYANA) INDIA mailto: [EMAIL PROTECTED] www.daffodildb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hire a developer
great stuff john On Sun, 29 Aug 2004 11:52:16 -0700, Ed Lazor [EMAIL PROTECTED] wrote: -Original Message- joshua wrote: If you wish to have more information on this project, please contact me off-list: joshua$abbott[at]crystalstream[dot]net replacing: $ with . [at] with @ [dot] with . I am interested. Can you please contact me at *hn[foo]hl!$s(_2_)littler$dpsar%[foo]c! replacing: $ with e with o [foo] with . (_2_) with @ ps with sp little with big % with k ! with m * with j ;) We should come up with a regexp for parsing John's email addy :P hehe -- 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] List mail going to spam in gmail
Most of the mails from php-general is going is marked as spam. is anyone else experiencing the same? Manoj -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] connecting remote host ..
Hi Gowthaman, For mysql to allow remove connecivity u have to make entry in mysql database in tables db, user and host giving the IP of remote PC from which u want to connect and username and password then reload the database and It will all work Manoj On 14 Jun 2004 10:25:48 +0530, gowthaman ramasamy [EMAIL PROTECTED] wrote: hello list, My php script works fine with local mysql database. however when try to use some remote database it fails and gives follwing error .. Warning: mysql_connect(): Unknown MySQL Server Host 'http' (2) in /usr/local/apache2/htdocs/gowtham/forphp/db_qry_4repeat.php on line 86 the mysql_connect() syntax is as follows .. $db=mysql_connect(192.168.1.109, root, password); 192.168.1.109 is the ip (internal IP on LAN) of the machine hosting the database. thanx a lot in advance .. -- Ra. Gowthaman, Graduate Student, Bioinformatics Lab, Malaria Research Group, ICGEB , New Delhi. INDIA Phone: 91-9811261804 91-11-26173184; 91-11-26189360 #extn 314 -- 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] strange!
Change this line if($dowork) { to if($_POST[dowork]) { it should work the. In your php.ini the variable register_gloabal seem to be off. Manoj Nahar Tom Holton wrote: Hello everyone, I looked through the FAQs and documentation and I cannot find this anywhere: We have a new Redhat server with this kernal: 2.4.20-20.9smp #1 SMP We used redhat itself to install apache and php (I used to always do it by hand) apache: Server version: Apache/2.0.40 PHP Version 4.2.2 I found the PHP version out by making a file containing: ?phpinfo()? I also can get statements like print something and even $TT =TRUE; if($TT) print something else; to work. But, incredibly to me, I cannot get form variables to be sent and seen. See the end of the email for the example script. I can take this very simple script that does not work on this new server and have it work on my current server which is running PHP Version 4.1.2 and Apache Server version: Apache/1.3.22 (Unix) I saw that there were incompatibility issues with PHP's prior to version 4.2.3 with Apache 2.0, but, since I can get some statements to work, and it is only because the form variables are not recognized, I thought it must be some new directive in httpd.conf of php.ini Any help or info on this is much appreciated! ?php $TT=TRUE; if($TT) print TT worked; if($dowork) { print brThese statements do not print when the dowork button is pushed; print brField 1: $fld1; print brField 2: $fld2; print brField 3: $fld3; } print BRthis statement prints; ? form name=asd method=POST brinput name=fld1 size=12 brinput name=fld2 size=12 brinput name=fld3 size=12 brinput type=submit name=dowork value='do work' /form ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Handling Database errors in php
Hi guys, Column of table defined as primary key. there is violation and error message from database. 1) First way is to check if the value is already in database and then contuninue with insert (this invloes an extra select for every insert and leaves defined primary key redundant) What is the best approach to be followed for this scenario.? what if there are several constrains defined on a table? cheers Manoj -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Get the current file name
u can try $filename=$_SERVER[SCRIPT_NAME]; Manoj Shaun wrote: Hi, due to a current PHP upgrade i am unable to use the following code to get the filename of the page: $s = getenv('SCRIPT_NAME'); I need to get the filename without any avariables attached. For example if the URL is www.mydomain.com/test.php?test=yes using $s = getenv('PHP_SELF'); returns test.php?test=yes how can I return just test.php i.e. the filename on its own Thanks for your help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] PHP should know my data!
and much needed function debug_and_test_all_my_code(); Jay Blanchard wrote: [snip] Quit horsing around fellas, what if the developers take interest in this thread and decide it's a good idea to release PHP6 with cranial electrodes that will detect what I want to do, and instead of me having to code the application, PHP will just spit out the application... That way our bosses won't need us... [/snip] Do not forget the automated file-upload of the files that I haven't created yet, this feature needs a single function call...place_on_any_server($thought) Thx! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Reports with PHP Mysql
Hi there, Any class or libraries for generating, formatting reports with PHP Mysql? Manoj --- Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.459 / Virus Database: 258 - Release Date: 25/02/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PEAR with php 4.2.3 on Apache 1.3.27 on WinXP
Hi guys, I have been trying to setup PEAR with php 4.2.3 on Apache 1.3.27 on WinXP. I have followed all the installation instructions religiously and installaion is done properly. I have also tried PEAR webbased installer and working fine. But when i try to use DB it doesn;t seem to like the idea. it does not give any errors and it does not show any records too. just throws blank page on my face. what could be the reason for this indifference. any pointers? cheers Manoj --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.449 / Virus Database: 251 - Release Date: 27/01/2003 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Postnuke --- Meta keywords and title different for all the pages...
Hi there, I would like to know has anybody being able to do this. Each page has its own meta keywords and title. I have searched lot of information about it but no luck. any help or pointer with this would be greatly appreciated. Manoj -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] inserting into MCIS Ldap....!!
Hi !! Sorry to bother you...!! Will you please mind helping me in Adding attribute value using PHP with MCIS LDAP. I am able to connect to the MCIS LDAP, I am able to bind it to MCIS LDAP, But I am not able to insert attributes into MCIS LDAP. Would you mind helping me in this regard.? Thanks.! Manoj