Re: [PHP] Suppressing warning messages in file uploading though HTTP

2003-09-18 Thread Raditha Dissanayake
Hi Binay, The only way you can get the file size before upload is to use a Java applet or activex. If i am not mistaken you can remove the 'max size exceeded' warning only by recompiling php. all the best ps: appreciate if you could switch off return reciepts on your mail client. Binay

Re: [PHP] Suppressing warning messages in file uploading though HTTP

2003-09-18 Thread Raditha Dissanayake
Hi You are welcome Binay wrote: Would you like to shade more light on how i can use java applet or activex i mean bit coding/snippet as i am newbie . shameless plug : please try http://www.radinks.com/upload it's such an uploader applet. The basic version is

Re: [PHP] Returning FORM vars from popup

2003-09-18 Thread Raditha Dissanayake
Hi, use onSubmit() and if you have trouble with it please refer to the javascript manual, this list is for php all the best Rich Fox wrote: (Sorry, I inadvertently sent an incomplete post) I have a popup window, itemSelect.php, from which I would like to reload the calling page.

Re: [PHP] PHP and Palm

2003-09-17 Thread Raditha Dissanayake
this is not really about PHP and palm but writing a client for the palm. You are better off asking this quesition in a palm list. Charles Kline wrote: I have a project in mind where I would like to be able to Sync my Palm with the calendar in my CRM. Anyone have info on doing this? Thanks,

Re: [PHP] File Types

2003-09-15 Thread Raditha Dissanayake
You don't need to look any further than mime.types files included in your apache distro. Ed Curtis wrote: I currently limit file types in an upload script by using an allowed types array $allowed_types = array(image/jpeg, image/gif); I also need to allow files of with the following extentions.

Re: [PHP] File Types

2003-09-15 Thread Raditha Dissanayake
Having done some coding for the print industry i can tell you that pm7 may be adobe page maker 7 and p65 could be pagemaker 6.5 no idea about qxp and .pmd though. Ed Curtis wrote: On Mon, 15 Sep 2003, Raditha Dissanayake wrote: You don't need to look any further than mime.types files

Re: [PHP] FAQ in PHP

2003-09-15 Thread Raditha Dissanayake
Is this part of the 'mailing lists :: guess the missing paragraph' competition? Suresh Babu.A [Support] wrote: Hi Team, How to track a posting in a faq using mysql. Thanks in advance. Suresh A. -- Raditha Dissanayake -- http

Re: [PHP] How to comment out chunk of html/php mixed code?

2003-09-15 Thread Raditha Dissanayake
Wrong approach all together. Start using CVS Wei Wang wrote: hi, This may sound very newbie. But since html comment uses !-- -- which doesn't comment out the php code. And the php comment /**/ // apparently doesn't work on html. So how do I comment out a chunk of html/php mixed code? Many

Re: [PHP] Win2K and trans_sid

2003-09-15 Thread Raditha Dissanayake
The only sure fire way to make sure you sessions do not get killed without cookies is to append the session identifier to the end of each link. Adam H. Pendleton wrote: I am running Apache 2.0.47 with PHP 4.3.3 on a Windows 2000 server, and I am having some trouble getting cookie-less sessions

[PHP] php sockets was Re: [PHP] socket_write eats data - solved

2003-09-14 Thread Raditha Dissanayake
Hi thomas, Thomas Weber wrote: IMAP? We were talking about IRC, Used imap as an example. the Internet Relay Chat. In detail, my problems doesn't even refer to IRC directly, as i am developing a server for a html-based webchat, but the server-structure and the messages are nearly the same. Yes

Re: [PHP] Trying to submit form to frame and pass php var

2003-09-14 Thread Raditha Dissanayake
Hi, you cannot invoke php functions from javascript. You have to pass on any relevent variables (which can be done with hidden input fields) with your POST/GET data to the script for processing on the server. [EMAIL PROTECTED] wrote: Hello I was wondering if someone could help me out. Trying

Re: [PHP] User Access

2003-09-14 Thread Raditha Dissanayake
Sorry but your problem isn't very clear. If you are talking of dreamweaver problem you are better off using their support forums. Or are you talking about a wiki site? Ryan Stagg wrote: How would one go about allowing editable access to only the entry creator For example: If I added an entry

Re: [PHP] How are variables called in current php?

2003-09-14 Thread Raditha Dissanayake
Wei Wang wrote: hi, all, I have a piece of code stuck at the point of if (($REQUEST_METHOD=='post')). var_dump($REQUEST_METHOD); shows that the variable should be $REQUEST_METHOD == 'POST' why don't you just use the $_REQUEST array instead? -- http://www.radinks.com/upload Drag and Drop File

Re: [PHP] more details about previous email

2003-09-14 Thread Raditha Dissanayake
Wei Wang wrote: if you are asking questions about specific scripts you will always be better off in the message boards / mailings lists maintained by the script owner. However i will hazard a guess that you have not created the tables in the db. CREATE TABLE guests ( guest_id int(4)

Re: [PHP] XML Reading, Writing

2003-09-14 Thread Raditha Dissanayake
Hi, The php xml modules are installed by default with recent versions of php. This requires that you have libexpat on your machine. They are available on most linux distributions cds. If you are on windows you can dwonload from the site (forgotton the url) From the type of questions you have

Re: [PHP] User Access

2003-09-14 Thread Raditha Dissanayake
a PHP form, I want to be able to set up a system where the user can login and edit their entries only, in other words they cant edit another users data. Ryan Raditha Dissanayake [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Sorry but your problem isn't very clear. If you are talking

Re: [PHP] Integrating an Applet with PHP

2003-09-13 Thread Raditha Dissanayake
; it is there with IE. Todd Raditha Dissanayake wrote: HI, I tried it on netscape and it works. My jre is 1.4.2. AFAIK this is the only stable jre after 1.3xx series. It's a simple matter to add a line of code to the java applet to do the base64 decoding if you are concerned about

Re: [PHP] Integrating an Applet with PHP

2003-09-13 Thread Raditha Dissanayake
Hi, Ouch tried it again and mozilla had a heart attack and core dumped :-(( Then i tried konqueror browser worked like a charm Gentlemen, i think others in the group must be pretty annoyed about this thread shall we hop over to a java group? Raditha Dissanayake wrote: Mozilla 1.4 Red Hat 9.0

Re: [PHP] socket_write eats data - solved

2003-09-13 Thread Raditha Dissanayake
Is IRC UDP? Thomas Weber wrote: Hi, i've checked a hundred things before posting this question, but i forgot the most important thing, the buffer. The 'eaten' writes were buffered by the network-kernel and sent as bunch of data. If too much data for the buffer is sent, the write is broken up and

Re: [PHP] socket_write eats data - solved

2003-09-13 Thread Raditha Dissanayake
and a very uncomplicated protocol, everything is sent in clear text. Major problem is the socket-multicasting to keep track of all clients simultanly. - Original Message - From: Raditha Dissanayake [EMAIL PROTECTED] To: Thomas Weber [EMAIL PROTECTED]; PHP-List [EMAIL PROTECTED] Sent: Sunday

Re: [PHP] Sending SMS messages ?

2003-09-12 Thread Raditha Dissanayake
Hi, Goto http://kannel.org and download their sources. They have some sample PHP scripts to send sms. Obviously you will need a GSM modem or access to an SMSC to make full use of it. all the best. Dave Carrera wrote: Hi All Is there a way to send sms messages via php. I really dont know

Re: [PHP] caching program

2003-09-12 Thread Raditha Dissanayake
once upon a long ago someone (i belive his name is Hrvoje Niksic) wrote a program called wget so that people do not have to do all this :-) Andrea Tricco wrote: Hi, I'm using the function file_get_contents() to replicate the content of a remote html page on my server. But, the function

Re: [PHP] help with message from tech support

2003-09-12 Thread Raditha Dissanayake
apologize for the inconvenience and thank you for your patience. -- Raditha Dissanayake -- http://www.radinks.com/sftp/?sg Lean and mean secure FTP applet in pure java. Complete with Graphical User Inteface Just 150 kb in size. -- PHP

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Raditha Dissanayake
things that netscape does not fully support (try loading a page with an iframe tag in Netscape). You probably ran into another such problem. -Dan -- Raditha Dissanayake -- http://www.radinks.com/sftp/?sg Lean and mean secure FTP applet

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Raditha Dissanayake
HI, I tried it on netscape and it works. My jre is 1.4.2. AFAIK this is the only stable jre after 1.3xx series. It's a simple matter to add a line of code to the java applet to do the base64 decoding if you are concerned about compatibility. On the point raised about activex : The default

Re: [PHP] accept/type

2003-09-12 Thread Raditha Dissanayake
Read the apache url redirecting guide. (it's incldued with your apache download) John Ryan wrote: Is it possible with an Apache confiugartion file to redirect users, if their browser sends a certain accept/type header, and somewhere else if not?? I dont want to do it with PHP --

Re: [PHP] mysql_errror bug on innodb table

2003-09-11 Thread Raditha Dissanayake
Great to hear. Reading my previous post, i am suprised you understood it with all the glaring spelling mistakes :-). Yikes. Sorry about that i typed it in too much of a hurry. [EMAIL PROTECTED] wrote: ok i managed to set the generated error screen to a variable, do the rollback then die H,

Re: [PHP] PHP and XML help needed

2003-09-11 Thread Raditha Dissanayake
Hi Mr Bogomil, IMHO you should try to do this with xsl:if/ most things that look like it should be delegated to php can in fact be done easily with xsl:if/ or xsl:choose/ best regards raditha Mr. Bogomil Shopov wrote: Hi folks How I can put some php code in a XSL template. I have a function

Re: [PHP] Mailing List Programme

2003-09-11 Thread Raditha Dissanayake
What jay has to say + please look at the archives for this month. You will find this topic discussed quite often. best regards Jay Blanchard wrote: [snip] I have created an application to read email addresses from a list and to send emails. The problem now I am facing is, if the list is very

Re: [PHP] How to access a program outside of PHP?

2003-09-11 Thread Raditha Dissanayake
btw have you checked if you are in safe_mode? in php.ini error level can also be set in php.ini my guess is that you have a problem in your chroot setup. best regards Adam Douglas wrote: Mmm... okay. I tried that and nothing. Is there no way for me to determine what the problem is? Error

Re: [PHP] Dynamic Drill down menus

2003-09-11 Thread Raditha Dissanayake
If you want to process the conent of a form without passing it back to the server you definitely need to learn javasript. Dan J. Rychlik wrote: Hello, I have created a db that holds specific information ie a business name. I am running into a problem on a form when you choose the business

Re: [PHP] getting download resume to work

2003-09-11 Thread Raditha Dissanayake
hi, AFAIK this is not something that you need to bother with in your php scripts. this is a web server level issue Scott Dotson wrote: I am trying to get the ability to resume broken downloads with a client (such as FlashGet, GetRight, etc...) I am able to download the complete file without

Re: [PHP] Variable Overloading or Replacement (long)

2003-09-10 Thread Raditha Dissanayake
Hello, my comments are below this snippet. class AGENT{ /* ** 2003-09-04 jb PRIVATE PROPERTIES */ var $strCommCode; // agent commission code

Re: [PHP] How to access a program outside of PHP?

2003-09-10 Thread Raditha Dissanayake
Hi, 1) please try $szPipe and see if you get any output. 2) if you are jailed in /var/htdocs/ your pathname /htdocs/qs is incorrect. 3) I guess you tried running gs from the jail either as yourself or as root. please see if nobody or apache (the webserver's user) can run gostscript. all the

Re: [PHP] How to access a program outside of PHP?

2003-09-10 Thread Raditha Dissanayake
Adam Douglas wrote: 1) When I echo out $szPipe I get Resource id #2. Sorry i was thinking of backticks. btw have you tried it ? (backticks) 2) Oops, that chrooted in /var/www/. So I thought I should be putting just a /htdocs/, no? yeps. 3)Yes I tried running gs in the console as root works

Re: [PHP] How to access a program outside of PHP?

2003-09-10 Thread Raditha Dissanayake
hi Backticks is simply the ` sign (usually the character above the tab). Popularly know as `hair on the ear` in my country :-) for example if you want to invoke ls from php you just type $result = `ls`; hey presto the output from ls is now in your $result variable. all the best Adam Douglas

Re: [PHP] How to access a program outside of PHP?

2003-09-10 Thread Raditha Dissanayake
I meant to do this: $szPipe = `/htdocs/gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=/htdocs/merged.pdf /htdocs/Sep08-113518.pdf /htdocs/Sep08-113523.pdf`; Adam Douglas wrote: Backticks is simply the ` sign (usually the character above the tab). Popularly know as `hair on the ear` in

Re: [PHP] mysql_errror bug on innodb table

2003-09-10 Thread Raditha Dissanayake
H, The mysql_error() fucntion returns the error that took place for the last call to the db. If you do a roll back that would be considered another call and mysql_error() would then return the error (is any) associated with the roll back. If this reason many programmer create a separate error

Re: [PHP] Single Quotes vs Double Quotes

2003-09-09 Thread Raditha Dissanayake
Hi, the $ sign inside single quotes is just a dollar sign. When you place it inside double quotes it's the start of a variable name. This is because what is inside single quotes are unparsed while whats inside double quotes are parsed. For this reasong if you are having to print out lengthy

Re: [PHP] How do I get the result of a Division to 2 decimal places?

2003-09-09 Thread Raditha Dissanayake
printf(%.2f,$number); Shaun wrote: Hi, I am dividing a number by another number and printing the result to the screen. How can I ensure that the number is rounded up to 2 decimal places? Thanks for your help -- http://www.radinks.com/upload Drag and Drop File Uploader. -- PHP General

Re: [PHP] Some xml to array

2003-09-09 Thread Raditha Dissanayake
Hi, Looks like a crash course is XML is in order :-) I suggest you take a look at the xml parser functions in the manual. to start off with. Then there are some good tutorials at w3schools.com all the best Bc. Radek Kreja wrote: Hello, I have following xml file: ?xml version=1.0

Re: [PHP] Brainiacs please help! PostgreSQL and foreach() problem

2003-09-09 Thread Raditha Dissanayake
Hi, It's not very clear what you are trying to do. From what i understand from your mail, i think a recursive call to select_names would be the ideal solution. In these scenario you call select_names() once and from within the function you call select_name() again for the each of the matches

Re: [PHP] Benchmarking PHP vs ASP.net

2003-09-08 Thread Raditha Dissanayake
Can't resist trowing in my 0.02 either: As dan pointed out it's so much faster to do things in php. When you take into consideration the fact that code on windows never work the way it's supposed you are saving a lot of man hours. Second point worth mentioning is that a given

Re: [PHP] Problem with include();

2003-09-07 Thread Raditha Dissanayake
Hello, It's often said that includes should have relative paths instead of absolute paths. This ensures that your script still works when you move it to a different server. So if an error has forced you to use rel paths consider it a blessing in disguise :-) Ty Lamb wrote: /index.php has

Re: [PHP] Error when using built in functions

2003-09-07 Thread Raditha Dissanayake
what's the error message? Ben C. wrote: I am having problems using the following functions; trim(), ucwords(), and others. Do I have a setting wrong? Ben -- http://www.radinks.com/upload Drag and Drop File Uploader. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Re: Can php/mysql handle 10000s of records

2003-09-07 Thread Raditha Dissanayake
Hi, Done something similar on a pentium pro around a million years ago :-) gazillion dollar databases would find it hard to compete with mysql on the speed of select queries. but mysql can't compete on inserts most notably on tables with lot of indexes. If you have to insert thousands of rows

[PHP] web based admin - was: Re: [PHP] Restart Apache with PHP???

2003-09-05 Thread Raditha Dissanayake
You are right anil, I think we should collectively discourage people from attempting this sort of this. I am no fan of webmin, cpanel or any of the other vhost/admin stuff but at least they are likely to be more secure than what can be scratched together in a hurry. Anil Kumar K. wrote:

Re: [PHP] session.save_path is a big security hole!

2003-09-05 Thread Raditha Dissanayake
Unfortunetly setting quotes (eg for apache user)doesnt prevent from flooding out entire disk. For example i can have running a script that will check user directories every 15 minutes and if some directory will contain large amount of apache generated files, user account will be disabled and

Re: [PHP] How can I get IP of ppp0?

2003-09-05 Thread Raditha Dissanayake
Hardly what you call a php question. just type ifconfig -a Erick Okasaki wrote: Hello List, How can I get IP Address from my connection ppp0 or ppp1 in Linux? What 's the function? thanks Erick -- http://www.raditha.com/php/progress.php A progress bar for PHP file uploads. -- PHP General

Re: [Fwd: Re: [PHP] How can I get IP of ppp0?]

2003-09-05 Thread Raditha Dissanayake
And i am sorry for being trigger happy. Erick Okasaki wrote: Sorry if I was not clear enough but it's a php question because I want get IP Address from connection ppp0 (in Linux) with some function in PHP! thanks Erick Original Message Hardly what you call a php question.

Re: [PHP] Java based HTML editor

2003-09-05 Thread Raditha Dissanayake
Yes java newsgroups :-) but seriously there is a good on at sourceforge. Todd Cary wrote: I would like to have a HTML editor on a Web site so the user can create HTML based text. Google brings up too many matches when I type in Browser HTML editor Java that do not match my needs. Does anyone

Re: [PHP] Planning a project with PHP.

2003-09-05 Thread Raditha Dissanayake
Hi, Just a personal opinion only: If you are a die hard OO fan. you are better of with J2EE. If you were brought up on C, think linux is the best thing that ever happened to computers, welcome to the world of PHP. best regards raditha [EMAIL PROTECTED] wrote: I am building a project where I

Re: [PHP] Re: Opening Zip Files in Linux

2003-09-05 Thread Raditha Dissanayake
make sure it's (unzip) patched there was a recent security issue with unzip. You can get the latest RPM from redhat. Otherwise someone might upload a zip file and get control of your server :-) Richard D. Marriner II wrote: Umm, I believe somebody already answered... unzip is what you

Re: [PHP] Database updation

2003-09-05 Thread Raditha Dissanayake
Hi, What do you mean running from the cd? are you using something like knoppix? The log directory for both apache and mysql definitely needs to be writable not to mention the data dir for mysql. Have you tried running your query from the mysql command line client? Uma Shankari T. wrote:

Re: [PHP] Am I dreaming or what :)

2003-09-04 Thread Raditha Dissanayake
this is in fact pretty easy. this should get you started [code] $files = split(\n,`ls *gif`); srand((double)microtime()*100); $num = rand(0, count($files)); echo $num = $files[$num]; [/code] John Taylor-Johnston wrote: I have a directory jammed-packed with images. I want to

Re: [PHP] session.save_path is a big security hole!

2003-09-04 Thread Raditha Dissanayake
M, very interesting thread, thanx for starting this. Good comments curt. 1. (!!!) Absolutely easily generate new sessions with any content for every site on server. It's because of the 'suspect' nature of sessions and cookies that i never place userid,username or password in

Re: [PHP] Ob_start question

2003-09-03 Thread Raditha Dissanayake
Most common cause of this problem is whitespace before the '?' Beauford.2005 wrote: I am getting this error: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /usr/local/apache/php/includes/2004server.inc:24) in

Re: [PHP] vars between instantiate class...

2003-09-03 Thread Raditha Dissanayake
hi, This is because the life time of an object is only as long as the page. Two solutions: store the login attempt count in the cookies. If you want persistent objects serialize them and save them to disk or db. and deserialize them again on the next page. This will have to be coupled with a

Re: [PHP] web-mail problem

2003-09-02 Thread Raditha Dissanayake
reason your e-mail could not be delivered. The next line contains a second error message which is a general translation for other e-mail servers. *** Thank you in advance. David -- Raditha Dissanayake http://www.radinks.com/sftp/?sg Lean

Re: [PHP] Block HTML Control

2003-09-02 Thread Raditha Dissanayake
/rbgames Knowledge is limited. Imagination encircles the world. -- Albert Einstein --- -- Raditha Dissanayake http://www.radinks.com/sftp/?sg Lean and mean secure FTP applet in pure java. Complete with Graphical User Inteface

Re: [PHP] Restart Apache with PHP???

2003-09-02 Thread Raditha Dissanayake
hi, There isn't a specific PHP api for this. But you can execute shell commands through various mechanisms included exec, backticks etc etc. All of this is deadly dangerous of course because you need root privileges. Joe Harman wrote: Hey guys gals... Is there a way to restart Apache with

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread Raditha Dissanayake
Hi, Had a similar problem when building upload progress bar. Initially i used cookies but that had a few minor hiccups. What you can do is to encode your variables into the query string. This is accessible as part of the env. variables. Since you are familiar with C++ you will get the hang of

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread Raditha Dissanayake
Oh well, and i thought i knew everything about php :-( Ford, Mike [LSS] wrote: On 02 September 2003 19:22, Raditha Dissanayake wrote: Hi, Had a similar problem when building upload progress bar. Initially i used cookies but that had a few minor hiccups. What you can do is to encode your

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread Raditha Dissanayake
On Tuesday, September 02, 2003, at 01:21PM, Raditha Dissanayake [EMAIL PROTECTED] wrote: Hi, Had a similar problem when building upload progress bar. Initially i used cookies but that had a few minor hiccups. What you can do is to encode your variables into the query string. This is accessible

Re: [PHP] Session var read by form C++ CGI prog ?

2003-09-02 Thread Raditha Dissanayake
Chris is right on both counts. :-) and this is exactly how i do it in my file upload progress bar. best regards raditha Chris Shiflett wrote: --- John Bryan [EMAIL PROTECTED] wrote: So looks like I can't have it both ways, i.e. POST and GET Yes, you can. form action=/blah.php?foo=1

Re: [PHP] Problem with IE parsing of PHP output

2003-09-02 Thread Raditha Dissanayake
Hello Are you using POST instead of GET? hecchan wrote: Hi, I have a class which write a menu, it works fine with Mozilla and Opera but with IE (6 on XP) got a extrange behaviour. Links works and submenus are open, but the second time the page is loaded I can not see the source and if I try

Re: [PHP] Refresh a frame based on a condition in another frame?

2003-09-01 Thread Raditha Dissanayake
Hi, It's not very clear from your message what you are trying to do. If you are trying to just reload some of the frames instead of the whole frameset look at the 'target' attribute for 'A' element in html. Ronald van Raaphorst wrote: Hi all, I have header, a menu and a content frame. The

Re: [PHP] reinstalling php with imap

2003-09-01 Thread Raditha Dissanayake
There are two magical commands on linux called 'locate' and 'find' :-) if you have locate just type locate c-client or some filename associated with the imap lib. find is more complicated you could try something like find / -name 'c-client*' | more the above will search your whole hard disk

Re: [PHP] reinstalling php with imap

2003-09-01 Thread Raditha Dissanayake
? Merlin Raditha Dissanayake wrote: There are two magical commands on linux called 'locate' and 'find' :-) if you have locate just type locate c-client or some filename associated with the imap lib. find is more complicated you could try something like find / -name 'c-client*' | more the above

Re: [PHP] XML to PHP help

2003-08-31 Thread Raditha Dissanayake
hi Ron, There's no way you can retrieve the php on a remote server (unless of course they have a major security flow :-) ) Ron Clark wrote: Hello all, Does anyone have a script, or know where to find a working script to pull backend.php files from a site, parse them into a html type file, and

Re: [PHP] Re: calculating datetime

2003-08-31 Thread Raditha Dissanayake
Hello Ryan, If you find the php date time functions not to your liking you will finder more easy to understand version in mysql. all the best Ryan A wrote: Hi, Thanks for replying. Am a bit confused even after your example as to how to enter this into the datetime field in mysql so that i can

Re: [PHP] Re: calculating datetime

2003-08-31 Thread raditha dissanayake
Why am i saying 'finder' ? not enough coffee :-) i meant find a. Raditha Dissanayake wrote: Hello Ryan, If you find the php date time functions not to your liking you will finder more easy to understand version in mysql. all the best Ryan A wrote: Hi, Thanks for replying. Am a bit confused

Re: [PHP] PHP - XHTML converter to HDML or WML

2003-08-30 Thread Raditha Dissanayake
Hi, The best approach for you is to use XSLT. good information about XSLT can be found on w3shcools.com briefly what it can do is to take an xml and convert it to virtually any other format. For this is to happen though you need to have strict XHTML transistion will not do because it's not

Re: [PHP] problem with a mysql query with data from a form

2003-08-29 Thread Raditha Dissanayake
You might also want to use addslashes() . like '%something%' puts a big load on the database server. and it seems you are doing mulitples of these queries. Please make sure you have the correct indices on your tables. You might want to look at fulltext indexing instead. all the best

Re: [PHP] Serve a file using PHP

2003-08-29 Thread Raditha Dissanayake
Hello, More suprising is that the html you have below works perfectly on my mozzilla 1.4 running on Red Hat 9 :-) provided i do have this exact path on my computer. /home/users/grant/Parts.txt From what you are saying it looks like in your case '/home/users/grant/Parts.txt' does not exist on

Re: [PHP] speed of mail() on two servers

2003-08-29 Thread Raditha Dissanayake
Hello David, looks like a bit of a tough one :-) guess you might be better off trying one of the qmail groups instead of this one. Sorry my own qmail expertise isn't as good as it should be. best regards raditha David T-G wrote: jabber, et al -- ...and then [EMAIL PROTECTED] said... % %

Re: [PHP] Mail() Problem Sending

2003-08-19 Thread raditha dissanayake
any ideas? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Raditha Dissanayake - http://www.radinks.com/sftp/ Lean and mean Secure FTP applet with Graphical User Inteface

Re: [PHP] XML Parser misbehaves with amp;

2003-08-19 Thread raditha dissanayake
? I've been unable to find it. -- Jeff Bearer, RHCE Webmaster, PittsburghLIVE.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Raditha Dissanayake - http://www.radinks.com

Re: [PHP] pop3 functions

2003-08-19 Thread raditha dissanayake
, strcoll, strcspn, stripos, stristr, strspn, strstr, to take just a few. A programming language has already its problems for not being natural, no need to make it even more so. Second, it the array overkill. Nevertheless, I love it. -- Raditha Dissanayake

<    3   4   5   6   7   8