Re: [PHP] in-browser wysiwyg html editor

2002-01-14 Thread Mark
This is really a javascript thing so you'll probably get a better response from a javascript group, but I can say that a script like that will only ever work on IE. On Sun, 13 Jan 2002 04:00:18 +0100, Serge wrote: >Hi, > >I'm looking for an in-browser html editor. >I've got the scripts used in p

Re: [PHP] ok, I ask again.. how to encrypt to be able to match database info?

2002-01-21 Thread Mark
what kind of encryption are you talking about? If you mean mysql's password() function, then no you can't do that in php. obviously whatever you use has to match the original encryption. - Mark On Mon, 21 Jan 2002 20:36:59 +0100, Hawk wrote: >I've asked this several times b

RE: [PHP] Need opinion On sessions - Cookies mandatory?

2002-01-23 Thread Mark
This won't work because some ISP's will assign a new IP every few minutes or with each request. I'm thinking of AOL. On Wed, 23 Jan 2002 18:46:50 -0500, SpamSucks86 wrote: >The idea of building a website is largely to accommodate as large a >portion of your visitors as possible. I'm not worried a

[PHP] Arcos from Kusala Web Developments

2002-01-31 Thread mark
Developer [EMAIL PROTECTED] Tel: 0114 2211677 Mark Wrangham Developer [EMAIL PROTECTED] Tel: 0114 2211858 -- 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

[PHP] A New XML Architecture for PHP Developers

2002-01-31 Thread mark
Developer [EMAIL PROTECTED] Tel: 0114 2211677 Mark Wrangham Developer [EMAIL PROTECTED] Tel: 0114 2211858 --- End of forwarded message --- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

Re: [PHP] Formatting a MYSQL time

2002-02-07 Thread Mark
I would let mysql do the work: select *,date_format(dateofevent,"%H:%i %p") as date_formatted from table... - Mark On Thu, 07 Feb 2002 11:21:13 -0600, Frank Miller wrote: >Hello, > > Since I'm the only one who uses php at work I run >into a >little proble

Re: [PHP] question about switch function

2002-02-07 Thread Mark
try it like this: switch(true){ case strstr($line,"zip"): echo "found zip"; break; } On Thu, 7 Feb 2002 14:29:45 -0600, Chuck Barnett wrote: >Hello, I am trying to find out if a string is in a line being read >from a >file. I should use strstr for this I am pretty sure. >I want to do

[PHP] system() + $vars

2002-04-17 Thread Mark
Hi i was wondering how to get $var as an argument for a command using system() call..?? I tried something like: bla'); ?> bla is created on the system but nothing is in it, i thought it was some security measure preventing builtin $vars from entering the system but no $var at all will work

[PHP] Parsing PHP output

2002-05-26 Thread Mark
. I do not understand this. Regular PHP files in that dir work fine. There is, as far as I can see, no reason why this should not work. And the PHP file really needs to be generated from the CGI, as it needs to run as a specific user. Anyway, any help would be much appreciated, - Mark -- PHP Gener

Re: [PHP] PHP and JavaScript

2002-05-26 Thread Mark
On Sun, 26 May 2002 10:05:03 +0300, mp wrote: >Hi, php-general, > >I make this kind of PHP script(script.php): >script.php >$variable = "Some some long long Text Blah blah"; >echo "document.write(\"".$variable."\")"; >?> > >And in HTML (other.html) file I write: > > >But there is some mistake. Doe

Re: [PHP] Add associative element to an an array

2002-03-07 Thread Mark
it sounds like you want: $array[8]=6; On Fri, 8 Mar 2002 09:50:24 +1100, Bradley Goldsmith wrote: >Hi, > >Ive got an array of associations like this: > >[1]=>2 [2]=>3 [3]=>4 etc > >I want to add a new element [8]=>6. > >How do I do this? I have tried several ways: pushing the elem

[PHP] dealing with # in urls

2002-03-07 Thread Mark
n every request and I'd rather avoid it. in php.ini there is a variable called arg_separator.input that looks like it can help but when I add the line: arg_separator.input = "&#" I still get $id = "0#top" so it doesn't seem to be working. I have php 4.0.6

Re: [PHP] Re: dealing with # in urls

2002-03-08 Thread Mark
On Thu, 07 Mar 2002 23:33:00 -0800, CC Zona wrote: >In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Mark) wrote: > >> in php.ini there is a variable called arg separator.input that >>looks >> like it can help but when I add the line: >> >> arg

Re: [PHP] Browser detection

2002-04-03 Thread Mark
probably your browscap.ini is outdated or missing. On Wed, 3 Apr 2002 13:53:15 -0500, Joshua E Minnie wrote: >Can anybody tell me why, when running on the same browser, I get 2 >different >outputs. > >This is the output when I echo $HTTP_USER_AGENT:Mozilla/4.0 >(compatible; MSIE 6.0; Wind

Re: [PHP] MySQL Locking Question

2001-10-05 Thread Mark
lution. As with possibility A I am unsure. >> >> Sound Feasable? > >No, I see all sorts of problems with this. Personally I would put >the >check at the commit stage. Maintain a record modification counter. >Right >before committing the changes check to see if that co

Re: [PHP] How-to put something at bottom of page

2001-10-18 Thread Mark
On Fri, 19 Oct 2001 09:15:57 +1000, Lucas Chan wrote: >This thread is off topic, but anyway. true. >I would highly recommend not using tables to do this. You'll find >that in some browsers it will cause scroll-bars to become active >when they clearly don't need to be. > >Very ugly indeed. also

Re: [PHP] how to move one element of an array to the end of the array

2001-10-19 Thread Mark
let me know where I >strayed. try: ORDER BY make.make='no make specified',make.make,model.model >Also, out of curiosity, is it faster to do it in MySQL rather then >PHP? > >Thanks, >Tom > >> From: "Mark Charette" <[EMAIL PROTECTED]> >> Date

Re: [PHP] Update onBlur or onChange

2001-10-22 Thread Mark
ing 'this' from inside the input tag, netscape don't like this. take it out and use document.forms[0].inputname it will work. -- Mark, [EMAIL PROTECTED] on 10/22/2001 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [PHP] Copying to network drive (Win32)

2001-10-22 Thread Mark
On Mon, 22 Oct 2001 20:11:32 +0300, Ville Mattila wrote: >Hi there, > >Referring to one question I sent here over a month ago, I'd like to >get back with subject: >I need to copy a image file from the server box to another computer >in our local network. All computers have WinNT 4.1 on it (also th

Re: [PHP] Wicked, Array add problem!

2001-10-22 Thread Mark
t;posted"=>"Posted by1")); > > print_r($array1); > print_r($array2); > > print_r(array_merge($array1,$array2)); > > /* >I was hoping that this below would turn out but that is not the issue >what function must i use to get this result?? > Array > ( &

Re: [PHP] Matching strings in a flat/text file?

2001-10-23 Thread Mark
On Mon, 22 Oct 2001 22:09:56 -0700, Nick Richardson wrote: >Hey everyone, > >Anyone out there know how i could do this: > >I have a client who is an import car tuner. They would like to >feature the >cars they work on in their website. Instead of creating a new .html >or .php >file for every car

Re: [PHP] Re: Forms and Netscape -- spacing problem -- Help!

2001-10-23 Thread Mark
st and showed the whitespace. It may be compliant but it doesn't really work as well as hiding the form tags between table rows or cells. here's the test I used: form tag outside of cell form tag outside of cell form tag outside of cell form tag outside of row form tag outside of row form

[PHP] Php and Emacs21

2001-10-23 Thread Mark
Hi, Now that emacs has tty color support, I'm trying to get it to do php syntax highlighting through a windows telnet/ssh client like securecrt or teraterm but I haven't gotten it yet. Has anyone got this working? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL P

Re: [PHP] Re: Forms and Netscape -- spacing problem -- Help!

2001-10-23 Thread Mark
s only 1-6 correctly. earlier versions of netscape won't show any of these correctly but 1-6 will come the closest. >IE shows no whitespace anywhere. yes for 6.0 but earlier versions only show 1-6 correctly. >No whitespace between 6&7 throws me a little, considering there is &g

Re: [PHP] use of system/exec

2001-10-24 Thread Mark
On Wed, 24 Oct 2001 18:19:19 +, John Gurley wrote: >Hello, >Could someone please show me an example of code using system >or >exec. Would be great if the string was a unix command. >Cheers >John I like backticks the best because they're easiest to deal with. -- PHP General Mailing List

RE: [PHP] problem pattern matching a url with question mark

2001-10-24 Thread Mark
provided is just an example >of a >url containing a question mark for which I'm trying to find a >pattern match >in my content text. > > >-Original Message- >From: Neil Freeman [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, October 24, 2001 4:16 AM >Cc:

Re: [PHP] Re: Using Logical OR operator in IF statement???

2001-10-24 Thread Mark
son, this just isn't >>working. >> Anyone got any ideas? I suppose I can just evaluate this with two >different >> IF statements, but it seems like I shoud be able to do it in one >>and >reduce >> duplicate code. Thanks very much in advance. >> >>

RE: [PHP] Php and Emacs21

2001-10-24 Thread Mark
On Tue, 23 Oct 2001 21:59:10 -0700, Nick Richardson wrote: >Put this file in your emacs/lisp/progmodes dir... then make sure that >secureCRT has ANSI Color checked in your site's emulation >configuration... > >Then add (autoload 'php-mode "php-mode-099" "PHP Mode" t) to your >.emacs >file. > >Th

Re: [PHP] Re: tail a file

2001-10-26 Thread Mark
d to tail this files and pharse it into web, so I can see >>this the >> update without login into server (jst thru web browser ) how can i >>do this >> >> Thanks for Help >> > > > -- Mark, [EMAIL PROTECTED] on 10/26/2001 -- PHP General Maili

Re: [PHP] how to recognize local or server execution?

2001-10-26 Thread Mark
ello$delimiter"; > >How can I do this? > >-- >John A. Grant * I speak only for myself * (remove 'z' to reply) >Radiation Geophysics, Geological Survey of Canada, Ottawa >If you followup, please do NOT e-mail me a copy: I will read it here > > > > -- Ma

Re: [PHP] how to recognize local or server execution?

2001-10-26 Thread Mark
On Fri, 26 Oct 2001 23:12:17 +0100, DL Neil wrote: >Mark, >Backing John's question up by one iteration: is there a PHP >environment variable which can be used to >distinguish between code being run from the command line and code >being run in a browser? I guess the best w

Re: [PHP] PHP and Wget

2001-10-29 Thread Mark
On Mon, 29 Oct 2001 23:15:38 +0100, fragman_dk wrote: >Do enybody no how to use wget on at website as a downloadmanager so >i just >can enter the url at wget on my linux server download it for me ? > > > -- Mark, [EMAIL PROTECTED] on 10/29/2001 -- PHP General

Re: [PHP] Problem getting imagemagick to work with php...

2001-10-30 Thread Mark
On Tue, 30 Oct 2001 16:05:42 -, Brian Aitken wrote: >Hiya > >I need to be able to automatically change the format and size of an >image >when a user uploads it and using imagemagick's tools seems like the >way to >go about it. > >Unfortunately the server I'm using is Windows based and it doesn

Re[3]: [PHP] split array in 2 halfs

2001-10-31 Thread Mark
>1 >2 >3 > >2 Small array: >4 >5 >6 > >Thank You > > -- Mark, [EMAIL PROTECTED] on 10/31/2001 -- 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] Windows/UNIX differences?

2001-11-02 Thread Mark
gt;* Homepagehttp://www.gifford.co.uk/~bedwards * >* i-Contact Progressive Videohttp://www.videonetwork.org * >* Smashing the Corporate image http://www.subvertise.org * >* Bristol's radical newshttp://www.bristle.co.uk * >* PGP : F0CA 42B8 D56F 28AD 1

Re: [PHP] PHPINTERNATIONAL.COM

2001-11-12 Thread Mark
It's not bad enough that you're squatting the domain, you have to spam the list on top of it? On Mon, 12 Nov 2001 11:37:32 -0800, Mark Segal wrote: >Dear Sir/Madam, > >PHPINTERNATIONAL.COM - $725 > >- includes 5 year registration (until 2006 worth up to $150*) > &g

Re: [PHP] Serial Port Programing

2001-11-12 Thread Mark
On Mon, 12 Nov 2001 12:36:07 -0500, Brian C. Doyle wrote: >Hello all, > >Does PHP have the ability to control a serial port? I see we can >use the >Printer but that was All I saw. I don't know about windows but on linux I guess you would just fopen /dev/ttyS0 and read or write to it. -- PHP Ge

Re: [PHP] javascript to php ????

2001-11-13 Thread Mark
On Tue, 13 Nov 2001 19:53:48 -0300, fitiux wrote: >Hi =) > >is it possible to pass a javascript array to php ??? by the time javascript comes into play, php has already done it's job and left the building. If you mean can javascript pass variables to a new request for php to handle, then sure.

Re: [PHP] javascript to php ???????

2001-11-13 Thread Mark
On Tue, 13 Nov 2001 20:17:32 -0300, fitiux wrote: > >>Hi =) >>>is it possible to pass a javascript array to php ??? > >>by the time javascript comes into play, php has already done it's >>job >>and left the building. If you mean can javascript pass variables >>to a >>new request for php to h

RE: [PHP] javascript to php ???????

2001-11-13 Thread Mark
> >I populated an array but now I need to pass this array to the same >starting >php page again. > >can I do this? > > >--Patricio > > >(I apology because my english is not good enough.. I hope that you >can >understand me.. ) > > > > -- Mark,

RE: [PHP] javascript to php ???????

2001-11-14 Thread Mark
gain. oops, I guess I misread that. You're right, that's crazy enough to work. a serialize function in javascript that serializes things the same way as php would be very useful, probably an unserialize function would be too. >-Original Message- >From: Mark [mailto:[EMAIL P

Re: [PHP] EREG_REPLACE?

2001-11-15 Thread Mark
> >> Sjoerd >> >> >> Sjoerd van Oosten >> Digitaal vormgever [EMAIL PROTECTED] >> Datamex E-sites B.V. >> http://www.esites.nl >> Minervum 7368 Telefoon: (076) 5 730 730 >> 4817 ZH BREDA Telefax: (076)

Re: [PHP] Allowing user login, but NOT requiring?

2001-11-21 Thread Mark
using apache to do the authorization is the cheap and easy way. If you want something more advanced you should use a cookie. There's probably tons of sample code on phpbuilder.com On Wed, 21 Nov 2001 11:30:49 -0700, Nelson Goforth wrote: >In my project I have basic HTML pages with PHP/MySQL driv

Re: [PHP] php mysql blob fields

2001-11-21 Thread Mark
a bunch of things: 1) when you read the image you need to use "rb" mode since it's binary data 2) addslashes() isn't good enough. try mysql_escape_string instead. 3) the way you're doing it the handle to the image file never gets fclosed(), I don't know if that's really a problem tho 4) if your i

Re: [PHP] Allowing user login, but NOT requiring?

2001-11-21 Thread Mark
ls and scripts for this out there, but >the basic >steps work like this: > >1. start a session at the top of every page >2. put a login form on at least one page >3. when a user logs in, register the username with the session >4. check for the username before displaying the edi

Re: [PHP] Re: php mysql blob fields

2001-11-21 Thread Mark
Yes, that's a big one :) also, to save the headache of reading and escaping the image correctly you can let mysql do the work: update table set field=LOAD_FILE('/path/to/image.gif'); On Wed, 21 Nov 2001 12:16:47 -0800, Fred wrote: >If insert works and update does not, I would guess it is because

[PHP] Zend Encoder

2001-12-03 Thread Mark
should be looking at? thanks, - Mark -- 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] defeating squid

2001-12-06 Thread Mark
Hi, does anybody know of a way to 'encourage' squid to not cache files using headers or meta tags? thanks, - Mark -- 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 adminis

Re: [PHP] PHPhish Logo

2001-12-12 Thread Mark
On Wed, 12 Dec 2001 09:09:38 -0600, Barton Hodges wrote: >The PHP PHish. > >great idea (and great band too!) with great trademark lawyers! bad idea I think/ :( >Armin Hartinger wrote: >> >> Personally, I think it should be something f-based ... the f will >>then >> be replaced with the "ph" ...

[PHP] Session storage and the --with-mm option

2001-12-14 Thread Mark
I'm trying to cut down on the amount of memory that my apache proceeses use, I've noticed that when I have the --with-mm option set when I configure and compile PHP that the apache process goes up by about 40MB or more on the process table: USER PID %CPU %MEM VSZ RSS TTY STAT STA

[PHP] DOM XML Issues with 4.1.0?

2001-12-16 Thread Mark
hen I load in my XML file, I can load it in using xmldocfile(), and I can iterate over the nodes, but none of them have the name property any more. Is there a combination of PHP 4.x and libxml2-2.y that is known to work reasonably well and not leak memory like mad? Thanks!

[PHP] Goofy interactions between $this and vars in classs. 4.1.0

2001-12-16 Thread Mark
$localVariable->addValue("asdfasdfasdf"); } Then I will get on output, a NULL array. Why is this? Is there any particular reason this happens? thanks, mark. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMA

[PHP] 4.10

2001-12-18 Thread Mark
Hi, I'm trying to build php 4.10 with Ming support. (the ming I get from cvs that is supposed to work with 4.10) I build ming and follow the instructions in the Readme file. then I move into php and go: ./configure --with-apache=../apache_1.3.22 --with-gd --with-ming=../ming I get the following

[PHP] 4.10

2001-12-18 Thread Mark
configure. any ideas what I should try next? thanks, - Mark -- 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] Working with designers...

2001-12-18 Thread Mark
since they have to make changes to hundreds of files instead of one, but the dynamic stuff will still all be in one file that gets include'd a hundred times. - Mark On Tue, 18 Dec 2001 14:39:14 -0800, Fred wrote: >Yikes! You mean they don't use a text editor to for html? > >

Re: [PHP] Working with designers...

2001-12-18 Thread Mark
On Tue, 18 Dec 2001 16:00:09 -0800, Fred wrote: > >Mark <[EMAIL PROTECTED]> wrote in message >[EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >well, you don't have to wade through all that html, just put an >include() in there to a file that has all the php in it.

Re: [PHP] JavaScript & php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-18 Thread Mark
On Tue, 18 Dec 2001 15:58:10 -0800, Jim Lucas wrote: >actually Martin, that is what Martin was doing. >href="javascript:function_name()" calls to a js function. > >my suggestion would be to write it this way. > >text better yet: text to keep weird browsers from doing things you don't expect (li

Re: [PHP] 4.10

2001-12-18 Thread Mark
On Tue, 18 Dec 2001 19:11:02 -0500, Brian Clark wrote: >* Mark ([EMAIL PROTECTED]) [Dec 18. 2001 17:44]: > >> Hi, I'm trying to build php 4.10 with Ming support. >> (the ming I get from cvs that is supposed to work with 4.10) > >[...] > >> Configuring libtool

Re: [PHP] Working with designers...

2001-12-18 Thread Mark
e Netscape 4. >> >> Now there's a condtradiction you don't hear every day. >> >> Mike >> >> Jim Lucas wrote: >> >> > hope you don't plan to use that example table in netscape 4.x >> > >> > - Original Message - &

Re: [PHP] JavaScript & php question - mainly JS though so slightly OT but hep needed!!! :o)

2001-12-18 Thread Mark
On Tue, 18 Dec 2001 16:16:20 -0800, Jim Lucas wrote: >the bad thing is, it will still stop the browser from finishing the >loading >of the page. not in any browser I've tried. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-

[PHP] cgi shows headers in browser

2001-12-21 Thread Mark
I'm seeing the headers at the top of every page. Does anyone know what's going on here? It was working fine on a different machine with the same binaries and the same php.ini and httpd.conf I'm using apache with the openssl patch. thanks, - Mark -- PHP General Mai

[PHP] POP client available + mcrypt question

2001-03-26 Thread mark
roperly (the file is encrypted and decrypted properly). Any thoughts? You can see how I'm using the functions if you look at the source to PHPost. Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

[PHP] php-lib questions

2001-04-12 Thread Mark
I have a php script which is like a modified shopping cart. It starts with a search that calls a perl script ( I know, but it's the only way I can include certain proprietary functionality I need). This returns a results set of documents that can be either downloaded or requested depending on pe

Re: [PHP] preg question

2001-04-12 Thread mark
; > any ideas? TIA! I use this code in my PHPost project: $s = ereg_replace("([[:alpha:]]+)://([^[:space:]]*)([[:alnum:]#?/&=])", "\\0", $s ); Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For add

Re: [PHP] updating several lines in a text file while leaving rest of file untouched

2001-09-10 Thread Mark
On Mon, 10 Sep 2001 14:15:36 -0700, Kurt Lieber wrote: >I have a configuration file that I use to store several variables and >would like to provide a web-based interface to update this form. I'm >having some trouble replacing part of the file while leaving the >rest of >it intact. > >An example

Re: [PHP] html formating trouble

2001-09-14 Thread Mark
On Fri, 14 Sep 2001 20:22:07 +0200, Alexander Skwar wrote: >So sprach »Nikola Veber« am 2001-09-15 um 07:09:20 +0200 : >> I'm having trouble with formating the html output. I have the >>black >> background, and in function >> function javni(){ >> echo "ovo je javna strana " ; > >Here, PHP stops pa

Re: [PHP] if(isset($a)) vs if($a)

2001-09-15 Thread Mark
On Sat, 15 Sep 2001 13:20:59 -0700, CC Zona wrote: >In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Andrew Perevodchik) wrote: > >> JD> isset checks to see if the $a variable has >> JD> been set, ie, if it exists. if($a) checks for >> JD> the truthood of $a, meaning, if it has a >> JD> non-ze

Re: [PHP] if(isset($a)) vs if($a)

2001-09-16 Thread Mark
On Sun, 16 Sep 2001 09:18:23 -0700, CC Zona wrote: >In article <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] (Mark) wrote: > >> >if(isset($) and !empty($a) and !$a) >> >> this is the same as if(!empty($a)) >> >> >or >> > >> >if(isse

Re: [PHP] Is there no one who can help me out there.

2001-09-18 Thread Mark
On Tue, 18 Sep 2001 16:29:21 -0700 (PDT), John Holcomb wrote: >I have a text input field in my form. I need the user >to be able to enter something like: Hello, I need # >help. After which they click on a submit button. The >succeeding page then takes this text and tries to >display it and tri

Re: [PHP] Detect if javascript is enabled

2001-09-20 Thread Mark
On Thu, 20 Sep 2001 19:41:55 +0200, Ole Victor wrote: >Hi, > >Does anyone know a simple trick to get PHP detect if the user's >browser has >javascript enabled? the easiest way is to set a cookie w/ javascript, but you won't know until the second request. -- PHP General Mailing List (http://www

Re: [PHP] Codes in PHP

2001-09-20 Thread Mark
On Thu, 20 Sep 2001 15:49:25 -0400, Wee Chua wrote: >Hi all, >I know how to forward a page with PHP, but what if the page I want to >forward is the previous page or last page. In javascript, the code >is like >javascript:historygo(-1). The reason why I want to go back to >previous page >is because

Re: [PHP] Finding a File

2001-09-21 Thread Mark
On Fri, 21 Sep 2001 15:29:34 -0500, Joseph Koenig wrote: >Hello everyone -- I'm just a little bit stumped on this. I've got >some >files that are available for user download, however, the files are in >different directories. The file names are based on the item number >which >is available. For exa

Re: [PHP] nimda, etc.

2001-09-21 Thread Mark
?> > >I felt that if nothing else I could slow the worm down a little by >wasting its time before it races off to the next potential target. >Does what I'm doing make any sense or am I all confused? >-- > Bill Rausch, Software Development, Unix, Mac, Windows > Numerical A

Re: [PHP] Finding a File

2001-09-21 Thread Mark
es or anything. Can I run through the string of >>item >> numbers until I hit a numeric character, and then check that >>substring >> to see if it's a directory? If it doesn't match exactly is there a >>way >> to search for that file in directories that almo

Re: [PHP] Finding a File

2001-09-21 Thread Mark
On Fri, 21 Sep 2001 14:46:04 -0700, Mark wrote: >On Fri, 21 Sep 2001 16:48:13 -0500, Joseph Koenig wrote: >>Well - I just spoke with the client and apparently only one >directory >>was going to create that problem so they're just going to rename the >>directory. I g

Re: [PHP] configure errors: PHP with sablot on mac os x

2001-09-21 Thread Mark
> >checking for Hyperwave support... no >checking for ICAP support... no >checking for iconv support... yes >checking for iconv_open in -lc... no >checking for IMAP support... no > >checking whether to include pspell support... no >checking whether to include QDOM support... no >checking for libed

RE: [PHP] How would you code: $r = func() or return 0?

2001-09-26 Thread Mark
gt;> >> The last way is how you would do it... And FYI, its an extra >>if >> statement in the Perl code too (speed wise)... >> >> -Sterling >> >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, e-mail: [EMAIL PROTEC

Re: [PHP] A powerful editor!

2001-10-03 Thread Mark
On Wed, 3 Oct 2001 08:52:47 -0500, Sheridan Saint-Michel wrote: >I wasn't saying anything about the quality of Editplus. I was just >wondering >what justification there was for the statement > >"It has more than I could even use including everything TextPad >has and nicer colors for the different

Re: [PHP] Re: Having trouble using get_browser() function

2001-10-03 Thread Mark
ROTECTED]> >> Sent: Monday, October 01, 2001 7:21 PM >> Subject: Having trouble using get_browser() function >> >> >> > Hi, does anyone here know how to correctly configure php.ini to >>be able >to >> > use browscap.ini in linux so that I can get th

Re: [PHP] How to simulate any browser

2001-10-03 Thread Mark
On Wed, 3 Oct 2001 17:46:50 +0200, Kamil Nowicki wrote: > > Hello everyone! > > I have a problem. My webpage (say webpage_1) needs to get some >data >presented on other webpage (wepage_2). I tried to use >fopen("http://webpage_2?params","r";) and got connection and stuff, >but >I suppose that we

Re: [PHP] Ip Blocking

2001-10-05 Thread Mark
x27;ve come up with is either breaking the ip into 4 >INTs and >then running an SQL query to check if that ip is found in "Blocked >Users" >table. > >Replies would be appriciated > >Prottoss > have you thought about using ipchains? -- Mark, [EMAIL PROTECTED] on

Re: [PHP] Share located on another computer

2001-10-05 Thread Mark
e a drive letter, then use the drive letter instead of the share name >Todd > >-- >Todd Cary >Ariste Software >[EMAIL PROTECTED] > > > -- Mark, [EMAIL PROTECTED] on 10/04/2001 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] Quickbooks

2004-07-23 Thread Mark
t > generate any > response and my email server hiccuped shortly after I made the > post, so I > likely missed any responses sent directly to me. > > > > -Ed > > > > = Mark Weinstock [EMAIL PROTECTED] *** You can

[PHP] Fwd: IMPORTANT: Please Verify Your Message

2004-07-24 Thread Mark
m/spamcease2/verify.php?id=1334886   = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a "right" unless you are willing to fight to death to defen

Re: [PHP] Fwd: IMPORTANT: Please Verify Your Message

2004-07-25 Thread Mark
--- Jason Wong <[EMAIL PROTECTED]> wrote: > On Sunday 25 July 2004 09:42, Mark wrote: > > Am I the only one who gets annoyed at these? > > No you're not. Look in the past week's archives. > > > [EMAIL PROTECTED], [EMAIL PROTECTED] is currently > > Y

[PHP] Field name function in PHP 5

2004-08-04 Thread Mark
general program/script for using queries in MySQL. For now I have replaced msql_field_name by mysqli_fetch_field. Many thanks, Mark -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Field name function in PHP 5

2004-08-04 Thread Mark
Thanks, but I have tried this one as well as many others. It did not help. Mark "Jay Blanchard" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] [snip] When I write: echo "".msql_field_name($result). ""; I get the error message: Fat

Re: [PHP] Field name function in PHP 5

2004-08-04 Thread Mark
but this does not work for me since I need functions that start with mysqli... I try to the find the MySQL Improved equivalent for mysql_field_name Mark "Jay Blanchard" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] [snip] Please check my php file. [/snip] III. An

Re: [PHP] Field name function in PHP 5

2004-08-04 Thread Mark
welcome to modify and redistribute it under the GPL license Server version 4.0.20a Protocol version10 Connection localhost via TCP/IP TCP port3306 Uptime: 2 hours 6 sec Mark "Jason Wong" <[EMAIL PROTECTED]> schreef in be

[PHP] "problem solved" (?)

2004-08-05 Thread Mark
. ! Still the problem remains that there is no mysqli equivalent for mysql_field_name Regards, Mark "Curt Zirzow" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] > * Thus wrote Mark: > > I use MySQL: C:\mysql\bin>mysqladmin version status proc > > C

Re: [PHP] PHP to replace javascript

2004-09-03 Thread Mark
on the site but without > knowing the > name or names of what I am looking for it is real hard to find it. > Since PHP is a server-side language, it can't really tell the browser to do anything. However you can generate javascript from your PHP code (if necessary) to open (a

Re: [PHP] Sessions Problems

2004-09-03 Thread Mark
ith two browser windows and expect to have two separate sessions. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > = Mark Weinstock [EMAIL PROTECTED] *** You can'

Re: [PHP] Sessions Problems

2004-09-03 Thread Mark
nction.session-name.php > > jason > > Mark <[EMAIL PROTECTED]> wrote: > > > > > > --- Octavio Herrera <[EMAIL PROTECTED]> wrote: > > > > > No, I do not store two items with the same key, I just open > another > > > session > &

Re: [PHP] fopen problem, 5 line script

2004-09-15 Thread Mark
; Do you Yahoo!? > Yahoo! Mail - 50x more storage than other providers! > http://promotions.yahoo.com/new_mail > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > =

Re: [PHP] Instal or config this package UnxUtils.zip under windows

2004-09-17 Thread Mark
path statement. But what has this got to do with PHP? = Mark Weinstock [EMAIL PROTECTED] *** You can't demand something as a "right" unless you are willing

Re: [PHP] Re: A native Windows binding for PHP - released

2004-09-17 Thread Mark
or > http://www.meta-language.net/metastorage.html > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > = Mark Weinstock [EMAIL PROTECTED] *

Re: [PHP] reading from files

2004-09-17 Thread Mark
l? http://www.php.net/file > > Thank you for any hint on that, > > Merlin > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > = Mark Weinstock [EMAIL PROTECTED] *

[PHP] is_dir on WIndows

2004-09-27 Thread Mark
tories as such. With the echos above in place, I get the resource handle, and it echos everything you would expect except that is_dir() fails to recognize the directories. It DOES recognize . and .. as directories, for some bizarre reason. And no, I can't switch to linux. Any ideas? Mark ==

Re: [PHP] is_dir on WIndows

2004-09-27 Thread Mark
; > That will match everything and anything, files and dot > directories... > > The first statement by the OP should work fine. All three will > eval to > true if it is a directory, and the directory isn't . or .. > Which is the problem I'm having. It's not eval

Re: [PHP] is_dir on WIndows

2004-09-27 Thread Mark
--- Jason Wong <[EMAIL PROTECTED]> wrote: > On Tuesday 28 September 2004 03:54, Mark wrote: > > > With the echos above in place, I get the resource handle, and it > > echos everything you would expect except that is_dir() fails to > > recognize the directories. &

<    1   2   3   4   5   6   7   8   9   10   >