[PHP] PHP accessing the COM port?

2001-04-24 Thread sean
would be grateful if you would let me know if you think this will work.. many thanks Sean -- 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] PHP accessing the COM port?

2001-04-24 Thread sean
HP and > work with AT commands? > > Someone has suggested something that MIGHT work - using fopen(com1... sorry > I dont know the correct syntax but as soon as I have managed to install php > I will give it a try.. in the meantime I would be grateful if you would let >

Re: [PHP] PHP accessing the COM port?

2001-04-24 Thread sean
please tell me how to set a file permission on com1 on windows98! thanks, sean ""Scott Fletcher"" <[EMAIL PROTECTED]> wrote in message 9c3urk$k0$[EMAIL PROTECTED]">news:9c3urk$k0$[EMAIL PROTECTED]... > You would need to set the file permission to the fil

[PHP] math calculations query

2001-04-26 Thread sean
ideas? Many thanks, Sean. -- 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] math calculations query

2001-04-26 Thread sean
oh, I am such a bone head.. but the actual question was how to calculate the totals. i have a column on my form that says $qry["price"]*$qry["quantity"] which gives me a column of totals but my question is how to total that up??? any ideas? "David VanHorn" <[EMAIL PROTECTED]> wrote in message

[PHP] fopen question

2001-05-07 Thread sean
hi I am running the following on my redhat 7.0 / php4 / apache box and receiving the error below. Warning: fopen("/dev/ttys0","r+") - Input/output error in /var/www/html/test.php on line 2 I would be grateful if you could help. Many thanks, Sean -- PHP Genera

Re: [PHP] fopen question

2001-05-07 Thread sean
even when you are trying to access a COM port? ""Kelvin"" <[EMAIL PROTECTED]> wrote in message 9d6dc8$eug$[EMAIL PROTECTED]">news:9d6dc8$eug$[EMAIL PROTECTED]... > Hi sean, > >try to put a file name not a directory or path. > $file =

[PHP] Print array items only once

2001-05-09 Thread sean
["category"]; but only once for this results array. } Can you help with this? Many thanks. Sean. -- 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-ma

Re: [PHP] Print array items only once

2001-05-09 Thread sean
Thanks very much Nicholas, Sean. ""Nicolas Guilhot"" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > You can try to modify your SQL query and add the "DISTINCT" statement !! It > will return each distinct

[PHP] User authentacation

2002-01-15 Thread sean
server. Any suggestions? Thanks, Sean -- I N T E R C O N N E C T Sean Karshis – President Internet Image Development http://www.InterConnect.is.it -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] what vars should go in session vars?

2002-01-23 Thread sean
t add a style sheet preference field to the db, and call it along with the other user info, and have the php write the correct css include call. >From the sounds of it, with only 10 active users, you won't have any performance >issues either way you work it out. Sean -Original Mes

[PHP] directory structure list

2002-01-24 Thread sean
bDir1of1 *SubDir2of1 *Dir2 *SubDir1of2 *SubSubDir1of2 ... etc. There are some truly great php applications for this, such as: http://freshmeat.net/projects/phpmyexplorer/ But it's way ahead of what I need. Any crafty suggestions? Thanks for any input, Sean -- PHP General Maili

RE: [PHP] directory structure list

2002-01-24 Thread sean
Sorry for the posting, I hadn't looked hard enough. If any of you need something along the same lines go: http://www.php.net/manual/en/class.dir.php Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

[PHP] On the fly unzipping

2002-01-26 Thread sean
ut how to do it, and if the server needs to be set up in some special format... I don't know. I've looked around on-line, but so far haven't found anything. Thanks for any input, Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

[PHP] checking for off site image

2002-02-06 Thread sean
$title= 'give some text'; My URL fopen wrapper is enabled... getimagesize doesent work for off site? My error? or do one of you have a crafty solution? Thanks for your help! Sean --- I N T E R C O N N E C T Internet Image Develop

[PHP] determining script url

2002-02-07 Thread sean
Hi all, How can I get the full URL of the currently running script? $DOCUMENT_ROOT is not what I need, instead I need the url (be it domain if exists, or ip if not). $SERVER_NAME works but if a domain isn't paired with the server, I could get some useless information (right?). Thanks,

RE: [PHP] determining script url

2002-02-08 Thread sean
h the info from phpinfo() either. It's so aggravating because the value of what I'm looking for is right on screen, but I can't get the php to notice! Thanks, Sean My response for those vars was: $SCRIPT_NAME: /cgi-bin/php4.cgi $SCRIPT_FILENAME: /u/httpd/cgi-bin/php4.cgi -Origin

RE: [PHP] Content Management

2002-02-08 Thread sean
ll us in on the scope of your project. - sean --- I N T E R C O N N E C T Internet Image Development Tel: 505 989 3749 http://www.InterConnect.is.it --- -Original Message- From: karthikeyan [mailto:[EMAIL PROTECTED

[PHP] getting the "right" REMOTE_ADDR

2002-02-20 Thread sean
etenv(HTTP_CLIENT_IP); } else { $ip=getenv(REMOTE_ADDR); } Is this really a fool-proof method of knowing exactly what the ip is that's getting onboard? Thanks! Sean --- I N T E R C O N N E C T Internet Image Development Tel: 50

Re: [PHP] getting the "right" REMOTE_ADDR

2002-02-20 Thread sean
only humans (who are on the IP list) can view content... and I wanted to make sure that bots couldn't spoof their IP and look like one of the human IP's. make sense? thanks, Sean -Original Message- From: Steven Walker [mailto:[EMAIL PROTECTED]] I don't know too much about th

[PHP] not recognizing changes

2002-02-21 Thread sean
he content. This happens to be on a shared Unix machine at Hostway.com - and I'm working from the house with the lovely connection of AOL (yuck!). Thanks for any input, Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] http header reference

2002-02-26 Thread sean
Hi all, I'm debugging a php script that is using several environmental vars that I'm not familiar with: HTTP_VIA HTTP_CONNECTION HTTP_PRAGMA HTTP_FROM HTTP_RANGE -- Does anyone know what these are? or where I could find out about them? Thanks for any input, Sean -- PHP Gener

Re: [PHP] Mail

2003-08-09 Thread Sean
lt;[EMAIL PROTECTED]> Hope you can help Thanks Sean "John W. Holmes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sean wrote: > > > I cannot get mail() to work any idea's > > I get a server error. > > Windows 2000 the SMTP port is

Re: [PHP] Mail

2003-08-10 Thread Sean
Got it if anyone else has trouble. In the IIS SMTP properties go to the Access Tab. Click the Relay button at the bottom and change the selection from "Only the list below" to "All except the list below" I have no idea if this is a security risk it works that's all I

Re: [PHP] Mail

2003-08-12 Thread Sean
fact if any one responds to this answer I would be interested to know if hackers could get past all that, like everyone else I don't like the thought of someone snooping around my computer. Thanks Sean "Mike Brum" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

[PHP] Mail

2003-08-14 Thread Sean
or as do more complicated scripts that I copied. Thanks Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Mail

2003-08-14 Thread Sean
not complain about setting up. Also I don't think there should be any major difference between php script for Windows or Linux is that right? Thanks Sean "Sean" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks for the quick response. 1 and 2 work 3 do

[PHP] PHP3 + Sessions?

2001-01-30 Thread Sean Kennedy
I was wondering if there are any functions in php3 that would allow me to play with sessions. In the docs at the php site, most if not all the functions they have listed there were added in php4, but my server is still setup with php3. Any help is appreciated! Sean Kennedy

Re: [PHP] PHP3 + Sessions?

2001-01-30 Thread Sean Kennedy
Thank you, I will. - Original Message - From: Devta Singh <[EMAIL PROTECTED]> To: Sean Kennedy <[EMAIL PROTECTED]>; PHP Mailing List <[EMAIL PROTECTED]> Sent: Tuesday, January 30, 2001 4:13 AM Subject: Re: [PHP] PHP3 + Sessions? > Use this: > http://www

[PHP-CVS] cvs: php4 /ext/mysql php_mysql.c

2001-01-30 Thread Sean Bright
elixer Tue Jan 30 16:55:29 2001 EDT Modified files: /php4/ext/mysql php_mysql.c Log: Fix for bug #8991. mysql_field_type() now returns "year" for columns of type YEAR. Index: php4/ext/mysql/php_mysql.c diff -u php4/ext/mysql/php_mysql.c:1.63 php4/ext

[PHP-CVS] cvs: php4 /ext/mysql php_mysql.c

2001-01-30 Thread Sean Bright
elixer Tue Jan 30 17:14:55 2001 EDT Modified files: /php4/ext/mysql php_mysql.c Log: Fixed conditional. # Woops! Index: php4/ext/mysql/php_mysql.c diff -u php4/ext/mysql/php_mysql.c:1.64 php4/ext/mysql/php_mysql.c:1.65 --- php4/ext/mysql/php_mysql.c:1

[PHP-CVS] cvs: php4 /ext/mysql php_mysql.c php_mysql.h

2001-01-31 Thread Sean Bright
the conditionals. @- Added mysql_get_client_info(), mysql_get_server_info(), @ mysql_get_proto_info(), and mysql_get_host_info() functions. (Sean) Index: php4/ext/mysql/php_mysql.c diff -u php4/ext/mysql/php_mysql.c:1.66 php4/ext/mysql/php_mysql.c:1.67 --- php4/ext/mysql/php_mysql.c:1.66

Re: [PHP] E-mail valid

2001-02-01 Thread Sean Cazzell
valid. Even so, it is easy to create a throw-away account at hotmail or another free email provider. Anyway, there is a class on phpclasses.upperdesign.com that does a good job of checking an address. Regards, Sean Cazzell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP-CVS] cvs: php4 /win32 readdir.c

2001-02-02 Thread Sean Bright
elixer Fri Feb 2 16:50:49 2001 EDT Modified files: /php4/win32 readdir.c Log: Comments didn't reflect rewinddir() Index: php4/win32/readdir.c diff -u php4/win32/readdir.c:1.5 php4/win32/readdir.c:1.6 --- php4/win32/readdir.c:1.5Sun Jun 4 15:00:17 2000

RE: [PHP] HTTP compression

2001-02-04 Thread Sean Cazzell
Alain, When PHP parses a file, it treats the stuff that's not in blocks as though each line were a print or echo statement. So your whole file will be compressed and sent to the browser. Regards, Sean On Sun, 4 Feb 2001, Alain Fontaine wrote: > Rasmus, > > Thanks for the cla

Re: [PHP] Apache and PHP

2001-02-04 Thread Sean Cazzell
> I'm not even sure that the shell escape is even used in win32 perl - I think > it's done via a regular file association. So maybe he just needs to associate .php files with php.exe? -Sean (who hasn't ever used php on windows) -- PHP General Mailing List (ht

Re: [PHP] I should apologize

2001-02-04 Thread Sean Cazzell
in some applications - not PHP) and I'm a better programmer because of it. (Ruby does look very cool...I need to pick up the "Pragmatic Programmers Guide to Ruby" - the guys that wrote it also wrote "The Pragmatic Programmer" which is a great book.) Regards, Sean -

Re: [PHP] Learning MySQL

2001-02-04 Thread Sean Cazzell
You need to go get yourself a copy of the MySQL book from New Riders. Stay away from the O'Reilly one, it sucks. Regards, Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the

Re: [PHP] upload

2001-02-04 Thread Sean Cazzell
Hmm...well if you mean "can I upload a file from the web browser to the web server", the answer is yes. See the php manual on zend.com. http://www.zend.com/manual/ Regards, Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] PHP, MySQL and XML

2001-02-05 Thread Sean Cazzell
ok at these to get an idea of how to use the XML module to parse RDF. Regards, Sean Cazzell -- 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-CVS] cvs: php4 /ext/standard file.c file.h

2001-02-10 Thread Sean Bright
elixer Sat Feb 10 18:38:40 2001 EDT Modified files: /php4/ext/standard file.c file.h Log: Fix for bug #4556 # This is pretty much a total rewrite of get_meta_tags using a simple # handwritten tokenizer. It might be overkill, but it works. Index: php4/

[PHP-CVS] cvs: php4 / NEWS

2001-02-11 Thread Sean Bright
2001 @@ -2,6 +2,7 @@ ||| ?? ??? 200?, Version 4.0.5 +- Fixed get_meta_tags() multiline bug #4556 (Sean) - Prefer random() over *rand48() (JimJag) - Sped up WDDX serialization 2x. (Andrei) - Added a new parameter to mail

[PHP] re:[PHP]Using PHP to process forms

2001-02-12 Thread Sean Kennedy
Does anyone have examples of using PHP to process forms? I'd also like to know if I can embed the code in my html file or do I have to write a CGI server side script to do it? Thanks, Don -- What's your name When the submit button is pressed, the value of the some_name input field is

Re: [PHP] help with classes

2001-02-12 Thread Sean Cazzell
ss's constructor sub MyClass () { $this->bar = $foo; } } Regards, Sean -- 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] Installation on win32

2001-02-13 Thread Sean Kennedy
the source, but nothing displays on the page. Anybody recognize this? Can anybody point me in the right direction? Thank you in advance. Sean Kennedy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

[PHP] Re:[PHP] Installation on win32

2001-02-13 Thread Sean Kennedy
Nah, I have windows showing me the extentions, so that wouldn't be a problem. (Though I checked, cause you never know...) And I restart apache. Actually, I restarted my machine, no dice. This is driving me crazy. I have followed the instructions TO THE LETTER. Several Times I might add. I j

Re: [PHP] Installation on win32

2001-02-14 Thread Sean Kennedy
php3 .html .inc > > AddType application/x-httpd-php-source .phps > > > > > > Cheers, > > Maxim Maletsky > > > > > > > > -Original Message- > > From: Sean Kennedy [mailto:[EMAIL

[PHP] The neverending Session

2001-03-01 Thread Sean B.
ks a MySQL DB for new posts, and updates a timestamp in a user database. Any idea of why the loop/thread/whatever won't die? Thanks, Sean B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To c

[PHP-CVS] cvs: php4 /ext/standard file.c

2001-03-04 Thread Sean Bright
elixer Sun Mar 4 16:20:41 2001 EDT Modified files: /php4/ext/standard file.c Log: get_meta_tags now handles single quoted attributes as well as those that are double quoted. Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.144 php4/ext

[PHP-CVS] cvs: php4 /ext/standard file.c

2001-03-05 Thread Sean Bright
elixer Mon Mar 5 20:34:06 2001 EDT Modified files: /php4/ext/standard file.c Log: get_meta_tags now allows attributes that are not quoted as well as those that are. It follows the HTML 4.01 specification for attribute values outlined here -> http://www.w3.

[PHP-CVS] cvs: php4 /ext/standard file.c

2001-03-05 Thread Sean Bright
elixer Mon Mar 5 20:42:04 2001 EDT Modified files: /php4/ext/standard file.c Log: Typo. # I don't know where I got 4.02 from Index: php4/ext/standard/file.c diff -u php4/ext/standard/file.c:1.146 php4/ext/standard/file.c:1.147 --- php4/ext/standard/file

[PHP] Shopping Baskets

2001-03-05 Thread Sean Weissensee
Does anyone have a sample shopping basket class they could show me, I tried to use one of the phpbuilder site but could not get it working ? Sean Weissensee ION Solutions

[PHP-CVS] cvs: php4 /ext/mysql php_mysql.c

2001-03-12 Thread Sean Bright
elixer Mon Mar 12 07:14:38 2001 EDT Modified files: /php4/ext/mysql php_mysql.c Log: Fixed prototype. Index: php4/ext/mysql/php_mysql.c diff -u php4/ext/mysql/php_mysql.c:1.72 php4/ext/mysql/php_mysql.c:1.73 --- php4/ext/mysql/php_mysql.c:1.72 Sun F

Re: [PHP] syntax for session_register();

2001-03-12 Thread Sean B.
You were close: session_register("varname"); The key thing to remember is that it's the variable name WITHOUT the $. so... $variable = "Hello"; session_register("variable"); > > Hello, > > What is the correct syntax for registering a variable that's a part of an > array. I tried these variation

[PHP-CVS] cvs: php4 /ext/standard basic_functions.c

2001-03-21 Thread Sean Bright
elixer Wed Mar 21 05:53:39 2001 EDT Modified files: /php4/ext/standard basic_functions.c Log: Fix for bug #9698. # Anyone that can think of a way to fix long2ip(), feel free. Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_func

Re: [PHP-CVS] cvs: php4 /ext/standard basic_functions.c

2001-03-21 Thread Bright, Sean
How do I merge these changes into the RC2 branch? ""Sean Bright"" <[EMAIL PROTECTED]> wrote in message news:<cvselixer985182819@cvsserver>... > elixerWed Mar 21 05:53:39 2001 EDT > > Modified files: > /php4/ex

[PHP-CVS] cvs: php4 /ext/standard basic_functions.c

2001-03-22 Thread Sean Bright
elixer Thu Mar 22 06:43:50 2001 EDT Modified files: /php4/ext/standard basic_functions.c Log: Fixed prototype. Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.319 php4/ext/standard/basic_functions.c:1.320 --- php4/

Re: [PHP-CVS] cvs: php4 /ext/dbx CREDITS INSTALL LICENSE Makefile.in config.m4 dbx.c dbx.dsp dbx.h dbx_mysql.c dbx_mysql.h dbx_odbc.c dbx_odbc.h php_dbx.h

2001-03-22 Thread Sean Bright
You may want to remove the C++ comments "//" and replace with with "/* */" comments. ""Marc Boeren"" <[EMAIL PROTECTED]> wrote in message cvsmboeren985259224@cvsserver">news:cvsmboeren985259224@cvsserver... > mboeren Thu Mar 22 03:07:04 2001 EDT > > Added files: > /php4/ext/dbx CREDITS INST

[PHP-CVS] cvs: php4 /pear/XML/Render render.php

2001-01-12 Thread Sean Grimes
. | // +-+ // | Authors: Sean Grimes <[EMAIL PROTECTED]>| // +-+ /** * Render class for rendering HTML. This class inherits * everything from XML_Parser,

[PHP-CVS] cvs: php4 /pear/XML/Render render.php

2001-01-12 Thread Sean Grimes
metallicFri Jan 12 14:55:13 2001 EDT Removed files: /php4/pear/XML/Render render.php Log: # Correcting the directory structure -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands,

[PHP-CVS] cvs: php4 /pear/XML Render.php

2001-01-12 Thread Sean Grimes
. | // +-+ // | Authors: Sean Grimes <[EMAIL PROTECTED]>| // +-+ /** * Render class for rendering HTML. This class inherits * everything from XML_Parser, taking the variable

[PHP-CVS] cvs: php4 / configure.in /ext/standard basic_functions.c php_string.h string.c /main config.w32.h

2001-01-14 Thread Sean Bright
elixer Sun Jan 14 08:36:31 2001 EDT Modified files: /php4 configure.in /php4/ext/standard basic_functions.c php_string.h string.c /php4/main config.w32.h Log: Added localeconv() function. Operates similarly to localeconv() defined in lo

[PHP-CVS] cvs: php4 /pear/XML Render.php

2001-01-15 Thread Sean Grimes
/XML/Render.php:1.1Fri Jan 12 15:01:19 2001 +++ php4/pear/XML/Render.phpMon Jan 15 16:27:34 2001 @@ -16,31 +16,112 @@ // +-+ // | Authors: Sean Grimes <[EMAIL PROTEC

[PHP-CVS] cvs: php4 /ext/standard basic_functions.c php_string.h string.c

2001-01-16 Thread Sean Bright
for localization. (Sean) Index: php4/ext/standard/basic_functions.c diff -u php4/ext/standard/basic_functions.c:1.297 php4/ext/standard/basic_functions.c:1.298 --- php4/ext/standard/basic_functions.c:1.297 Sun Jan 14 08:36:30 2001 +++ php4/ext/standard/basic_functions.c Tue Jan 16 17:10:50

[PHP-CVS] cvs: php4 / configure.in

2001-01-16 Thread Sean Bright
elixer Tue Jan 16 17:15:11 2001 EDT Modified files: /php4 configure.in Log: Updated configure.in to look for strcoll() # Woopsie. Index: php4/configure.in diff -u php4/configure.in:1.211 php4/configure.in:1.212 --- php4/configure.in:1.211 Sun Ja

[PHP-CVS] cvs: php4 /ext/standard basic_functions.c php_string.h

2001-01-17 Thread Sean Bright
elixer Wed Jan 17 12:37:49 2001 EDT Modified files: /php4/ext/standard basic_functions.c php_string.h Log: Put these back where they belong. They weren't necessary unless ZTS and HAVE_LOCALECONV were both defined. Index: php4/ext/standard/basic_function

[PHP] Good Reads

2001-01-18 Thread Sean Brown
Does anyone have any suggestions on a good book for beginners. I currently own "PHP3 Programming Browser-Based Applications" by David Medinets. I have no regrets thus far on purchasing the book but it seems to leave a lot out and his examples are somewhat... skewed. Cheers -- PHP General Maili

Re: [PHP] XOR data encryption

2001-01-20 Thread Sean Cazzell
abase. Regards, Sean Cazzell -- 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] " " charactor problem

2001-01-20 Thread Sean Cazzell
> I grab this line and try to make it an array like this: print "line: $thelinefromfile\n"; //Check the line > $var1 = trim($thelinefromfile); > $var2 = split(" ", $thelinefromfile); > $count = count($var2); Are you sure $thelinefromfile is actually being

Re: [PHP] MySQL replication

2001-01-21 Thread Sean Cazzell
Andi, No personal experience (yet), but there's a good article on phpbuilder that you might want to take a look at if you haven't already: http://www.phpbuilder.com/columns/tanoviceanu2912.php3 Regards, Sean -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] [php] - alphabetizing

2001-01-21 Thread Sean Cazzell
each ($people_strings)) { print "$key -> $value\n"; } That should print out: andy -> foo joe -> bar The ksort is the magic part, it sorts arrays by their keys. Regards, Sean Cazzell -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

Re: [PHP] Sending attachments via mail()

2001-05-11 Thread Sean Cazzell
> I have some jpgs I'd like to send as attachments with automatically > generated (via PHP) e-mails. Does anyone have any suggestions as to how > I might go about this? Check this out: http://www.zend.com/codex.php?id=103&single=1 Regards, Sean -- PHP General

Re: [PHP] Encode/Decode Problem

2001-05-11 Thread Sean Cazzell
> I have a " in the middle of the encoded string. How can I solve this > problem? You need to use addslashes(). http://www.zend.com/manual/function.addslashes.php Regards, Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: [PHP] protecting video files

2001-05-11 Thread Sean Cazzell
ink to this new script from the test.html page that you're trying to show the movie from. Good luck, Sean -- 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] Hidden Input and Quotes?

2001-05-11 Thread Sean Cazzell
_table (HTML_SPECIALCHARS); $trans_table = array_flip($trans_table); return strtr($string, $trans_table); } There ya go :) Regards, Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: [PHP] verify phone number

2001-05-11 Thread Sean Cazzell
"good\n"; } else { print "bad\n"; } The regexp breaks down like this: [0-9]{3}[0-9]{3}[0-9]{4} (three numbers)-(three numbers)-(four numbers) I didn't test the code above, so let me know if it won't work for you. Regards, Sean -- PHP General Mai

Re: [PHP] PHP's OO is bad?

2001-05-12 Thread Sean Cazzell
d 580 req/s, while the OO version averaged 550 req/s. This was on a 600mhz pIII with 256megs of ram running Apache 1.3.19 and PHP 4.0.5 on a Linux 2.4.3 kernel. Regards, Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: [PHP] Multiple Selections?

2001-05-13 Thread Sean Cazzell
x27;m not sure how PHP will handle things because your value will now be an array. You may want to write out a hidden field for each of the users selections - like: Regards, Sean On Sun, 13 May 2001, Jason Caldwell wrote: > > Thanks. > Jason > > > > -- >

[PHP] Broken ip2long and long2ip?

2001-05-19 Thread Sean Cazzell
ciate it if a someone can verify this before I submit it as a bug. Regards, Sean Cazzell -- 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] Session troubles

2001-12-28 Thread Sean LeBlanc
x27;t increment upon refreshes - it remains 1. I've seen this before, and it was fixed, but I forget how it was done, as I didn't actually implement the solution (I hear and I forget, I do and I remember, I guess). About my system: FreeBSD 4.4 Apache 1.3.20 PHP 4.0.6 Any and all hel

Re: [PHP] Session troubles

2001-12-29 Thread Sean LeBlanc
On 12-29 09:59, Miles Thompson wrote: > Sean, > > What's going on in incl.php. Are you issuing a session_start()? No, I was not. > What if it's rearranged like so, as I understand you have to register the session >variable > before using it. > > in

Re: [PHP] Session troubles

2001-12-29 Thread Sean LeBlanc
On 12-29 12:56, David Jackson wrote: > Sean -- > Don't know if this help but here's what I just worked for me. > What ver. of PHP are you using? It seem to me that 3.x.x needs > PHPLIB: http://sourceforge.net/projects/phplib > to handle sessions? -- David

Re: [PHP] Session troubles

2001-12-29 Thread Sean LeBlanc
On 12-29 15:10, David Jackson wrote: > Sean -- > Do you get the same errors, with Netscape 4.x? Yep. The very same. I've tried Galeon, Mozilla, Netscape 4.x, and Konqueror. They all result in the same error. > > On 12-29 12:56, David Jackson wrote: > >> Sean -- > &

Re: [PHP] Session troubles

2001-12-29 Thread Sean LeBlanc
On 12-29 16:46, David Jackson wrote: > Sean -- > > Give the attached scripts a shot, a post the results. > > Note: Xitami(server+WinMe) + IE5.5 or Mozilla 9.7 works > fine but with Netscape-4.9 it returns var names? But > when served from Unix/Linux and Apache a

Re: [PHP] Session troubles

2001-12-30 Thread Sean LeBlanc
On 12-29 22:27, David Jackson wrote: > Sean -- > > Does you standard (non session) seem to work ok? Such as: > // basic echo of var from form > echo "We've just echoed var from form\n"; > echo "$stuff"; > echo "$more_stuff"; > echo &qu

Re: [PHP] Session troubles

2002-01-01 Thread Sean LeBlanc
On 12-31 09:23, Jaime Bozza wrote: > Sean, > From your php error_log, it's saying the following: > Failed to write session data (user) > > which sounds like it's having problems writing to the user-defined > session handler. Are you using a user-defi

Re: [PHP] Session troubles

2002-01-02 Thread Sean LeBlanc
outlined somewhere? > -Original Message- > From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, January 01, 2002 8:32 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Session troubles > > > On 12-31 09:23, Jaime Bozza wrote: > > Sean, > &g

Re: [PHP] Session troubles

2002-01-02 Thread Sean LeBlanc
, I return false when no value is found. > > Jaime Bozza > > > -Original Message- > From: Sean LeBlanc [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 02, 2002 11:20 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Session troubles > > > On 01-02

Re: [PHP] Session troubles

2002-01-03 Thread Sean LeBlanc
l seem to inherit code where people go skipping down the bunny trail doing some weird and buggy stuff because they didn't know what they were doing - when it's built in, that's less likely to happen. The db layer I mentioned above would prevent just this sort of thing - maybe this is alr

[PHP] Forms and IE

2002-02-10 Thread Sean Hurley
Please forgive me if this has been covered before. I have searched the list and could not find reference to a similar problem. I am completetly new to PHP and I am stuck. I am creating a very simple form. Essentially the user agrees or disagrees to a message. If the user agrees, they are sent

RE: [PHP] Forms and IE

2002-02-10 Thread Sean Hurley
Well, damn. When I read your suggestion I didn't quite accept it. I thought no, it would return an error if it couldn't find the page, but with nothing to lose I tried it. And it worked. Thank you. Thanks a lot. >From: Martin Towell <[EMAIL PROTECTED]> >To: 'Sea

[PHP] Novice: Problems getting data from forms to PHP scripts.

2002-02-14 Thread Sean Connelly
nction passing in the time as data/parameter. Can someone give me hints on the best way to do this. Do these functions have to exist in a separate file, or can they reside in the same file as the form/hyperlink data and just reference the function name. Many thanks for your help. Sean.

Re: [PHP] Novice: Problems getting data from forms toPHPscripts.

2002-02-14 Thread Sean Connelly
Thanks Jeff and sincere apologies for such a simple typoI had copied the html from some on-line example but had tweaked name to dateit's been a while since I've done HTML and I was concentrating on the php side of things. Thanks Sean. >>> Jeff Sheltren <[EMAIL P

[PHP] LogIn check within function within class :: HELP!

2002-12-08 Thread Sean Mayhew
Im just about at wits end here Im trying to verify that a users ID and Password exist in the MySQL Database and then if it does display certain content and if it does not display login form content. ###At present here is the error I'm recieving: Warning: Missing argument 3 for verifylogin() in

[PHP] Class Function Problem

2002-12-10 Thread Sean Mayhew
I have an admin panel that each section contains a set of tools so on each page I can set $toolsneeded = "admin" or $toolsneeded = "employees"; etc. I keep recieving this error: Warning: Division by zero in /home/www/website/admin/include/adminclass.php on line 250 Warning: Variable passed to e

Re: [PHP] How to test php.info from command line

2002-12-11 Thread Sean Burlington
Jason Wong wrote: On Tuesday 10 December 2002 02:39, [EMAIL PROTECTED] wrote: Hello All, How to test php.info from command line: #echo "" | php to the standard output (screen) - or if you want to a file like this way: #echo "" | php > /tmp/test_php.txt Oliver Etzel .eu - domain are comin

Re: [PHP] Filter vulger / controversial words - need word source

2002-12-11 Thread Sean Burlington
can be a usefull aid to human moderation - flagging up messages for review. if you want a partial list of offensive terms - try looking at the meta keywords on a few porn sites ... -- Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] upload image

2002-12-11 Thread Sean Burlington
://www.php.net/manual/en/function.getimagesize.php -- Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] GD installation - Simple Question

2002-12-11 Thread Sean Burlington
are make sure it finds the right version. - you can always remove the ditro version - but eg rpm may complain about dependency problems as it won't know about your /usr/local version. -- Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] multiline regex

2002-12-11 Thread Sean Burlington
){ print htmlspecialchars($font)." \n"; ?> -- Sean -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   >