Re: [PHP] anyone have HTML snippet example of HTTP method = put?
On 8/2/08, Benjamin Hawkes-Lewis <[EMAIL PROTECTED]> wrote: > I can appreciate why one might imagine otherwise, but XHTML 1.x forms only > support GET and POST. GET and POST are the only allowed values for the > "method" attribute. Sigh. That makes sense then. So to test my script I need to use curl or something, I was hoping to test my browser directly. I thought at least PUT would work. Obviously not every DAV command or anything else. > There are proposals to add PUT and DELETE to the supported methods in a > future version of HTML. Well, I won't actually be using this in production this way anyway, I just wanted to do some testing at home using PUT first. Looks like I will have to use curl or another method that isn't in-browser. > Hard to be sure, but judging from your markup, you might well be using the > wrong HTTP method anyway. The "action" attribute specifies where the URL the > form submits to. In the case of a PUT method, the server is supposed to > replace the resource represented by that URL with the entity dispatched in > the request: Yeah - that is why I had set my webserver as dav_access readonly. I was wanting to see it first PUT the file, see if PHP accepted it, or it just said "access denied" I need to PUT a file but use a PHP script as a wrapper, and my webserver is nginx. > I note in passing that if you're intending to use that markup in production, > you should really enclose the text "File: " in a "label" element associated > with the "input" element by having a "for" attribute matching an "id" > attribute adding to the "input". This will allow user agents to accurately > associate the label with the file upload control, for example screen readers > and voice browsers can speak or braille "File: " when the focus enters the > control. For a detailed explanation, see: Thanks for the tip. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] anyone have HTML snippet example of HTTP method = put?
mike wrote: I have this: File: Looking in my webserver logs, it changes that to a GET. Ideas anyone? The receiver is PHP and I am pretty sure I know how to handle it once it is properly PUT-ted. (I run nginx for the server and have enabled PUT as a method, supposedly) Maybe I need to do something different on the web form though? I can appreciate why one might imagine otherwise, but XHTML 1.x forms only support GET and POST. GET and POST are the only allowed values for the "method" attribute. If you were validating your markup ( http://validator.w3.org/ ) you'd have caught that error; if you'd read the HTML documentation for the FORM element you wouldn't have made it in the first place: http://www.w3.org/TR/html401/interact/forms.html#h-17.3 There are no conformance criteria in the HTML specification for how user agents should handle your error; it appears the client you were testing with submitted the form with the GET method instead. There are proposals to add PUT and DELETE to the supported methods in a future version of HTML. Hard to be sure, but judging from your markup, you might well be using the wrong HTTP method anyway. The "action" attribute specifies where the URL the form submits to. In the case of a PUT method, the server is supposed to replace the resource represented by that URL with the entity dispatched in the request: http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6 So unless you're intending that, after submission, a GET request to work.php should return the uploaded file, you're using the wrong method. I suspect you want the POST method, where the server may do basically anything with the dispatched entity, such as taking an uploaded file and making it available at an arbitrary URL (like images/495005.jpg): http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5 I note in passing that if you're intending to use that markup in production, you should really enclose the text "File: " in a "label" element associated with the "input" element by having a "for" attribute matching an "id" attribute adding to the "input". This will allow user agents to accurately associate the label with the file upload control, for example screen readers and voice browsers can speak or braille "File: " when the focus enters the control. For a detailed explanation, see: http://reference.sitepoint.com/html/label http://www.w3.org/TR/WCAG20-TECHS/H44.html http://green-beast.com/blog/?p=254 http://www.w3.org/TR/html401/interact/forms.html#h-17.9 Hope that helps. -- Benjamin Hawkes-Lewis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] anyone have HTML snippet example of HTTP method = put?
> > File: > > > > Looking in my webserver logs, it changes that to a GET. You could use Fiddler to verify what type of requests your browser is making: http://www.fiddlertool.com If it is indeed the browser, chances are it doesn't support PUT. -- Richard Heyes http://www.phpguru.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] anyone have HTML snippet example of HTTP method = put?
enctype="multipart/form-data" eventually?! mike schrieb: I have this: File: Looking in my webserver logs, it changes that to a GET. Ideas anyone? The receiver is PHP and I am pretty sure I know how to handle it once it is properly PUT-ted. (I run nginx for the server and have enabled PUT as a method, supposedly) Maybe I need to do something different on the web form though? thanks! -- Viele Grüße Dominik Strauß - www.n3or.de Webentwicklung, PHP und Linux Mobil: 0178 4940605 Internet: www.n3or.de E-Mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] anyone have HTML snippet example of HTTP method = put?
I have this: File: Looking in my webserver logs, it changes that to a GET. Ideas anyone? The receiver is PHP and I am pretty sure I know how to handle it once it is properly PUT-ted. (I run nginx for the server and have enabled PUT as a method, supposedly) Maybe I need to do something different on the web form though? thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Anyone have an iPhone? OT
On Wednesday 11 July 2007 19:58, tedd wrote: > If you bought an iPhone, please contact me off-list -- I have a > question. They have: http://www.willitblend.com/videos.aspx?type=unsafe&video=iphone -- Crayon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Anyone have an iPhone? OT
Hi gang: Totally off topic. If you bought an iPhone, please contact me off-list -- I have a question. 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
RE: [PHP] Anyone have experiences with OCI9 and PHP ??
> is it possible to use an actuall Oracle-Client (Version >= 9) > with PHP ?? > > Dose anyone habe experiences here ? It's absolutely possible, and where most of my work lies day to day. Our DBA has chosen to hold off upgrading to 10g until it's better tested, so we still use 9i. (He cites a past experience of upgrading a prior company to 8i early on in its life and managing to insert duplicate primary keys.) For PHP 9i support you'd still compile using the --with-oci8 option. Once built PHP's "oci8" functions still apply to 9i. There are some 9i related comments on the php.net oci8 page: http://us4.php.net/manual/en/ref.oci8.php Cheers, Rick -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Anyone have experiences with OCI9 and PHP ??
Yes, it's possible. http://www.php.net/oracle On Fri, 18 Jun 2004 11:21:22 +0100, André Ventura Lemos <[EMAIL PROTECTED]> wrote: > > I've used PHP with Oracle 10g. > > > On Sex, 2004-06-18 at 10:46, [EMAIL PROTECTED] wrote: > > Hi all, > > > > is it possible to use an actuall Oracle-Client (Version >= 9) with PHP ?? > > > > Dose anyone habe experiences here ? > > > > Regards > > Christian > > -- > Lego my ego, and I'll lego your knowledge. > > > > signature.asc - 1K > -- .e [ [EMAIL PROTECTED] ] [ http://ryptide.com ] [ aim: ryptide ] [ "Music is the vernacular of the human soul" ~ Geoffrey Latham ] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Anyone have experiences with OCI9 and PHP ??
I've used PHP with Oracle 10g. On Sex, 2004-06-18 at 10:46, [EMAIL PROTECTED] wrote: > Hi all, > > is it possible to use an actuall Oracle-Client (Version >= 9) with PHP ?? > > Dose anyone habe experiences here ? > > Regards > Christian -- Lego my ego, and I'll lego your knowledge. signature.asc Description: This is a digitally signed message part
[PHP] Anyone have experiences with OCI9 and PHP ??
Hi all, is it possible to use an actuall Oracle-Client (Version >= 9) with PHP ?? Dose anyone habe experiences here ? Regards Christian -- /\ /\/ \/\ Powerd by llbc.de - letz board it, yeahhh !!/ \ \ \ \ --- / / \ \ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] anyone have any idea as to how to display a message aftera page has started loading??
Also make sure you don't have output buffering or compression on for the page in question. Cheers, Rob. On Fri, 2003-08-22 at 16:42, Dan Joseph wrote: > Hi, > > > I am looking for a way to say please wait generating thumbnails... while > > actually doing so. I have tried calling the JavaScript alert() function > > before starting the image processing but it waits for the page to > > complete loading before displaying the alert box. anyone have any ideas > > on this?? BTW: at the time I am trying to display a message I have > > already started output to the browser. > > Try looking up the flush() function on php.net. That _might_ do what you > want. > > -Dan Joseph > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- .-. | Worlds of Carnage - http://www.wocmud.org | :-: | Come visit a world of myth and legend where | | fantastical creatures come to life and the | | stuff of nightmares grasp for your soul.| `-' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] anyone have any idea as to how to display a message after a page has started loading??
Hi, > I am looking for a way to say please wait generating thumbnails... while > actually doing so. I have tried calling the JavaScript alert() function > before starting the image processing but it waits for the page to > complete loading before displaying the alert box. anyone have any ideas > on this?? BTW: at the time I am trying to display a message I have > already started output to the browser. Try looking up the flush() function on php.net. That _might_ do what you want. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] anyone have any idea as to how to display a messageafter a page has started loading??
Perhaps you wrap a table around your image and set the background="" of the table to an image of the same size that says "Loading Thumbnails", then when the image loads, it loads over the background. Matt On Fri, 2003-08-22 at 15:08, Jeffrey D. Means wrote: > I am looking for a way to say please wait generating thumbnails... while > actually doing so. I have tried calling the JavaScript alert() function > before starting the image processing but it waits for the page to > complete loading before displaying the alert box. anyone have any ideas > on this?? BTW: at the time I am trying to display a message I have > already started output to the browser. > > --- > Jeffrey D. Means > CIO for MeansPC > [EMAIL PROTECTED] > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] anyone have any idea as to how to display a message after a page has started loading??
I am looking for a way to say please wait generating thumbnails... while actually doing so. I have tried calling the JavaScript alert() function before starting the image processing but it waits for the page to complete loading before displaying the alert box. anyone have any ideas on this?? BTW: at the time I am trying to display a message I have already started output to the browser. --- Jeffrey D. Means CIO for MeansPC [EMAIL PROTECTED] --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.512 / Virus Database: 309 - Release Date: 8/19/2003
Re: [PHP] Anyone have oci8 working on MacOSX?
I compiled 4.3.1 as Apache module and also installed the CLI (which I'm not using). Compilation was not a problem here either - it's just that oci8 crashes whenever I try to use it. Here's my configure command: ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --mandir=/usr/share/man --with-apxs --with-zlib-dir=/usr --enable-trans-sid --enable-exif --enable-wddx --enable-ftp --enable-mbstring --enable-dbx --enable-dbase --enable-sockets --with-oci8=/Users/oracle/9iR2/orahome Did you modifiy your Apache startup file to set any environment variables? Thanks, -sapporo. What version of PHP are you using, and are you using both CLI and Apache module at the same time? I compiled it at work with no huge problems. Wes On Thursday, May 29, 2003, at 06:45 PM, Sapporo wrote: Hi, is anyone sucessfully using the oci8 Oracle extension on MacOSX? Whenever I try to connect using OCILogon(), oci8 crashes: May 30 00:33:19 localhost crashdump: Unable to write crash report to /Library/Logs/CrashReporter/httpd.crash.log for uid: 70 Date/Time: 2003-05-30 00:33:19 +0200 OS Version: 10.2.6 (Build 6L60) Host: myhostname.local. Command:httpd PID:1400 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x Thread 0 Crashed: #0 0x9f20 in strlen #1 0x0193a0e8 in snauca_check_adapter #2 0x01913670 in nau_viat #3 0x0190ba18 in nau_gettab #4 0x0190a100 in nau_ini #5 0x018ba6f4 in nainit #6 0x018dad3c in nsnainit #7 0x0189c478 in nsopen #8 0x0189b160 in nscall1 #9 0x0189a948 in nscall #10 0x018fdc38 in niotns #11 0x0188749c in osncon #12 0x01713c6c in upiini #13 0x0172428c in upiah0 #14 0x016e6ae4 in kpuatch #15 0x0171b7d0 in OCIServerAttach #16 0x007834e4 in _oci_open_server (oci8.c:2437) #17 0x00783b68 in oci_do_connect (oci8.c:2590) #18 0x00855758 in execute (zend_execute.c:1596) #19 0x0084769c in zend_execute_script TIA, -sapporo. -- 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] Anyone have oci8 working on MacOSX?
What version of PHP are you using, and are you using both CLI and Apache module at the same time? I compiled it at work with no huge problems. Wes On Thursday, May 29, 2003, at 06:45 PM, Sapporo wrote: Hi, is anyone sucessfully using the oci8 Oracle extension on MacOSX? Whenever I try to connect using OCILogon(), oci8 crashes: May 30 00:33:19 localhost crashdump: Unable to write crash report to /Library/Logs/CrashReporter/httpd.crash.log for uid: 70 Date/Time: 2003-05-30 00:33:19 +0200 OS Version: 10.2.6 (Build 6L60) Host: myhostname.local. Command:httpd PID:1400 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x Thread 0 Crashed: #0 0x9f20 in strlen #1 0x0193a0e8 in snauca_check_adapter #2 0x01913670 in nau_viat #3 0x0190ba18 in nau_gettab #4 0x0190a100 in nau_ini #5 0x018ba6f4 in nainit #6 0x018dad3c in nsnainit #7 0x0189c478 in nsopen #8 0x0189b160 in nscall1 #9 0x0189a948 in nscall #10 0x018fdc38 in niotns #11 0x0188749c in osncon #12 0x01713c6c in upiini #13 0x0172428c in upiah0 #14 0x016e6ae4 in kpuatch #15 0x0171b7d0 in OCIServerAttach #16 0x007834e4 in _oci_open_server (oci8.c:2437) #17 0x00783b68 in oci_do_connect (oci8.c:2590) #18 0x00855758 in execute (zend_execute.c:1596) #19 0x0084769c in zend_execute_script TIA, -sapporo. -- 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] Anyone have oci8 working on MacOSX?
Hi, is anyone sucessfully using the oci8 Oracle extension on MacOSX? Whenever I try to connect using OCILogon(), oci8 crashes: May 30 00:33:19 localhost crashdump: Unable to write crash report to /Library/Logs/CrashReporter/httpd.crash.log for uid: 70 Date/Time: 2003-05-30 00:33:19 +0200 OS Version: 10.2.6 (Build 6L60) Host: myhostname.local. Command:httpd PID:1400 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x Thread 0 Crashed: #0 0x9f20 in strlen #1 0x0193a0e8 in snauca_check_adapter #2 0x01913670 in nau_viat #3 0x0190ba18 in nau_gettab #4 0x0190a100 in nau_ini #5 0x018ba6f4 in nainit #6 0x018dad3c in nsnainit #7 0x0189c478 in nsopen #8 0x0189b160 in nscall1 #9 0x0189a948 in nscall #10 0x018fdc38 in niotns #11 0x0188749c in osncon #12 0x01713c6c in upiini #13 0x0172428c in upiah0 #14 0x016e6ae4 in kpuatch #15 0x0171b7d0 in OCIServerAttach #16 0x007834e4 in _oci_open_server (oci8.c:2437) #17 0x00783b68 in oci_do_connect (oci8.c:2590) #18 0x00855758 in execute (zend_execute.c:1596) #19 0x0084769c in zend_execute_script TIA, -sapporo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Anyone have slides for an Intro to PHP Class?
Take those presentations and modify them to fit your needs. I believe there is even a "presentation" on how to implement the presentation system. Chris 1LT John W. Holmes wrote: >Sorry, I should've mentioned I had looked over those. I may take bits and >pieces from those. Was just wondering if anyone had anything else. something >that follows the manual, for example? This is a variable, this is an IF >loop, this is how you do a file upload, etc... > >---John Holmes... > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Anyone have slides for an Intro to PHP Class?
Those presentations are great. Also, the source code to power them is available if your browse through the PHP CVS tree; I believe it's just called "pres" or something like that. That way you can tailor your slide shows to your audience as well as present it without having to have a network connection, as you can run the whole show from your laptop. It's a great presentation system. I assume Rasmus wrote it to help ease the pains of having so many presentations to give. Chris SP wrote: >Here's a bunch of slide shows > >http://conf.php.net/ > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Anyone have slides for an Intro to PHP Class?
Sorry, I should've mentioned I had looked over those. I may take bits and pieces from those. Was just wondering if anyone had anything else. something that follows the manual, for example? This is a variable, this is an IF loop, this is how you do a file upload, etc... ---John Holmes... - Original Message - From: "SP" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, June 22, 2002 3:03 PM Subject: RE: [PHP] Anyone have slides for an Intro to PHP Class? > Here's a bunch of slide shows > > http://conf.php.net/ > > > > -Original Message- > From: John Holmes [mailto:[EMAIL PROTECTED]] > Sent: June 22, 2002 2:36 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Anyone have slides for an Intro to PHP Class? > > > Does anyone have a presentation that I could use for an introduction to > PHP programming class? I've got an application that I want to bring some > more developers in on, but I'll need to teach them PHP and MySQL. I want > to give some classes to teach them the basics, and then we can learn > through actual programming from there. Does anyone have a presentation > like this? My audience will be people that have an HTML knowledge and > possibly a c/c++ introduction. Thanks for any help. > > ---John Holmes. > > > -- > 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] Anyone have slides for an Intro to PHP Class?
Here's a bunch of slide shows http://conf.php.net/ -Original Message- From: John Holmes [mailto:[EMAIL PROTECTED]] Sent: June 22, 2002 2:36 PM To: [EMAIL PROTECTED] Subject: [PHP] Anyone have slides for an Intro to PHP Class? Does anyone have a presentation that I could use for an introduction to PHP programming class? I've got an application that I want to bring some more developers in on, but I'll need to teach them PHP and MySQL. I want to give some classes to teach them the basics, and then we can learn through actual programming from there. Does anyone have a presentation like this? My audience will be people that have an HTML knowledge and possibly a c/c++ introduction. Thanks for any help. ---John Holmes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Anyone have slides for an Intro to PHP Class?
Does anyone have a presentation that I could use for an introduction to PHP programming class? I've got an application that I want to bring some more developers in on, but I'll need to teach them PHP and MySQL. I want to give some classes to teach them the basics, and then we can learn through actual programming from there. Does anyone have a presentation like this? My audience will be people that have an HTML knowledge and possibly a c/c++ introduction. Thanks for any help. ---John Holmes.
Re: [PHP] Anyone have any experience with the EXEC function?
On Saturday 15 June 2002 00:57, Batch wrote: > I am trying to exec a perl script from my php code. > > Here is what I have: > > exec("perlpath/perlscript.pl $var", $array) Using exec() like this would put the exit code of your perl script into $array -- which isn't what you want. Use shell_exec() or backticks: $array = `perlpath/perlscript.pl $var`; Note that $array is in fact a string and not an array! -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* You have all the characteristics of a popular politician: a horrible voice, bad breeding, and a vulgar manner. -- Aristophanes */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Anyone have any experience with the EXEC function?
I am trying to exec a perl script from my php code. Here is what I have: exec("perlpath/perlscript.pl $var", $array) The perl script runs fine as I am piping the results to a txt file also...so I know that the script is running fine. I am printing the result of the perl script to STDOUT which is what is recommended in order to retrieve the result of the perl script back into PHP through the $array variable set above. However in my php the $array is always empty? After the perl script has run I am doing this in PHP: $error = $array[0]; echo "$error"; Is my syntax correct? Any help is greatly appreciated. Thank you, Batch -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] anyone have...
Try: ereg_replace("[^a-zA-Z]", "", $string) Jason -- Jason Murray [EMAIL PROTECTED] Web Developer, Melbourne IT "Work now, freak later!" > -Original Message- > From: Jack Dempsey [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 24, 2001 9:02 AM > To: Jay Paulson; [EMAIL PROTECTED] > Subject: RE: [PHP] anyone have... > > > would need to check, but: > > preg_replace("/[^a-zA-z]/",'',$data) > > should about do it... > > jack > > -Original Message- > From: Jay Paulson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, October 23, 2001 6:50 PM > To: [EMAIL PROTECTED] > Subject: [PHP] anyone have... > > > anyone have a function that strips out all the characters in > a string that > are no a-z or A-Z? > > thanks... > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: > [EMAIL PROTECTED] > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
RE: [PHP] anyone have...
would need to check, but: preg_replace("/[^a-zA-z]/",'',$data) should about do it... jack -Original Message- From: Jay Paulson [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 23, 2001 6:50 PM To: [EMAIL PROTECTED] Subject: [PHP] anyone have... anyone have a function that strips out all the characters in a string that are no a-z or A-Z? thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] anyone have...
$new = preg_replace('/[^a-zA-Z]/','',$old); On Tue, 23 Oct 2001, Jay Paulson wrote: > anyone have a function that strips out all the characters in a string that > are no a-z or A-Z? > > thanks... > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] anyone have...
anyone have a function that strips out all the characters in a string that are no a-z or A-Z? thanks... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Anyone have the wording for a license for clients?
Hi, I have been developing PHP for a few years now as an employeee of other companies. I have now started working from home doing contracts for various businesses. Does anyone know of where I can find the wording of a software license I can give to my clients when I hand over the code. It should cover the following points. 1. I am offering them unlimited licensed use of the code I have produced. 2. They cannot on sell my code. 3. I retain copyright for my code. (This might come as a default) 4. 40% - 60% of my code is generic functions that I use in all my websites and I retain the ability to use this code again in developing work for other businesses. 5. They are free to modify and adjust my code as much as they want. Does anyone know where I can find some sort of legal document I can give to these clients as a license for the software I produce for them. Is there any important points I have missed? I know the law is very different from country to country but I'm sure much of this would be the same. Cameron Just ([EMAIL PROTECTED]) Phoenix Digital Development -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]