Re: [PHP] Updating content on the line. (cli)

2004-03-03 Thread Adam Voigt
one way. It's currently in development for Win32, but it > would be nice if it works on *nix later on aswell. Got a tip from a user > in a chatroom to use Ncurses for it, but then I can't use it on win32. > > Just to correct myself; it's chr(8) and not 7. > > //Si

[PHP] regex to change ' to ?

2004-03-04 Thread Adam Williams
What would be the PHP expression to change any and all ' to ? in a variable? I want to change any and all ' in $_POST[data] to ? what would be the statement? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] regex to change ' to ?

2004-03-04 Thread Adam Williams
Thank you, that works great! On Thu, 4 Mar 2004, Richard Davey wrote: > Hello Adam, > > Thursday, March 4, 2004, 3:36:06 PM, you wrote: > > AW> What would be the PHP expression to change any and all ' to ? in a > AW> variable? > > AW> I want to c

[PHP] using mail() for multiple email address...

2004-03-08 Thread Adam Reiswig
is and if there is a remedy, I'd sure like to know about it. Thanks a lot!! -Adam Reiswig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using mail() for multiple email address...

2004-03-08 Thread Adam Reiswig
is and if there is a remedy, I'd sure like to know about it. Thanks a lot!! -Adam Reiswig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] using mail() for multiple email address...

2004-03-08 Thread Adam Reiswig
is and if there is a remedy, I'd sure like to know about it. Thanks a lot!! -Adam Reiswig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: using mail() for multiple email address...

2004-03-09 Thread Adam Reiswig
yes, my webhost is on Unix. Thanks, that must be it because I sent a regular email to both address's at the same time and I only received one. -Adam Reiswig [EMAIL PROTECTED] wrote: On 8 Mar 2004 Adam Reiswig wrote: Normally, the two emails would end up in the same pop account but don&#

[PHP] object oriented php game... how classes interact question

2004-03-11 Thread Adam Reiswig
all this so please be patient with me if none of this makes any sense at all. Let me know if I need to be more specific with something and I'll do my best. Thanks for any help or advice in advance. Also if anyone knows of any good articles online that you could point me to, I'd be most grateful. -Adam R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how classes interact question clarification question

2004-03-11 Thread Adam Reiswig
To clarify my question, can one class directly call a function or change a variable of another class or is the main php file the only way to interact between the two or more classes? Thanks again!! -Adam R -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] connecting to MySQL from shellscript

2004-03-11 Thread Adam Voigt
a > script that is being launched several hundred times an hour. > > Ideas? > > Ian -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] memory_limit doesn't work (4.3.3, Mac OS X)

2004-03-14 Thread Adam Nohejl
Thanks for any idea -- Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Simple: Whats wrong with this?

2004-03-17 Thread Adam Voigt
f(!isset($correct)) { > $correct = 0; > } else { > $correct = $correct++; > } > > Seems like it should work? > > Thanks! > Shane -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Simple: Whats wrong with this?

2004-03-17 Thread Adam Voigt
work. It just doesn't > work, no incrementation of the variable. Is there something in php.ini that > can prohibit this from working? > > Thanks, > Jake -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PDF Creating

2004-03-17 Thread Adam Voigt
; My question is how to I know how/where the pages will break, and how can > I make the generation of the PDF files work automagically? The first > page will always have a header set of information, and then the quote > following it, all other pages will just have the quoted items. >

RE: [PHP] Simple: Whats wrong with this?

2004-03-17 Thread Adam Voigt
because for some reason the $counter++; doesn't work. It just doesn't > work, no incrementation of the variable. Is there something in php.ini that > can prohibit this from working? > > Thanks, > Jake > > -- > PHP General Mailing List (http://www.php.net/) > T

Re: [PHP] MySQL Connect Problem

2004-03-17 Thread Adam Voigt
ersistent Unlimited Unlimited > mysql.trace_mode Off Off > > Can anyone give me ideas to get this working? I must admit, I'm stumped. > > Here's the mysql_error: Can't connect to MySQL server on '192.168.1.44' > > >From the webserver error l

RE: [PHP] MySQL Connect Problem

2004-03-17 Thread Adam Voigt
So what error prints out when you try and connect from PHP? On Wed, 2004-03-17 at 15:03, Cameron B. Prince wrote: > Hi Adam, > > > What happens when you try to use the "mysql" client on the > > web machine, to connect to the production database server? >

RE: [PHP] MySQL Connect Problem

2004-03-17 Thread Adam Voigt
) > > Not very helpful huh? > > Any ideas? > > Cameron -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] MySQL Connect Problem

2004-03-17 Thread Adam Voigt
Bhost, $DBuser, $DBpwd) >or die("Could not connect : " . mysql_error()); > > mysql_select_db($DBconf) >or die("Could not select database"); > > > > > Could not connect : Can't connect to MySQL server on '192.168.1.44' (2

RE: [PHP] MySQL Connect Problem - Client Lib / Server Version Skew

2004-03-17 Thread Adam Voigt
n't write a log by default as best I can tell, but I did find something. > > The MySQL on the webserver is: mysql-standard-4.0.16-sun-solaris2.9-sparc > > The MySQL on the dbserver is: mysql-3.23.54a-sun-solaris2.8-sparc > > > Do you think the version skew could cau

Re: [PHP] Replace space from form field using preg_replace

2004-03-17 Thread Adam Voigt
http://www.php.net/str-replace On Wed, 2004-03-17 at 15:48, Vernon wrote: > I want to be able to replace a space that comes from a form field (such as > in 123 My Street) with a + sign. > > Can anyone help me with this? > > Thanks -- Adam Voigt [EMAIL PROTECTED] -- PHP Ge

Re: [PHP] How to keep a timestamp from updating?

2004-03-18 Thread Adam Voigt
t want that to happen - I want it to remain as > the original creation timestamp. How do I prevent this from happening? > > Thanks, > > - Brian -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php code to connect to MS-SQL SERVER

2004-03-18 Thread Adam Voigt
or her authorized agent, the reader is hereby notified that > any dissemination, distribution or copying of this e-mail is prohibited. If > you have received this e-mail in error, please notify the sender by replying > to this message and delete this e-mail immediately. -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Thank you, Microsoft! Now I need an alternate login method

2004-03-18 Thread Adam Voigt
l) > { > if (ereg ("^([^[:space:]]+)@(.+)\.(.+)$", $email)) > { > return TRUE; > } else { > return FALSE; > } > } > ?> > = > > open_db.php is just mysql_connect and mysql_select_db, while close_d

[PHP] str_replace or regex

2004-03-18 Thread Adam Williams
Hi, I was wondering if I can get some help with either a str_replace or a regex. I have some data and it always begins with $$ but it can end with any letter of the alphabet. so sometimes its $$a and sometimes its $$b and sometimes $$c all the way to $$z. $$a all the way to $$z needs to be ch

Re: [PHP] Thank you, Microsoft! Now I need an alternate loginmethod

2004-03-18 Thread Adam Voigt
some times the POST request gets b0rked, if this is the case, I'm not sure there's much that can be done about it. -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Thank you, Microsoft! Now I need an alternate loginmethod

2004-03-19 Thread Adam Voigt
f there is, I would use that instead. On Thu, 2004-03-18 at 14:38, Chris de Vidal wrote: > Adam Voigt said: > > If I ran XP I might be able to do that. From reading the security > > release my MS, it sounds like some times the POST request gets b0rked, > > Yep. > >

[PHP] CMS Templating with Standards Based HTML Delima...

2004-03-20 Thread Adam Reiswig
x27;s possible with out conflicting with existing css styles and as long as it didn't insert font tags and tables all over. Is there a good open source php based cms system out there that can do the above? I'd sure like to know about it. Thanks for any pointers! -Adam R. -- PHP Gener

Re: [PHP] question

2004-03-25 Thread Adam Voigt
écrit : > > Hey, there. > > I'm a new php student from Brazil, and sorry about my ignorance writing > > in English. > > I'd like to know if exists any function in php that identifies a string > > as a-z, like is_num() to the numbers. > > > >

Re: [PHP] question

2004-03-25 Thread Adam Voigt
t; > $test = 22; > > The " denotes a string and without quotes it denotes a value > > > HTH, > Roger -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_fetch_array

2004-03-26 Thread Adam Voigt
1, '%W %M %Y') FROM table > > How do I know what name mysql_fetch_array assigned to the date_format ? > -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] transactions

2004-03-29 Thread Adam Voigt
gt; to undo the insert! > > Any suggestions, I guess I could get the last inserted row id and perform an sql > delete but is there a more elegant way? > > Cheers > > Matt -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: why won't mssql work?

2004-03-29 Thread Adam Voigt
m > http://www.phpcommunity.org/wiki/People/BenRamsey > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ocilogon

2004-03-30 Thread Adam Williams
Hi, what is the syntax for using ocilogon() to connect to a remote server? The remote server's name is zed.mdah.state.ms.us (ip is 10.8.5.4) and the database is zed.aleph0. Locally on zed I can do ociogon("user","pw","zed.alpeh0") and connect fine, but on a remote server I try ociogon("user",

Re: [PHP] ocilogon

2004-03-30 Thread Adam Williams
es.ora ($ORACLE_HOME/network/admin) > > Let's say that you make connection to Oracle using sqlplus: > User: scott > pass: tiger > dbstring: test > > this in PHP would be: $conn = OCILogon("scott", "tiger", "test"); > > > -William

Re: [PHP] ocilogon

2004-03-30 Thread Adam Williams
Hi, I figured out what was wrong, I had php_oci8.dll uncommented in php.ini but not php_oracle.dll. Fixed that and now I get an ORA-12705 error, which looking on google has something to do with NLS. Going to do more reading, thanks :) -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] $this variable reference question

2004-04-02 Thread Adam Reiswig
ce to the class/object itself. Isn't this like saying outside the class "$myref =& new test;"? What would be the point of referring to itself inside the class in this manner? Thanks for your help in advance! -Adam Reiswig -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: $this variable reference question

2004-04-02 Thread Adam Reiswig
itself inside the class, sort of an object inside an object? I guess my problem in understanding this is not so much where this sort of coding should be used but rather what is really going on here. Thanks again! -Adam Reiswig Jason Barnett wrote: It's not the same thing. When an vari

[PHP] PDF Page Pulling

2004-04-07 Thread Adam Voigt
I need to be able to pull a certain page out of a multi-page PDF, and then be able to save that single page to it's own PDF file. Anyone know how to do this with free tools? Thanks. -- Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Good Class/API Design ?

2004-10-25 Thread Adam Reiswig
code and SimpleTest to test your code as it is written. These along with some XP techniques I read about seem like good practices to follow. Does anyone have any other ideas/practices that it would be good for a new oop developer like myself to make a habit it of? Thanks!! -- Adam Rei

[PHP] stripping text from a string

2004-10-29 Thread Adam Williams
Hi, I use a piece of proprietary software at work that uses weird session ID strings in the URL. A sample URL looks like: http://zed2.mdah.state.ms.us/F/CC8V7H1JF4LNBVP5KARL4KGE8AHIKP1I72JSBG6AYQSMK8YF4Y-01471?func=find-b-0 The weird session ID string changes each time you login. Anyway, how c

[PHP] simple mail() question

2004-11-13 Thread Adam Fleming
Hello All, I have a simple mail() question, and I hope a hero can shed some light. I can't understand why my messages are being encoded, and extra headers are being added, *before* the message is sent through sendmail. Infinite Thanks, Adam Input: $more test.php Expected Result: $p

[PHP] RE: [SOLVED][PHP] Re: simple mail() question

2004-11-13 Thread Adam Fleming
Hi Manuel, That was *exactly* the issue. I can't express my gratitude for the assistance enough -Adam Original Message Follows From: Manuel Lemos <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [PHP] Re: simple mail() question Date: Sat, 13 Nov 2004 19:21:18 -0200 Hell

[PHP] grabbing source of a URL

2004-12-10 Thread Adam Williams
Hi, I don't know what functions to use so maybe someone can help me out. I want to grab a URL's source (all the code from a link) and then cut out a block of text from it, throw it away, and then show the page. For example, if I have page.html with 3 lines: hi this is line a this is line b

[PHP] Preventing execution without inclusion

2005-01-13 Thread Adam Hubscher
From within the application, I use one page to include classes/variables and so on. Is there a way (I may have been missing it in the documentation for PHP, however I didnt see anything related) to prevent a user from directly accessing/executing *.php by the file making sure taht it was only i

Re: [PHP] Preventing execution without inclusion

2005-01-14 Thread Adam Hubscher
Thomas Goyne wrote: On Thu, 13 Jan 2005 16:25:30 -0600, Adam Hubscher <[EMAIL PROTECTED]> wrote: 1 (the preferred way): user accesses http://www.example.org/index.php?function=Join, this loads the class NewUser and begins its implementation. Because of the __autoload, it in

[PHP] socket_connect giving me weird error

2005-01-16 Thread Adam Hubscher
Warning: socket_connect() expects parameter 3 to be long, string given in testing.php on line 21 Couldn't Create Socket: Success It actually spits that across for every socket I'm trying to connect. I'm doing an online status for multiple servers, which I have tested to work when I simply do a s

[PHP] Socket_Connect returning unusual error

2005-01-16 Thread Adam Hubscher
Warning: socket_connect() expects parameter 3 to be long, string given in testing.php on line 21 Couldn't Create Socket: Success It actually spits that across for every socket I'm trying to connect. I'm doing an online status for multiple servers, which I have tested to work when I simply do a s

[PHP] socket_connect errors

2005-01-16 Thread Adam Hubscher
Ok, I had made a post earlier but bout 5min later I figured out the problem (I had spaces and returns that were in the array beside the ports). The code looks like this: if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) < 0){ print("Couldn't Create Socket: " . socket_strerror(socket_last_

Re: [PHP] Socket_Connect returning unusual error

2005-01-16 Thread Adam Hubscher
Richard Lynch wrote: Adam Hubscher wrote: Warning: socket_connect() expects parameter 3 to be long, string given in testing.php on line 21 Couldn't Create Socket: Success PHP usually auto-converts data -- However it's possible that this EXPERIMENTAL function (?) doesn't have the

[PHP] Re: $_POST

2005-01-17 Thread Adam Hubscher
Andrew Maxwell wrote: When you submit something, and you want to make sure that the user inputs all of the info, is there an easier way to do it than this: if ((!$_POST[name]) || !$_POST[pass]) || (!$_POST[blah])) { etc. } is there an easy way to check if all of the varibles have data in them?

[PHP] Socket_connect producing errors that show no reason

2005-01-17 Thread Adam Hubscher
The code looks like this: if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) < 0){ print("Couldn't Create Socket: " . socket_strerror(socket_last_error()). "\n"); } socket_set_option($sock, SOL_SOCKET,SO_RCVTIMEO, array('sec' => 1, 'usec' => 0)); $output = ''; for($i = 0; $i < count($fil

Re: [PHP] Socket_connect producing errors that show no reason

2005-01-17 Thread Adam Hubscher
Jochem Maas wrote: Adam Hubscher wrote: The code looks like this: if(($sock = socket_create(AF_INET,SOCK_STREAM,SOL_TCP)) < 0){ print("Couldn't Create Socket: " . socket_strerror(socket_last_error()). "\n"); } socket_set_option($sock, SOL_SOCKET,SO_RCVTIMEO, ar

[PHP] Dynamic Images and File Permissions

2005-07-13 Thread Adam Hubscher
I have a script that generates, creates, and updates dynamic banner images for users of a service. Recently I have run into a problem with file permissions... that has thoroughly annoyed me. I found a solution to fix the problem, however, it was then hit with another problem, and I'm not sure

[PHP] Re: Echo array string index?

2005-07-13 Thread Adam Hubscher
Matt Darby wrote: I have an array setup as such: *$arr['generated text']='generated number';* What would be the best way to echo the key in a loop? Seems pretty easy but I've never attempted... Thanks all! Matt Darby I'm not sure I understand the question. You could do foreach($arr as $key =

[PHP] Dynamic Images and File Permissions

2005-07-14 Thread Adam Hubscher
I have a script that generates, creates, and updates dynamic banner images for users of a service. Recently I have run into a problem with file permissions... that has thoroughly annoyed me. I found a solution to fix the problem, however, it was then hit with another problem, and I'm not sure how

[PHP] Core dumps

2005-07-16 Thread Adam Currey
Hi all, new to the list, and a bit of a php cluebie. I know I'll omit some details that you'll need, so tell me what you need to know. I've been happily running mod_php4 (4.4.0) with apache 2.0.52 on FreeBSD 4.9 for quite some time, no problems. Today I tried to install phpBB from /usr/ports/w

[PHP] Schroedinger's Bug - may require exorcism...

2005-11-29 Thread Adam Atlas
* to debug something like this? Thanks for any help. -- Adam Atlas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XML and special characters

2006-01-22 Thread Adam Hubscher
I've been having a tough time with parsing XML files and special characters. I have attempted every applicable engine, last try SAX, to attempt at parsing a (rather large, 17.8mb) xml file. The problem I hit, is when it hits a UTF8 encoded character. I've attempted at decoded the file before

Re: [PHP] XML and special characters

2006-01-22 Thread Adam Hubscher
tedd wrote: I've been having a tough time with parsing XML files and special characters. -snip- Any suggestions as to how I could get around this seemingly impossible road block thats been placed by what seems to be the xml engines :O.. Adam: I believe that these "special"

Re: [PHP] XML and special characters

2006-01-22 Thread Adam Hubscher
Adam Hubscher wrote: tedd wrote: I've been having a tough time with parsing XML files and special characters. -snip- Any suggestions as to how I could get around this seemingly impossible road block thats been placed by what seems to be the xml engines :O.. Adam: I believe that

Re: [PHP] XML and special characters

2006-01-28 Thread Adam Hubscher
Steve Clay wrote: Sunday, January 22, 2006, 10:10:54 PM, Adam Hubscher wrote: ee dee da da da? §ð <-- those that look like html entities are the represented characters. I was mistaken, they are html entities, Can you show us a small chunk of this XML that throws errors? You said you

[PHP] XML and htmlentities conditionally?

2006-01-28 Thread Adam Hubscher
I have a block of XML that looks as follows: <*_~_*> Røyken VGS <*_~_*> Now, if I run that block of XML through htmlentities, I will get the following: <*_!_*> Røyken VGS <*_~_*> XML parsers will return a problem, as there is both an unclosed tag and an invalid tag, in two places no less

Re: [PHP] XML and htmlentities conditionally?

2006-01-29 Thread Adam Hubscher
Brian V Bonini wrote: On Sun, 2006-01-29 at 02:01, Adam Hubscher wrote: I have a block of XML that looks as follows: <*_~_*> Røyken VGS <*_~_*> My question is, can I in any way efficiently (i -stress- efficiently, if anyone read my previous XML and special characters post

Re: [PHP] Limitation on PEAR : Spreadsheet_Excel_Writer

2006-02-12 Thread Adam Ashley
ives of pear-general. I know for sure it is in the pear-general archives as this question has been asked and answered many times. Adam Ashley signature.asc Description: This is a digitally signed message part

[PHP-CVS] cvs: php4 /ext/yaz README php_yaz.c

2001-01-30 Thread Adam Dickmeiss
dickmeiss Tue Jan 30 05:09:27 2001 EDT Modified files: /php4/ext/yaz README php_yaz.c Log: Fixed problem with looping present requests for Isite targets. Index: php4/ext/yaz/README diff -u php4/ext/yaz/README:1.1 php4/ext/yaz/README:1.2 --- php4/

Re: [PHP] Testing CONNECTION Speed

2001-02-08 Thread Adam Knight
zas wrote: >Is there any way to do this?? i mean.. test the connection speed of a client >machine??? -- Adam Knight <[EMAIL PRO

Re: [PHP] Files only available via HTTPS

2001-02-09 Thread Adam Knight
be parsed by PHP, so you can isolate PDF, plain text, and graphic files as well as HTML. -- Adam Knight <[EMAIL PROTECTED]> AIM: AdamKnight

[PHP-CVS] cvs: php4 /ext/yaz php_yaz.c

2001-02-13 Thread Adam Dickmeiss
dickmeiss Tue Feb 13 12:02:53 2001 EDT Modified files: /php4/ext/yaz php_yaz.c Log: Bug fix: Record retrieval (present) is termiated on error. Index: php4/ext/yaz/php_yaz.c diff -u php4/ext/yaz/php_yaz.c:1.9 php4/ext/yaz/php_yaz.c:1.10 --- php4/e

[PHP-CVS] cvs: php4 /ext/yaz php_yaz.c

2001-02-19 Thread Adam Dickmeiss
dickmeiss Mon Feb 19 09:06:39 2001 EDT Modified files: /php4/ext/yaz php_yaz.c Log: Bug fix: number of records in yaz_range wrongly set to zero. Index: php4/ext/yaz/php_yaz.c diff -u php4/ext/yaz/php_yaz.c:1.10 php4/ext/yaz/php_yaz.c:1.11 --- php

[PHP-CVS] cvs: php4 /ext/yaz php_yaz.c

2001-02-20 Thread Adam Dickmeiss
dickmeiss Tue Feb 20 03:40:36 2001 EDT Modified files: /php4/ext/yaz php_yaz.c Log: Yet another bug fix regarding present. Index: php4/ext/yaz/php_yaz.c diff -u php4/ext/yaz/php_yaz.c:1.11 php4/ext/yaz/php_yaz.c:1.12 --- php4/ext/yaz/php_yaz.c:1.

[PHP] Re: [PHP-DEV] PHP, Java integration failed: Red Hat 7.1, JDK 1.4,Apache 1.3x

2002-06-21 Thread Adam Maccabee Trachtenberg
ged in the upgrade, but I don't have time to figure out what. -adam On Thu, 20 Jun 2002, William John Burns wrote: > All: > > None of the many online user posts in setting up Java connectivity from > within PHP have worked. RPM or tarball. > > Do you know of anyone who has

[PHP] Win2K and trans_sid

2003-09-15 Thread Adam H. Pendleton
I am running Apache 2.0.47 with PHP 4.3.3 on a Windows 2000 server, and I am having some trouble getting cookie-less sessions to work. I've search around trying to figure out how to get this to work, but most of what i have found is people going to other way. To be clear, I am trying to use P

[PHP] scripts execute as user nobody

2001-04-26 Thread Mr. Adam ALLEN.
ow if a user browsing a php site in directories with permission 777 can exploit this). I am using PHP 3.0.14 (when using PHP4.05 RC1 on a different host I don't get this problem - but need this working with PHP 3.0.14) Thanks for any help Mr. Adam ALLEN. [EMAIL PROTE

[PHP] Call-time pass by reference has deprecated

2001-05-10 Thread Mr. Adam ALLEN.
ot;") $cntmessg =$messages; for($i=1;$i<=$messages;$i++) { if(($error=$pop3_connection->RetrieveMessage($i,&$headers,&$body,-1))=="") { for($line=0;$lineClose(); return 1; } Yours Mr. Adam ALLEN. [EMAIL PROTECTED] http://w

RE: [PHP] hosting "closed" web application for multiple users

2001-05-19 Thread Mr. Adam ALLEN.
t projects finsihed, I'm answering newsgroups ;-) I'd be interested to hear what others think anyway Yours Mr. Adam ALLEN. [EMAIL PROTECTED] http://www.dynamicinteraction.co.uk > -Original Message- > From: Steven Haryanto [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 19,

RE: [PHP-CVS] cvs: php4 /pear/HTML Common.php

2001-03-22 Thread Daniel, Adam [EESUS]
hey can go ahead and take that comment out. Adam

Re: [PHP] webDAV/CalDAV client class experience ?

2013-03-01 Thread Adam Tauno Williams
On Sun, 2013-02-17 at 21:26 -0600, tamouse mailing lists wrote: > On Sat, Feb 16, 2013 at 2:30 PM, B. Aerts wrote: > > - the biggest mistake: apparently I commented the fwrite() call to the > > stream, which explains why he went in time-out ... (in this case, please DO > > shoot the pianist) > Nah

Re: [PHP] webDAV/CalDAV client class experience ?

2013-03-01 Thread Adam Tauno Williams
Does PHP provide some kind of XML building library? String building XML is *always* dicey and it is *VERY* easy to introduce encoding problems. Something at least with an codepage codec would be good. [although it *should* work, I manipulate WebDAV servers via curl CLI all the time]. In Python a combination of ElementFlow and the codecs module is perfection. I assume there is a PHP equivalent. -- Adam Tauno Williams -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Race Condition In PHP Session Handler

2012-02-20 Thread Adam Tauno Williams
007fa177531767 in ?? () #16 0x7fa177531a7a in ?? () #17 0x7fa177531dab in ap_mpm_run () #18 0x7fa177509900 in main () -- System & Network Administrator [ LPI & NCLA ] <http://www.whitemiceconsulting.com> OpenGroupware Developer <http://www.opengroupware.us> Adam

Re: [PHP] Race Condition In PHP Session Handler

2012-02-20 Thread Adam Tauno Williams
On Mon, 2012-02-20 at 20:02 +0100, Matijn Woudt wrote: > On Mon, Feb 20, 2012 at 7:21 PM, Adam Tauno Williams > wrote: > > php-5.3.3-3.el6_2.6.x86_64 > > 2.6.32-220.4.2.el6.x86_64 > > The PHP session file. Originally I had a tmpfs mounted for the session > > files

[PHP] extract escaped quoted strings

2008-03-29 Thread Adam Jacob Muller
PHP code into doing it perhaps, but i'd love some elegant PCRE solution that thus-far evades me :( Any ideas are appreciated. -Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Adam Jacob Muller
Assume that you should accept any string that PHP itself would accept, though no processing of the actual escapes is required nor desirable. On Mar 29, 2008, at 8:34 PM, Robert Cummings wrote: On Sat, 2008-03-29 at 19:16 -0400, Adam Jacob Muller wrote: Hi, Have a potentially interesting

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Adam Jacob Muller
Yes, php source code. On Mar 29, 2008, at 8:54 PM, Robert Cummings wrote: On Sat, 2008-03-29 at 20:41 -0400, Adam Jacob Muller wrote: Assume that you should accept any string that PHP itself would accept, though no processing of the actual escapes is required nor desirable. Sorry, I

Re: [PHP] extract escaped quoted strings

2008-03-29 Thread Adam Jacob Muller
token_get_all, fantastic! Thanks. - Adam On Mar 29, 2008, at 10:02 PM, Robert Cummings wrote: On Sat, 2008-03-29 at 21:31 -0400, Adam Jacob Muller wrote: Yes, php source code. You will not be able to do this with PCRE. You need something that can track state because double quotes can

[PHP] Re: [PHP-XML-DEV] DomXPath and default XML namespaces

2004-12-13 Thread Adam Maccabee Trachtenberg
vable, what happens to: And /root/foo/qxx? Do you select qxx in the default ns? Or not? -adam -- [EMAIL PROTECTED] | http://www.trachtenberg.com author of o'reilly's "upgrading to php 5" and "php cookbook" avoid the holiday rush, buy your copies today! -

[PHP] Re: [PHP-XML-DEV] DomXPath and default XML namespaces

2004-12-13 Thread Adam Maccabee Trachtenberg
On Mon, 13 Dec 2004, Dan Phiffer wrote: > Adam Maccabee Trachtenberg wrote: > > > This is an XPath FAQ. Without a ns prefix, XPath doesn't choose > > elements living in the default ns, but ones living in no namespace. > > Are there any good references you might p

Re: [PHP] Red Hat 9, Apache 2, and PHP

2003-07-04 Thread Adam i Agnieszka Gasiorowski FNORD
Diana wrote: > Hi, > that sounds really impressive. I'm using Redhat 9 with > the stuff from their Edition, that means Apache 2 and > php together. Never had any issues (so far.keep my > fingers crossed). The server is not under heavy load, > but it is indeed a "production server". I know it

Re: [PHP] counting files, choosing at random

2003-08-14 Thread Adam i Agnieszka Gasiorowski FNORD
David Otton wrote: > On Wed, 13 Aug 2003 10:54:58 +0200, you wrote: > > > > > I want to choose a file at random from a > > directory which adheres to certain naming scheme. > > I can't get it to work. It's probably something > > simple...Here is a relevant snippet: > > > >news:pl.soc.seks.

Re: [PHP] how do I spoof a get request

2003-08-14 Thread Adam i Agnieszka Gasiorowski FNORD
Analysis & Solutions wrote: > > By that logic, you would think that PHP sucks, because there are plenty of > > sucky PHP applications. :-) > > I've had folks say things along these lines. Considering the number of > PHP related vulnerabilities showing up in Bugtraq/Security Focus > newsletter,

Re: [PHP] Re: counting files, choosing at random

2003-08-14 Thread Adam i Agnieszka Gasiorowski FNORD
Peng Cheng wrote: > i think the problem is there is a newline between > the > " " > try write them in the same line may be a solution. Yes, you are right, I noticed it myself while trying David's solution. Thanks anyway. -- Seks, seksić, seksolatki... news:pl.soc.seks.moderowana htt

[PHP] counting files, choosing at random

2003-08-14 Thread Adam i Agnieszka Gasiorowski FNORD
I want to choose a file at random from a directory which adheres to certain naming scheme. I can't get it to work. It's probably something simple...Here is a relevant snippet: (the files are all called i??.gif and located in a directory /images/, which is a subdirectory of

Re: [PHP] deprecated function list?

2003-08-21 Thread Adam i Agnieszka Gasiorowski FNORD
Chris wrote: > How can I find a list of PHP functions that are deprecated? Also, how > can I print to the browser the Notice message that would indicate that a > function is depricated? Like: Notice: mysql(): This function is > deprecated; use mysql_query() instead How about you do a sea

Re: [PHP] limit on displaying a LONGTEXT filed from MySQL database

2003-06-22 Thread Adam i Agnieszka Gasiorowski FNORD
Artoo wrote: > For example supose the 150th character is the v in the word "privileges" I > would want to finish displaying the word and end with "privileges" rather > then ending with"priv" How about using the SUBSTRING_INDEX function with delimiter set to ' ' (space). You could sele

Re: [PHP] multi line regular expression?

2003-07-01 Thread Adam i Agnieszka Gasiorowski FNORD
Tim wrote: > i have a string that contains the following: > $mystring=<< (((TITLE))) > *color* > == > this is where the content goes > it can spreed many lines > ... > == > EOS; > > i'm using this line of code to try and get the content between == and == > > preg_match_all("|==(.+)==|",$mystrin

Re: [PHP] Headers, outputting a file ..

2003-09-17 Thread Adam i Agnieszka Gasiorowski FNORD
Wouter van Vliet wrote: > 110 $File = $this->Get($User); > 111 > 112 foreach($File['Headers'] as $H) header($H);; > 113 readfile($File['Path']); Do I see TWO ; here or it's just a typo? -- Seks, seksić, seksolatki... news:pl.

[PHP] hard(?) syntax problem

2003-11-04 Thread Adam i Agnieszka Gasiorowski FNORD
I want to access a value of an array by key, but the array is not a variable - it is a constant. How do I do it? I tried $value = PL_ORT[$key]; , but this doesn't work (parse error)... I even tried $value = {PL_ORT[$key]}; -- Sek

Re: [PHP] help create community newbie guide to security

2003-11-11 Thread Adam i Agnieszka Gasiorowski FNORD
"Chris W. Parker" wrote: > 10. Use htmlentities() on data that will be put through a SQL query to > prevent XSS attacks. http://php.net/htmlentities How is it going to interact with MySQL FULLTEXT search SQL queries, where the characters ">" and "<" are in use as modifiers? -- Seks,

[PHP] sorting an array of regexes

2003-11-18 Thread Adam i Agnieszka Gasiorowski FNORD
There is an array of regexes, for example $array = array('moon', '[wh]ood', '[^as]eed' ... (about 300 entries). I want to sort it comparing to the character lenght of a regex. For example [wh]ood is 4 characters, moon is 4 characters. There are only letters of the alphabet

Re: [PHP] sorting an array of regexes

2003-11-18 Thread Adam i Agnieszka Gasiorowski FNORD
Eugene Lee wrote: > On Tue, Nov 18, 2003 at 01:15:32PM +0100, Adam i Agnieszka Gasiorowski FNORD wrote: > : > : There is an array of regexes, for example > : > : $array = array('moon', '[wh]ood', '[^as]eed' ... > : (about 300 entries).

<    9   10   11   12   13   14   15   >